Market Value

If not explicitly specified, an item's market value defaults to a formula-determined value:
M = (I + W × 0.0036) × Q × H
where
* I = combined market value of all ingredients
* W = work in ticks to make the item, where there are 60 ticks to a second. The game displays this in the item information window in seconds, which assumes 1x game speed and 100% work speed even when the base workspeed is lower than 100%. The displayed value also rounds the work value to the nearest second for example - an item that takes 35 ticks to make will be displayed in-game as taking 1 Work, despite taking only 0.583 seconds to construct at 100% speed. An approximation of the value for W can be found by multiplying the in-game Work displayed by 60, but the exact value is defined in the XML in ticks by the WorkToMake, or for buildings the WorkToBuild, stats.
* Q = quality multiplier. See quality for details. 
* H = health multiplier. An item retains 100% of its value down to 90% HP, then loses 1.67% of its maximum value per 1% HP lost between 90% and 60% HP, 4% of its maximum value per 1% HP lost between 60% and 50% HP, and 0.2% of its maximum value per 1% HP lost between 50% and 0% HP. The item will have 50% of its maximum value at 60% HP and only 10% of its maximum value at 50% HP. The health multiplier only applies to certain items, as controlled by their XML definition. See Deterioration for details.
Items with a market value of above 200 will have their market value rounded to be divisible by 5, with a remainder of 2.5 being rounded down. Prices over $10 will be rounded to the nearest whole number.
Tainted apparel has its market value reduced by 90%. 
== Pawn value ==
# Take the base MarketValue of the pawn (1750 for humans)
# Calculate a quality factor: 
## Start with 100%.
## Reduce that value by up to 80% based on current health condition
## Multiply by 0.6 for each Capacity (Sight, Moving, Manipulation, etc) the pawn currently is incapable of
## Multiply by value between 0.5 and 1.0 for each Capacity the pawn is currently capable of (this sounds like it can be less than 0.6, but in practice most Capacities become disabled long before 0%)
## Multiply by a factor based on the pawn's average skills defined by the line chart with the points: 0 = 20%, 5.5 = 100%, 20 = 300%
## Multiply by the pawn's current lifeStage's marketValueFactor
## Multiply by each of the pawn's traits' marketValueFactorOffset (individually)
## Add 20% of the pawn's Beauty stat.
## If the quality factor is below 10% at this point, use 10% instead.
## Multiply the MarketValue by the quality factor.
# Calculate a price offset:
## Start with 0.
## For every hediff that has a priceOffset, add the priceOffset.
## For every hediff that does not have a priceOffset but spawns an item when harvested or removed, add that spawned item's BaseMarketValue (this counts both bionics as well as harvestable organs like hearts and lungs)
## Add the total offset to the MarketValue
== Version history ==
* 1.1.2618 - Prices now only display decimals when under $10.
* 1.4.3555 - We now display market value on colony mechs’ inspect pane.
== See also ==
* Sell Price Multiplier
* Trade Price Improvement
* Trade