Ghost Menu (#12000)

* Ghost Menu

* obvious antags don't need antagHUD to show
This commit is contained in:
Geeves
2021-07-03 18:48:34 -03:00
committed by GitHub
parent a77d03aa16
commit 378ff0d892
13 changed files with 130 additions and 9 deletions
@@ -394,14 +394,13 @@ This is the proc mobs get to turn into a ghost. Forked from ghostize due to comp
stop_following()
usr.forceMove(pick(L))
/mob/abstract/observer/verb/follow(input in getmobs())
/mob/abstract/observer/verb/follow()
set category = "Ghost"
set name = "Follow" // "Haunt"
set desc = "Follow and haunt a mob."
var/target = getmobs()[input]
if(!target) return
ManualFollow(target)
var/datum/vueui_module/ghost_menu/GM = new /datum/vueui_module/ghost_menu(usr)
GM.ui_interact(usr)
// This is the ghost's follow verb with an argument
/mob/abstract/observer/proc/ManualFollow(var/atom/movable/target)