Merge pull request #12 from PsiOmegaDelta/windowspawner

Adds support for polarized windows.
This commit is contained in:
Zuhayr
2015-06-26 03:02:07 +09:30
+10 -1
View File
@@ -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