mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2026-01-01 13:03:17 +00:00
An Odysseus with patients now bypass mech movement-overrides.
This commit is contained in:
@@ -25,6 +25,14 @@
|
|||||||
return 1
|
return 1
|
||||||
|
|
||||||
/obj/machinery/mech_sensor/proc/is_blocked(O as obj)
|
/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)
|
return istype(O, /obj/mecha) || istype(O, /obj/vehicle)
|
||||||
|
|
||||||
/obj/machinery/mech_sensor/proc/give_feedback(O as obj)
|
/obj/machinery/mech_sensor/proc/give_feedback(O as obj)
|
||||||
|
|||||||
Reference in New Issue
Block a user