mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-01-29 10:21:52 +00:00
*Finishes up the partially-implemented event HUD (The one the event pref in the VORE character setup tab is for) and adds a verb to let event managers give it to people (can be used by right-clicking them, or from the "Fun" verb tab. Tested.
15 lines
348 B
Plaintext
15 lines
348 B
Plaintext
/mob/recalculate_vis()
|
|
. = ..()
|
|
if(!plane_holder || !vis_enabled)
|
|
return
|
|
|
|
if(vantag_hud)
|
|
if(!(VIS_CH_VANTAG in vis_enabled))
|
|
plane_holder.set_vis(VIS_CH_VANTAG,TRUE)
|
|
vis_enabled += VIS_CH_VANTAG
|
|
else
|
|
if(VIS_CH_VANTAG in vis_enabled)
|
|
plane_holder.set_vis(VIS_CH_VANTAG,FALSE)
|
|
vis_enabled -= VIS_CH_VANTAG
|
|
return
|