]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Make broken cuffs trash, fix color for broken makeshift cuffs (#15203)
authorNemanja <98561806+EmoGarbage404@users.noreply.github.com>
Sun, 9 Apr 2023 21:44:24 +0000 (17:44 -0400)
committerGitHub <noreply@github.com>
Sun, 9 Apr 2023 21:44:24 +0000 (15:44 -0600)
Resources/Prototypes/Entities/Objects/Misc/handcuffs.yml

index 216a873e47865562418886a839dc18c68189791d..6499ceeab1deaeabd0a2336acd3efacef119d3ea 100644 (file)
     sprite: Objects/Misc/zipties.rsi
     state: cuff
 
+- type: entity
+  id: BaseHandcuffsBroken
+  parent: BaseItem
+  abstract: true
+  components:
+  - type: Item
+    size: 2
+  - type: Recyclable
+  - type: Tag
+    tags:
+    - Trash
+
 - type: entity
   name: broken zipties
   description: These zipties look like they tried to manage the wrong cables.
   id: ZiptiesBroken
-  parent: BaseItem
+  parent: BaseHandcuffsBroken
   components:
   - type: Sprite
     sprite: Objects/Misc/zipties.rsi
     state: cuff-broken
-  - type: Item
-    size: 2
-  - type: Recyclable
 
 - type: entity
   name: broken cables
   description: These cables are broken in several places and don't seem very useful.
   id: CablecuffsBroken
-  parent: BaseItem
+  parent: BaseHandcuffsBroken
   components:
   - type: Sprite
     sprite: Objects/Misc/cablecuffs.rsi
     state: cuff-broken
-    color: red
-  - type: Item
-    size: 2
-  - type: Recyclable
+    color: forestgreen
\ No newline at end of file