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"

From Dwarf Fortress Wiki
Jump to navigation Jump to search
(lowercase)
(material size did nothing for tools in 0.31 - they always took a single bar)
 
(9 intermediate revisions by 4 users not shown)
Line 6: Line 6:
 
! Arguments
 
! Arguments
 
! Description
 
! Description
 
|-
 
| ITEM_TOOL
 
|
 
*id
 
| Token used to refer to the tool. <font color="red">Required</font>.
 
  
 
|-
 
|-
Line 19: Line 13:
 
*plural
 
*plural
 
| Name of the tool. <font color="red">Required</font>.
 
| Name of the tool. <font color="red">Required</font>.
 +
 +
|-
 +
| 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.
 +
 +
|-
 +
| UNIMPROVABLE
 +
|
 +
| Prevents the tool from being improved.  Used on honeycombs.
 +
 +
|-
 +
| VALUE
 +
|
 +
*num
 +
| Defines the item value of the tool. <font color="red">Required</font>.
 +
 +
|-
 +
| TILE
 +
|
 +
*num
 +
| Defines the tile used to represent the tool. <font color="red">Required</font>.
 +
 +
|-
 +
| TOOL_USE
 +
|
 +
*tool use, see below
 +
| Defines the task performed using the tool.
  
 
|-
 
|-
Line 27: Line 59:
  
 
|-
 
|-
| SIZE
+
| SIZE / WEIGHT
 
|  
 
|  
 
*size
 
*size
| Volume of tool in mL or cm^3 cubed. <font color="red">Required</font>.
+
| Volume of tool in mL or cubic centimeters. <font color="red">Required</font>.
 +
 
 +
|-
 +
| CONTAINER_CAPACITY
 +
|
 +
*amount
 +
| How much the item can contain. Defaults to 0.
 +
 
 +
|-
 +
| SHOOT_FORCE
 +
|
 +
*value
 +
| <font color="red">Required</font> for weapons.
 +
 
 +
|-
 +
| SHOOT_MAXVEL
 +
|
 +
*value
 +
| <font color="red">Required</font> for weapons.
  
 
|-
 
|-
Line 36: Line 86:
 
|  
 
|  
 
*Skill token
 
*Skill token
| The skill to determine effectiveness in melee with this tool. <font color="red">Required</font>.
+
| The skill to determine effectiveness in melee with this tool. <font color="red">Required</font> for weapons.
  
 
|-
 
|-
Line 44: Line 94:
 
*Ammo item token
 
*Ammo item token
 
| Makes this tool a ranged weapon that uses the specified ammo. The specified skill determines accuracy in ranged combat.
 
| Makes this tool a ranged weapon that uses the specified ammo. The specified skill determines accuracy in ranged combat.
 
|-
 
| SHOOT_FORCE
 
|
 
*value
 
|
 
 
|-
 
| SHOOT_MAXVEL
 
|
 
*value
 
|
 
  
 
|-
 
|-
Line 61: Line 99:
 
|  
 
|  
 
*size
 
*size
| Creatures under this size (in cm^3) must use the tool two-handed. <font color="red">Required</font>.
+
| Creatures under this size (in cm^3) must use the tool two-handed. <font color="red">Required</font> for weapons.
  
 
|-
 
|-
Line 67: Line 105:
 
|  
 
|  
 
*size
 
*size
| Minimum body size (in cm^3) to use the tool at all (multigrasp required until TWO_HANDED value) <font color="red">Required</font>.
+
| Minimum body size (in cm^3) to use the tool at all (multigrasp required until TWO_HANDED value) <font color="red">Required</font> for weapons.
  
 
|-
 
|-
Line 73: Line 111:
 
|  
 
|  
 
*value
 
*value
| Number of bar units needed for forging, as well as the amount gained from melting. <font color="red">Required</font>.
+
| Intended to specify the amount of material used for forging. Does '''not''' work due to a bug.
  
 
|-
 
|-
Line 85: Line 123:
 
*noun:string
 
*noun:string
 
*velocity_multiplier:value
 
*velocity_multiplier:value
| 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. <font color="red">Required</font>.
+
| 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. <font color="red">Required</font> for weapons.
 
 
|-
 
| 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
 
|
 
*num
 
| Defines the item value of the tool.
 
 
 
|-
 
| TILE
 
|
 
*num
 
| Defines the tile used to represent the tool.
 
 
 
|-
 
| TOOL_USE
 
|
 
*tool use, see below
 
| Defines the tile used to represent the tool.
 
 
 
|-
 
| WEIGHT
 
|
 
*num
 
| Unused.
 
 
 
 
|}
 
|}
  
Line 139: Line 137:
 
* 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}}

Latest revision as of 15:27, 25 July 2012

This article is about an older version of DF.
Token Arguments Description
NAME
  • singular
  • plural
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.
UNIMPROVABLE Prevents the tool from being improved. Used on honeycombs.
VALUE
  • num
Defines the item value of the tool. Required.
TILE
  • num
Defines the tile used to represent the tool. Required.
TOOL_USE
  • tool use, see below
Defines the task performed using the tool.
ADJECTIVE
  • adjective
Adjective preceding the material name (e.g. "large copper dagger")
SIZE / WEIGHT
  • size
Volume of tool in mL or cubic centimeters. Required.
CONTAINER_CAPACITY
  • amount
How much the item can contain. Defaults to 0.
SHOOT_FORCE
  • value
Required for weapons.
SHOOT_MAXVEL
  • value
Required for weapons.
SKILL
  • Skill token
The skill to determine effectiveness in melee with this tool. Required for weapons.
RANGED
  • Skill token
  • Ammo item token
Makes this tool a ranged weapon that uses the specified ammo. The specified skill determines accuracy in ranged combat.
TWO_HANDED
  • size
Creatures under this size (in cm^3) must use the tool two-handed. Required for weapons.
MINIMUM_SIZE
  • size
Minimum body size (in cm^3) to use the tool at all (multigrasp required until TWO_HANDED value) Required for weapons.
MATERIAL_SIZE
  • value
Intended to specify the amount of material used for forging. Does not work due to a bug.
ATTACK
  • attacktype:BLUNT or EDGE
  • contact_area:value
  • penetration_size:value
  • verb2nd:string
  • verb3rd:string
  • noun:string
  • velocity_multiplier:value
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:

  • 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)