diff --git a/code/WorkInProgress/pomf/spacepods.dm b/code/WorkInProgress/pomf/spacepods.dm index b7b9ac5e36a..c3b58e4deaa 100644 --- a/code/WorkInProgress/pomf/spacepods.dm +++ b/code/WorkInProgress/pomf/spacepods.dm @@ -288,3 +288,13 @@ user << "She's dead, Jim" return 0 battery.use(3) + +/obj/effect/landmark/spacepod/random + name = "spacepod spawner" + invisibility = 101 + icon = 'icons/mob/screen1.dmi' + icon_state = "x" + anchored = 1 + +/obj/effect/landmark/spacepod/random/New() + ..() \ No newline at end of file diff --git a/code/game/gamemodes/gameticker.dm b/code/game/gamemodes/gameticker.dm index 4fdccedcd6b..531178fdeec 100644 --- a/code/game/gamemodes/gameticker.dm +++ b/code/game/gamemodes/gameticker.dm @@ -138,6 +138,14 @@ var/global/datum/controller/gameticker/ticker //Deleting Startpoints but we need the ai point to AI-ize people later if (S.name != "AI") del(S) + var/list/obj/effect/landmark/spacepod/L = list() + for(var/obj/effect/landmark/spacepod in landmarks_list) + if(istype(spacepod)) + L += spacepod + var/obj/effect/landmark/spacepod/S = pick(L) + new /obj/spacepod/random(S.loc) + for(var/obj in L) + del(obj) world << "Enjoy the game!" world << sound('sound/AI/welcome.ogg') // Skie //Holiday Round-start stuff ~Carn