Other > Suggestions
[Trading]Interest rate for items
Alvarez:
--- Quote from: RavenousRat on June 21, 2010, 07:54:15 pm ---Yeah depends on how will it work.
Making interest check every time you drag item to barter table from vendor's inventory, then it'll cause odd effects, when 2 or more players want to buy something from the same vendor, so the price at bottom of barter table should refresh every frame or else it can be false.
--- End quote ---
The first player will have a higher priority and new rates are calculated after the deal?
--- Quote from: Michaelh139 on June 21, 2010, 08:02:44 pm ---Im loving this idea but how would this work with stackable items e.g. ammo??
--- End quote ---
The most simple solution would use random fixed or floating amounts near round values(106, 317, 487, 1021, 10351) as reference points for interest. Of course, gradual change would be a more elegant solution, but would require more complicated formulas.
Navigation
[0] Message Index
[*] Previous page
Go to full version