]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Allow cable coils to be destroyed (#41279)
authorJohnJohn <189290423+JohnJJohn@users.noreply.github.com>
Mon, 22 Dec 2025 16:57:51 +0000 (16:57 +0000)
committerGitHub <noreply@github.com>
Mon, 22 Dec 2025 16:57:51 +0000 (16:57 +0000)
Add damageable and destructible types to cable coils

Resources/Prototypes/Entities/Objects/Tools/cable_coils.yml

index d8b05addca3640ac1b000a0f1adf30ad09a7e950..0fa0d6aa572795643a3191a1ca4dc992dab43444 100644 (file)
     guides:
     - VoltageNetworks
     - Power
+  - type: Damageable
+    damageContainer: Inorganic
+    damageModifierSet: Metallic
+  - type: Destructible
+    thresholds:
+    - trigger:
+        !type:DamageTrigger
+        damage: 50
+      behaviors:
+      - !type:DoActsBehavior
+        acts: ["Destruction"]
 
 - type: entity
   id: CableHVStack