• If you have a mod, tool or prefab, please use the Resources section. Click Mods at the top of the forums.

Change storage capacity of blocks?

Axebeard

Refugee
I'm trying to find a way to do this, more specifically I want to increase the storage capacity of the currently useless Lockers into something more suitable. I appreciate any help!

 
The size of a container is defined in loot.xml, the id for cntLockersShortClosed and cntLockersTallClosed is 43, so you'd want to alter the size of the lootlist with id 43.

Here's what the xpath would look like to set the size to 6,6 (default is 6,2 so this triples it).

Code:
<configs>
<set xpath="/lootcontainers/lootcontainer[@id='43']/@size">6,6</set>
</configs>
You didn't specify a number or I'd have just posted a modlet doing it, but it's simple enough to implement.

 
Hey thanks a lot! I was looking at a modlet that changes the vehicle storage for reference but I wasn't sure how to find the locker IDs or what have you.

 
Hey thanks a lot! I was looking at a modlet that changes the vehicle storage for reference but I wasn't sure how to find the locker IDs or what have you.
They are all listed in loot.xml (7 days to die main folder/data/config/loot.xml)

The one Weyrling posted (43) is of course the lockers ;)

 
Back
Top