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.
Difference between revisions of "v0.31:Weapon token"
Jump to navigation
Jump to search
(fixes) |
(add adjective and can_stone) |
||
Line 10: | Line 10: | ||
| ITEM_WEAPON | | ITEM_WEAPON | ||
| | | | ||
− | * | + | *id |
| Token used to refer to the weapon. <font color="red">Required</font>. | | Token used to refer to the weapon. <font color="red">Required</font>. | ||
Line 19: | Line 19: | ||
*plural | *plural | ||
| Name of the weapon. <font color="red">Required</font>. | | Name of the weapon. <font color="red">Required</font>. | ||
+ | |||
+ | |- | ||
+ | | ADJECTIVE | ||
+ | | | ||
+ | *adjective | ||
+ | | Adjective of the weapon, e.g. the "large" in "large copper dagger". | ||
|- | |- | ||
Line 85: | Line 91: | ||
| | | | ||
| Allows this weapon to be made of wood. | | Allows this weapon to be made of wood. | ||
+ | |||
+ | |- | ||
+ | | CAN_STONE | ||
+ | | | ||
+ | | Allows this weapon to be made of wood and obsidian. | ||
|} | |} | ||
{{Category|Modding}} | {{Category|Modding}} | ||
{{Category|Tokens}} | {{Category|Tokens}} |
Revision as of 19:42, 24 August 2010
Token | Arguments | Description |
---|---|---|
ITEM_WEAPON |
|
Token used to refer to the weapon. Required. |
NAME |
|
Name of the weapon. Required. |
ADJECTIVE |
|
Adjective of the weapon, e.g. the "large" in "large copper dagger". |
SIZE |
|
Volume of weapon in mililiters or milimetres cubed. Required. |
SKILL |
|
The skill to determine effectiveness in melee with this weapon. Required. |
RANGED |
|
Makes this a ranged weapon that uses the specified ammo. The specified skill determines accuracy in ranged combat. |
SHOOT_FORCE |
|
|
SHOOT_MAXVAL |
|
|
TWO_HANDED |
|
Creatures under this size (in mm^3) must use the weapon two-handed. Required. |
MINIMUM_SIZE |
|
Minimum body size (in mm^3) to use the weapon at all (multigrasp required until TWO_HANDED value) Required. |
MATERIAL_SIZE |
|
Number of bars needed for forging, as well as the amount gained from melting Required. |
ATTACK |
|
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. Required. |
TRAINING | Allows this weapon to be made of wood. | |
CAN_STONE | Allows this weapon to be made of wood and obsidian. |