mirror of
https://github.com/vgstation-coders/vgstation13.git
synced 2025-12-10 10:21:11 +00:00
fire bad (#37123)
This commit is contained in:
@@ -68,12 +68,11 @@
|
||||
if(environment.total_moles && ((environment[GAS_OXYGEN] / environment.total_moles) >= OXYCONCEN_PLASMEN_IGNITION)) //How's the concentration doing?
|
||||
if(!host.on_fire)
|
||||
to_chat(host, "<span class='warning'>Your body reacts with the atmosphere and bursts into flame!</span>")
|
||||
host.adjust_fire_stacks(0.5)
|
||||
host.ignite()
|
||||
else
|
||||
var/obj/item/clothing/suit/PS=host.wear_suit
|
||||
if(istype(PS))
|
||||
if(host.fire_stacks > 0)
|
||||
if(host.on_fire)
|
||||
PS.Extinguish(host)
|
||||
else
|
||||
PS.regulate_temp_of_wearer(host)
|
||||
|
||||
Reference in New Issue
Block a user