[MIRROR] Unified Ghost Hole (#11833)

Co-authored-by: Killian <49700375+KillianKirilenko@users.noreply.github.com>
Co-authored-by: Cameron Lennox <killer65311@gmail.com>
Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
This commit is contained in:
CHOMPStation2StaffMirrorBot
2025-10-18 17:10:29 -07:00
committed by GitHub
parent 0924920662
commit e49179e010
15 changed files with 222 additions and 87 deletions

View File

@@ -0,0 +1,22 @@
/datum/event/maintenance_critter
startWhen = 1
endWhen = 30
/datum/event/maintenance_critter/start()
var/obj/effect/landmark/spawnspot = null
var/list/possibleSpawnspots = list()
for(var/obj/effect/landmark/L in GLOB.landmarks_list)
if(L.name == "maint_pred")
possibleSpawnspots += L
if(possibleSpawnspots.len)
spawnspot = pick(possibleSpawnspots)
else
kill() // To prevent fake announcements
return
if(!spawnspot)
kill() // To prevent fake announcements
return
new /obj/structure/ghost_pod/ghost_activated/unified_hole(get_turf(spawnspot))

View File

@@ -20,7 +20,3 @@
return
new /obj/structure/ghost_pod/ghost_activated/morphspawn(get_turf(spawnspot))
//YW Addition: Adding named landmark for events
/obj/effect/landmark/event_spawn/morphspawn
name = "morphspawn"