]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Add the ability to pet the mail teleporter (#35819)
authorCrude Oil <124208219+CroilBird@users.noreply.github.com>
Thu, 13 Mar 2025 12:49:24 +0000 (13:49 +0100)
committerGitHub <noreply@github.com>
Thu, 13 Mar 2025 12:49:24 +0000 (13:49 +0100)
good mailbox

Resources/Locale/en-US/interaction/interaction-popup-component.ftl
Resources/Prototypes/Entities/Structures/Machines/mail_teleporter.yml

index 7996db570be07e0a8b6732641e29b8904f1aa965..fa0a1fb655d5deed192dbce7fb64c51745e2fc0b 100644 (file)
@@ -103,3 +103,6 @@ hugging-success-generic-target = { CAPITALIZE(THE($user)) } hugs you.
 
 petting-success-tesla = You pet {THE($target)}, violating the laws of nature and physics.
 petting-failure-tesla = You reach out towards {THE($target)}, but {SUBJECT($target)} {CONJUGATE-BASIC($target, "zap", "zaps")} your hand away.
+
+petting-success-mail-teleporter = You pet {THE($target)} on {POSS-ADJ($target)} dutiful, cold exterior.
+petting-failure-mail-teleporter = You reach out to pet {THE($target)}, but {SUBJECT($target)} {CONJUGATE-BE($target)} busy sorting mail!
index 4356921ed66037dff49702990a42f291e2b03a1c..a03f166bbed59b977cbee67b4658ec888ddc3376 100644 (file)
@@ -39,6 +39,9 @@
   - type: Machine
     board: MailTeleporterMachineCircuitboard
   - type: PowerSwitch
+  - type: InteractionPopup
+    interactSuccessString: petting-success-mail-teleporter
+    interactFailureString: petting-failure-mail-teleporter
   - type: DeliverySpawner
     table: !type:NestedSelector
       tableId: RandomDeliveryBasic