mirror of
https://github.com/PolarisSS13/Polaris.git
synced 2026-01-09 17:02:23 +00:00
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:
@@ -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)
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user