mirror of
https://github.com/Citadel-Station-13/Citadel-Station-13-RP.git
synced 2026-08-23 18:16:46 +01:00
various fixes, improvements, etc (#4649)
Co-authored-by: VM_USER <VM_USER>
This commit is contained in:
co-authored by
VM_USER <VM_USER>
parent
8a8e664e9d
commit
de4f5eb944
@@ -13,6 +13,8 @@
|
||||
var/window_pane_path = /obj/structure/window/basic
|
||||
/// found dirs
|
||||
var/found_dirs = NONE
|
||||
/// spawn firedoors? fulltile and non-hidden only for now
|
||||
var/firelocks = FALSE
|
||||
|
||||
/obj/spawner/window/Initialize(mapload)
|
||||
if(!full_window)
|
||||
@@ -28,7 +30,7 @@
|
||||
/obj/spawner/window/Spawn()
|
||||
if(spawn_grille)
|
||||
new /obj/structure/grille(loc)
|
||||
if(!full_window)
|
||||
if(full_window)
|
||||
new window_full_path(loc)
|
||||
else
|
||||
// spawn in dirs not in found dirs
|
||||
@@ -38,34 +40,67 @@
|
||||
continue
|
||||
W = new window_pane_path(loc)
|
||||
W.setDir(d)
|
||||
if(firelocks)
|
||||
new /obj/machinery/door/firedoor(loc)
|
||||
|
||||
/obj/spawner/window/firelocks
|
||||
icon_state = "window_grille_pane_fire"
|
||||
|
||||
/obj/spawner/window/full
|
||||
full_window = TRUE
|
||||
icon_state = "window_grille_full"
|
||||
|
||||
/obj/spawner/window/full/firelocks
|
||||
icon_state = "window_grille_full_fire"
|
||||
firelocks = TRUE
|
||||
|
||||
/obj/spawner/window/reinforced
|
||||
icon_state = "rwindow_grille_pane"
|
||||
window_pane_path = /obj/structure/window/reinforced
|
||||
window_full_path = /obj/structure/window/reinforced/full
|
||||
|
||||
/obj/spawner/window/reinforced/firelocks
|
||||
icon_state = "rwindow_grille_pane_fire"
|
||||
firelocks = TRUE
|
||||
|
||||
/obj/spawner/window/reinforced/full
|
||||
icon_state = "rwindow_grille_full"
|
||||
full_window = TRUE
|
||||
|
||||
/obj/spawner/window/reinforced/full/firelocks
|
||||
icon_state = "rwindow_grille_full_fire"
|
||||
firelocks = TRUE
|
||||
|
||||
/obj/spawner/window/borosillicate
|
||||
icon_state = "phoron_grille_pane"
|
||||
window_pane_path = /obj/structure/window/phoronbasic
|
||||
window_full_path = /obj/structure/window/phoronbasic/full
|
||||
|
||||
/obj/spawner/window/borosillicate/firelocks
|
||||
icon_state = "phoron_grille_pane_fire"
|
||||
firelocks = TRUE
|
||||
|
||||
/obj/spawner/window/borosillicate/full
|
||||
icon_state = "phoron_grille_full"
|
||||
full_window = TRUE
|
||||
|
||||
/obj/spawner/window/borosillicate/full/firelocks
|
||||
icon_state = "phoron_grille_full"
|
||||
firelocks = TRUE
|
||||
|
||||
/obj/spawner/window/borosillicate/reinforced
|
||||
icon_state = "rphoron_grille_pane"
|
||||
window_pane_path = /obj/structure/window/phoronreinforced
|
||||
window_full_path = /obj/structure/window/phoronreinforced/full
|
||||
|
||||
/obj/spawner/window/borosillicate/reinforced/firelocks
|
||||
icon_state = "rphoron_grille_pane_fire"
|
||||
firelocks = TRUE
|
||||
|
||||
/obj/spawner/window/borosillicate/reinforced/full
|
||||
icon_state = "rphoron_grille_full"
|
||||
full_window = TRUE
|
||||
|
||||
/obj/spawner/window/borosillicate/reinforced/full/firelocks
|
||||
icon_state = "rphoron_grille_full_fire"
|
||||
firelocks = TRUE
|
||||
|
||||
Reference in New Issue
Block a user