[PORT/FEATURE] Animated closet doors (#26832)

* Adds animated closets

* Remove unecessary icon states and fixes secure closets

* Actually fixes secure closets

* Please our linting overlords.

* Fixes non-crate subtypes

* Update code/game/objects/structures/crates_lockers/closets.dm

Co-authored-by: Luc <89928798+lewcc@users.noreply.github.com>
Signed-off-by: Chap <erwin@lombok.demon.nl>

* Moved legacy closet icons to seperate file

* Remove some unused variables

* GC

* Moved to proper destroy

* It's good when code compiles

---------

Signed-off-by: Chap <erwin@lombok.demon.nl>
Co-authored-by: adrermail@gmail.com <adrermail@gmail.com>
Co-authored-by: Luc <89928798+lewcc@users.noreply.github.com>
This commit is contained in:
Chap
2024-10-14 14:05:16 +00:00
committed by GitHub
co-authored by Luc adrermail@gmail.com <adrermail@gmail.com>
parent cd14b6114c
commit b51cc0f31c
34 changed files with 248 additions and 226 deletions
+8
View File
@@ -60,3 +60,11 @@
..()
pixel_x += rand(-10, 10)
pixel_y += rand(-10, 10)
/// Door overlay for animating closets
/obj/effect/overlay/closet_door
anchored = TRUE
plane = FLOAT_PLANE
layer = FLOAT_LAYER
vis_flags = VIS_INHERIT_ID
appearance_flags = KEEP_TOGETHER | LONG_GLIDE | PIXEL_SCALE