From 5e94554873f7b977d773a86574813e7c319e7284 Mon Sep 17 00:00:00 2001 From: ariaworld <143797359+ariaworld@users.noreply.github.com> Date: Sun, 13 Apr 2025 05:07:55 +0200 Subject: [PATCH] [FIX] Fixes Wooden shelves turning into metal racks when broken. (#3492) ## About The Pull Request Title! ## Why It's Good For The Game Bugfix, my immersion was ruined ## Proof Of Testing
Screenshots/Videos ![shelf](https://github.com/user-attachments/assets/0bdb3fd2-0b85-4672-a02f-0772a4cb4f20)
## Changelog :cl:Goku fix: Fix wooden shelves turning into metal rack parts when broken. /:cl: --- .../modules/primitive_structures/code/storage_structures.dm | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/modular_skyrat/modules/primitive_structures/code/storage_structures.dm b/modular_skyrat/modules/primitive_structures/code/storage_structures.dm index 9b1ce8894a7..5a7ca74f644 100644 --- a/modular_skyrat/modules/primitive_structures/code/storage_structures.dm +++ b/modular_skyrat/modules/primitive_structures/code/storage_structures.dm @@ -22,10 +22,14 @@ user.balloon_alert_to_viewers("disassembling...") if(!tool.use_tool(src, user, 2 SECONDS, volume = 100)) return - new /obj/item/stack/sheet/mineral/wood(drop_location(), 2) deconstruct(TRUE) return ITEM_INTERACT_SUCCESS +/obj/structure/rack/wooden/atom_deconstruct(disassembled = TRUE) + set_density(FALSE) + var/obj/item/stack/sheet/mineral/wood/planks = new(drop_location(), 2) + transfer_fingerprints_to(planks) + // Barrel but it works like a crate /obj/structure/closet/crate/wooden/storage_barrel