mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-26 14:31:59 +01:00
Event Map Refactor (#12329)
This commit is contained in:
@@ -11,7 +11,10 @@
|
||||
/obj/effect/landmark/New()
|
||||
..()
|
||||
tag = text("landmark*[]", name)
|
||||
do_landmark_effect()
|
||||
return 1
|
||||
|
||||
/obj/effect/landmark/proc/do_landmark_effect()
|
||||
switch(name) //some of these are probably obsolete
|
||||
if("monkey")
|
||||
monkeystart += loc
|
||||
@@ -93,7 +96,6 @@
|
||||
return
|
||||
|
||||
landmarks_list += src
|
||||
return 1
|
||||
|
||||
/obj/effect/landmark/proc/delete()
|
||||
delete_me = 1
|
||||
@@ -257,3 +259,11 @@
|
||||
|
||||
/obj/effect/landmark/distress_team_equipment
|
||||
name = "distress equipment"
|
||||
|
||||
/obj/effect/landmark/force_spawnpoint
|
||||
name = "force spawnpoint"
|
||||
var/job_tag = "Anyone"
|
||||
|
||||
/obj/effect/landmark/force_spawnpoint/do_landmark_effect()
|
||||
LAZYINITLIST(force_spawnpoints)
|
||||
LAZYADD(force_spawnpoints[job_tag], loc)
|
||||
Reference in New Issue
Block a user