mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2026-08-30 00:35:45 +01:00
Merge pull request #10568 from VOREStation/upstream-merge-8111
[MIRROR] Add Secret ZLevels
This commit is contained in:
committed by
Chompstation Bot
parent
d5ca48ba11
commit
0028ef1ef0
@@ -114,6 +114,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'
|
||||
@@ -126,15 +136,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