From: Ilya246 <57039557+Ilya246@users.noreply.github.com> Date: Sun, 31 Dec 2023 02:32:18 +0000 (+0400) Subject: pettable tesla (#23169) X-Git-Url: https://git.smokeofanarchy.ru/gitweb.cgi?a=commitdiff_plain;h=340d97bda76b8d53220fed03589995d74bb89a84;p=space-station-14.git pettable tesla (#23169) * You pet the Tesloose. * hearts --- diff --git a/Resources/Locale/en-US/interaction/interaction-popup-component.ftl b/Resources/Locale/en-US/interaction/interaction-popup-component.ftl index 3f9dcded99..7804155b7a 100644 --- a/Resources/Locale/en-US/interaction/interaction-popup-component.ftl +++ b/Resources/Locale/en-US/interaction/interaction-popup-component.ftl @@ -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. diff --git a/Resources/Prototypes/Entities/Structures/Power/Generation/Tesla/energyball.yml b/Resources/Prototypes/Entities/Structures/Power/Generation/Tesla/energyball.yml index 1e99a947b9..5c0cfb3fb8 100644 --- a/Resources/Prototypes/Entities/Structures/Power/Generation/Tesla/energyball.yml +++ b/Resources/Prototypes/Entities/Structures/Power/Generation/Tesla/energyball.yml @@ -96,6 +96,11 @@ 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