Skip to content

Commit

Permalink
Exceedingly Lazy Curtain Directions (shiptest-ss13#3885)
Browse files Browse the repository at this point in the history
## About The Pull Request
makes curtains have dirs

all i did was rotate the sprite in dream maker

## Changelog

:cl:
add: curtain directions
/:cl:

<!-- Both :cl:'s are required for the changelog to work! You can put
your name to the right of the first :cl: if you want to overwrite your
GitHub username as author ingame. -->
<!-- You can use multiple of the same prefix (they're only used for the
icon ingame) and delete the unneeded ones. Despite some of the tags,
changelogs should generally represent how a player might be affected by
the changes rather than a summary of the PR's contents. -->
  • Loading branch information
Erikafox authored Dec 7, 2024
1 parent 3295cff commit f94cd15
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions code/game/objects/structures/watercloset.dm
Original file line number Diff line number Diff line change
Expand Up @@ -477,6 +477,13 @@
/// if it can be seen through when closed
var/opaque_closed = FALSE

/obj/structure/curtain/ComponentInitialize()
. = ..()
AddComponent(/datum/component/simple_rotation,ROTATION_ALTCLICK | ROTATION_CLOCKWISE,CALLBACK(src, PROC_REF(can_be_rotated)),null)

/obj/structure/curtain/proc/can_be_rotated(mob/user, rotation_type)
return !anchored

/obj/structure/curtain/proc/toggle()
open = !open
if(open)
Expand Down
Binary file modified icons/obj/watercloset.dmi
Binary file not shown.

0 comments on commit f94cd15

Please sign in to comment.