//This file was auto-corrected by findeclaration.exe on 25.5.2012 20:42:31 /obj/machinery/computer/operating name = "patient monitoring console" desc = "A console that displays information on the status of the patient on an adjacent operating table." density = TRUE anchored = TRUE light_color = LIGHT_COLOR_CYAN icon_screen = "crew" circuit = /obj/item/circuitboard/operating var/mob/living/carbon/human/victim = null var/obj/machinery/optable/table = null /obj/machinery/computer/operating/Initialize() . = ..() for(dir in list(NORTH,EAST,SOUTH,WEST)) table = locate(/obj/machinery/optable, get_step(src, dir)) if (table) table.computer = src break /obj/machinery/computer/operating/attack_ai(mob/user) add_fingerprint(user) if(stat & (BROKEN|NOPOWER)) return interact(user) /obj/machinery/computer/operating/attack_hand(mob/user) add_fingerprint(user) if(stat & (BROKEN|NOPOWER)) return interact(user) /obj/machinery/computer/operating/interact(mob/user) if ( (get_dist(src, user) > 1 ) || (stat & (BROKEN|NOPOWER)) ) if (!istype(user, /mob/living/silicon)) user.unset_machine() user << browse(null, "window=op") return user.set_machine(src) var/dat = "