mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-28 15:47:15 +01:00
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:
@@ -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."
|
||||
|
||||
Reference in New Issue
Block a user