Project Zomboid

Project Zomboid

Disassemble Container With Items
130 Comments
SupremeQuesoDesuPizza 21 Jun @ 3:21pm 
@Wiktorius quit being an ass and give bug reports if you want things fixed.
Clifforis 1 Apr @ 5:28am 
Has this been fixed yet? The duplication issues.
nordbeater24 25 Mar @ 6:03pm 
could you please fix your mod its a amazing QOL mod
Wiktorius 22 Mar @ 5:59am 
fix. your. mod.
SENGISAMAZED 19 Mar @ 5:37am 
Yeah no.
SecretFear 18 Mar @ 2:27pm 
anyone figure out where in the lua to edit to make this work for now?
pimatstudio 15 Mar @ 11:21am 
`function: pickUpMoveableInternal -- file: disassemble.lua line # 1337 | MOD: Disassemble Container With Items
function: pickUpMoveable -- file: disassemble.lua line # 1196 | MOD: Disassemble Container With Items
function: pickUpMoveableViaCursor -- file: disassemble.lua line # 1166 | MOD: Disassemble Container With Items
function: complete -- file: ISMoveablesAction.lua line # 187 | Vanilla
java.lang.RuntimeException: Object tried to call nil in pickUpMoveableInternal
at se.krka.kahlua.vm.KahluaUtil.fail(KahluaUtil.java:100)
Philinator 14 Mar @ 9:45pm 
Yep this mod isn’t allowing me to pick up any furniture sprites, or it will allow me to, but sprite stays and also puts it in my inventory
Hupaw!! 14 Mar @ 12:02am 
this mod is the problem why i cant pick up tables.
SaneBob 10 Mar @ 5:23pm 
unfortunately, not able to enable this mod. Dupe bug/unable to "pick up" a full bed(disassmbles into 1/2 part, but never both parts, plus the original bed is still there.) Didnt affect popsicle feezer, so may only affect items with more than one disassemble product(bed 1/2 or couch 1/2)
人菜瘾大铁混子 9 Mar @ 5:33am 
2025.3.7的更新,让使用了这个Mod的用户,在搬运任何物体时都会弹出错误,物品不能被正常移除,并且背包中会出现对应物品的复制,请修复它
The update of 2025.3.7 means that users who use this Mod will encounter an error when moving any object, and the item cannot be removed properly. Additionally, there will be a copy of the corresponding item in the backpack,Please fix it:steamhappy:
badlam 9 Mar @ 1:52am 
Good day. I encountered an error when trying to move a bookcase (I removed all items from it before moving). After picking up the bookcase and placing it into my container, the bookcase still appears in its original location, resulting in a duplicated bookcase.
A Goose 8 Mar @ 4:14pm 
I seem to have found a temporary fix/workaround for the dupe bug.

Reloading your save without the mod, then reloading again with the mod enabled appears to fix it. No idea how stable this workaround is, but its seemed to have worked for me.
Proud Wingman 7 Mar @ 11:42am 
Yap. Unfortunately i needed to unsubscribe due to the dupe bug.
Waiting for a fix for B42.4.X
THEJamiboi 6 Mar @ 7:48am 
Same as Meta
Metabubblez 5 Mar @ 10:28am 
Warning. With 42.4.1 seems least with me picking up items create a duplicate leaving whatever you picked up still there and a new one in your inventory.
TheBromgrev 3 Mar @ 6:04pm 
I'm getting a callframe at the function setWaterAmount, line 2268 of shared/Moveables/dissasemble.lua

To reproduce, all you need to do is start a new game, give yourself a wrench, move a kitchen sink and then try to place it on any container that will accept it. If you're in debug, the F11 script debugger will pop up once the timed action is complete. If you're not in debug mode, the timed action to place the sink will complete, but the sink won't be placed. The comment on that line of code is --set water to zero after moving

After disabling this mod, I was able to place sinks down.
TEMPEST 27 Feb @ 2:46pm 
This mod is breaking the placement of sinks in B42.
RayPlayST 26 Feb @ 7:41pm 
是的 会导致洗手池无法安装~
흉내쟁이 25 Feb @ 11:20am 
I'm using this mod perfectly fine. I can also remove and attach the sink or toilet without any problems. Also, it can be disassembled even if there are items in the container. I'm guessing I'm using a mod that allows me to put a cap in the sink and fill it with water, so has that affected it? I don't know, but it could help some of you.
Brezonte 24 Feb @ 11:44am 
I've been looking for the reason why I can't install a sink in my game for a while, now I finally found the problem, what a pity
Dumbledood 22 Feb @ 10:46pm 
Disabling this one fixed my sink placing issues. Apparently reabalanced prop moving had the same problem. Tried disabling it first. Nice mod (will turn it back on later).
Ry 20 Feb @ 1:03pm 
I was getting the same error as @Bobatron

Apparently "setWaterAmount" now takes two arguments, from a quick research:
(method) IsoObject:setWaterAmount(arg0: number, arg1: boolean)

A temporary band-aid fix that worked for me:
In disassemble.lua line #2268 (and #2272), modify the function
obj:setWaterAmount(0) ---> obj:setWaterAmount(0, true)

the other errors (line 1844, 1765, 189) are calling the line above and failing, so just changing #2268 should be enough (because of setWaterAmount)

Haven't looked too deep into the function, so I'm not sure if setting arg1 to true or false is better, but at least I can place toilets and sinks now without getting errors with this mod enabled
Orii7 17 Feb @ 8:13am 
I had to learn how to look at errors so I could figure out that this mod causes an error that stops you from putting sinks down
Skalding Beanwater 13 Feb @ 9:50pm 
If you're unable to place sinks, toilets, etc, disable this mod and "Better Tile Picker" and it should fix your problem.

Disabling both allowed me to place sinks again.
Bobatron 11 Feb @ 4:31pm 
Mod is causing error of not be able to install or place sinks since 42.3 update

Callframe at: setWaterAmount
function: placeMoveableInternal -- file: disassemble.lua line # 2268 | MOD: Disassemble Container With Items
function: placeMoveable -- file: disassemble.lua line # 1844 | MOD: Disassemble Container With Items
function: placeMoveableViaCursor -- file: disassemble.lua line # 1765 | MOD: Disassemble Container With Items
function: complete -- file: ISMoveablesAction.lua line # 189 | Vanilla
说书先生 26 Jan @ 4:58am 
@香辣鸡腿堡 感谢 一下就看懂了~:emofdr:
蔡徐坤 15 Jan @ 7:42pm 
中文翻译 这个MOD能直接拆卸装有东西的容器了,里面的东西会掉出来
Polidoro 5 Jan @ 8:58pm 
está bugado. quando o mod está ativado, não permite a instalação de barricadas
듀파 [DUFA1204] 2 Nov, 2024 @ 12:13pm 
아주 좋아요
Manu 31 Aug, 2024 @ 1:39pm 
Shame, given it's incmpatibility with rebalancing prop moving I will pass this
Captain Tofu 11 Jul, 2024 @ 12:10am 
patman124 3 Jul, 2024 @ 7:10pm 
I really like this mod but unfortunately it conflicts with tetris inventory
Haxxor bunny 16 Jun, 2024 @ 8:13am 
should honestly be base game
dr.roger_1001 9 Jun, 2024 @ 1:12pm 
Good mod :spiffo:
Z-A-G 6 Jun, 2024 @ 11:11am 
This mod is an absolute game changer! Amazing mod!!
BlackWater821 3 May, 2024 @ 1:27am 
This mod is still working perfectly fine and can place any furniture without any problem despite i'm using 100+ of mods along.

May be it is conflict with "Tetris Inventory mod" as some user said above
puki kaki 26 Apr, 2024 @ 8:12am 
can't place metal shelves and other furniture consisting of 2 parts with this mod so whoever was encountering this problem this mod causes it
TheBeastAssassin 22 Apr, 2024 @ 2:16pm 
sadly i had to uninstall this mod

the mod itself worked fine however i ran into a bug where
when i picked up large items (like the Metal Shelf or the plastic table)

i could not place them back down no matter where i moved the shelf it was always red and unplaceable

i went into my mods list and disabled some and after an hour of making new worlds with dif mods
i found out this mod is what caused it

i do hope it gets fixed soon i love this mod

i hope this feedback helps i also sadly dont have any error logs cause it did not give an error it just made multi tile items unplaceable anywhere

however oddly enough single tile items like the tool shelf and small tables worked fine

please let me know when this error is fixed thanks
BBUUNN 29 Mar, 2024 @ 12:15am 
Encountered this error [pastebin.com] when trying to disassemble crates in inventory
mins716 9 Feb, 2024 @ 5:55am 
Found a bug. After disassembling some furniture, I tried to craft some metal crates but couldn't. A red error box pops up on the right lower corner each time I try to craft not only metal crates but anything metalwork related! Weird thing is I can still craft wooden crates or anything carpentry related. Thought it was the propane torch's problem so I tried fixing my car with it but that worked just fine. Could you please look into this. Disabling and unsubscribing from the mod didn't help. Thank you
CarltoN. 5 Feb, 2024 @ 3:34pm 
found a bug. if you disassemble a container that has a large item in it such as a piece of furniture, that item will pop out of the crate and be completely non-intractable. you won't even be able to destroy it with a sledge or delete them with admin powers. its as if they dont even exist but you can see them
7daime 19 Jan, 2024 @ 5:28pm 
oh i saw @alex :D comment i get it now its not compatible with Tetris Inventory mod. If it compatible wound be grate this mod is super useful.
7daime 18 Jan, 2024 @ 7:48pm 
I have a bug i can not place bed or sofa it turns red and can not place down.
When disable this mod it turns green and everything back to normal.
Captain Tofu 22 Nov, 2023 @ 3:32am 
You cannot move containers with contents. That would be a great addition! This mod is an essential, I love it!
RobRendell 16 Nov, 2023 @ 3:25pm 
Thank you! I had a container with a bugged invisible item in it which I couldn't disassemble (and couldn't manually empty either), and this mod allowed me to proceed. I installed this mod, and just got one console error when I finished the disassembly and the mod tried to drop the item on the ground. Now I'm able to carry on :)
Scorch Shot 23 Oct, 2023 @ 5:01am 
@kor_human , what do u think?
Scorch Shot 23 Oct, 2023 @ 4:58am 
Yes, alas. With some mods, the "Disassemble" button disappears, which completely ruins the gameplay. Can I simplify the mod by making it so that the character first takes out each item in turn, and then disassembles it? Based only on vanilla mechanics? It would be very balanced and convenient. Just automate the boring process of taking things out.
al 16 Oct, 2023 @ 10:25am 
It works fine for me. But just take note that if you're using Tetris Inventory mod, you won't be able to place big furnitures.