Does anyone have any idea where I can find a good/average sellback system maybe something like in the pokemon games?
|
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.
|
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))