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 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.

If you are creating a redirect to the current version's page, do not use any namespace. For example: use #REDIRECT [[Cat]], not #REDIRECT [[Main:Cat]] or #REDIRECT [[cv:Cat]]. See DF:Versions for more information.

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|Fine}}
+
{{Migrated_article}}
{{av}}
+
{{quality|unrated}}
{{Modding}}
 
'''Weapon tokens''' define [[weapon]]s. These tokens can only be placed within an ITEM_WEAPON object definition, and most do not function in armor objects.
 
{{clear}}
 
  
==Tokens==
+
These tokens can only be placed within an ITEM_WEAPON object definition, most do not function in armor objects.
 
{| {{prettytable}}
 
{| {{prettytable}}
 
|- bgcolor="#ddd"
 
|- bgcolor="#ddd"
Line 11: Line 8:
 
! Arguments
 
! Arguments
 
! Description
 
! Description
 +
! Works in armor
  
 
|-
 
|-
Line 17: Line 15:
 
*singular
 
*singular
 
*plural
 
*plural
| Name of the weapon. <font color="red">Required.</font>
+
| Name of the weapon. <font color="red">Required</font>.
 +
| {{y}}
  
 
|-
 
|-
Line 47: Line 46:
 
|  
 
|  
 
*[[Skill token]]
 
*[[Skill token]]
| The skill to determine effectiveness in melee with this weapon. Defaults to MACE. AXE skill will allow it to be used to chop down trees.  MINING skill will allow it to be used for mining. Outsider adventurers (or regular ones with no points in offensive skills) will receive a weapon with the SPEAR skill, selected at random if multiple ones have been [[modding|modded]] in. All adventurers will also start with a weapon using the DAGGER skill, again selected at random if multiple such weapons exist.
+
| The skill to determine effectiveness in melee with this weapon. Defaults to MACE. Skill of AXE will allow it to be used to chop down trees.
  
 
|-
 
|-
Line 60: Line 59:
 
|  
 
|  
 
*size
 
*size
| Creatures under this size (in cm^3) must use the weapon two-handed (or more if the creature has extra [GRASP] parts){{verify}}. Defaults to 50000.  Below this size, one-handed use of a weapon will cause a penalty to hit.
+
| Creatures under this size (in cm^3) must use the weapon two-handed. Defaults to 50000.
  
 
|-
 
|-
Line 71: Line 70:
 
| {{text anchor|CAN_STONE}}
 
| {{text anchor|CAN_STONE}}
 
|
 
|
| Allows the weapon to be made at a [[craftsdwarf's workshop]] from a sharp ([MAX_EDGE:10000] or higher) stone (i.e. [[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.
  
 
|-
 
|-
Line 82: Line 81:
 
|  
 
|  
 
*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. <font color="red">Required</font>.
 
 
|-
 
| {{text anchor|ATTACK_PREPARE_AND_RECOVER}}
 
|
 
* Preparation time
 
* Recovery time
 
| Determines the length of time to prepare this attack and until one can perform this attack again.  Values appear to be calculated in adventure mode ticks.
 
 
 
|-
 
| {{text anchor|ATTACK_FLAG_BAD_MULTIATTACK}}
 
|
 
| Multiple strikes with this attack cannot be performed effectively.
 
 
 
|-
 
| {{text anchor|ATTACK_FLAG_INDEPENDENT_MULTIATTACK}}
 
|
 
| Multiple strikes with this attack can be performed with no penalty.
 
  
 
|-
 
|-
Line 111: Line 93:
 
*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 is usually high for slashing and low for bludgeoning, piercing, and poking. Penetration value tends to be low for slashing and high for stabbing, and is ignored if attack is BLUNT. Verbs are for the 2nd and 3rd person action verbs used to describe the attack. Noun describes what part of the weapon is being used in the attack, or NO_SUB for none. Velocity_multiplier is a multiplier for the [[Material_science#Attack_Momentum|attack momentum]], increasing effectiveness; stab attacks use 1000 while the lash of a whip uses 5000.  <font color="red">Required.</font>
+
| 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 is usually high for slashing and low for bludgeoning, piercing, and poking. Penetration value tends to be low for slashing and high for stabbing. Penetration is ignored if attack is BLUNT. <font color="red">Required</font>.
 +
 
 
|}
 
|}
  
 
{{Category|Modding}}
 
{{Category|Modding}}
 
{{Category|Tokens}}
 
{{Category|Tokens}}
[[ru:Weapon token]]
 

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)

This page is a member of 2 hidden categories: