[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
<details>
<summary>Screenshots/Videos</summary>


![shelf](https://github.com/user-attachments/assets/0bdb3fd2-0b85-4672-a02f-0772a4cb4f20)

</details>

## Changelog
🆑Goku
fix: Fix wooden shelves turning into metal rack parts when broken.
/🆑
This commit is contained in:
ariaworld
2025-04-13 05:07:55 +02:00
committed by GitHub
parent 7fed3cb7e4
commit 5e94554873

View File

@@ -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