mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2026-07-18 11:44:05 +01:00
[MIRROR] Kitchen Sink PR (#10745)
Co-authored-by: Cameron Lennox <killer65311@gmail.com>
This commit is contained in:
committed by
GitHub
parent
42483a1d4a
commit
667e08ee0a
@@ -1,3 +1,5 @@
|
||||
GLOBAL_VAR_INIT(global_vantag_hud, 0)
|
||||
|
||||
/client/proc/cmd_admin_drop_everything(mob/M as mob in mob_list)
|
||||
set category = null
|
||||
set name = "Drop Everything"
|
||||
@@ -1176,3 +1178,17 @@ Traitors and the like can also be revived with the previous role mostly intact.
|
||||
new /obj/structure/drop_pod/polite(get_turf(usr), L, autoopen == "Yes" ? TRUE : FALSE)
|
||||
|
||||
feedback_add_details("admin_verb","DPD") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
|
||||
|
||||
/client/proc/toggle_vantag_hud_global(mob/target as mob)
|
||||
set category = "Fun.Event Kit"
|
||||
set name = "Toggle Global Event HUD"
|
||||
set desc = "Give everyone the Event HUD."
|
||||
|
||||
GLOB.global_vantag_hud = !GLOB.global_vantag_hud
|
||||
if(GLOB.global_vantag_hud)
|
||||
for(var/mob/living/L in living_mob_list)
|
||||
if(L.ckey)
|
||||
L.vantag_hud = TRUE
|
||||
L.recalculate_vis()
|
||||
|
||||
to_chat(src, span_warning("Global Event HUD has been turned [GLOB.global_vantag_hud ? "on" : "off"]."))
|
||||
|
||||
Reference in New Issue
Block a user