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 "40d:Weapon token"
Jump to navigation
Jump to search
m (→Tokens) |
m (fix some 'gremlin's grammar' as it were) |
||
(23 intermediate revisions by 13 users not shown) | |||
Line 1: | Line 1: | ||
− | + | {{quality|Exceptional|21:20, 30 March 2011 (UTC)}}{{av}} | |
+ | |||
+ | For use on standard weapons. | ||
+ | |||
{| {{prettytable}} | {| {{prettytable}} | ||
|- bgcolor="#ddd" | |- bgcolor="#ddd" | ||
Line 7: | Line 10: | ||
|- | |- | ||
− | | CAN_STONE | + | | {{text anchor|ADJECTIVE}} |
+ | | adjective | ||
+ | | Appears before the name of the weapon's material. E.g. "large Obsidian dagger" | ||
+ | |||
+ | |- | ||
+ | | {{text anchor|CAN_STONE}} | ||
| | | | ||
− | | Can be made out of SHARP | + | | Can be made out of {{token|SHARP|st}} stone. |
|- | |- | ||
− | | CRIT_BOOST | + | | {{text anchor|CRIT_BOOST}} |
| value | | value | ||
| Increases the chance of a weapon piercing internal organs. | | Increases the chance of a weapon piercing internal organs. | ||
|- | |- | ||
− | | | + | | {{text anchor|DAMAGE}} |
− | | | + | | |
− | + | * amount | |
+ | * type (slash, burn, etc.) | ||
| Sets the amount and the type of [[Damage]] | | Sets the amount and the type of [[Damage]] | ||
|- | |- | ||
− | | | + | | {{text anchor|MINIMUM_SIZE}} |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | | MINIMUM_SIZE | ||
| value | | value | ||
| The size a creature must be in order to use this weapon. | | The size a creature must be in order to use this weapon. | ||
|- | |- | ||
− | | MATERIAL_SIZE | + | | {{text anchor|MATERIAL_SIZE}} |
| value | | value | ||
− | | How much material is needed to make the item. | + | | How much material is needed to make the item. When using normal metal bars, the amount needed is the value/3, rounded down; when using [[adamantine]], the number of wafers needed is equal to the value. |
|- | |- | ||
− | | NAME | + | | {{text anchor|NAME}} |
| singular:plural | | singular:plural | ||
| What this item will be called ingame. | | What this item will be called ingame. | ||
|- | |- | ||
− | | RANGED | + | | {{text anchor|RANGED}} |
− | | skill | + | | |
− | ammo | + | * skill |
− | | This sets what weapon skill will be gained when this weapon is fired and | + | * ammo class |
+ | | This sets what weapon skill will be gained when this weapon is fired and the {{token|CLASS|am}} of ammo that can be fired by it. Also allows this weapon to be constructed at a bowyer's workshop. For a list of skill tokens see [[Skill token]]s. | ||
|- | |- | ||
− | | SKILL | + | | {{text anchor|SKILL}} |
| weapon skill type (axe, sword, etc.) | | weapon skill type (axe, sword, etc.) | ||
− | | The type of weapon skill that experience is gained in when this weapon is wielded in melee fighting. For a list of skill tokens see [[Skill | + | | The type of weapon skill that experience is gained in when this weapon is wielded in melee fighting. For a list of skill tokens see [[Skill token]]s. |
|- | |- | ||
− | | STICK_CHANCE | + | | {{text anchor|STICK_CHANCE}} |
| value | | value | ||
| The chance of a weapon sticking in a target. | | The chance of a weapon sticking in a target. | ||
|- | |- | ||
− | | TWO_HANDED | + | | {{text anchor|TWO_HANDED}} |
| value | | value | ||
− | | Creatures wielding this weapon that are above the minimum size but | + | | Creatures wielding this weapon that are above the minimum size but have a size below the defined number must wield this weapon with two hands. (''Currently only affects fortress mode as an adventurer can wield anything in one hand.'') |
|- | |- | ||
− | | WEIGHT | + | | {{text anchor|WEIGHT}} |
| value | | value | ||
| How much an item weighs. | | How much an item weighs. | ||
+ | |||
|} | |} | ||
− | + | {{Category|Modding}} | |
− | + | {{Category|Tokens}} | |
− |
Latest revision as of 00:19, 25 June 2025
This article is about an older version of DF. |
For use on standard weapons.
Token | Arguments | Description |
---|---|---|
ADJECTIVE | adjective | Appears before the name of the weapon's material. E.g. "large Obsidian dagger" |
CAN_STONE | Can be made out of [SHARP] stone.
| |
CRIT_BOOST | value | Increases the chance of a weapon piercing internal organs. |
DAMAGE |
|
Sets the amount and the type of Damage |
MINIMUM_SIZE | value | The size a creature must be in order to use this weapon. |
MATERIAL_SIZE | value | How much material is needed to make the item. When using normal metal bars, the amount needed is the value/3, rounded down; when using adamantine, the number of wafers needed is equal to the value. |
NAME | singular:plural | What this item will be called ingame. |
RANGED |
|
This sets what weapon skill will be gained when this weapon is fired and the [CLASS] of ammo that can be fired by it. Also allows this weapon to be constructed at a bowyer's workshop. For a list of skill tokens see Skill tokens.
|
SKILL | weapon skill type (axe, sword, etc.) | The type of weapon skill that experience is gained in when this weapon is wielded in melee fighting. For a list of skill tokens see Skill tokens. |
STICK_CHANCE | value | The chance of a weapon sticking in a target. |
TWO_HANDED | value | Creatures wielding this weapon that are above the minimum size but have a size below the defined number must wield this weapon with two hands. (Currently only affects fortress mode as an adventurer can wield anything in one hand.) |
WEIGHT | value | How much an item weighs. |