diff --git a/code/game/machinery/cryopod.dm b/code/game/machinery/cryopod.dm index d3215227275..8501a9c5edf 100644 --- a/code/game/machinery/cryopod.dm +++ b/code/game/machinery/cryopod.dm @@ -206,6 +206,7 @@ var/obj/item/radio/intercom/announce var/silent = FALSE + var/console_type = /obj/machinery/computer/cryopod // The type of control console it should link itself to var/obj/machinery/computer/cryopod/control_computer var/last_no_computer_message = 0 @@ -252,8 +253,9 @@ /obj/machinery/cryopod/proc/find_control_computer(urgent=0) for(var/obj/machinery/computer/cryopod/C in get_area(src).contents) - control_computer = C - break + if(C.type == console_type) + control_computer = C + break // Don't send messages unless we *need* the computer, and less than five minutes have passed since last time we messaged if(!control_computer && urgent && last_no_computer_message + 5*60*10 < world.time) @@ -699,6 +701,7 @@ on_store_message = "has entered robotic storage." on_store_name = "Robotic Storage Oversight" on_enter_occupant_message = "The storage unit broadcasts a sleep signal to you. Your systems start to shut down, and you enter low-power mode." + console_type = /obj/machinery/computer/cryopod/robot allow_occupant_types = list(/mob/living/silicon/robot) disallow_occupant_types = list(/mob/living/silicon/robot/drone)