mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-24 04:27:35 +01:00
Merge pull request #117 from alex-gh/holder_ex_act
Assembly holders now get destroyed in explosions
This commit is contained in:
+3
-2
@@ -30,8 +30,9 @@ turf/simulated/hotspot_expose(exposed_temperature, exposed_volume, soh)
|
||||
|
||||
var/obj/structure/reagent_dispensers/fueltank/FT = locate() in src
|
||||
if(exposed_temperature >= AUTOIGNITION_WELDERFUEL)
|
||||
FT.explode()
|
||||
return 1
|
||||
if (FT)
|
||||
FT.explode()
|
||||
return 1
|
||||
|
||||
var/igniting = 0
|
||||
var/obj/effect/decal/cleanable/liquid_fuel/liquid = locate() in src
|
||||
|
||||
@@ -183,9 +183,20 @@
|
||||
return 1
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
ex_act(severity)
|
||||
switch(severity)
|
||||
if(1.0)
|
||||
del(src)
|
||||
return
|
||||
if(2.0)
|
||||
if (prob(50))
|
||||
del(src)
|
||||
return
|
||||
if(3.0)
|
||||
if (prob(25))
|
||||
del(src)
|
||||
return
|
||||
return
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user