mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-23 12:07:27 +01:00
Stamina Damage Rework (#12591)
This commit is contained in:
committed by
variableundefined
parent
573d390d93
commit
00f5e0613c
@@ -144,9 +144,9 @@
|
||||
/proc/can_operate(mob/living/carbon/M)
|
||||
if(locate(/obj/machinery/optable, M.loc) && (M.lying || M.resting))
|
||||
return TRUE
|
||||
if(locate(/obj/structure/bed, M.loc) && (M.buckled || M.lying || M.weakened || M.stunned || M.paralysis || M.sleeping || M.stat))
|
||||
if(locate(/obj/structure/bed, M.loc) && (M.buckled || M.lying || M.IsWeakened() || M.stunned || M.paralysis || M.sleeping || M.stat))
|
||||
return TRUE
|
||||
if(locate(/obj/structure/table, M.loc) && (M.lying || M.weakened || M.stunned || M.paralysis || M.sleeping || M.stat))
|
||||
if(locate(/obj/structure/table, M.loc) && (M.lying || M.IsWeakened() || M.stunned || M.paralysis || M.sleeping || M.stat))
|
||||
return TRUE
|
||||
return FALSE
|
||||
|
||||
|
||||
Reference in New Issue
Block a user