Price of item depends on how many of the item is in stock. in Design Philosophy
|
|
I've been wondering on how to do a shop protocol where the items get more expensive the less of them there are. EG when the shop has 10 longswords they are 400 each, but for every one sold the price goes up by 20.
How would you go about this? I'm not asking code sheets here, just guidelines to get me started, some procs I might want to use, or how I need to go about it the most effecient way..
Does anyone has an idea? Every reply is welcome!
Yours truly, Raimo.
|