mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-05-18 04:41:27 +01:00
190119a88d
* 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>
23 lines
571 B
Plaintext
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))
|