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.
Editing v0.34:Armor token
Jump to navigation
Jump to search
Warning: You are not logged in.
Your IP address will be recorded in this page's edit history.
You are editing a page for an older version of Dwarf Fortress ("Main" is the current version, not "v0.34"). Please make sure you intend to do this. If you are here by mistake, see the current page instead.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 14: | Line 14: | ||
|- | |- | ||
− | + | | NAME | |
| singular:plural | | singular:plural | ||
− | | | + | | All |
| What this item will be called ingame. | | What this item will be called ingame. | ||
|- | |- | ||
− | + | | PREPLURAL | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
| <phrase> of | | <phrase> of | ||
| ITEM_ARMOR<br />ITEM_PANTS | | ITEM_ARMOR<br />ITEM_PANTS | ||
Line 54: | Line 26: | ||
|- | |- | ||
− | + | | MATERIAL_PLACEHOLDER | |
| adjective | | adjective | ||
| ITEM_ARMOR<br />ITEM_PANTS | | ITEM_ARMOR<br />ITEM_PANTS | ||
Line 60: | Line 32: | ||
|- | |- | ||
− | | | + | | VALUE |
+ | | num | ||
+ | | ITEM_ARMOR<br />ITEM_GLOVES<br />ITEM_SHOES<br />ITEM_SHIELD<br />ITEM_HELM | ||
+ | | Unused. Defaults to -1. | ||
+ | |||
+ | |- | ||
+ | | ARMORLEVEL | ||
| | | | ||
− | | | + | 0 - clothing<br> |
− | | | + | 1 - leather<br> |
+ | 2 - chain<br> | ||
+ | 3 - plate | ||
+ | | All | ||
+ | | What category this item falls under. Defaults to 1 for shields, 0 for everything else. Clothing-category armor is subject to [[wear]] as well as being used as every-day clothing by dwarves. | ||
|- | |- | ||
− | + | | UPSTEP | |
| value, MAX | | value, MAX | ||
| ITEM_GLOVES<br />ITEM_SHOES<br />ITEM_SHIELD | | ITEM_GLOVES<br />ITEM_SHOES<br />ITEM_SHIELD | ||
− | | | + | | This token functions exactly like LBSTEP but in reverse. How many steps up this item protects. 'Up'is defined as "Connected through a series of one or more body parts with the [LIMB] token to an UPPERBODY part. Gloves and shoes can not protect upper or lower bodies. Example, chausses with an upstep of MAX, protect the the foot and the entire leg, but not the lower body. The same effect could be achieved (on a humanoid) with UPSTEP>=2. Since toes and fingers lack the [LIMB] token, gloves and boots do not protect them. This may be a bug. |
|- | |- | ||
− | + | | UBSTEP | |
| value, MAX | | value, MAX | ||
| ITEM_ARMOR | | ITEM_ARMOR | ||
− | | | + | | How many steps away from upper body the armor protects. Only present on torso armor. When counting steps, ignore any steps through upper or lower body parts(UBSTEP:0 items protect the upper and lower bodies as a result of this). Currently bugged{{bug|1821}}, high values of UBSTEP will result in the item protecting facial features, fingers, and toes, while leaving those parts that it can not protect unprotected (but still counting them as steps). Torso armor can not protect hands, feet, or heads (parts with [GRASP],[STANCE], or [HEAD] tokens respectively) regardless of the UBSTEP value. UBSTEP can also not protect parts that can be protected by LBSTEP. Example, torso armor with [UBSTEP:1] will protect upper arms, wings, non-[STANCE] tails, the torso, and lower body. However, a torso armor with [UBSTEP:4] or higher will also cover lower arms, fingers, facial features, and toes. |
− | |||
− | Currently bugged{{bug|1821}}, high values of UBSTEP will result in the item protecting facial features, fingers, and toes, while leaving those parts that it can not protect unprotected (but still counting them as steps). | ||
|- | |- | ||
− | + | | LBSTEP | |
| value or MAX | | value or MAX | ||
| ITEM_ARMOR<br />ITEM_PANTS | | ITEM_ARMOR<br />ITEM_PANTS | ||
− | | | + | | How many steps down the armor protects. 'Down' is defined as "Connected through a series of one or more body parts with the [LIMB] token to a body part with the [STANCE] token. [LBSTEP] can not protect feet (parts with the [STANCE] token). When counting steps, ignore any steps through upper or lower body parts. Example, torso armor with a LBSTEP:1 will protect both the lower body and the upper legs in addition to the torso(the lower body step is not counted). Leg armor with LBSTEP:MAX will protect the lower body, the entire legs, but not the feet or toes. |
|- | |- | ||
− | | | + | | METAL_ARMOR_LEVELS |
+ | | | ||
+ | | ITEM_ARMOR<br />ITEM_GLOVES<br />ITEM_SHOES<br />ITEM_HELM<br />ITEM_PANTS | ||
+ | | Metal versions of this item count as one ARMORLEVEL higher. | ||
+ | |||
+ | |- | ||
+ | | BLOCKCHANCE | ||
| value | | value | ||
| ITEM_SHIELD | | ITEM_SHIELD | ||
Line 92: | Line 78: | ||
|- | |- | ||
− | | | + | | 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. <font color="red">Required</font>. | ||
+ | |||
+ | |- | ||
+ | | SOFT | ||
| | | | ||
− | | All | + | | All but ITEM_SHIELD |
− | | | + | | 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. Further uses of this tag are unknown. |
|- | |- | ||
− | + | | HARD | |
| | | | ||
− | | All | + | | All but ITEM_SHIELD |
− | | | + | | Unknown function. No tag defaults to [HARD]. edit - lets armor be made of wood |
|- | |- | ||
− | + | | METAL | |
| | | | ||
− | | All | + | | All but ITEM_SHIELD |
− | | Item can be made | + | | Item can be made with metal. Randomly generated equipped armor will always be made out of metal whenever possible. |
|- | |- | ||
− | + | | BARRED | |
| | | | ||
− | | All | + | | All but ITEM_SHIELD |
− | | | + | | Can be crafted out of bone. Randomly generated equipped armor will never be made out of bone. |
|- | |- | ||
− | + | | SCALED | |
| | | | ||
− | | All | + | | All but ITEM_SHIELD |
− | | | + | | Can be crafted from shell. Randomly generated equipped armor will never be made of shell. |
|- | |- | ||
− | + | | LEATHER | |
| | | | ||
− | | All | + | | All but ITEM_SHIELD |
− | | | + | | Item can be made from leather. Randomly generated equipped armor with [LEATHER] will not be made of cloth, unless [SOFT] is also present. |
|- | |- | ||
− | + | | SHAPED | |
| | | | ||
− | | All | + | | All but ITEM_SHIELD |
| Only one shaped piece of clothing can be worn on a single body slot at a time. | | Only one shaped piece of clothing can be worn on a single body slot at a time. | ||
|- | |- | ||
− | | | + | | CHAIN_METAL_TEXT |
| | | | ||
− | | All | + | | All but ITEM_SHIELD |
− | | | + | | Metal versions of this item will have "chain" added between the material and item name. |
|- | |- | ||
− | | | + | | STRUCTURAL_ELASTICITY_WOVEN_THREAD |
+ | | | ||
+ | | All but ITEM_SHIELD | ||
+ | | Makes the item behave much more elastic and flexible, but only when the object is made from woven thread. | ||
+ | |||
+ | |- | ||
+ | | STRUCTURAL_ELASTICITY_CHAIN_METAL | ||
| | | | ||
− | | All | + | | All but ITEM_SHIELD |
− | | | + | | Behaves the same as STRUCTURAL_ELASTICITY_CHAIN_ALL, but only when the object is made of metal. |
|- | |- | ||
− | | | + | | STRUCTURAL_ELASTICITY_CHAIN_ALL |
− | | | + | | |
− | | All | + | | All but ITEM_SHIELD |
− | | | + | | Seems to make blunt attacks more damaging, while blunting any attack from inferior materials. Further testing is needed. |
|- | |- | ||
− | + | | LAYER_SIZE | |
| value | | value | ||
− | | All | + | | All but ITEM_SHIELD |
− | | | + | | What the size of this item in question is, when it is put on. See [[Armor]] for more on item sizes and layering. Defaults to 10. |
|- | |- | ||
− | + | | LAYER_PERMIT | |
| value | | value | ||
− | | All | + | | All but ITEM_SHIELD |
− | | The maximum | + | | 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. Defaults to 10. |
|- | |- | ||
− | + | | LAYER | |
− | | UNDER | + | | UNDER, OVER, ARMOR, COVER |
− | | All | + | | All but ITEM_SHIELD |
− | | | + | | How this item is layered. The [LAYER_PERMIT:#] of a [LAYER:ARMOR] item overrides the [LAYER_PERMIT:#] of other items on the same ITEM_<name1>, unless it is a [LAYER:COVER] items. Defaults to UNDER. |
− | The LAYER_PERMIT of | ||
|- | |- | ||
− | + | | COVERAGE | |
| % value | | % value | ||
− | | All | + | | All but ITEM_SHIELD |
− | | | + | | Coverage determines how often attacks and contaminants get through clothes. Armor with a 5% coverage value, for example, will be near useless because 95% of attacks will bypass it completely. Temperature effects are also influenced by coverage. Defaults to 100. |
|} | |} |