Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/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://github.com/ubergarm/rimworld-kanbanstockpile
kanban kanbanstockpile rimworld rimworld-mod
Last synced: about 1 month ago
JSON representation
RimWorld mod adding `Stack Refill Threshold` and `Similar Stack Limit` to stockpiles and deep storage inspired by kanban logistic control systems.
- Host: GitHub
- URL: https://github.com/ubergarm/rimworld-kanbanstockpile
- Owner: ubergarm
- License: mit
- Created: 2020-11-14T18:32:42.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2022-11-06T17:25:04.000Z (about 2 years ago)
- Last Synced: 2023-08-01T05:41:52.015Z (over 1 year ago)
- Topics: kanban, kanbanstockpile, rimworld, rimworld-mod
- Language: C#
- Homepage: https://steamcommunity.com/sharedfiles/filedetails/?id=2287142613
- Size: 843 KB
- Stars: 0
- Watchers: 2
- Forks: 3
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
Kanban Stockpile
===
RimWorld mod adding `Stack Refill Threshold` and `Similar Stack Limit` to
stockpiles and deep storage inspired by kanban logistic control systems.## Features
#### Stack Refill Threshold
* Just like "pause when satisfied" for a bill—but for hauling to stockpile stacks!
* Defaults to 100% which gives the same as behavior as vanilla.*Example*: Set your RimFridge Important dining room stockpile to 20%
and it won't trigger hauling jobs for any specific stack until there
are less than or equal to 2 meals left in it (meal stack size is 10).#### Similar Stack Limit
* No more than `Similar Stack Limit` stacks of a thing are allowed in the stockpile.
* Defaults to `OFF` which gives the same behavior as vanilla.*Example*: Set your Medicine Cabinent Preferred hospital stockpile to a
`Similar Stack Limit` of 1 and you will get no more than a single stack
of any medicine and drug type now instead of clogging it up nothing but
rotting herbal medicine and smoke leaf joints!#### Maximum Stack Size
* Limit Stack Size for smaller custom sized stacks per stockpile
* Defaults to `OFF` which gives the same behavior as vanilla.#### First Class Multiplayer Support
* Data stored using determenistic dictionary keys and all state mutations properly sync'd!
* All development done in a multiplayer context locally with arbiter to minimize potential desyncs.
* Not tested for 1.4 yet...## Full Example
Setup a raw ingredients food Preferred stockpile in the kitchen next to
your stove. Set the `Stack Refill Threshold` to 0% and the `Similar Stack
Limit` to 1. This way you will get a variety of fresh ingredients close
to the cook and will reduce spoilage because the stack is not refilled
until it has been completely used up.## Performance
* Uses `for` loops similar to vanilla style code for basic `C#` optimization
* Skips hot code paths anytime a stockpile is set to default values
* Avoid using high values of `Similar Stack Limit` in large stockpiles as it must scan every thing in every cell
* Turn off `Reserved Similar Stockpile Limiting` in Settings if you have an older CPU or large colony with many reserved hauling jobs to scan## Compatible Mods
* [LWM's Deep Storage](https://steamcommunity.com/sharedfiles/filedetails/?id=1617282896) - Little White Mouse
* [KV RimFridge](https://steamcommunity.com/sharedfiles/filedetails/?id=1180721235) - Kiame Vivacity / Vendan / et al
* [Stockpile Ranking](https://steamcommunity.com/sharedfiles/filedetails/?id=1558464886) - Uuugggg (AlexTD)
* [Simple Search Bar](https://steamcommunity.com/sharedfiles/filedetails/?id=1827546987) - Gguake
* [Carry Capacity Fixed](https://steamcommunity.com/sharedfiles/filedetails/?id=1906760965) - Smash Phil / Dr Zhivago
* [Ogre Stack](https://steamcommunity.com/sharedfiles/filedetails/?id=1447140290) - Ogre
* [PickUpAndHaul](https://steamcommunity.com/sharedfiles/filedetails/?id=1279012058) - MehniPlease comment below with results if you test this mod with your own favorite storage mods, thanks!
## Credits
Thanks to bananasss00 for contributing code from their github fork that I was unable to directly merge.Thanks to [Tmq5521](https://github.com/ubergarm/RimWorld-KanbanStockpile/commit/831e4b3e0090ab2e0b5b23674fa61b95d876b519) fork for Maximum Stack Size feature!
Original idea and inspiration came from my failed attempt to multiplayer patch Satisfied Storage.
* [SatisfiedStorage](https://steamcommunity.com/sharedfiles/filedetails/?id=2003354028) - hoop
* [Hauling Hysteresis](https://steamcommunity.com/sharedfiles/filedetails/?id=784324350) - Vendan
* [Rimworld Search Agency](https://steamcommunity.com/sharedfiles/filedetails/?id=726479594) - KillfaceInspiration for the `Similar Stack Limit` feature came directly from the great Variety Matters Stockpile.
* [VarietyMattersStockpile](https://steamcommunity.com/workshop/filedetails/?id=2266068546) - CozarI got most of the GUI hooks and all the Transpiler stuff from Uuugggg's (AlexTD) Stockpile Ranking.
* [Stockpile Ranking](https://steamcommunity.com/sharedfiles/filedetails/?id=1558464886) - Uuugggg (AlexTD)This mod relies heavily on Harmony for ease of patching.
* [Harmony](https://steamcommunity.com/workshop/filedetails/?id=2040656402) - pardeikeI hang out occasionally with some great folks over at the [Multiplayer Mod Discord](https://discord.gg/JCmNG4j).
* [Multiplayer Mod](https://steamcommunity.com/sharedfiles/filedetails/?id=1752864297) - https://discord.gg/JCmNG4j## Mod Packs
Subscribe to and like my multiplayer compatible configs and modpack
* [Happy Accidents](https://steamcommunity.com/sharedfiles/filedetails/?id=2257918295)If you play Minecraft check out my magic themed sky island modpack
* [Sky Magic Islands](https://www.curseforge.com/minecraft/modpacks/sky-magic-islands)Also, check out my `7 Days to Die` inspired Minecraft modpack:
* [Rotten Economy](https://www.curseforge.com/minecraft/modpacks/rotten-economy)## References
* [Steam Workshop KanbanStockpile](https://steamcommunity.com/sharedfiles/filedetails/?id=2287142613)
* [github.com/ubergarm/RimWorld-KanbanStockpile](https://github.com/ubergarm/RimWorld-KanbanStockpile)
* [github.com/ubergarm/monodevelop](https://github.com/ubergarm/monodevelop)
* [Kanban](https://en.wikipedia.org/wiki/Kanban)## Keywords
```
#rimworld #rimworld 1.4 #rimworld mod #rimworld mods #rimworld mods 1.4
#kanban #kanbanstockpile #kanban stockpile #kanbanstockpiles #storage settings
#kanban stockpiles #kanbanstorage #kanban storage #SatisfiedStorage
#VarietyMattersStockpile #rimworld search agency #hauling hysteresis
#stockpile hyesteresis #rimworld stockpile #rimworld storage settings
#transport kanban system #kanban logistics control #stockpile dupe limit
```