RimWorld

RimWorld

89 ratings
Variety Matters Stockpile
3
   
Award
Favorite
Favorited
Unfavorite
Mod, 1.2
File Size
Posted
Updated
2.536 MB
Oct 23, 2020 @ 7:23pm
Jan 17, 2021 @ 10:32am
5 Change Notes ( view )

Subscribe to download
Variety Matters Stockpile

Description
Overview
Adds several new features to stockpile filters for added control over what to store, how much to store, and when to fill a stockpile.

Created for use with Variety Matters, you can now create a stockpile near your cook that will hold small stacks of different ingredients, increasing the diversity of ingredients used in meals.

For vanilla uses, you can create a food shelf in your dining room that won't refill until the shelves are empty, saving hauling time and helping meals get eaten before they rot; or give your pawns' closets with only 1 of each type of clothing.

Mod Features
Limit Duplicate Stacks: Limit the number of stacks of the same item that can be stored in a stockpile. For example, with a duplicate limit of 2, pawns will never store more than 2 stacks of corn, no matter how large the stockpile.

There is an option to treat items with a stack size of 1 as duplicates if they have the same def name, allowing for the creation of closets/armories with a variety of clothing/armor.

Limit Stack Size:: Set a limit to reduce stack sizes.The limit will only reduce stack sizes, not increase them. Useful to divide limited supplies of medicine among multiple stockpiles.

Limit Refilling: Set a limit for how empty a stockpile must be before pawns will start refilling. Move the slider all the way to the right for vanilla behavior. Move it to the left and pawns will stop refilling any stacks until a certain number of cells are empty. Once pawns start refilling, they will keep filling the stockpile until full.

Stockpiles will automatically start filling when created or enlarged. There is a toggle to start/stop refilling that appears when appropriate. If you toggle off a completely empty stockpile, it will disable the stockpile until manually restarted.

Compatibility / Mod Interaction

Project Rim Factory: No known errors. Doesn't work with hoppers.

LWM Deep Storage:
  • Duplicate Limit: Works to limit stacks up to 1 per cell. Trying to set a duplicate limit greater than 1 per cell will be treated as 1 per cell.

  • Stack Size Limit: Updated to work properly.

  • Refill Limit: Recommended to keep set to always fill. Moving the slider works, but will substantially reduce the usefulness of deep storage.


Ogre Stack: No known issues.

Satisfied Storage (e.g. Storage Hysteresis): Must be loaded before this mod. Satisfied Storage will not consider reduced stack sizes when determining whether to refill a cell.

Jobs of Opportunity: No known issues.

Pick Up and Haul: Not tested after update. Prior to update, had an amusing bug with the stack size feature, but other features worked fine.

Stockpile Ranking: No known errors. Duplicate limit feature will prevent lower-ranked items from being placed in stockpile if there are items of a higher rank that aren't in any stockpile.

Stockpile Stack Limit: Not compatible (feature was incorporated with modification).

Other Storage Mods: Not tested.

Known Issues:

Pawns ignore the stack limit when placing stacks from a recently completed bill, requiring follow-up hauling jobs to remove the excess. Can be avoided by setting bills to drop on the floor or to deliver to a non-limited stockpile.

Credits:
This mod borrows heavily from the Storage Stack Limit and Storage Hysteresis mods.
Sellophane's Remade and Updated Stockpile Stack Limit
Darksider's Version
Original Stack Limit
RimWorld Search Agency
Satisfied Storage Original Storage Hysteresis
70 Comments
Icicle Apr 6, 2022 @ 2:56pm 
Something about the duplicate limit isnt working well with deep storage anymore. It tires to fill more than one stack. A similar problem now is also effecting Kanban stockpile. So either 1.3 or changes in LVMs Deep Storage messed that up.
Mlie Aug 26, 2021 @ 1:45pm 
Made an update of this:
https://steamcommunity.com/sharedfiles/filedetails/?id=2585724597
Hope it helps anyone!
Tactical Beaver Aug 19, 2021 @ 6:01am 
since new game update the buttons for limiting stack sizes are now in the "clear / allow all" buttons and you cant really us this. Any fix for that ?
Reianor Aug 3, 2021 @ 8:00am 
Tested this and PUaH on some wood and steel on a new start.
Yup there is some weird behaviour there. But it's less like they are broken and more like they are not interacting well.
I set up a stockpile to a stack limit of 1 steal each. You'd think a pawn would fill it up in one go, but no, despite having a full inventory of steal they go looking for more steal to grab after placing down one. But if I don't limit stacks PUaH seems to work as intended.

Whas that what you meant or am I missing something?
Reianor Aug 3, 2021 @ 7:29am 
@ ec#2718 on Discord
Broken how and in which way?

@Draconicrose
Do you have the Harmony for penguins?
Not a linux user, so I got no details for you, but IIRC there was a mod that fixed some issues between linux and harmony. Maybe those are related?
Timou Aug 2, 2021 @ 4:35am 
Update please 1.3
胃痛狂草哈基肉 Jul 26, 2021 @ 11:00pm 
1.3 plz!!
XyPeZ Jul 24, 2021 @ 5:45am 
Update for 1.3 Pleasse :D
qux Jul 12, 2021 @ 9:37am 
stack size is bugged
Kopp Jun 1, 2021 @ 4:33am 
Hello Cozar,
seems like there is a bug which is easy to reproduce.

Make a 10x10 Stockpile. Settings: Duplicates 1. Raw food only. Stacksize 40.
Place a butcher table in the middle of the stockpile.
Create a butcher recipe: Butcher creature forever. Drop on floor.

Now let a colonist butcher some thrumbos. (Or any other animal)
The resources of the first one should be dropped just fine but afterwards there may be a stack overflow for a hauler job.
The drop of the resources of the second thrumbo creates some red errors and not all resources are getting dropped.
If you want to go back to the main menu afterwards the game freezes.

Thanks for the mod and your time! Tell me if you need some further testings.
https://gist.github.com/HugsLibRecordKeeper/1545275c013b988b4c8c4fd38d00da70