mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-22 03:27:46 +01:00
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>
This commit is contained in:
co-authored by
Cameron Lennox
parent
55cdc6f84e
commit
190119a88d
@@ -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))
|
||||
Reference in New Issue
Block a user