About this mod
Restockers will now consolidate boxes together on the shelves in their free time
- Requirements
- Permissions and credits
- Changelogs
- Donations
Annoyed that the restockers will leave many mostly empty boxes on the shelves that take up space, and sometimes leave you not having any room for new boxes? Well now restockers will consolidate and organize the boxes on the racks when finished stocking.
When you have 2 or more boxes on a rack slot that have space, the restocker will combine/consolidate the boxes the best he can leaving the full boxes at the front (so they are used last) and any partial boxes will end up being used first. If there is enough space to consolidate two boxes and empty out one, then that box will be deleted (In future take box to trash possibly?).
Currently the restocker will walk up to the rack and stand there for 3 seconds before the boxes will shift/consolidate. I am trying to add a very basic animation for the restocker but am not well versed in doing so with a mod and hijacking the animation controller.
Anyway, I have always wanted the restockers to do this, and I did recently see some other mods that do similar, but they either do it automatically/instantly, or at the press of a button, which is nice, but this mod is for those who want more balanced/natural flow while still gaining the benefits.
Please note that this mod does not currently do anything for boxes that take up a whole spot (bleach, potatoes, chicken, etc). It only combines boxes within the same spot currently. It is planned for the future to try doing whole rack optimization.
After the June 27th update, the mod has been updated, but I am not sure that everything works perfectly, as lots of restocker logic was updated, and even some dead code was left in. I had to adapt to the changes and do some things differently. Hopefully it all works fine still.
This mod may not work properly and conflict with other mods if they fundamentally change the behavior of how restockers work. The known conflicts can be found below.
Known Mod Conflicts:
- Magic Restocker
How to install:
This is a BepInEx mod so
Drag and Drop the RestockerConsolidator.dll into the bepinex/plugins folder
To uninstall, delete the dll file from the plugins folder
Configuration:
There is no configuration at this time. I plan to add some, such as the amount of time inbetween checks, if price of employee should be increased due to this extra thing they do, if empty boxes should be taken to trash, etc.
Planned updates:
- Limit number of consolidations at once before going idle again (to allow for restocking again as that is more important than consolidations. Going idle means walking back to their spawn point to think of what to do next) (configurable, thinking default of 3-5)
- Potentially adding animation for consolidations
- Empty box being brought to trash rather than just having it dissappear when consolidated (configurable)
- Increase in pay for restocker per day (increase of maybe $2, configurable)
- Maybe, and this is a stretch goal, add low stock they consolidated to your shopping cart.