Merge pull request #10568 from VOREStation/upstream-merge-8111

[MIRROR] Add Secret ZLevels
This commit is contained in:
Aronai Sieyes
2021-06-07 01:33:01 -04:00
committed by GitHub
2 changed files with 11 additions and 10 deletions
+10 -9
View File
@@ -108,6 +108,16 @@
return 1
/obj/effect/landmark/forbidden_level
delete_me = 1
/obj/effect/landmark/forbidden_level/Initialize()
. = ..()
if(using_map)
using_map.secret_levels |= z
else
log_error("[type] mapped in but no using_map")
/obj/effect/landmark/virtual_reality
name = "virtual_reality"
icon = 'icons/mob/screen1.dmi'
@@ -120,15 +130,6 @@
invisibility = 101
return 1
/obj/effect/landmark/forbidden_level
delete_me = 1
/obj/effect/landmark/forbidden_level/Initialize()
. = ..()
if(using_map)
using_map.secret_levels |= z
else
log_error("[type] mapped in but no using_map")
//Costume spawner landmarks
/obj/effect/landmark/costume/New() //costume spawner, selects a random subclass and disappears