Makes trees transparent if important objects are hiding behind them (#18627)

* tree!

* Update code/modules/admin/verbs/freeze.dm

* yeet

* steel review, animate transparency

* more critical items

* charlie review

* charlie
This commit is contained in:
S34N
2022-07-31 23:24:12 +01:00
committed by GitHub
parent b4d74f5620
commit 07265abdf2
16 changed files with 143 additions and 11 deletions
+2
View File
@@ -29,6 +29,8 @@ GLOBAL_LIST_EMPTY(frozen_atom_list) // A list of admin-frozen atoms.
var/frozen = null
/// Used for keeping track of previous sleeping value with admin freeze.
var/admin_prev_sleeping = 0
/// Flag to enable these making trees semi-transparent if behind them
flags_2 = CRITICAL_ATOM_2
/mob/living/admin_Freeze(client/admin, skip_overlays = FALSE, mech = null)
if(!istype(admin))