mirror of
https://github.com/SPLURT-Station/S.P.L.U.R.T-Station-13.git
synced 2025-12-10 01:49:19 +00:00
* not code stuff * other things * global vars, defines, helpers * onclick hud stuff, orphans, world.dm * controllers and datums * game folder * everything not client/mobs in modules * client folder * stage 1 mob stuff * simple animal things * silicons * carbon things * ayylmaos and monkeys * hyoomahn * icons n shit * sprite fixes * compile fixes * some fixes I cherrypicked. * qdel fixes * forgot brain refractors * based cyberboss. * you'd think github would suck less. * vendors * tweaks and specialty vendors. * map things * go away shitty omega * qdeletion spam supress, maps.txt tweaks * shuttle lights
34 lines
898 B
Plaintext
34 lines
898 B
Plaintext
/*
|
|
Because mapping is already tedious enough this spawner let you spawn generic
|
|
"sets" of objects rather than having to make the same object stack again and
|
|
again.
|
|
*/
|
|
|
|
/obj/effect/spawner/structure
|
|
name = "map structure spawner"
|
|
var/list/spawn_list
|
|
|
|
/obj/effect/spawner/structure/Initialize()
|
|
..()
|
|
if(spawn_list && spawn_list.len)
|
|
for(var/i = 1, i <= spawn_list.len, i++)
|
|
var/to_spawn = spawn_list[i]
|
|
new to_spawn(get_turf(src))
|
|
qdel(src)
|
|
|
|
/obj/effect/spawner/structure/window
|
|
icon = 'icons/obj/structures.dmi'
|
|
icon_state = "window_spawner"
|
|
name = "window spawner"
|
|
spawn_list = list(
|
|
/obj/structure/grille,
|
|
/obj/structure/window/fulltile
|
|
)
|
|
|
|
/obj/effect/spawner/structure/window/reinforced
|
|
name = "reinforced window spawner"
|
|
icon_state = "rwindow_spawner"
|
|
spawn_list = list(
|
|
/obj/structure/grille,
|
|
/obj/structure/window/reinforced/fulltile
|
|
) |