Merge pull request #3940 from Ccomp5950/ghost_buff

AntagHUD's player verbs will now disappear from the players view if disabled by admin or by configuration options.
This commit is contained in:
Chinsky
2013-11-20 10:32:18 -08:00
3 changed files with 13 additions and 2 deletions

View File

@@ -25,6 +25,7 @@
see_invisible = SEE_INVISIBLE_OBSERVER
see_in_dark = 100
verbs += /mob/dead/observer/proc/dead_tele
stat = DEAD
var/turf/T
@@ -149,6 +150,8 @@ Works together with spawning an observer, noted above.
ghost.can_reenter_corpse = can_reenter_corpse
ghost.timeofdeath = src.timeofdeath //BS12 EDIT
ghost.key = key
if(!ghost.client.holder && !config.antag_hud_allowed) // For new ghosts we remove the verb from even showing up if it's not allowed.
ghost.verbs -= /mob/dead/observer/verb/toggle_antagHUD // Poor guys, don't know what they are missing!
return ghost
/*