Project Zomboid

Project Zomboid

Unpack
bikinihorst 31 Jul, 2021 @ 4:36am
Help understanding transfer logic
I am currently trying to make sense of the mod's workings. Maybe I am doing something wrong.

This is my use case: I have a dump area where I put all stuff I don't want to sort "right now" after scavenging. At certain intervals I get a shopping cart (it's a container equipped in both hands), put the first load in and go to my storage area. The area is composed of boxes and shelves organized by criteria and there are already the correct items inside the containers. I want to take the trolley which has many different types and categories of items inside of it and go by each area only unloading items 1:1. This means: if there's a container with lighters, put them in there and do nothing else with the remainder of the items in the cart. Go to the next area and unload only seed packages and trovels. You get the idea. I pass by all areas and unload the corresponding items like a train making stops until the cart is stocked with items that don't have a place yet.

The example I used to try to figure out what's what with this mod is the following: I have a cart full of jewellery, some items only once, some multiple times. I set up 3 containers in reach:

Container 1:
- Black Digital Watch

Container 2:
- Diamond on a Gold Ring
- Gold Ring
- Silver Ring

Container 3:
- Medium Gold Looped Earrings
- Medium Silver Looped Earrings
- Silver Bangle

In the mod settings I have set:
- "Disable Custom Categories" (Better Sorting is active)
- "Count for Container Percentage" = "Off"

I stand in front of the containers and press right shift to begin the sorting process. I expect the mod to put only the items already present inside of containers 1-3 into them and leave the rest in the cart.

The result is the following.

Container 1 (working as intended):
- Black Digital Watch x18

Container 3 (unchanged):
- Medium Gold Looped Earrings
- Medium Silver Looped Earrings
- Silver Bangle

Container 2:
- The items that are present and should have been in container 3
- Everything else from the cart

Shopping Cart "Bag":
- 4 types of wrist watches (including red digital)

The categories from items in Container 1 and Shopping Cart are "Clothing - Accessory" while Container 2 and 3 share "Clothing - Misc", so it does not seem to be a category thing it seems.

What am I doing wrong? Does the addon disregard the "Container Percentage" override setting? Do I need to set everyone of them to "Off"? Did I misunderstand something?

I would really appreciate help on this because the pile of shame is getting bigger and bigger
< >
Showing 1-2 of 2 comments
bikinihorst 31 Jul, 2021 @ 4:55am 
Addendum: I went to the %user%\Zomboid\lua\unpack.ini and edited it. I changed every "35%" to "Off" and now it works as I expected it to. The "Container Percentage" = "Off" override does not seem to work.

Thanks for this awesome piece of QOL!
ThereforeAliens  [developer] 9 Sep, 2021 @ 2:51pm 
Thanks for this. I'm sorry the end result was, "oh, dis must be broke". Also glad you were able to make it do what you want despite the issue. For what it is worth, I was unable to reproduce what you reported. I was able to change from 5-3-1-Off and the mod behaved accordingly. My first thought was that maybe the file was, somehow, created while admin...and later Zomboid was run as user and unable to write to that file. But seems like a longshot. Happy to work with you to figure this out if you reproduce it again/can offer any info. Thanks again!
Last edited by ThereforeAliens; 9 Sep, 2021 @ 3:46pm
< >
Showing 1-2 of 2 comments
Per page: 1530 50