User:Gozolo/Barter System
There are 4 parameters that effect the result of the price in the barter system. 2 for the buying prices and 2 for the selling prices.
!!! The skillcheck is based ONLY on the Player's 'barter' skill. Vendor's 'barter' skill has no effect on a price.
Parameters:
fBarterBuyBase (default value = 1.55) fBarterBuyMult (default value = -0.45) fBarterSellBase (default value = 0.45) fBarterSellMult (default value = 0.45)
Buying from a vendor formula:
Price = ( 'Item Value' * fBarterBuyBase ) + ( 'Item Value' * 'Skill' * fBarterBuyMult / 100 )
Selling to a vendor formula:
Price = ( 'Item Value' * fBarterSellBase ) + ( 'Item Value' * 'Skill' * fBarterSellMult / 100 )
Examples:
As an example I'll take 'Ol' Painless' Hunting Rifle, which has a value '250' with default barter parameters considering that Player's 'barter' skill is 50.
Buying from a vendor price will be 331.
Price = ( 250 * 1.55 ) + ( 250 * 50 * (-0.45) / 100 ) = 387.5 - 56.25 = 331.25
Selling to a vendor price will be 169.
Price = ( 250 * 0.45 ) + ( 250 * 50 * 0.45 / 100 ) = 112.5 + 56.25 = 168.75
There are some other parameters, but my only guess is that they remain from the Oblivion and are unused in the Fallout 3 system.
Thanks for your attention. I hope it'll help.
--gozolo 22:12, 25 July 2009 (UTC)