mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-21 11:07:12 +01:00
People who are unconscious can no longer disrupt surgery by unresting
This commit is contained in:
@@ -1009,7 +1009,7 @@ proc/get_mob_with_client_list()
|
||||
else if(zone == "l_foot") return "left foot"
|
||||
else if(zone == "r_foot") return "right foot"
|
||||
else return zone
|
||||
|
||||
|
||||
/*
|
||||
|
||||
Gets the turf this atom's *ICON* appears to inhabit
|
||||
@@ -1222,7 +1222,7 @@ var/global/list/common_tools = list(
|
||||
|
||||
//check if mob is lying down on something we can operate him on.
|
||||
/proc/can_operate(mob/living/carbon/M)
|
||||
return (locate(/obj/machinery/optable, M.loc) && M.resting) || \
|
||||
return (locate(/obj/machinery/optable, M.loc) && (M.lying || M.resting)) || \
|
||||
(locate(/obj/structure/stool/bed/roller, M.loc) && \
|
||||
(M.buckled || M.lying || M.weakened || M.stunned || M.paralysis || M.sleeping || M.stat)) && prob(75) || \
|
||||
(locate(/obj/structure/table/, M.loc) && \
|
||||
@@ -1819,4 +1819,4 @@ var/global/list/g_fancy_list_of_types = null
|
||||
var/num = pick(num_sample)
|
||||
num_sample -= num
|
||||
result += (1 << num)
|
||||
return result
|
||||
return result
|
||||
|
||||
Reference in New Issue
Block a user