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:Metal token"

From Dwarf Fortress Wiki
Jump to navigation Jump to search
m (some typos fixed)
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{av}}
+
{{quality|Exceptional|21:19, 30 March 2011 (UTC)}}{{av}}
 
Metals are stored in the matgloss_metal.txt file.
 
Metals are stored in the matgloss_metal.txt file.
  
Line 5: Line 5:
 
|- style='background-color:#ddd'
 
|- style='background-color:#ddd'
 
! Token
 
! Token
 +
! Arguments
 
! Description
 
! Description
 +
 
|-
 
|-
|[NAME:name]||The name of the metal.
+
| {{text anchor|NAME}}
 +
| name
 +
| The name of the metal.
 +
 
 
|-
 
|-
|[ADJ:adj]||The adjective used to describe items made of this metal.
+
| {{text anchor|ADJ}}
 +
| adj
 +
| The adjective used to describe items made of this metal.
 +
 
 
|-
 
|-
|[COLOR:a:b:c]||Sets the {{L|color}} of the metal. Equivalent to [BUILD_COLOR:a:b:c] and [BASIC_COLOR:a:c].
+
| {{text anchor|COLOR}}
 +
|
 +
* fg
 +
* bg
 +
* bright
 +
| Sets the [[color]] of the metal. Equivalent to {{token|BUILD_COLOR|mt|fg:bg:bright}} and {{token|BASIC_COLOR|mt|fg:bright}}.
 +
 
 
|-
 
|-
|[BUILD_COLOR:a:b:c]||Sets the color of metal objects which use both the foreground and background color, such as {{L|bin}}s, {{L|door}}s, {{L|floodgate}}s, and {{L|cage}}s. Defaults to 0:7:1 (dark gray with light gray background).
+
| {{text anchor|BUILD_COLOR}}
 +
|
 +
* fg
 +
* bg
 +
* bright
 +
| Sets the color of metal objects which use both the foreground and background color, such as [[bin]]s, [[door]]s, [[floodgate]]s, and [[cage]]s. Defaults to 0:7:1 (dark gray with light gray background).
 +
 
 
|-
 
|-
|[BASIC_COLOR:a:b]||Sets the color of metal objects which use only the foreground color, including workshops. Defaults to 0:1 (dark gray).
+
| {{text anchor|BASIC_COLOR}}
 +
|
 +
* fg
 +
* bright
 +
| Sets the color of metal objects which use only the foreground color, including workshops. Defaults to 0:1 (dark gray).
 +
 
 
|-
 
|-
|[VALUE:num]||The {{L|value}} of the metal.
+
| {{text anchor|VALUE}}
 +
| num
 +
| The [[value]] of the metal.
 +
 
 
|-
 
|-
|[DAMAGE_PERC:num]||The weapon damage multiplier (times 100) for the metal. Defaults to 50.
+
| {{text anchor|DAMAGE_PERC}}
 +
| num
 +
| The weapon damage multiplier (times 100) for the metal. Defaults to 50.
 +
 
 
|-
 
|-
|[WEAPON]||Permits making melee weapons (excluding picks) and trap components from the metal.
+
| {{text anchor|WEAPON}}
 +
|
 +
| Permits making melee weapons (excluding picks) and trap components from the metal.
 +
 
 
|-
 
|-
|[WEAPON_RANGED]||Permits making ranged weapons from the metal.
+
| {{text anchor|WEAPON_RANGED}}
 +
|
 +
| Permits making ranged weapons from the metal.
 +
 
 
|-
 
|-
|[BRITTLE]||Disallows making furniture or crafts out of the metal.
+
| {{text anchor|BRITTLE}}
 +
|
 +
| Disallows making furniture or crafts out of the metal. Used for intermediate metals and alloys such as [[bismuth]] and [[pig iron]].
 +
 
 
|-
 
|-
|[WAFERS]||Causes the metal to be produced in wafers instead of bars, tripling the amount normally needed to create items. May be required for making cloth out of the metal.
+
| {{text anchor|WAFERS}}
 +
|
 +
| Causes the metal to be produced in wafers instead of bars, tripling the amount normally needed to create items. May be required for making cloth out of the metal.
 +
 
 
|-
 
|-
|[ANY_USE]||Allows the metal to be made into miscellaneous items like mechanisms.
+
| {{text anchor|ANY_USE}}
 +
|
 +
| Allows the metal to be made into miscellaneous items like mechanisms.
 +
 
 
|-
 
|-
|[DEEP]||Prevents any civilization from having access to the material. Intended for Hidden Fun Stuff.
+
| {{text anchor|DEEP}}
 +
|
 +
| Prevents any civilization from having access to the material. Intended for [[hidden fun stuff]].
 +
 
 
|-
 
|-
|[AMMO]||Permits making ammunition from the metal.
+
| {{text anchor|AMMO}}
 +
|
 +
| Permits making ammunition from the metal.
 +
 
 
|-
 
|-
|[DIGGER]||Permits making mining picks from the metal.
+
| {{text anchor|DIGGER}}
 +
|
 +
| Permits making mining picks from the metal.
 +
 
 
|-
 
|-
|[BLOCK_PERC:num]||The armor blocking multiplier (times 100) for the metal. Defaults to 50.
+
| {{text anchor|BLOCK_PERC}}
 +
| num
 +
| The armor blocking multiplier (times 100) for the metal. Defaults to 50.
 +
 
 
|-
 
|-
|[ARMOR]||Permits making armor from the metal.
+
| {{text anchor|ARMOR}}
 +
|
 +
| Permits making armor from the metal.
 +
 
 
|-
 
|-
|[ANVIL]||Permits making {{L|anvil}}s from the metal.
+
| {{text anchor|ANVIL}}
 +
|
 +
| Permits making [[anvil]]s from the metal.
 +
 
 
|-
 
|-
|[SPEC_HEAT:num]||The specific heat capacity of the metal. Defaults to 450.
+
| {{text anchor|SPEC_HEAT}}
 +
| num
 +
| The specific heat capacity of the metal. Defaults to 450.
 +
 
 
|-
 
|-
|[HEATDAM_POINT:num]||The temperature at which heat will begin to damage the metal. Defaults to NONE.
+
| {{text anchor|HEATDAM_POINT}}
 +
| num
 +
| The temperature at which heat will begin to damage the metal. Defaults to NONE.
 +
 
 
|-
 
|-
|[COLDDAM_POINT:num]||The temperature at which frost will begin to damage the metal. Defaults to NONE.
+
| {{text anchor|COLDDAM_POINT}}
 +
| num
 +
| The temperature at which frost will begin to damage the metal. Defaults to NONE.
 +
 
 
|-
 
|-
|[IGNITE_POINT:num]||The temperature at which the metal will burst into flames. Defaults to NONE.
+
| {{text anchor|IGNITE_POINT}}
 +
| num
 +
| The temperature at which the metal will burst into flames. Defaults to NONE.
 +
 
 
|-
 
|-
|[MELTING_POINT:num]||The temperature at which the metal will melt. Defaults to 12768.
+
| {{text anchor|MELTING_POINT}}
 +
| num
 +
| The temperature at which the metal will melt. Defaults to 12768.
 +
 
 
|-
 
|-
|[BOILING_POINT:num]||The temperature at which the metal will boil into a cloud of vapor. Defaults to 15150.
+
| {{text anchor|BOILING_POINT}}
 +
| num
 +
| The temperature at which the metal will boil into a cloud of vapor. Defaults to 15150.
 +
 
 
|-
 
|-
|[FIXED_TEMP:num]||The temperature this metal emits naturally. Defaults to NONE.
+
| {{text anchor|FIXED_TEMP}}
 +
| num
 +
| The temperature this metal emits naturally. Defaults to NONE.
 +
 
 
|-
 
|-
|[SOLID_DENSITY:num]||The density of the metal when solid. Defaults to 5000.
+
| {{text anchor|SOLID_DENSITY}}
 +
| num
 +
| The density of the metal when solid. Defaults to 5000.
 +
 
 
|-
 
|-
|[LIQUID_DENSITY:num]||The density of the metal when molten. Defaults to 2600.
+
| {{text anchor|LIQUID_DENSITY}}
 +
| num
 +
| The density of the metal when molten. Defaults to 2600.
 
|}
 
|}
  
 
{{Category|Modding}}
 
{{Category|Modding}}
 
{{Category|Tokens}}
 
{{Category|Tokens}}

Latest revision as of 23:48, 24 June 2025

This article is about an older version of DF.

Metals are stored in the matgloss_metal.txt file.

Token Arguments Description
 NAME name The name of the metal.
 ADJ adj The adjective used to describe items made of this metal.
 COLOR
  • fg
  • bg
  • bright
Sets the color of the metal. Equivalent to [BUILD_COLOR:fg:bg:bright] and [BASIC_COLOR:fg:bright].
 BUILD_COLOR
  • fg
  • bg
  • bright
Sets the color of metal objects which use both the foreground and background color, such as bins, doors, floodgates, and cages. Defaults to 0:7:1 (dark gray with light gray background).
 BASIC_COLOR
  • fg
  • bright
Sets the color of metal objects which use only the foreground color, including workshops. Defaults to 0:1 (dark gray).
 VALUE num The value of the metal.
 DAMAGE_PERC num The weapon damage multiplier (times 100) for the metal. Defaults to 50.
 WEAPON Permits making melee weapons (excluding picks) and trap components from the metal.
 WEAPON_RANGED Permits making ranged weapons from the metal.
 BRITTLE Disallows making furniture or crafts out of the metal. Used for intermediate metals and alloys such as bismuth and pig iron.
 WAFERS Causes the metal to be produced in wafers instead of bars, tripling the amount normally needed to create items. May be required for making cloth out of the metal.
 ANY_USE Allows the metal to be made into miscellaneous items like mechanisms.
 DEEP Prevents any civilization from having access to the material. Intended for hidden fun stuff.
 AMMO Permits making ammunition from the metal.
 DIGGER Permits making mining picks from the metal.
 BLOCK_PERC num The armor blocking multiplier (times 100) for the metal. Defaults to 50.
 ARMOR Permits making armor from the metal.
 ANVIL Permits making anvils from the metal.
 SPEC_HEAT num The specific heat capacity of the metal. Defaults to 450.
 HEATDAM_POINT num The temperature at which heat will begin to damage the metal. Defaults to NONE.
 COLDDAM_POINT num The temperature at which frost will begin to damage the metal. Defaults to NONE.
 IGNITE_POINT num The temperature at which the metal will burst into flames. Defaults to NONE.
 MELTING_POINT num The temperature at which the metal will melt. Defaults to 12768.
 BOILING_POINT num The temperature at which the metal will boil into a cloud of vapor. Defaults to 15150.
 FIXED_TEMP num The temperature this metal emits naturally. Defaults to NONE.
 SOLID_DENSITY num The density of the metal when solid. Defaults to 5000.
 LIQUID_DENSITY num The density of the metal when molten. Defaults to 2600.