mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2025-12-09 16:05:07 +00:00
[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>  </details> ## Changelog 🆑Goku fix: Fix wooden shelves turning into metal rack parts when broken. /🆑
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user