Project Zomboid

Project Zomboid

37 ratings
Keep Wood On The Floor
2
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
178.296 KB
Jan 10 @ 12:25pm
Jan 13 @ 12:34pm
3 Change Notes ( view )

Subscribe to download
Keep Wood On The Floor

Description
Keep Wood on the Floor (B42)
Drops crafted planks and logs back on the floor for the following recipes:
Logs:
  • Stack 2 Logs
  • Stack 3 Logs
  • Stack 4 Logs
  • Unstack 2 Logs
  • Unstack 3 Logs
  • Unstack 4 Logs
Planks:
  • Saw Log
  • Carve Plank
  • Saw Large Branch
Firewood:
  • Make Firewood Bundle
  • Unbundle Firewood
  • Chop Large Branch Into Firewood
  • Chop Log Into Firewood
This is similar to how it worked in B41, but it appears that with the gigantic changes to the crafting system, there is no built-in way to mimic this behavior anymore.

How it works
The moment a crafting action is being completed, I check if the recipe is one of the above, by name. If it is, I temporarily reduce the player's encumbrance capacity to 1, to trigger the "drop on floor if too heavy" behavior of the game. After that, I restore the player's encumbrance capacity to its original value. This process only takes a fraction of a second, so you won't notice any difference in gameplay.



FAQ
Does this mod work in multiplayer?
Yes, it works in both singleplayer and multiplayer.
Will this mod work with <other mod>?
Probably. This only hooks into the crafting completion event, so as long as the other mod doesn't drastically change how crafting works, it should be compatible.
Can I add/remove this mod while in the middle of a game?
Yes, you can add or remove this mod at any time without affecting your current game state.



Similar mod, but for mechanics
If you want the same, but for mechanics, check out my other mod: Drop Car Parts On The Floor




My other mods






Workshop ID: 3643807578
Mod ID: CAKeepWoodOnFloor
28 Comments
Apr 13 @ 11:57am 
works in 42.16.3 (MP)
Apr 8 @ 11:53am 
@u-umiushi how did you get it working on SP? i've not been able to
Apr 7 @ 7:46pm 
42.16SP working
42.16MP not working
Apr 5 @ 8:25pm 
42.16 needs an update, none of my planks are dropping to the ground anymore.
Apr 4 @ 7:54pm 
needs an update to 42.16 ... unbarricading multiple planks doesnt return all of them to the ground
Mar 13 @ 11:16am 
on b42.15 , it dosen't work .
Mar 11 @ 2:34pm 
Such a tasty QOL mod! It would be hard to go back to a world where my survivor doesn't know how to use the floor. Thank You so much for doing this!
Mar 7 @ 10:23pm 
Doesn't seem to be working for me on b42.14.1 so I assume it's a mod conflict. I just don't know which one....
Kechna  [author]
Mar 4 @ 1:57pm 
@navyap810 I don't know, but I don't think this mod is necessary in B41, this was the vanilla behavior. I made this to recreate the old behavior before the crafting system was overhauled, until (hopefully) it's added to the vanilla game again
Mar 4 @ 1:24pm 
will this work on B41? Due to "SOME REASONS" I decided to go back and play B41 as my main long-term game