]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Pills are explosion resistant (partially reverts #15851) (#32458)
authorK-Dynamic <20566341+K-Dynamic@users.noreply.github.com>
Sat, 2 Nov 2024 09:51:44 +0000 (21:51 +1200)
committerGitHub <noreply@github.com>
Sat, 2 Nov 2024 09:51:44 +0000 (20:51 +1100)
* idk how to revert a pr so I just deleted some lines

* pill destructible with explosion resistance

* comment for explosion resist

* "and" to "but"

---------

Co-authored-by: SlamBamActionman <83650252+SlamBamActionman@users.noreply.github.com>
Resources/Prototypes/Entities/Objects/Specific/chemistry.yml

index b717255d8f0831ed0fe50f23986846d626187bf0..527b0ba5e620cce5b18d3600bee5712c4203b5ef 100644 (file)
     solutions:
       food:
         maxVol: 20
-  - type: SolutionSpiker
-    sourceSolution: food
-  - type: Extractable
-    grindableSolutionName: food
-  - type: StaticPrice
-    price: 0
+  - type: ExplosionResistance
+    damageCoefficient: 0.025 # survives conventional explosives but not minibombs and nukes
   - type: Damageable
     damageContainer: Inorganic
   - type: Destructible
         solution: food
       - !type:DoActsBehavior
         acts: [ "Destruction" ]
+  - type: SolutionSpiker
+    sourceSolution: food
+  - type: Extractable
+    grindableSolutionName: food
+  - type: StaticPrice
+    price: 0
   - type: Tag
     tags:
     - Pill