Second attempt at overlay

None of the crates appear with the manifesto outside, but he's there
waiting lurking in the shadows waiting to strike.
This commit is contained in:
astralenigma
2015-05-01 08:01:54 +01:00
parent 30b86c060f
commit 8d72d9ef2b
@@ -14,16 +14,17 @@
/obj/structure/closet/crate/New()
..()
update_icon()
overlays.Cut()
if(manifest)
overlays += "manifest"
update_icon()
/obj/structure/closet/crate/update_icon()
if(opened)
icon_state = "[icon_crate]open"
else
icon_state = icon_crate
if(manifest)
overlays += "manifest"
/obj/structure/closet/crate/internals
desc = "A internals crate."