Port /datum/status_effect and convert wetness and fire stacks to it (#18180)

* Port /datum/status_effect system

* Port fire stacks to status_effects

* Fixes and adjustments to wetness

* One last little thing

* Fixes these compile errors

A few things on the backend got updated...Adjusts them here.

---------

Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
Co-authored-by: Cameron Lennox <killer65311@gmail.com>
This commit is contained in:
ShadowLarkens
2025-09-17 01:50:37 -04:00
committed by GitHub
co-authored by Kashargul Cameron Lennox
parent bd8893cbdb
commit a1322afa05
80 changed files with 1748 additions and 237 deletions
+5 -3
View File
@@ -155,7 +155,8 @@
return TRUE
/obj/structure/bonfire/proc/extinguish()
/obj/structure/bonfire/extinguish()
. = ..()
if(burning)
burning = FALSE
update_icon()
@@ -182,7 +183,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()
@@ -349,7 +350,8 @@
return FALSE
return TRUE
/obj/structure/fireplace/proc/extinguish()
/obj/structure/fireplace/extinguish()
. = ..()
if(burning)
burning = FALSE
update_icon()
+2 -2
View File
@@ -253,8 +253,8 @@
if(isliving(O))
var/mob/living/L = O
L.ExtinguishMob()
L.fire_stacks = -20 //Douse ourselves with water to avoid fire more easily
L.extinguish_mob()
L.adjust_fire_stacks(-20) //Douse ourselves with water to avoid fire more easily
if(iscarbon(O))
//flush away reagents on the skin