Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[suggestion] ore destruction in NPC market #156

Open
jpcsupplies opened this issue Nov 20, 2016 · 1 comment
Open

[suggestion] ore destruction in NPC market #156

jpcsupplies opened this issue Nov 20, 2016 · 1 comment

Comments

@jpcsupplies
Copy link
Owner

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.

@jpcsupplies
Copy link
Owner Author

  1. Logic:

  2. 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.

  3. 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)

  4. Now "sell" (read convert back into NPC funds) the chosen random qty of the ore.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant