About this mod
Adds hotkeys to instantly stock shelves. Fills card tables with the most expensive cards in your album and item shelves from the warehouse stock.
- Requirements
- Permissions and credits
Don't feel like grabbing each individual card out of the album to sell it?
Too poor to hire some dude that makes 700$ in a 13h shift?
If you answered yes to any of these questions, this is the mod for you.
Features
- Automatically fill item shelves with stock from your warehouse shelves. (Default hotkey: F6)
- Automatically fill card tables with the most expensive cards from your album. (Default hotkey: F7)
- Automatically move boxes from the floor to applicable warehouse shelves. (Default hotkey: F8)
- Filters to avoid selling cards you don't want sold.
- Automatically fill auto sprayers when stocking item shelves.
- Support for multiple card expansions.
Configuration
- FillItemShelfKey - Hotkey to fill item shelves. (Default: F6)
- FillCardTableKey - Hotkey to fill card tables. (Default: F7)
- MoveFloorBoxesToShelvesKey - Hotkey to move boxes from floor to applicable warehouse shelves. (Default: F8)
- FillCardExpansionType - Expansion to pull cards from. (Default: Tetramon)
- EnableDebugLogging - Enable debug logging to the console. (Default: false)
- AmountToHold - Number of any individual card you want to keep. (Default: 1)
- MaxCardValue - Max value for a card to be stocked by the mod. (Default 7500.0)
- MinCardValue - Min value for a card to be stocked by the mod. (Default 3.0)
- RefillSprayers - Enable refilling all auto sprayers with deodorant from warehouse shelves. (Default: true)
- PrioritizeSprayersWhenRefillingStock - Whether auto sprayers should be refilled before item shelves if RefillSprayers is enabled. (Default: true)
- PluginEnabled - Option to completely enable or disable the plugin. (Default: true)
- RandomCardFill - Whether to randomly fill card tables with cards that meet the filter criteria instead of highest price first. (Default: false)
- EnableMultiExpansion - Whether to allow multiple expansions to be enabled at the same time. (Default: false)
- Enabled Expansions - Each expansion is automatically generated with an enabled/disabled setting. (Default: false)
Recommended mods
I highly recommend combining this with Auto Set Prices to automate the whole process. The hotkeys are intentionally the same by default so that it will fill the shelves, then set the prices.
Planned Features
- I was considering adding a feature to purchase stock for empty warehouse shelves, but someone else has already done that. Check out One Click Restock. I may consider this feature again in the future, but right now it won't be worked on since another mod already does it.
Known Issues
Sorting by price can be expensive, causing a frame drop when filling card tables. Working on optimizations.After extensive testing, the issue isn't actually with the sorting process as I first thought, the issue is when the cards are spawned. It seems to be an issue with either how cards/object creation is coded in the game, or more likely, with how Unity is processing all the objects being created and initializing them. In essence, the engine is trying to initialize all these new objects before it can move on to the next frame, which causes the stutter. Unfortunately there is nothing I can do about this. I've tested some new sorting mechanisms, but there aren't really any performance gains, but it will allow me to add the ability to sort through multiple card sets.
Source Code/License
Available on Github with a "do whatever you want" license.
Installation
Extract the contents of the zip folder into BepInEx\plugins\
Uninstallation
Delete AutoStocker.dll from BepInEx\plugins\