ubergarm / RimWorld-KanbanStockpile

RimWorld mod adding `Stack Refill Threshold` and `Similar Stack Limit` to stockpiles and deep storage inspired by kanban logistic control systems.
https://steamcommunity.com/sharedfiles/filedetails/?id=2287142613
MIT License
0 stars 3 forks source link

Deep Storage Similar Stack Limit bug #15

Open ubergarm opened 3 years ago

ubergarm commented 3 years ago

I noticed that LWM's Deep Storage had a more recent update and in brief testing noiticed this:

  1. Build a LWM Deep Storage Meal Rack
  2. Set Similar Stack Limit to 1 or 2 and it works fine
  3. Set Similar Stack Limit to >3 and it seems to be stuck at 2.

Could be related to how I am scanning across all the cells of the deep storage (in this case 2) and trying to count up the total number of stacks. Something possibly changed in either Rimworld 1.3 or with latest DeepStorage.

This ticket is to check into this and fix the behavior so Similar Stack Limit of say 3 works again for Meal Racks.

ubergarm commented 2 years ago

Got a great report on the behavior here, might be enough to figure out a patch and add a feature flag!

Lurmey Jan 27 @ 9:36am 
Just wanna point out that when using this with LWM's Deep Storage, the similar stack limit setting works a little bit differently. Instead of limiting the amount of individual stacks of items it limits the number of tiles within the building that that item can occupy.

So for instance with a set of tall shelves, which can store 8 stacks of items, you can still have 4 whole stacks of one item in one tile with "similar stack limit" set to 1.

This is actually helpful in some cases, but in a lot of others it would be better to limit the number of stacks rather than the number of tiles said stacks can occupy. Could you look into a way to implement both as intended features? :)
Drexl commented 2 years ago

I'm experiencing this same problem on RimWorld 1.3.3387

ubergarm commented 1 year ago

I'm curious how things will work out with the latest 1.4 update that includes vanilla "deep storage" like shelves and custom UI now. The mod landscape has changed a lot in the past few years!