Difference between revisions of "Market Value"

From RimWorld Wiki
Jump to navigation Jump to search
 
(24 intermediate revisions by 8 users not shown)
Line 1: Line 1:
 +
[[File:Graph1.png|thumb|right|This graph shows dependence item sell price multiplier($) from item hit points. ]]
 
{{Stat
 
{{Stat
 
| round to five over = 200
 
| round to five over = 200
 
| to string style = FloatTwo
 
| to string style = FloatTwo
| description = The market value of an object. The actual trade price will be further modified by relationship status, negotiation skill and [[Sell Price Multiplier]].
+
| description = The market value of an object. The actual trade price will be adjusted by [[Trade Price Improvement|negotiation skill]], relationship status, and other contextual factors.
 
}}
 
}}
  
 
If not explicitly specified, an item's market value defaults to a formula-determined value:
 
If not explicitly specified, an item's market value defaults to a formula-determined value:
  
<big>''M'' = (''I'' + ''W'' × 0.216) × ''Q'' × ''H''</big>
+
<big>''M'' = (''I'' + ''W'' × 0.0036) × ''Q'' × ''H''</big>
  
 
where
 
where
* ''I'' = combined market value of all ingredients, but see caveat below.
+
* ''I'' = combined market value of all ingredients
* ''W'' = work to make the item as displayed in the item information window, assuming 100% work speed; the game gives this value as in-game seconds at normal speed (60 game ticks per second)Note: 1,000 units of work correspond to one in-game day of uninterrupted work.
+
* ''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]])
+
* ''Q'' = quality multiplier. See [[quality]] for details.
* ''H'' = health multiplier (only applies if the item has degraded past a certain point)
+
* ''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.
 
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.
  
'''Caveat:''' Small volume materials like [[Gold]] and [[Silver]] display inconsistent behavior in this ingredient calculation. When used as [[stuff]], such as in Gold [[Plate armor]], the value of the ingredients is as expected. 10x as much small volume material is required, so the ingredient cost reflects this - Gold Plate Armor requring 1700 gold, and gold having a market value of 10 results in an ingredient value of 17000. However, when used in item recipes that are not using the gold as stuff but as a regular ingredient, such as [[Prestige marine armor]] {{RoyaltyIcon}}, the expected increase from that ingredient is only 10% of what would be expected. For the prestige marine armor, the 100 Gold required only adds 100 to the ingredient value, instead of the expected 1000.  
+
[[Tainted]] apparel has its market value reduced by 90%.  
  
==Version History==
+
[[File:SteelLargeSculptureGood.png|thumb|Steel Large Sculpture (Good) market value demonstrates that a) value rounding happens only post-quality multiplier and b) 2.5 remainder is rounded down. ]]
*[[Version/1.1.2618|1.1.2618]] - Prices now only display decimals when under $10.
+
 
 +
== Pawn value ==
 +
{{Rewrite|section=1|reason= Cleanup, formatting, linking TO this section from relevant pages such as Human, Human resources etc}}
 +
 
 +
# 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 ==
 +
* [[Version/1.1.2618|1.1.2618]] - Prices now only display decimals when under $10.
 +
 
 +
== See also ==
 +
* [[Sell Price Multiplier]]
 +
* [[Trade Price Improvement]]
 +
* [[Trade]]

Latest revision as of 07:52, 3 February 2024

This graph shows dependence item sell price multiplier($) from item hit points.

Market Value is a stat: The market value of an object. The actual trade price will be adjusted by negotiation skill, relationship status, and other contextual factors.

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%.

Steel Large Sculpture (Good) market value demonstrates that a) value rounding happens only post-quality multiplier and b) 2.5 remainder is rounded down.

Pawn value[edit]

  1. Take the base MarketValue of the pawn (1750 for humans)
  2. Calculate a quality factor:
    1. Start with 100%.
    2. Reduce that value by up to 80% based on current health condition
    3. Multiply by 0.6 for each Capacity (Sight, Moving, Manipulation, etc) the pawn currently is incapable of
    4. 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%)
    5. 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%
    6. Multiply by the pawn's current lifeStage's marketValueFactor
    7. Multiply by each of the pawn's traits' marketValueFactorOffset (individually)
    8. Add 20% of the pawn's Beauty stat.
    9. If the quality factor is below 10% at this point, use 10% instead.
    10. Multiply the MarketValue by the quality factor.
  3. Calculate a price offset:
    1. Start with 0.
    2. For every hediff that has a priceOffset, add the priceOffset.
    3. 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)
    4. Add the total offset to the MarketValue

Version history[edit]

  • 1.1.2618 - Prices now only display decimals when under $10.

See also[edit]