Merge pull request #22694 from ChangelingRain/windowfix

Centcom's indestructible windows are now indistinguishable from normal windows
This commit is contained in:
oranges
2017-01-05 19:07:24 +13:00
committed by GitHub
2 changed files with 12 additions and 2 deletions
+12 -2
View File
@@ -42,7 +42,7 @@
/turf/closed/indestructible/riveted
icon_state = "riveted"
/turf/closed/indestructible/riveted/New()
/turf/closed/indestructible/New()
..()
if(smooth)
queue_smooth(src)
@@ -60,8 +60,18 @@
/turf/closed/indestructible/fakeglass
name = "window"
icon_state = "fakewindows"
icon_state = "fake_window"
opacity = 0
smooth = SMOOTH_TRUE
icon = 'icons/obj/smooth_structures/reinforced_window.dmi'
/turf/closed/indestructible/fakeglass/New()
..()
icon_state = null //set the icon state to null, so our base state isn't visible
var/image/I = image('icons/obj/structures.dmi', loc = src, icon_state = "grille")
underlays += I //add a grille underlay
I = image('icons/turf/floors.dmi', loc = src, icon_state = "plating")
underlays += I //add the plating underlay, below the grille
/turf/closed/indestructible/fakedoor
name = "Centcom Access"