diff --git a/code/game/objects/structures/watercloset.dm b/code/game/objects/structures/watercloset.dm index 2036ee603e7..efe3e2e459a 100644 --- a/code/game/objects/structures/watercloset.dm +++ b/code/game/objects/structures/watercloset.dm @@ -416,9 +416,11 @@ alpha = 200 //Mappers can also just set this to 255 if they want curtains that can't be seen through layer = SIGN_LAYER anchored = TRUE - opacity = 0 + opacity = FALSE density = FALSE var/open = TRUE + /// if it can be seen through when closed + var/opaque_closed = FALSE /obj/structure/curtain/proc/toggle() open = !open @@ -430,12 +432,14 @@ layer = WALL_OBJ_LAYER density = TRUE open = FALSE - + if(opaque_closed) + opacity = TRUE else icon_state = "[icon_type]-open" layer = SIGN_LAYER density = FALSE open = TRUE + opacity = FALSE /obj/structure/curtain/attackby(obj/item/W, mob/user) if (istype(W, /obj/item/toy/crayon)) @@ -490,3 +494,11 @@ icon_state = "bounty-open" color = null alpha = 255 + opaque_closed = TRUE + +/obj/structure/curtain/fancy + icon_type = "cur_fancy" + icon_state = "cur_fancy-open" + color = null + alpha = 255 + opaque_closed = TRUE diff --git a/icons/obj/watercloset.dmi b/icons/obj/watercloset.dmi index 31e85ee7e9b..3678135e259 100644 Binary files a/icons/obj/watercloset.dmi and b/icons/obj/watercloset.dmi differ