An Odysseus with patients now bypass mech movement-overrides.

This commit is contained in:
PsiOmega
2014-07-30 00:17:48 -04:00
committed by ZomgPonies
parent 1bd2acf0d0
commit 2436478804
+8
View File
@@ -25,6 +25,14 @@
return 1
/obj/machinery/mech_sensor/proc/is_blocked(O as obj)
if(istype(O, /obj/mecha/medical/odysseus))
var/obj/mecha/medical/odysseus/M = O
for(var/obj/item/mecha_parts/mecha_equipment/ME in M.equipment)
if(istype(ME, /obj/item/mecha_parts/mecha_equipment/tool/sleeper))
var/obj/item/mecha_parts/mecha_equipment/tool/sleeper/S = ME
if(S.occupant != null)
return 0
return istype(O, /obj/mecha) || istype(O, /obj/vehicle)
/obj/machinery/mech_sensor/proc/give_feedback(O as obj)