ValheimPlus
ValheimPlus copied to clipboard
[FEATURE REQUEST] Turn Wood Stacks and Stone Piles Into Chests
I've seen people complain about this a bunch on reddit, but no actual mod on nexus deals with it.
Background
Having something like a stack of wood you can interact with feels like a staple of the "harsher" no-furniture camping experience in real life. When I went camping for weeks on end a wood pile inevitably collects and becomes a staple resource we all use to not only supply the fireplace but construct makeshift furniture like a holder for the washbasin, tower rack, place to sit, table etc etc. Hell we even collected branches with these prickly leaves that we could use to clean our bowls with.
I thought something was wrong when I built my first wood pile and couldn't interact with it afterwards.
Furthermore, just speaking mechanically, being able to have a dedicated storage place for such base material that is "auto-labelled" would be a huge QoL improvement helping to mitigate the absurd "chest spam" that is needed currently.
Proposal
I think the least technical implementation that would satisfy the most number of people is to simply turn the wood/stone piles into "chests" that ideally would only store the resource the pile is made of. How large the storage space of a pile is can be configurable, but I'd lean to a default of 24. What about a pile being "empty?" Well, you still need 50 wood to craft the pile which you can just get by breaking the pile. So the piles wont really be "empty."
Step 1 would be to create a "chest" that uses each "stack/pile" asset. If the requirement to ensure a stack's storage space is only filled with what it should be filled with proves too complicated this can be left for a later ticket. Players are going to naturally store what makes sense in their stacks. In fact, I wouldn't mind being able to add both flint and stones to my stone stack, and say have one wood stack that has all wood types stored in it. So even if added it should be configurable whether to enforce the "stacks and piles only allow storing one type of item."
Tentative Acceptance Criteria
- Piles/Stacks behave identically to chests with storage space configurable
- Piles/Stacks work with CraftFromChest.
Tentative Acceptance Criteria that can be left for later
- Piles/Stacks don't make chest noises when interacted with. Just replace with the sound made when you pick up wood/stone.
- Piles/Stacks enforce only allowing storage the material it is made of (configurable boolean)
- Stone piles allow both flint and stone (configurable boolean)
- All wood pile variants allow any wood-type storage including ancient bark (configurable boolean)
I'm guessing what we want to do is create a new custom item based on a chest and then make a variant somehow loading the assets of a pile to be what the chest will look like (unsure how to accomplish). Maybe by creating a custom piece by loading the prefab?