Bill Ingredient Source (Storage)
Summary
Control bill ingredient selection by storage instead of radius. (QoL)
[hr]
Description
This mod lets you choose where ingredients are taken from by selecting a storage.
- No storage selected → vanilla radius behavior
- “Look Everywhere” → all stored items are used
- Specific storage → only that storage is used
New bills default to [b]“Look Everywhere”[/b] (configurable in settings).
◆ Additional advantages:
- Automatically tracks storage changes, so you don’t need to keep adjusting search radius whenever your storage layout changes.
- Unlike vanilla, it doesn’t scan empty map tiles, providing a small but consistent performance benefit.
- Enables intentional, non-circular storage layouts instead of being constrained by radius-based design.
[hr]
Important
- Items not inside a storage are ignored
- If required ingredients are outside the selected storage, the bill will not proceed
- Safe to add or remove mid-save
[hr]
Performance
- Instead of scanning the entire map, ingredient candidates are limited to items within selected storages, improving performance in large or complex setups.
- Smaller and more distributed storage groups tend to be more efficient.
- Using a single large storage group is the least efficient case, but still noticeably better than vanilla. It is also simpler to manage.
- With "Look Everywhere", storages are checked in order of proximity, so with well-organized storage groups, leaving most bills on this option remains reasonably efficient.
[hr]
Compatibility
- Supports vanilla storages (Stockpiles, Shelves)
- Supports vanilla storage linking system (StorageGroup)
- Compatible with most storage mods based on Adaptive Storage Framework
- [url=https://steamcommunity.com/sharedfiles/filedetails/?id=935982361]Better Workbench Management[/url]: Fully compatible
◆ Mods with minor compatibility issues
- [url=https://steamcommunity.com/sharedfiles/filedetails/?id=3222246658][KV] Save Storage, Outfit, Crafting, Drug, & Operation Settings[/url]: Assigned storage resets to default when loading saved bills.
- [url=https://steamcommunity.com/sharedfiles/filedetails/?id=3285178686]1trickPwnyta's Defaults[/url]: Bills created from presets use the default storage setting.
>> These issues do not affect functionality. The mod works correctly, but may require some manual setup.
[hr]
Note
This is my first RimWorld mod.
Source Code: [url=https%3A%2F%2Fgithub.com%2FLurk9r%2FRimWorld-LksMods%2Ftree%2Fmaster%2FBillIngredientSource]github link[/url][github.com]
If you'd like to support me, [url=https%3A%2F%2Fko-fi.com%2Flk744531][img]https://i.imgur.com/rsSe1GV.png[/img][/url][ko-fi.com]