/* 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 in spawn_list) new I(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 )