]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Add chameleon functionality to Agent ID (#21878)
authorRainfey <11758391+Rainfey@users.noreply.github.com>
Mon, 27 Nov 2023 21:34:29 +0000 (21:34 +0000)
committerGitHub <noreply@github.com>
Mon, 27 Nov 2023 21:34:29 +0000 (14:34 -0700)
Co-authored-by: Rainfall <rainfey0+git@gmail.com>
Resources/Prototypes/Entities/Objects/Misc/identification_cards.yml

index 5e8807f7706d01ee04a205ba5868b32e0c67da9a..9fc273d70964b84f326f454a2f3a564d2b72f93e 100644 (file)
@@ -20,6 +20,7 @@
   - type: Tag
     tags:
     - DoorBumpOpener
+    - WhitelistChameleon
 
 #IDs with layers
 
   - type: ActivatableUI
     key: enum.AgentIDCardUiKey.Key
     inHandsOnly: true
+  - type: Tag
+    tags:
+    - DoorBumpOpener
+  - type: ChameleonClothing
+    slot: [idcard]
+    default: PassengerIDCard
   - type: UserInterface
     interfaces:
       - key: enum.AgentIDCardUiKey.Key
         type: AgentIDCardBoundUserInterface
+      - key: enum.ChameleonUiKey.Key
+        type: ChameleonBoundUserInterface
 
 - type: entity
   name: passenger ID card