边缘世界 RimWorld

边缘世界 RimWorld

336 个评价
KanbanStockpile
3
8
6
3
2
2
2
   
奖励
收藏
已收藏
取消收藏
Mod, 1.2, 1.3, 1.4, 1.5
文件大小
发表于
更新日期
1.610 MB
2020 年 11 月 14 日 上午 10:17
2024 年 4 月 22 日 下午 2:17
14 项改动说明 ( 查看 )

订阅以下载
KanbanStockpile

在 ubergarm 的 4 个合集中
Happy Accidents
82 件物品
Multiplayer Kitchen Sink
236 件物品
Multiplayer Kitchen Sink Reloaded
151 件物品
MultiNomaly
52 件物品
描述
RimWorld mod adding stack `Refill Threshold` and `Similar Stacks` limit to stockpiles and deep storage inspired by kanban logistic control systems.

Bugs and Issues
  • Does not support if you "link" storage.
  • Rename the storage *before* you modify storage. (Rename support stopped working in 1.5).
Check the github issues linked below for all known issues.

Features
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 Stacks
  • No more than `Similar Stacks` stacks of a thing are allowed in the stockpile.
  • Defaults to `OFF` which gives the same behavior as vanilla.

Example: Set your Medicine Cabinet 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!

Max Stack Size
  • Limit stack size for custom smaller sized stacks per stockpile (thanks Tmq5521 & laughingowl)
  • Defaults to `OFF` which gives the same behavior as vanilla.
  • Only lowers stack size, so combine with Ogre Stack or similar for larger stacks.

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.

Compatible Mods
(untested in 1.5 hah)

Please comment below with results if you test this mod with your own favorite storage mods, thanks!

First Class Multiplayer Support
  • Data stored using deterministic dictionary keys and all state mutations properly sync'd!
  • All development done in a multiplayer context locally with arbiter to minimize potential desyncs.

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

Credits
Thanks to bananasss00 for contributing code from their github fork that I was unable to directly merge.

Thanks to Tmq5521 for the Maximum Stack Size feature and also laughingowl.

Original idea and inspiration came from my failed attempt to multiplayer patch Satisfied Storage.

Inspiration for the `Similar Stack Limit` feature came directly from the great Variety Matters Stockpile.

I got most of the GUI hooks and all the Transpiler stuff from a great and beautiful mod: Stockpile Ranking.

This mod relies heavily on Harmony for ease of patching.

I hang out occasionally with some great folks over at the Multiplayer Mod Discord[discord.gg]

Finally, thanks to bananasss00 for contributing code from their github fork that I was unable to directly merge.

Mod Packs
If you play Minecraft check out my modpacks
  • Rotten Economy[www.curseforge.com] - Highly integrated urban base building with custom resource generation mechanics!
  • Sky Magic Islands[www.curseforge.com] - Tons of magic mods and steam power with re-balanced ProjectE for base resource generation

References

Keywords
#rimworld #rimworld 1.5 #rimworld mod #rimworld mods #rimworld mods 1.5
#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
热门讨论 查看全部(6)
6
2023 年 10 月 7 日 下午 6:02
Bug: Stack refill threshold
Hetari
7
2022 年 11 月 6 日 上午 9:37
Suggestion: Max stack size.
Draconicrose
2
2024 年 9 月 15 日 下午 12:07
Bug: Stack refill threshold setting for different groups of storage are linked together
Alison
211 条留言
Boopiedoop 10 月 5 日 上午 9:43 
@Ilunak unfortunately though that mod is broken at the moment
llunak 7 月 24 日 下午 12:07 
@Draxial That mod can do only one thing that this mod can do. A better replacement is e.g. https://psteamcommunity.yuanyoumao.com/sharedfiles/filedetails/?id=3071298014 .
Solid Snek 7 月 24 日 上午 11:53 
@Draxial thank you
Draxial 7 月 16 日 上午 10:13 
While this mod was great, for everyone looking for an alternative in 1.6 while the author is MIA/busy: https://psteamcommunity.yuanyoumao.com/sharedfiles/filedetails/?id=3273463237
LZIM 7 月 12 日 上午 6:18 
o7
Apraxas 7 月 5 日 上午 2:52 
@ubergarm Not rushing you or anything like that but I would like to know if this mod will be updated in 1.6...
ludi1989 6 月 7 日 上午 8:43 
Śetting stockpile limit on ONE storage container makes it whole map containers also stack -limited
ScoSteSal 3 月 12 日 下午 3:18 
I'm seeing the same behavior as @tenthousandcranes in the case of base-game Hopper's (for a nutrient paste dispenser). I wanted pawns to stop refilling the hopper from 69 to 75 every time the NPD generated a meal, but instead (if I set refill threshold to 50%) pawns will only refill to 30-40 and then ignore it. That completely ruins the refill threshold behavior (or at least its value for stopping wasteful/trivial hauling jobs).
tenthousandcranes 1 月 13 日 上午 12:50 
Refill threshold doesn't seem to work for me, pawns load just enough items to cover the threshold and then completely ignore the zone. Tried on latest 1.5 with all DLCs and no mods beside KanbanStorage and Harmony. Create a new colony, put a single-cell storage zone for wood, set stack size to 100 and refill threshold to 30%, expected behavior - storage is filled to 100ish wood, actual behavior - storage is filled to around 50 wood and then ignored completely.