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
m |
(correction) |
||
Line 90: | Line 90: | ||
| TRAINING | | TRAINING | ||
| | | | ||
− | | | + | | Restricts this weapon to being made of wood. |
|- | |- | ||
| CAN_STONE | | CAN_STONE | ||
| | | | ||
− | | Allows this weapon to be made | + | | Allows this weapon to be made from sharp stones (i.e. {{L|obsidian}}) plus a wood log. |
|} | |} | ||
{{Category|Modding}} | {{Category|Modding}} | ||
{{Category|Tokens}} | {{Category|Tokens}} |
Revision as of 21:45, 22 February 2011
This article is about an older version of DF. |
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 mL or cm^3 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_MAXVEL |
|
|
TWO_HANDED |
|
Creatures under this size (in cm^3) must use the weapon two-handed. Required. |
MINIMUM_SIZE |
|
Minimum body size (in cm^3) to use the weapon at all (multigrasp required until TWO_HANDED value) Required. |
MATERIAL_SIZE |
|
Number of bar units needed for forging, as well as the amount gained from melting. No weapons currently have a correct MATERIAL_SIZE by defaultv0.31.12. 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 | Restricts this weapon to being made of wood. | |
CAN_STONE | Allows this weapon to be made from sharp stones (i.e. Template:L) plus a wood log. |