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 40d: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 "40d"). 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 1: Line 1:
{{quality|Exceptional|15:53, 30 September 2010 (UTC)}}{{av}}
+
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.
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 16: Line 17:
 
3 - plate
 
3 - plate
 
| All
 
| 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.
+
| What category this item falls under. Lack of this tag makes this item clothes level.
  
 
|-
 
|-
Line 22: Line 23:
 
|  
 
|  
 
| All
 
| All
| Can be crafted out of bone. Randomly generated equipped armor will never be made out of bone.
+
| Can be crafted out of bone.
  
 
|-
 
|-
Line 28: Line 29:
 
| value
 
| value
 
| item_shield
 
| item_shield
| Affects the block chance of the shield.
+
| Tag only present for shields. Affects the block chance of the shield.
  
 
|-
 
|-
Line 44: Line 45:
 
| CHAIN_METAL
 
| CHAIN_METAL
 
|  
 
|  
| item_pants
+
|  
| Metal versions of this item will have "chain" added between the material and item name.
+
| Unknown. Only present in leggings. Not a valid token for some armor slots.
  
 
|-
 
|-
Line 57: Line 58:
 
|  
 
|  
 
| All
 
| All
| Item does not [[wear]] when worn. Opposite of [SOFT]. No tag defaults to [HARD].
+
| Unknown. May either have an effect on materials used, or affects protection.
 +
 
 +
|-
 +
| 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]
  
 
|-
 
|-
Line 89: Line 98:
 
|  
 
|  
 
| All
 
| All
| Item can be made from leather. Randomly generated equipped armor with [LEATHER] will not be made of cloth, unless [SOFT] is also present.
+
| Item can be made from leather.
  
 
|-
 
|-
Line 102: Line 111:
 
| 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 114: Line 116:
 
|  
 
|  
 
| All
 
| All
| Item can be made with metal. Randomly generated equipped armor will always be made out of metal whenever possible.
+
| Item can be made with metal.
  
 
|-
 
|-
Line 120: Line 122:
 
|  
 
|  
 
|
 
|
item_armor<br>
+
| Metal versions of this item count as one ARMORLEVEL higher. Only present in helms, caps, low boots, and high boots.
item_gloves<br>
 
item_shoes<br>
 
item_helm<br>
 
item_pants
 
| Metal versions of this item count as one ARMORLEVEL higher.
 
  
 
|-
 
|-
Line 136: Line 133:
 
| PREPLURAL
 
| PREPLURAL
 
| <phrase> of
 
| <phrase> of
|
+
| All, used in item_armor only though.
item_armor<br>
+
| 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_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 145: Line 140:
 
|  
 
|  
 
| All
 
| All
| Can be crafted from shell. Randomly generated equipped armor will never be made of shell.
+
| Can be crafted from shell.
  
 
|-
 
|-
Line 157: Line 152:
 
|  
 
|  
 
| All
 
| All
| Only one shaped piece of clothing can be worn on a single body slot at a time.
+
| Unknown. May have something to do with being crafted from other materials, like gauntlets out of bone.
  
 
|-
 
|-
Line 163: Line 158:
 
|  
 
|  
 
| All
 
| 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.
+
| Unknown. Either has an effect on materials used, or protection from weapons.
  
 
|-
 
|-
Line 174: Line 169:
 
| UPSTEP
 
| UPSTEP
 
| value, MAX
 
| value, MAX
| item_gloves<br>
+
| All
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 192: Line 185:
 
|}
 
|}
  
{{Category|Modding}}
+
[[Category:Modding]]
{{Category|Tokens}}
 

Please note that all contributions to Dwarf Fortress Wiki are considered to be released under the GFDL & MIT (see Dwarf Fortress Wiki:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!

To protect the wiki against automated edit spam, we kindly ask you to solve the following CAPTCHA:

Cancel Editing help (opens in new window)