From a036e8d47ebbb4515689c30af7c4a50f2755acac Mon Sep 17 00:00:00 2001 From: PsiOmegaDelta Date: Thu, 25 Jun 2015 16:09:04 +0200 Subject: [PATCH] Adds support for polarized windows. --- code/game/objects/structures/window_spawner.dm | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/code/game/objects/structures/window_spawner.dm b/code/game/objects/structures/window_spawner.dm index 116d1ca454..e6c2d06001 100644 --- a/code/game/objects/structures/window_spawner.dm +++ b/code/game/objects/structures/window_spawner.dm @@ -56,7 +56,6 @@ if(!other.activated) other.activate() qdel(src) -// Currently unused, could be useful for POLARIZED WINDOWS, HUH PSIGAMMA. /obj/effect/wingrille_spawn/proc/handle_window_spawn(var/obj/structure/window/W) return @@ -78,3 +77,13 @@ name = "reinforced phoron window grille spawner" icon_state = "pr-wingrille" win_path = /obj/structure/window/phoronreinforced + +/obj/effect/wingrille_spawn/reinforced/polarized + name = "polarized window grille spawner" + color = "#444444" + win_path = /obj/structure/window/reinforced/polarized + var/id + +/obj/effect/wingrille_spawn/reinforced/polarized/handle_window_spawn(var/obj/structure/window/reinforced/polarized/P) + if(id) + P.id = id