]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Make Gas Miners indestructable, anchorable, and pullable. (#31370)
authorJIPDawg <51352440+JIPDawg@users.noreply.github.com>
Tue, 27 Aug 2024 00:48:04 +0000 (19:48 -0500)
committerGitHub <noreply@github.com>
Tue, 27 Aug 2024 00:48:04 +0000 (02:48 +0200)
* Make miner indestructable, and pullable.

* Miners can't be unanchored. Only anchored.

---------

Co-authored-by: JIPDawg <JIPDawg93@gmail.com>
Resources/Prototypes/Entities/Structures/Piping/Atmospherics/miners.yml

index 64dd38accb49c1792e4e08776b9a740a6dac8b97..71e171fc50d6a3a6acf356424681aebad95e96b0 100644 (file)
     - type: Physics
       canCollide: false
     - type: Fixtures
+      fixtures:
+        fix1:
+          shape:
+            !type:PhysShapeCircle
+            radius: .4
+          density: 190
+          mask:
+            - MachineMask
     - type: Transform
       anchored: true
-    - type: Damageable
-      damageContainer: Inorganic
-      damageModifierSet: Metallic
-    - type: Destructible
-      thresholds:
-        - trigger:
-            !type:DamageTrigger
-            damage: 100
-          behaviors:
-            - !type:DoActsBehavior
-              acts: ["Destruction"]
+    - type: Anchorable
+      flags:
+      - Anchorable
+    - type: Pullable
     - type: Sprite
       sprite: Structures/Piping/Atmospherics/miners.rsi
       state: miner