mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-10 18:22:39 +00:00
[MIRROR] Port /datum/status_effect and convert wetness and fire stacks to it (#11666)
Co-authored-by: ShadowLarkens <shadowlarkens@gmail.com> Co-authored-by: Cameron Lennox <killer65311@gmail.com>
This commit is contained in:
committed by
GitHub
parent
0000fce008
commit
9f292671ae
@@ -166,7 +166,8 @@
|
||||
return TRUE
|
||||
|
||||
|
||||
/obj/structure/bonfire/proc/extinguish()
|
||||
/obj/structure/bonfire/extinguish()
|
||||
. = ..()
|
||||
if(burning)
|
||||
burning = FALSE
|
||||
update_icon()
|
||||
@@ -193,7 +194,7 @@
|
||||
var/mob/living/L = A
|
||||
if(!(L.is_incorporeal()))
|
||||
L.adjust_fire_stacks(get_fuel_amount() / 4)
|
||||
L.IgniteMob()
|
||||
L.ignite_mob()
|
||||
|
||||
/obj/structure/bonfire/update_icon()
|
||||
cut_overlays()
|
||||
@@ -360,7 +361,8 @@
|
||||
return FALSE
|
||||
return TRUE
|
||||
|
||||
/obj/structure/fireplace/proc/extinguish()
|
||||
/obj/structure/fireplace/extinguish()
|
||||
. = ..()
|
||||
if(burning)
|
||||
burning = FALSE
|
||||
update_icon()
|
||||
|
||||
Reference in New Issue
Block a user