]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
pettable tesla (#23169)
authorIlya246 <57039557+Ilya246@users.noreply.github.com>
Sun, 31 Dec 2023 02:32:18 +0000 (06:32 +0400)
committerGitHub <noreply@github.com>
Sun, 31 Dec 2023 02:32:18 +0000 (19:32 -0700)
* You pet the Tesloose.

* hearts

Resources/Locale/en-US/interaction/interaction-popup-component.ftl
Resources/Prototypes/Entities/Structures/Power/Generation/Tesla/energyball.yml

index 3f9dcded99642646b2d6f76c824357aabb0470ea..7804155b7ac6b8dd219825f411189652bc0a4221 100644 (file)
@@ -77,3 +77,9 @@ fence-rattle-success = *rattle*
 hugging-success-generic = You hug {THE($target)}.
 hugging-success-generic-others = { CAPITALIZE(THE($user)) } hugs {THE($target)}.
 hugging-success-generic-target = { CAPITALIZE(THE($user)) } hugs you.
+
+## Other
+
+petting-success-tesla = You pet {THE($target)}, violating the laws of nature and physics.
+
+petting-failure-tesla = You reach out towards {THE($target)}, but it zaps your hand away.
index 1e99a947b916bff757ea13bc0a6a1608e91da971..5c0cfb3fb8a5f57129e52f60ae126d4e0b6563b2 100644 (file)
       path: /Audio/Effects/tesla_collapse.ogg
       params:
         variation: 0.3
+  - type: InteractionPopup # for the brave
+    successChance: 0.2
+    interactSuccessString: petting-success-tesla
+    interactFailureString: petting-failure-tesla
+    interactSuccessSpawn: EffectHearts
 
 - type: entity 
   id: TeslaMiniEnergyBall