mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-28 15:47:15 +01:00
Mass-replacement of stat to machine_stat (#48758)
Living and machine stat vars are pretty different, one uses flags and other number-defines. This should make some other mass-replacements and searches a bit easier.
This commit is contained in:
@@ -118,7 +118,7 @@
|
||||
if(!istype(L))
|
||||
return
|
||||
var/obj/machinery/recycler/eater = parent
|
||||
if(eater.safety_mode || (eater.stat & (BROKEN|NOPOWER))) //I'm so sorry.
|
||||
if(eater.safety_mode || (eater.machine_stat & (BROKEN|NOPOWER))) //I'm so sorry.
|
||||
return
|
||||
if(L.stat == DEAD && (L.butcher_results || L.guaranteed_butcher_results))
|
||||
Butcher(parent, L)
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
/datum/wires/roulette/interactable(mob/user)
|
||||
. = FALSE
|
||||
var/obj/machinery/roulette/R = holder
|
||||
if(R.stat & MAINT)
|
||||
if(R.machine_stat & MAINT)
|
||||
. = TRUE
|
||||
|
||||
/datum/wires/roulette/get_status()
|
||||
|
||||
Reference in New Issue
Block a user