ID:995059
 
(See the best response by GhostAnime.)
Does anyone have any idea where I can find a good/average sellback system maybe something like in the pokemon games?
Best response
Do you want a dynamic system where prices raise/fall depending upon the demand or a set price?

The former is rather complex to have which will not upset the game's design.

The latter is much easier to do. For example, if the variable "price" contains the price of the item upon buying (x.cash -= item.price), you can sell that item for 1/8th of the price or so (x.cash += round(item.price/6))
Yeah, dynamic would be cool so I'd love to learn that one day. But I'd much rather learn a set price system, that shows what the items in the persons inventory and allows them to be sold back.
does no one know where I can find a library to start off?