mirror of
https://github.com/Yawn-Wider/YWPolarisVore.git
synced 2026-08-26 22:46:47 +01:00
* Update settings * Whitespace changes * Comment out merger hooks in gitattributes Corrupt maps would have to be resolved in repo before hooks could be updated * Revert "Whitespace changes" This reverts commit afbdd1d8442973f5d570c30920d9d865b5acd479. * Whitespace again minus example * Gitignore example changelog * Restore changelog merge setting * Keep older dmi hook attribute until hooks can be updated * update vscode settings too * Renormalize remaining * Revert "Gitignore example changelog" This reverts commit de22ad375d3ee4d5930c550da2fd23a29a86e616. * Attempt to normalize example.yml (and another file I guess) * Try again
36 lines
953 B
Plaintext
36 lines
953 B
Plaintext
/obj/machinery/computer/crew
|
|
name = "crew monitoring computer"
|
|
desc = "Used to monitor active health sensors built into most of the crew's uniforms."
|
|
icon_keyboard = "med_key"
|
|
icon_screen = "crew"
|
|
light_color = "#315ab4"
|
|
use_power = USE_POWER_IDLE
|
|
idle_power_usage = 250
|
|
active_power_usage = 500
|
|
circuit = /obj/item/weapon/circuitboard/crew
|
|
var/datum/tgui_module/crew_monitor/crew_monitor
|
|
|
|
/obj/machinery/computer/crew/New()
|
|
crew_monitor = new(src)
|
|
..()
|
|
|
|
/obj/machinery/computer/crew/Destroy()
|
|
qdel(crew_monitor)
|
|
crew_monitor = null
|
|
..()
|
|
|
|
/obj/machinery/computer/crew/attack_ai(mob/user)
|
|
attack_hand(user)
|
|
|
|
/obj/machinery/computer/crew/attack_hand(mob/user)
|
|
add_fingerprint(user)
|
|
if(stat & (BROKEN|NOPOWER))
|
|
return
|
|
tgui_interact(user)
|
|
|
|
/obj/machinery/computer/crew/tgui_interact(mob/user, datum/tgui/ui = null)
|
|
crew_monitor.tgui_interact(user, ui)
|
|
|
|
/obj/machinery/computer/crew/interact(mob/user)
|
|
crew_monitor.tgui_interact(user)
|