Open jpcsupplies opened 8 years ago
Still want to do this but it occurs to me once we add the undercut logic to buy/sell/pricelist later, its basically the same thing anyway if a player parks their trade ship in the npc zone.
.. or we make this a player driven stock market - that resolves both the concerns with reactive pricing and stock on hand and gives as an offer system.. would have to be its own thing tho
ie a database containing: stock item, stock quantity, sell (or desired buy) price, player ID
the price list would have to sort by stock item, and price. that means 1 LCD per item.. which shows the top 10 buy and sell prices for that item and a quantity total at each price.
and/or a summary LCD that lists the current best buy and sell price of the given classes of stock (much how the current price list lcds work)
Allow players to post buy or sell /offers/ to the NPC market.
This allows them to post stock for sale - and undercut the NPC or post an offer to buy stock for more than the NPC pays.
Integrate with claim system to allow them to collect purchases later on joining. Integrate with cancel system to allow them to get any remaining money or stock back