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: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 "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 3: | Line 3: | ||
These tokens can only be placed within an ITEM_WEAPON object definition, most do not function in armor objects. | These tokens can only be placed within an ITEM_WEAPON object definition, most do not function in armor objects. | ||
{| {{prettytable}} | {| {{prettytable}} | ||
− | |- bgcolor="# | + | |- bgcolor="#999999" |
! Token | ! Token | ||
! Arguments | ! Arguments | ||
! Description | ! Description | ||
− | |||
|- | |- | ||
− | + | | NAME | |
| | | | ||
*singular | *singular | ||
*plural | *plural | ||
| Name of the weapon. <font color="red">Required</font>. | | Name of the weapon. <font color="red">Required</font>. | ||
− | |||
|- | |- | ||
− | + | | ADJECTIVE | |
| | | | ||
*adjective | *adjective | ||
Line 24: | Line 22: | ||
|- | |- | ||
− | + | | SIZE / WEIGHT | |
| | | | ||
*size | *size | ||
Line 30: | Line 28: | ||
|- | |- | ||
− | + | | SHOOT_FORCE | |
| | | | ||
*value | *value | ||
Line 36: | Line 34: | ||
|- | |- | ||
− | + | | SHOOT_MAXVEL | |
| | | | ||
*value | *value | ||
Line 42: | Line 40: | ||
|- | |- | ||
− | + | | SKILL | |
| | | | ||
*[[Skill token]] | *[[Skill token]] | ||
Line 48: | Line 46: | ||
|- | |- | ||
− | + | | RANGED | |
| | | | ||
*[[Skill token]] | *[[Skill token]] | ||
Line 55: | Line 53: | ||
|- | |- | ||
− | + | | TWO_HANDED | |
| | | | ||
*size | *size | ||
Line 61: | Line 59: | ||
|- | |- | ||
− | + | | MINIMUM_SIZE | |
| | | | ||
*size | *size | ||
Line 67: | Line 65: | ||
|- | |- | ||
− | + | | CAN_STONE | |
| | | | ||
− | | Allows | + | | Allows this weapon to be made from sharp stones (i.e. [[obsidian]]) plus a wood log. |
|- | |- | ||
− | + | | TRAINING | |
| | | | ||
| Restricts this weapon to being made of wood. | | Restricts this weapon to being made of wood. | ||
|- | |- | ||
− | + | | MATERIAL_SIZE | |
| | | | ||
*value | *value | ||
− | | Number of bar units needed for forging, as well as the amount gained from melting. <font color="red">Required</font>. | + | | Number of bar units needed for forging, as well as the amount gained from melting. No weapons currently have a correct MATERIAL_SIZE by default{{version|0.31.12}}. <font color="red">Required</font>. |
|- | |- | ||
− | + | | ATTACK | |
| | | | ||
*attacktype:BLUNT or EDGE | *attacktype:BLUNT or EDGE | ||
Line 92: | Line 90: | ||
*noun:string | *noun:string | ||
*velocity_multiplier:value | *velocity_multiplier:value | ||
− | | You can have many ATTACK tags and one will be randomly selected for each attack, with EDGE attacks 100 times more common than BLUNT attacks | + | | You can have many ATTACK tags and one will be randomly selected for each attack, with EDGE attacks 100 times more common than BLUNT attacks. <font color="red">Required</font>. |
|} | |} |