]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Skeletons are now playable instruments (#40009)
authorJessica M <jessica@jessicamaybe.com>
Tue, 7 Oct 2025 00:48:40 +0000 (17:48 -0700)
committerGitHub <noreply@github.com>
Tue, 7 Oct 2025 00:48:40 +0000 (00:48 +0000)
* skeletons are now instruments

* switch to xylophone

* Fixes

---------

Co-authored-by: Jessica M <jessica@maybe.sh>
Co-authored-by: Princess Cheeseballs <66055347+Pronana@users.noreply.github.com>
Resources/Prototypes/Entities/Mobs/Species/skeleton.yml

index 229c2da027e946365bb6fe2e83072ddf3b28022b..5dc127878f87349c1e72c61d97f4faff65ff8c16 100644 (file)
           32:
             sprite: Mobs/Species/Human/displacement.rsi
             state: jumpsuit-female
+  - type: Instrument
+    program: 13 # Xylophone. Woodblock is 115 (another good option)
+  - type: ActivatableUI
+    blockSpectators: true # otherwise they can play client-side music
+    inHandsOnly: false
+    singleUser: true
+    requiresComplex: true
+    verbOnly: true
+    verbText: verb-instrument-openui
+    key: enum.InstrumentUiKey.Key
+  - type: UserInterface
+    interfaces:
+      enum.InstrumentUiKey.Key:
+        type: InstrumentBoundUserInterface
+      enum.HumanoidMarkingModifierKey.Key:
+        type: HumanoidMarkingModifierBoundUserInterface
+      enum.StrippingUiKey.Key:
+        type: StrippableBoundUserInterface
 
 - type: entity
   parent: BaseSpeciesDummy