Item Condition And Value

From the Fallout3 GECK Wiki
Revision as of 10:01, 16 September 2010 by imported>Zumbs
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
< [[::Settings|Settings]]
ValueMult = fItemConditionValueBase + fItemConditionValueMult * 10^fItemConditionValueExp * (1 - fItemConditionValueBase) * healthPercent^fItemConditionValueExp

healthPercent is the percentage of its maximum health that the item still has. The base value of the item is multiplied by ValueMult to find its current value.

Changing the fItemConditionValueBase only ensures that the ValueMult of an item based on condition varies between fItemConditionValueBase and 1, provided fItemConditionValueBase is between 0 and 1). However, changing the values of fItemConditionValueMult and fItemConditionValueExp can cause the value of an item at full health to exceed its base value or never reach it.

Game settings used in these formulae[edit | edit source]

Setting Default Description
fItemConditionValueBase 0.0 At zero health the value of an item is given by fItemConditionValueBase * Base Value.
fItemConditionValueMult 0.0316 Controls how much is value is added as the condition improves in a linear fashion.
fItemConditionValueExp 1.5 Controls how much is value is added as the condition improves in an exponential fashion.


See Also[edit | edit source]

Barter_System_Formula