Merge pull request #6453 from Citadel-Station-13/upstream-merge-37251
[MIRROR] Adds new window spawners
This commit is contained in:
@@ -156,6 +156,84 @@ again.
|
||||
spawn_list = list(/obj/structure/grille, /obj/structure/window/shuttle)
|
||||
|
||||
|
||||
//plastitanium window
|
||||
|
||||
/obj/effect/spawner/structure/window/plastitanium
|
||||
name = "plastitanium window spawner"
|
||||
icon_state = "plastitaniumwindow_spawner"
|
||||
spawn_list = list(/obj/structure/grille, /obj/structure/window/plastitanium)
|
||||
|
||||
|
||||
//ice window
|
||||
|
||||
/obj/effect/spawner/structure/window/ice
|
||||
name = "ice window spawner"
|
||||
icon_state = "icewindow_spawner"
|
||||
spawn_list = list(/obj/structure/grille, /obj/structure/window/reinforced/fulltile/ice)
|
||||
|
||||
|
||||
//survival pod window
|
||||
|
||||
/obj/effect/spawner/structure/window/survival_pod
|
||||
name = "pod window spawner"
|
||||
icon_state = "podwindow_spawner"
|
||||
spawn_list = list(/obj/structure/grille, /obj/structure/window/reinforced/survival_pod)
|
||||
|
||||
/obj/effect/spawner/structure/window/hollow/survival_pod
|
||||
name = "hollow pod window spawner"
|
||||
icon_state = "podwindow_spawner_full"
|
||||
spawn_list = list(/obj/structure/grille, /obj/structure/window/shuttle/survival_pod, /obj/structure/window/shuttle/survival_pod/spawner/north, /obj/structure/window/shuttle/survival_pod/spawner/east, /obj/structure/window/shuttle/survival_pod/spawner/west)
|
||||
|
||||
/obj/effect/spawner/structure/window/hollow/survival_pod/end
|
||||
icon_state = "podwindow_spawner_end"
|
||||
|
||||
/obj/effect/spawner/structure/window/hollow/survival_pod/end/Initialize()
|
||||
switch(dir)
|
||||
if(NORTH)
|
||||
spawn_list = list(/obj/structure/grille, /obj/structure/window/shuttle/survival_pod/spawner/north, /obj/structure/window/shuttle/survival_pod/spawner/east, /obj/structure/window/shuttle/survival_pod/spawner/west)
|
||||
if(EAST)
|
||||
spawn_list = list(/obj/structure/grille, /obj/structure/window/shuttle/survival_pod, /obj/structure/window/shuttle/survival_pod/spawner/north, /obj/structure/window/shuttle/survival_pod/spawner/east)
|
||||
if(SOUTH)
|
||||
spawn_list = list(/obj/structure/grille, /obj/structure/window/shuttle/survival_pod, /obj/structure/window/shuttle/survival_pod/spawner/east, /obj/structure/window/shuttle/survival_pod/spawner/west)
|
||||
if(WEST)
|
||||
spawn_list = list(/obj/structure/grille, /obj/structure/window/shuttle/survival_pod, /obj/structure/window/shuttle/survival_pod/spawner/north, /obj/structure/window/shuttle/survival_pod/spawner/west)
|
||||
. = ..()
|
||||
|
||||
/obj/effect/spawner/structure/window/hollow/survival_pod/middle
|
||||
icon_state = "podwindow_spawner_middle"
|
||||
|
||||
/obj/effect/spawner/structure/window/hollow/survival_pod/middle/Initialize()
|
||||
switch(dir)
|
||||
if(NORTH,SOUTH)
|
||||
spawn_list = list(/obj/structure/grille, /obj/structure/window/shuttle/survival_pod, /obj/structure/window/shuttle/survival_pod/spawner/north)
|
||||
if(EAST,WEST)
|
||||
spawn_list = list(/obj/structure/grille, /obj/structure/window/shuttle/survival_pod/spawner/east, /obj/structure/window/shuttle/survival_pod/spawner/west)
|
||||
. = ..()
|
||||
|
||||
/obj/effect/spawner/structure/window/hollow/survival_pod/directional
|
||||
icon_state = "podwindow_spawner_directional"
|
||||
|
||||
/obj/effect/spawner/structure/window/hollow/survival_pod/directional/Initialize()
|
||||
switch(dir)
|
||||
if(NORTH)
|
||||
spawn_list = list(/obj/structure/grille, /obj/structure/window/shuttle/survival_pod/spawner/north)
|
||||
if(NORTHEAST)
|
||||
spawn_list = list(/obj/structure/grille, /obj/structure/window/shuttle/survival_pod/spawner/north, /obj/structure/window/shuttle/survival_pod/spawner/east)
|
||||
if(EAST)
|
||||
spawn_list = list(/obj/structure/grille, /obj/structure/window/shuttle/survival_pod/spawner/east)
|
||||
if(SOUTHEAST)
|
||||
spawn_list = list(/obj/structure/grille, /obj/structure/window/shuttle/survival_pod, /obj/structure/window/shuttle/survival_pod/spawner/east)
|
||||
if(SOUTH)
|
||||
spawn_list = list(/obj/structure/grille, /obj/structure/window/shuttle/survival_pod)
|
||||
if(SOUTHWEST)
|
||||
spawn_list = list(/obj/structure/grille, /obj/structure/window/shuttle/survival_pod, /obj/structure/window/shuttle/survival_pod/spawner/west)
|
||||
if(WEST)
|
||||
spawn_list = list(/obj/structure/grille, /obj/structure/window/shuttle/survival_pod/spawner/west)
|
||||
if(NORTHWEST)
|
||||
spawn_list = list(/obj/structure/grille, /obj/structure/window/shuttle/survival_pod/spawner/north, /obj/structure/window/shuttle/survival_pod/spawner/west)
|
||||
. = ..()
|
||||
|
||||
|
||||
//plasma windows
|
||||
|
||||
/obj/effect/spawner/structure/window/plasma
|
||||
|
||||
@@ -82,6 +82,15 @@
|
||||
smooth = SMOOTH_MORE
|
||||
canSmoothWith = list(/turf/closed/wall/mineral/titanium/survival, /obj/machinery/door/airlock/survival_pod, /obj/structure/window/shuttle/survival_pod)
|
||||
|
||||
/obj/structure/window/shuttle/survival_pod/spawner/north
|
||||
dir = NORTH
|
||||
|
||||
/obj/structure/window/shuttle/survival_pod/spawner/east
|
||||
dir = EAST
|
||||
|
||||
/obj/structure/window/shuttle/survival_pod/spawner/west
|
||||
dir = WEST
|
||||
|
||||
/obj/structure/window/reinforced/survival_pod
|
||||
name = "pod window"
|
||||
icon = 'icons/obj/lavaland/survival_pod.dmi'
|
||||
|
||||
BIN
icons/PSD files/window_spawners.psd
Normal file
BIN
icons/PSD files/window_spawners.psd
Normal file
Binary file not shown.
Binary file not shown.
|
Before Width: | Height: | Size: 35 KiB After Width: | Height: | Size: 48 KiB |
Reference in New Issue
Block a user