mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2025-12-26 18:21:56 +00:00
* I need that gitignore file * Temp Commit - DOES NOT COMPILE * THE SHIT WORKS * Readme change * Disposal Unit --> TGUI * mmmm yes CI which may not actually work * New GitIgnore * ITS TGUI-NEXT BABY * Doc update * CI tweak * Chmod * And again * *sigh* * Lets appreciate the irony of me failing CI stages * 0/1 --> True/False * Fixes some update nonsense * CI Update * Lets try this * What about this maybe * NVM is hurting me * I swear to god * A little bit of validation in my life * V3 BABYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYY * Fixes * Fixes NaN appearing for a few frames when UIs open * Fixes + Crew Monitor * Corn + Steel + Mochi Fixes * Forgot this * Fixes from stylemistake * Code Change * Adds logout proc * Offline implications + Resizeable crew monitor * Change locate() to locateUID() * Change div --> box
24 lines
793 B
Plaintext
24 lines
793 B
Plaintext
/obj/item/sensor_device
|
|
name = "handheld crew monitor"
|
|
desc = "A miniature machine that tracks suit sensors across the station."
|
|
icon = 'icons/obj/device.dmi'
|
|
icon_state = "scanner"
|
|
w_class = WEIGHT_CLASS_SMALL
|
|
slot_flags = SLOT_BELT
|
|
origin_tech = "programming=3;materials=3;magnets=3"
|
|
var/datum/tgui_module/crew_monitor/crew_monitor
|
|
|
|
/obj/item/sensor_device/New()
|
|
..()
|
|
crew_monitor = new(src)
|
|
|
|
/obj/item/sensor_device/Destroy()
|
|
QDEL_NULL(crew_monitor)
|
|
return ..()
|
|
|
|
/obj/item/sensor_device/attack_self(mob/user as mob)
|
|
tgui_interact(user)
|
|
|
|
/obj/item/sensor_device/tgui_interact(mob/user, ui_key = "main", datum/tgui/ui = null, force_open = 0, datum/tgui/master_ui = null, datum/tgui_state/state = GLOB.tgui_default_state)
|
|
crew_monitor.tgui_interact(user, ui_key, ui, force_open)
|