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 | ||
Line 10: | Line 10: | ||
|- | |- | ||
− | + | | NAME | |
| | | | ||
*singular | *singular | ||
*plural | *plural | ||
| Name of the weapon. <font color="red">Required</font>. | | Name of the weapon. <font color="red">Required</font>. | ||
− | | | + | | X |
|- | |- | ||
− | + | | ADJECTIVE | |
| | | | ||
*adjective | *adjective | ||
Line 24: | Line 24: | ||
|- | |- | ||
− | + | | SIZE / WEIGHT | |
| | | | ||
*size | *size | ||
Line 30: | Line 30: | ||
|- | |- | ||
− | + | | SHOOT_FORCE | |
| | | | ||
*value | *value | ||
Line 36: | Line 36: | ||
|- | |- | ||
− | + | | SHOOT_MAXVEL | |
| | | | ||
*value | *value | ||
Line 42: | Line 42: | ||
|- | |- | ||
− | + | | SKILL | |
| | | | ||
*[[Skill token]] | *[[Skill token]] | ||
Line 48: | Line 48: | ||
|- | |- | ||
− | + | | RANGED | |
| | | | ||
*[[Skill token]] | *[[Skill token]] | ||
Line 55: | Line 55: | ||
|- | |- | ||
− | + | | TWO_HANDED | |
| | | | ||
*size | *size | ||
Line 61: | Line 61: | ||
|- | |- | ||
− | + | | MINIMUM_SIZE | |
| | | | ||
*size | *size | ||
Line 67: | Line 67: | ||
|- | |- | ||
− | + | | CAN_STONE | |
| | | | ||
| Allows the weapon to be made at a [[craftsdwarf's workshop]] from a sharp ([MAX_EDGE:10000] or higher) stone (e.g. [[obsidian]]) plus a wood log. | | Allows the weapon to be made at a [[craftsdwarf's workshop]] from a sharp ([MAX_EDGE:10000] or higher) stone (e.g. [[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 | ||
Line 83: | Line 83: | ||
|- | |- | ||
− | + | | ATTACK | |
| | | | ||
*attacktype:BLUNT or EDGE | *attacktype:BLUNT or EDGE | ||
Line 92: | Line 92: | ||
*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. Contact area | + | | 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. Contact area should be high for slashing and low for bludgeoning, piercing, and poking. Penetration value should be low for slashing and higher for stabbing. Penetration is ignored if attack is BLUNT. <font color="red">Required</font>. |
|} | |} |