Open jpcsupplies opened 7 years ago
Logic:
Have a timer (eg 15-30 minutes or use the autosave time) that on ores designated as junk(read stone/gravel/default tools etc) checks if it is above the reactive pricing "just right" qty; or the default starting qty.
If it is then randomly (pick a number between 1 and 1000, minus the difference between current stock (if random<onhand) and "just right" qty)
Now "sell" (read convert back into NPC funds) the chosen random qty of the ore.
Stone and gravel is essentially a junk ore, only reason to support it at the NPC market is as a way for players to dispose of objects without leaving them floating in the world.
We should expand on this, and perhaps automatically convert a portion of stored junk ores (maybe make it a per-item flag) back into NPC bank funds and remove them from the market.