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.
Tool token
Revision as of 07:20, 11 January 2015 by 203.167.165.126 (talk)
v50.14 · v0.47.05 This article is about the current version of DF.Note that some content may still need to be updated. |
Token | Arguments | Description |
---|---|---|
NAME |
|
Name of the tool. Required. |
HARD_MAT | Permits the tool to be made from any "hard" material, such as stone. | |
METAL_MAT | Permits the tool to be made from any metal. | |
METAL_WEAPON_MAT | Permits the tool to be made from any weapons-grade metal. | |
WOOD_MAT | Permits the tool to be made from any wood. | |
UNIMPROVABLE | Prevents the tool from being improved. Used on honeycombs. | |
VALUE |
|
Defines the item value of the tool. Required. |
TILE |
|
Defines the tile used to represent the tool. Required. |
TOOL_USE |
|
Defines the task performed using the tool. |
FURNITURE | Allows item to be stored in a furniture stockpile. | |
ADJECTIVE |
|
Adjective preceding the material name (e.g. "large copper dagger") |
SIZE / WEIGHT |
|
Volume of tool in mL or cubic centimeters. Required. |
CONTAINER_CAPACITY |
|
How much the item can contain. Defaults to 0. |
SHOOT_FORCE |
|
Required for weapons. |
SHOOT_MAXVEL |
|
Required for weapons. |
SKILL |
|
The skill to determine effectiveness in melee with this tool. Required for weapons. |
RANGED |
|
Makes this tool a ranged weapon that uses the specified ammo. The specified skill determines accuracy in ranged combat. |
TWO_HANDED |
|
Creatures under this size (in cm^3) must use the tool two-handed. Required for weapons. |
MINIMUM_SIZE |
|
Minimum body size (in cm^3) to use the tool at all (multigrasp required until TWO_HANDED value) Required for weapons. |
MATERIAL_SIZE |
|
Number of bar units needed for forging, as well as the amount gained from melting. Required for weapons. |
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 for weapons. |
Valid tool uses (and the default tools used for these tasks) are as follows:
ID | Token | Usage |
---|---|---|
0 | LIQUID_COOKING | cauldron |
1 | LIQUID_SCOOP | ladle |
2 | GRIND_POWDER_RECEPTACLE | mortar |
3 | GRIND_POWDER_GRINDER | pestle |
4 | MEAT_CARVING | carving knife |
5 | MEAT_BONING | boning knife |
6 | MEAT_SLICING | slicing knife |
7 | MEAT_CLEAVING | meat cleaver |
8 | HOLD_MEAT_FOR_CARVING | carving fork |
9 | MEAL_CONTAINER | bowl |
10 | NEST_BOX | nest box |
11 | LIQUID_CONTAINER | jug |
12 | FOOD_STORAGE | large pot |
13 | HIVE | hive |
14 | SMALL_OBJECT_STORAGE | pouch |
15 | TRACK_CART | minecart |
16 | HEAVY_OBJECT_HAULING | wheelbarrow |
17 | STAND_AND_WORK_ABOVE | stepladder |