]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Make holofans destructable (#20445)
authorNemanja <98561806+EmoGarbage404@users.noreply.github.com>
Sat, 30 Sep 2023 19:08:08 +0000 (15:08 -0400)
committerGitHub <noreply@github.com>
Sat, 30 Sep 2023 19:08:08 +0000 (11:08 -0800)
Resources/Prototypes/Entities/Structures/Holographic/projections.yml

index 23f02156d77c784595c04db259a44df2cea04119..1a81ac47024eac0604bf8be0bbae1b918856f95d 100644 (file)
     state: icon\r
   - type: TimedDespawn\r
     lifetime: 90\r
+  - type: Damageable\r
+    damageContainer: Inorganic\r
+  - type: Destructible\r
+    thresholds:\r
+      - trigger:\r
+          !type:DamageTrigger\r
+          damage: 30\r
+        behaviors:\r
+          - !type:DoActsBehavior\r
+            acts: [ "Destruction" ]\r
 \r
 - type: entity\r
   id: HoloFan\r
             - TableMask\r
           layer:\r
             - TableLayer\r
-    - type: Damageable\r
-      damageContainer: Inorganic\r
-      damageModifierSet: Metallic\r
-    - type: Destructible\r
-      thresholds:\r
-        - trigger:\r
-            !type:DamageTrigger\r
-            damage: 30\r
-          behaviors:\r
-          - !type:DoActsBehavior\r
-             acts: [ "Destruction" ]\r
     - type: TimedDespawn\r
       lifetime: 180\r
     - type: PointLight\r