mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-07-22 04:28:33 +01:00
Merge pull request #10568 from VOREStation/upstream-merge-8111
[MIRROR] Add Secret ZLevels
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user