Allows hiding mobs/areas from observers without completely forbidding

Basically for more common usage for place we would prefer people couldn't peek into before people are there ICly, like gateways.
This commit is contained in:
VerySoft
2021-07-20 07:08:35 -04:00
parent 98dea57645
commit bcea1b71ad
3 changed files with 15 additions and 1 deletions
+9
View File
@@ -117,6 +117,15 @@
else
log_error("[type] mapped in but no using_map")
/obj/effect/landmark/hidden_level
delete_me = 1
/obj/effect/landmark/hidden_level/Initialize()
. = ..()
if(using_map)
using_map.hidden_levels |= z
else
log_error("[type] mapped in but no using_map")
/obj/effect/landmark/virtual_reality
name = "virtual_reality"