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:Weapon 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|21:20, 30 March 2011 (UTC)}}{{av}}
+
The tokens for all types of weapons. Usage column gives information on where use of the token might be restricted to.
  
For use on standard weapons.
+
=Weapon Tokens=
 +
{| border="1" cellpadding="2"
 +
! width="35%" | Token
 +
! width="24%" | Arguments
 +
! width="41%" | Description
  
{| {{prettytable}}
 
|- bgcolor="#ddd"
 
! Token
 
! Arguments
 
! Description
 
 
|-
 
| ADJECTIVE
 
| adjective
 
| Appears before the name of the weapon's material. E.g. "large Obsidian dagger"
 
 
|-
 
| CAN_STONE
 
|
 
| Can be made out of SHARP (unmodded: obsidian) stone.
 
  
 
|-
 
|-
Line 33: Line 22:
 
| MINIMUM_SIZE:
 
| MINIMUM_SIZE:
 
| value
 
| value
| The size a creature must be in order to use this weapon.
+
| Unknown, maybe something to do with amount of material needed?
  
 
|-
 
|-
 
| MATERIAL_SIZE:
 
| MATERIAL_SIZE:
 
| value
 
| value
| How much material is needed to make the item. When using normal metal bars, the amount needed is the value divided by 3, rounded down; when using [[adamantine]], the number of wafers needed is equal to the value.
+
| How much material is needed to make the item. Is most important with bars. The number of bars needed is the value divided by three.
  
 
|-
 
|-
Line 49: Line 38:
 
| skill type - weapon skill type
 
| skill type - weapon skill type
 
ammo type - anything
 
ammo type - anything
| This sets what weapon skill will be gained when this weapon is fired and what type of ammo can be fired by this weapon. Ammunition definitions have DAMAGE and CLASS - CLASS determines what ammo type it matches. Also allows this weapon to be constructed at a bowyer's workshop. For a list of skill tokens see [[Skill token]]s.
+
| This sets what weapon skill will be gained when this weapon is fired and what type of ammo can be fired by this weapon.
  
 
|-
 
|-
 
| SKILL
 
| SKILL
 
| weapon skill type (axe, sword, etc.)
 
| weapon skill type (axe, sword, etc.)
| The type of weapon skill that experience is gained in when this weapon is wielded in melee fighting. For a list of skill tokens see [[Skill token]]s.
+
| The type of weapon skill that experience is gained in when this weapon is wielded in melee fighting.
  
 
|-
 
|-
Line 60: Line 49:
 
| value
 
| value
 
| The chance of a weapon sticking in a target.
 
| The chance of a weapon sticking in a target.
 
|-
 
| TWO_HANDED
 
| value
 
| Creatures wielding this weapon that are above the minimum size but their size is below this number must wield this weapon with two hands. (''Currently only affects fortress mode as an adventurer can wield anything in one hand.'')
 
  
 
|-
 
|-
Line 70: Line 54:
 
| value
 
| value
 
| How much an item weighs.
 
| How much an item weighs.
 +
|}
  
|}
 
  
{{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)