#### QuantumApprentice

**Look, Ma! Two Heads!**

Here's another zany question probably nobody has bothered to ask...does anybody know what the actual formula or pseudo-code for how npc's price their stuff is?

I've taken the time to create a data set of several of the npc shopkeepers for both Fallout and Fallout 2, but the trend lines appear logarithmic or polynomial when looking for best fit with excel. Now I don't trust excel to give me great results with it's limited equation solving ability, so I figured I'd ask here.

It looks like the original Fallout may have a much steeper curve, but it dips into profitability at pretty low skill levels, while fallout 2 requires absurdly high skill levels even with discount bonuses.

Also, I'll happily post my data if nobody has a direct answer and somebody wants to help derive it.

There also appear to be other variables besides barter and discounts going into the formula, but (counter to Per Jorner's walkthrough) charisma does not seem to have any direct affect other than the effect it has on your barter skill.

I've taken the time to create a data set of several of the npc shopkeepers for both Fallout and Fallout 2, but the trend lines appear logarithmic or polynomial when looking for best fit with excel. Now I don't trust excel to give me great results with it's limited equation solving ability, so I figured I'd ask here.

It looks like the original Fallout may have a much steeper curve, but it dips into profitability at pretty low skill levels, while fallout 2 requires absurdly high skill levels even with discount bonuses.

Also, I'll happily post my data if nobody has a direct answer and somebody wants to help derive it.

There also appear to be other variables besides barter and discounts going into the formula, but (counter to Per Jorner's walkthrough) charisma does not seem to have any direct affect other than the effect it has on your barter skill.

Last edited: