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:Tool token"
Jump to navigation
Jump to search
SpitefulFox (talk | contribs) (Added new .19 token) |
|||
Line 145: | Line 145: | ||
* HOLD_MEAT_FOR_CARVING (carving fork) | * HOLD_MEAT_FOR_CARVING (carving fork) | ||
* MEAL_CONTAINER (bowl) | * MEAL_CONTAINER (bowl) | ||
+ | * NEST_BOX (nest box) | ||
+ | * LIQUID_CONTAINER (jug) | ||
+ | * FOOD_STORAGE (large pot) | ||
+ | * HIVE (hive) | ||
{{Category|Modding}} | {{Category|Modding}} | ||
{{Category|Tokens}} | {{Category|Tokens}} |
Revision as of 21:43, 22 February 2011
This article is about an older version of DF. |
Token | Arguments | Description |
---|---|---|
ITEM_TOOL |
|
Token used to refer to the tool. Required. |
NAME |
|
Name of the tool. Required. |
ADJECTIVE |
|
Adjective preceding the material name (e.g. "large copper dagger") |
SIZE |
|
Volume of tool in mL or cm^3 cubed. Required. |
SKILL |
|
The skill to determine effectiveness in melee with this tool. Required. |
RANGED |
|
Makes this tool 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 tool two-handed. Required. |
MINIMUM_SIZE |
|
Minimum body size (in cm^3) to use the tool 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. 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. |
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. | |
VALUE |
|
Defines the item value of the tool. |
TILE |
|
Defines the tile used to represent the tool. |
TOOL_USE |
|
Defines the task performed using the tool. |
WEIGHT |
|
Unused. |
CONTAINER_CAPACITY |
|
How much the item can contain? |
Valid tool uses (and the default tools used for these tasks) are as follows:
- LIQUID_COOKING (cauldron)
- LIQUID_SCOOP (ladle)
- GRIND_POWDER_RECEPTACLE (mortar)
- GRIND_POWDER_GRINDER (pestle)
- MEAT_CARVING (carving knife)
- MEAT_BONING (boning knife)
- MEAT_SLICING (slicing knife)
- MEAT_CLEAVING (meat cleaver)
- HOLD_MEAT_FOR_CARVING (carving fork)
- MEAL_CONTAINER (bowl)
- NEST_BOX (nest box)
- LIQUID_CONTAINER (jug)
- FOOD_STORAGE (large pot)
- HIVE (hive)