[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 16:05:16 +02:00
committed by GitHub
parent cd14b6114c
commit b51cc0f31c
34 changed files with 248 additions and 226 deletions
+3 -3
View File
@@ -22,8 +22,8 @@
/obj/structure/closet/wardrobe/miner
name = "mining wardrobe"
icon_state = "mixed"
icon_closed = "mixed"
icon_state = "generic"
closed_door_sprite = "mixed"
/obj/structure/closet/wardrobe/miner/populate_contents()
new /obj/item/storage/backpack/duffel(src)
@@ -46,7 +46,7 @@
/obj/structure/closet/secure_closet/miner
name = "miner's equipment"
icon_state = "mining"
open_door_sprite = "mining_door"
opened_door_sprite = "cargo"
req_access = list(ACCESS_MINING)
/obj/structure/closet/secure_closet/miner/populate_contents()