Adds a crew monitor for observers (#24118)

* wheee

* ignoring sensors now actually gets all health info

* a

* this wasn't supposed to go here

* delete observer menu on mob del

* erm

* global on my datum

---------

Co-authored-by: github-actions <github-actions@github.com>
This commit is contained in:
Luc
2024-03-23 22:51:55 +00:00
committed by GitHub
co-authored by github-actions
parent 9efaed6397
commit 6100c36987
5 changed files with 109 additions and 81 deletions
@@ -5,6 +5,8 @@ GLOBAL_LIST_EMPTY(ghost_images)
GLOBAL_VAR_INIT(observer_default_invisibility, INVISIBILITY_OBSERVER)
GLOBAL_DATUM_INIT(ghost_crew_monitor, /datum/ui_module/crew_monitor/ghost, new)
/mob/dead/observer
name = "ghost"
desc = "It's a g-g-g-g-ghooooost!" //jinkies!
@@ -477,6 +479,13 @@ This is the proc mobs get to turn into a ghost. Forked from ghostize due to comp
orbit_menu.ui_interact(src)
/mob/dead/observer/verb/crew_monitor()
set category = "Ghost"
set name = "Crew Monitor"
set desc = "Use a ghastly crew monitor that lets you follow people you select."
GLOB.ghost_crew_monitor.ui_interact(src)
/mob/dead/observer/proc/add_observer_verbs()
verbs.Add(/mob/dead/observer/proc/ManualFollow)