v50 Steam/Premium information for editors
  • v50 information can now be added to pages in the main namespace. v0.47 information can still be found in the DF2014 namespace. See here for more details on the new versioning policy.
  • Use this page to report any issues related to the migration.
This notice may be cached—the current version can be found here.

v0.34:Item value

From Dwarf Fortress Wiki
Revision as of 12:19, 6 January 2014 by Doktoro Reichard (talk | contribs) (→‎Items with quality levels: Linking prepared meal example)
Jump to navigation Jump to search
This article is about an older version of DF.

Item value is determined by a number of factors: the form of the item, the material it is made out of, the quality of its creation, and any decorations on it.

The final value of an item is the base value of the form of the item (e.g. block or statue) multiplied by the material multiplier (e.g. granite or gold), multiplied by the quality modifier (e.g. fine or masterful) if any, then summed with the final value of all decorations.

Base values of items

The base value of an item is determined by the form of the item, not what it is made out of. For example, a wood block uses the base value for a block; a native gold block uses the same base value, since it too is in the form of a "block". In both cases, the final value is then determined by adjusting the base value with the appropriate modifiers.

Items without quality levels

Base Value Items
0 Body part, Corpse, Remains, small rock
1 glob, seeds, alcohol, powder, extract
2 Fish, unprepared fish, Meat, Egg, Plant, Leaves
3 Gem (rough), Log, Stone
5 Bar, Block, Gem (cut), Leather
6 Thread
10 Ballista arrowhead, cheese
? live vermin, tame vermin

Items with quality levels

Base Value Items
1/50 Coin[1]
1 Orthopedic cast
7 Cloth[2]
10 Door, Floodgate, Bed, Chair, Chain, Flask, Goblet, Instrument, Toy, Cage, Barrel, Bucket, Animal trap, Table, Coffin, Box, Bin, Armor stand, Weapon rack, Cabinet, Figurine, Amulet, Scepter, Crown, Ring, Earring, Bracelet, Large gem, Anvil, Totem, Backpack, Quiver, Prepared meal[3], Pipe section, Hatch cover, Grate, Quern, Millstone, Splint, Crutch, Slab, Decoration[4]
20 Siege ammo, Traction bench[5]
25 Window, Statue
30 Catapult part, Ballista part, Mechanism
* Weapon, Armor, Shoe, Shield, Helm, Glove, Ammo, Pants, Trap component, Tool
[1] Coins minted at a forge are always of base quality
[2] Goods made out of cloth get the following built in as decorations: the cloth (with quality mod) and the thread (without quality). Dyes are added separately (with quality), as a powder, not a decoration.
[3] Prepared meals always have a base value of 10, with a quality modifier. Each ingredient is calculated separately, with its own base value and "minced" quality modifier. The total value of a meal stack is the sum of the above values multiplied by the total quantity, regardless of the proportion of ingredients. A more thorough explanation and example exists at the Cook page.
[4] "Decorations" include "It is decorated with <material>", "It is encircled with bands of <material>", "It is adorned with hanging rings of <material>", "This object menaces with spikes of <material>", "On this object is an image of <description> in <material>", "It is studded with <metal>".
[5] Traction bench quality is determined by the quality of the table used in its creation.

The following items have their value determined based on their properties:

Weapon

The base value of a melee weapon is (SIZE / 50) + 1; if the weapon has any EDGE attacks, its value is doubled. Ranged weapons simply have a value of 10.

Armor

The base value of a piece of armor is ((UBSTEP + LBSTEP) * 3) + (LAYER_SIZE / 5) + (COVERAGE / 10) + 1.

  • UBSTEP and LBSTEP cannot be greater than 3
  • LAYER_SIZE and COVERAGE cannot be greater than 100

Shoes and Gloves

The base value of a shoe or glove is (UPSTEP * 3) + (LAYER_SIZE / 5) + (COVERAGE / 30) + 1.

  • UPSTEP cannot be greater than 3
  • LAYER_SIZE and COVERAGE cannot be greater than 100

Shield

The base value of a shield is (UPSTEP * 3) + BLOCKCHANCE + 1.

  • UPSTEP cannot be greater than 3
  • BLOCKCHANCE cannot be greater than 100

Helm

The base value of a helm is (LAYER_SIZE / 5) + (COVERAGE / 20) + 1.

  • LAYER_SIZE and COVERAGE cannot be greater than 100

Ammo

The base value of a single unit of ammo is (SIZE / 200) + 1.

Values are for singles, not stacks

Pants

The base value of a pair of pants is (LBSTEP * 3) + (LAYER_SIZE / 5) + (COVERAGE / 10) + 1

  • LBSTEP cannot be greater than 3
  • LAYER_SIZE and COVERAGE cannot be greater than 100

Trap component

The base value of a trap component is ((SIZE / 50) + 1) * HITS; if it has any EDGE attacks, its value is doubled.

Tool

The base value of a tool is merely whatever is specified via its VALUE token.

Material multipliers

The material multiplier for an item is found from the [MATERIAL_VALUE:#] tag in the raws for the material it is made out of, and can be further augmented using [MULTIPLY_VALUE:#]. A wood block uses the same material multiplier as a wood log or a wooden chest - that is the material value for wood, which is 1.

Quality

Item value is further increased by applying the quality multiplier.

Designation Description Value
Modifier
 Item Name —     ×1 
-Item Name- Well-crafted ×2 
+Item Name+ Finely-crafted ×3 
*Item Name* Superior quality ×4 
≡Item Name≡ Exceptional ×5 
☼Item Name☼ Masterful ×12 
Unique Name Artifact ×120