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.

Difference between revisions of "40d:Armor token"

From Dwarf Fortress Wiki
Jump to navigation Jump to search
m (barred = can be crafted out of bone)
(Fixing links within namespace (0107/2470))
 
(29 intermediate revisions by 17 users not shown)
Line 1: Line 1:
The tokens for all types of armor on all slots, including shields. Usage column gives information on where use of the token might be restricted to.
+
{{quality|Exceptional|15:53, 30 September 2010 (UTC)}}{{av}}
 
+
The tokens for armor, gloves, shoes, shields, helms, and pants. Usage column gives information on where use of the token might be restricted to. See the talk page for details on how material tokens influence randomly generated equipped items.
=Tokens=
 
{| border="1" cellpadding="2"
 
! width="20%" | Token
 
! width="20%" | Arguments
 
! width="20%" | Usage
 
! width="60%" | Description
 
 
 
  
 +
{| {{prettytable}}
 +
|- bgcolor="#999999"
 +
! Token
 +
! Arguments
 +
! Usage
 +
! Description
 
|-
 
|-
 
| ARMORLEVEL
 
| ARMORLEVEL
Line 17: Line 16:
 
3 - plate
 
3 - plate
 
| All
 
| All
| What category this item falls under. Lack of this tag makes this item clothes level.
+
| What category this item falls under. Lack of this tag makes this item clothes level. For shields, level 1 is Buckler and level 2 is Shield.
  
 
|-
 
|-
Line 23: Line 22:
 
|  
 
|  
 
| All
 
| All
| Can be crafted out of bone.
+
| Can be crafted out of bone. Randomly generated equipped armor will never be made out of bone.
  
 
|-
 
|-
Line 29: Line 28:
 
| value
 
| value
 
| item_shield
 
| item_shield
| Tag only present for shields. Affects the block chance of the shield.
+
| Affects the block chance of the shield.
  
 
|-
 
|-
Line 41: Line 40:
 
item_shoes
 
item_shoes
 
| How much damage the item blocks when that body part is struck.
 
| How much damage the item blocks when that body part is struck.
 +
 +
|-
 +
| CHAIN_METAL
 +
|
 +
| item_pants
 +
| Metal versions of this item will have "chain" added between the material and item name.
  
 
|-
 
|-
Line 52: Line 57:
 
|  
 
|  
 
| All
 
| All
| Unknown. May either have an effect on materials used, or affects protection.
+
| Item does not [[wear]] when worn. Opposite of [SOFT]. No tag defaults to [HARD].
 
 
|-
 
| ITEM_<name1>:<name2>
 
|
 
Name 1 - ARMOR, HELM, SHOES, PANTS, GLOVES<br>
 
Name 2 - Anything
 
| All
 
| First name is required to define the item as wearable on that body part. The second can be anything you want to call it. [ITEM_ARMOR:ITEM_ARMOR_PLATEMAIL]
 
  
 
|-
 
|-
 
| LAYER
 
| LAYER
| ARMOR, UNDER, OVER
+
| UNDER, OVER, ARMOR, COVER
 
| All
 
| All
 
| How this item is layered.
 
| How this item is layered.
Line 92: Line 89:
 
|  
 
|  
 
| All
 
| All
| Item can be made from leather.
+
| Item can be made from leather. Randomly generated equipped armor with [LEATHER] will not be made of cloth, unless [SOFT] is also present.
  
 
|-
 
|-
Line 105: Line 102:
 
| All
 
| All
 
| How much material is needed to make the item. Most important with bars. The number of bars required to make the item is the value divided by three.
 
| How much material is needed to make the item. Most important with bars. The number of bars required to make the item is the value divided by three.
 +
 +
|-
 +
| MATERIAL_PLACEHOLDER
 +
| <phrase>
 +
| item_armor<br>
 +
item_pants
 +
| This sets a word to be used in-game instead of a material type, currently only appears on leather armor e.g. steel full plate becomes <phrase> full plate.
  
 
|-
 
|-
Line 110: Line 114:
 
|  
 
|  
 
| All
 
| All
| Item can be made with metal.
+
| Item can be made with metal. Randomly generated equipped armor will always be made out of metal whenever possible.
  
 
|-
 
|-
Line 116: Line 120:
 
|  
 
|  
 
|
 
|
| Unknown. Only present in helms, caps, low boots, and high boots.
+
item_armor<br>
 +
item_gloves<br>
 +
item_shoes<br>
 +
item_helm<br>
 +
item_pants
 +
| Metal versions of this item count as one ARMORLEVEL higher.
  
 
|-
 
|-
Line 127: Line 136:
 
| PREPLURAL
 
| PREPLURAL
 
| <phrase> of
 
| <phrase> of
| All, used in item_armor only though.
+
|
| Changes the plural form of this item to "<phrase of> item". Primarily pertains to the stock screens. Example, "suits of" platemail, "suits of" chainmail, etc.  
+
item_armor<br>
 +
item_pants
 +
| Changes the plural form of this item to "<phrase of> item". Primarily pertains to the stock screens. Example, "suits of" platemail, "pairs of" trousers, etc.  
  
 
|-
 
|-
Line 134: Line 145:
 
|  
 
|  
 
| All
 
| All
| Unknown. May have something to do with being crafted from other materials, like gauntlets out of bone.
+
| Can be crafted from shell. Randomly generated equipped armor will never be made of shell.
  
 
|-
 
|-
Line 146: Line 157:
 
|  
 
|  
 
| All
 
| All
| Unknown. May have something to do with being crafted from other materials, like gauntlets out of bone.
+
| Only one shaped piece of clothing can be worn on a single body slot at a time.
  
 
|-
 
|-
Line 152: Line 163:
 
|  
 
|  
 
| All
 
| All
| Unknown. Either has an effect on materials used, or protection from weapons.
+
| Item can [[wear]] when worn. Opposite of [HARD]. Randomly generated equipped armor will have an equal probability of being made of leather or cloth, when this token is present and [METAL] is absent.
  
 
|-
 
|-
Line 163: Line 174:
 
| UPSTEP
 
| UPSTEP
 
| value, MAX
 
| value, MAX
| All
+
| item_gloves<br>
 +
item_shoes<br>
 +
item_shield
 
| Item protects body parts a step up from where it is. Example, bucklers with an upstep of one, protect the lower arm, but should also protect the upper arm. Unknown what MAX does. Chausses have an upstep of this value.
 
| Item protects body parts a step up from where it is. Example, bucklers with an upstep of one, protect the lower arm, but should also protect the upper arm. Unknown what MAX does. Chausses have an upstep of this value.
  
Line 179: Line 192:
 
|}
 
|}
  
[[Category:Modding]]
+
{{Category|Modding}}
 +
{{Category|Tokens}}

Latest revision as of 14:32, 8 December 2011

This article is about an older version of DF.

The tokens for armor, gloves, shoes, shields, helms, and pants. Usage column gives information on where use of the token might be restricted to. See the talk page for details on how material tokens influence randomly generated equipped items.

Token Arguments Usage Description
ARMORLEVEL

omitted - clothing
1 - leather
2 - chain
3 - plate

All What category this item falls under. Lack of this tag makes this item clothes level. For shields, level 1 is Buckler and level 2 is Shield.
BARRED All Can be crafted out of bone. Randomly generated equipped armor will never be made out of bone.
BLOCKCHANCE value item_shield Affects the block chance of the shield.
BLOCKPOWER value

item_helm
item_gloves
item_shield
item_pants
item_shoes

How much damage the item blocks when that body part is struck.
CHAIN_METAL item_pants Metal versions of this item will have "chain" added between the material and item name.
COVERAGE value All Coverage influences how often contaminants get through clothes and temperature effects
HARD All Item does not wear when worn. Opposite of [SOFT]. No tag defaults to [HARD].
LAYER UNDER, OVER, ARMOR, COVER All How this item is layered.
LAYER_SIZE value All What the size of this item in question is, when it is put on. See Armor for more on item sizes and layering.
LAYER_PERMIT value All The maximum number of items allowed on that body slot. If the body slot's layer value is over this, no more of this item can be put on. See Armor for more on item sizes and layering.
LBSTEP value or MAX

item_armor
item_pants

How many steps down the armor protects. Torso armor has this at 1, most leg armor has this at MAX.
LEATHER All Item can be made from leather. Randomly generated equipped armor with [LEATHER] will not be made of cloth, unless [SOFT] is also present.
MAINBLOCK value item_armor Only used when defining chest slot armor. Affects the item's primary block value.
MATERIAL_SIZE value All How much material is needed to make the item. Most important with bars. The number of bars required to make the item is the value divided by three.
MATERIAL_PLACEHOLDER <phrase> item_armor

item_pants

This sets a word to be used in-game instead of a material type, currently only appears on leather armor e.g. steel full plate becomes <phrase> full plate.
METAL All Item can be made with metal. Randomly generated equipped armor will always be made out of metal whenever possible.
METAL_ARMOR_LEVELS

item_armor
item_gloves
item_shoes
item_helm
item_pants

Metal versions of this item count as one ARMORLEVEL higher.
NAME singular:plural All What this item will be called ingame.
PREPLURAL <phrase> of

item_armor
item_pants

Changes the plural form of this item to "<phrase of> item". Primarily pertains to the stock screens. Example, "suits of" platemail, "pairs of" trousers, etc.
SCALED All Can be crafted from shell. Randomly generated equipped armor will never be made of shell.
SECONDBLOCK value item_armor Tag only present for chest armors. Affects secondary block value, that is, the block value for parts protected only thanks to UB/LBSTEP rather than by being the main part(like the torso)
SHAPED All Only one shaped piece of clothing can be worn on a single body slot at a time.
SOFT All Item can wear when worn. Opposite of [HARD]. Randomly generated equipped armor will have an equal probability of being made of leather or cloth, when this token is present and [METAL] is absent.
UBSTEP value, MAX item_armor How many steps up away from upper body the armor protects. Only present on torso armor. Coats/shirts/cloaks have it at MAX; Plate/chain/leather armors and togas/dresses/robes have it at 1; Tunics/capes/vests have it at 0
UPSTEP value, MAX item_gloves

item_shoes
item_shield

Item protects body parts a step up from where it is. Example, bucklers with an upstep of one, protect the lower arm, but should also protect the upper arm. Unknown what MAX does. Chausses have an upstep of this value.
VALUE value All Value multiplier of the item. It will be multiplied by item quality and material.
WEIGHT value All How much the item weighs.