Added checks to remove null volumes which caused infinite loading bugs.
Added an additional config to toggle the extra shelf spawning. (If you want to disable the shelf, everyone must have the config set to false.
Added check for Vanilla Upgrades mod.
Config values can now go to -1 in which vanilla values will be used.
Changed some values.
Added a LOT of config entries to customize your experience. Only change the values if you know what you're doing. (default values work fine)
Fixed carts being affected by Max Amount
Organized code for better readability, and clarity.
Rewrote the config to be more concise.
Altered the item spawning code to hopefully allow more single use items to spawn. (Map Player Count, and modded upgrades such as Valuable Count, Map Enemy Count, etc)
Compatibility with some modded upgrades has been added. (As of now, only upgrades added through MoreUpgrades will be detected)
Added a toggle in the config to override modded values. (leave false if you want to use the mods config)
Added another config slider to allow more control over the mod.
Fixes
Reverted the shelving prefab to 1.2.1 (removed some lights) to fix potential performance hinderances.
Additional checks to prevent the shelf from spawning multiple times, which affected performance.
Fixed weapons spawning when the limit was reached. (caused weapons and items you bought to disappear)
Additions
Added a two config entries that you can customize.
Fixed the networking code causing the shelf to spawn in the truck. (Hopefully for good!)
Added additional level verification to prevent the truck from being partially blocked. (This however might prevent the shelf from spawning, but only in very rare edge cases)