An Odysseus with patients now bypass mech movement-overrides.

This commit is contained in:
PsiOmega
2014-07-28 10:25:29 +02:00
parent 9abcb19c86
commit b935d7a0e0

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)