Files
VOREStation/code/modules/events/maint_spawner.dm
T
Killian 190119a88d Unified Ghost Hole (#18608)
* unified hole

* unified hole grammar pass, event replacement, and redgate variant

* unified hole grammar pass, event replacement, and redgate variant

* unified ghost hole

* unified ghost hole

* unified ghost holes

* Update vorestation.dme

* Update unified_ghost_hole.dm

corrected logging

* Update unified_ghost_hole.dm

aaaaa typo. also some general message phrasing tweaks.

* Update unified_ghost_hole.dm

---------

Co-authored-by: Cameron Lennox <killer65311@gmail.com>
2025-10-16 23:21:07 -04:00

23 lines
571 B
Plaintext

/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))