Added Adminverbs for turning off and on the various items needed.

Also added the proc get_ghosts() with 2 versions of output, it defaults to returning a mob list but can be set to return a list for use with an input window.
This commit is contained in:
Ccomp5950
2013-11-17 10:00:12 -06:00
committed by Mloc-Argent
parent dbf24606bd
commit a56103c151
3 changed files with 94 additions and 23 deletions

View File

@@ -79,16 +79,17 @@ Works together with spawning an observer, noted above.
if(client.images.len)
for(var/image/hud in client.images)
if(copytext(hud.icon_state,1,4) == "hud")
client.images.Remove(hud)
for(var/image/hud in client.images)
if(copytext(hud.icon_state,1,4) == "hud")
client.images.Remove(hud)
var/mob/dead/observer/M = src
if(M.antagHUD)
var/list/target_list = list()
for(var/mob/living/target in oview(M))
if( target.mind&&(target.mind.special_role||issilicon(target)) )
target_list += target
if(target_list.len)
M.assess_targets(target_list, M)
var/list/target_list = list()
for(var/mob/living/target in oview(M))
if( target.mind&&(target.mind.special_role||issilicon(target)) )
target_list += target
if(target_list.len)
M.assess_targets(target_list, M)