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 "23a:Gem token"

From Dwarf Fortress Wiki
Jump to navigation Jump to search
(Fixing links within namespace (381/950))
m (from what I understand of the code, multiple rarities would result in it appearing more often, but it would also mess up stockpiling (accepted by both categories) and upgraded gems found during mining (could upgrade to itself))
 
(5 intermediate revisions by the same user not shown)
Line 9: Line 9:
 
|[NAME:singular:plural]||The name of the gem.
 
|[NAME:singular:plural]||The name of the gem.
 
|-
 
|-
|[ORNAMENTAL]||Classifies the gem as an ornamental stone.
+
|[ORNAMENTAL]||Classifies the gem as an ornamental stone. Specifying multiple rarity levels ''is'' possible, but may result in unexpected behavior.
 
|-
 
|-
 
|[SEMI]||Classifies the gem as a semi-precious gem.
 
|[SEMI]||Classifies the gem as a semi-precious gem.
Line 17: Line 17:
 
|[RARE]||Classifies the gem as a rare gem.
 
|[RARE]||Classifies the gem as a rare gem.
 
|-
 
|-
|[GLASS]||Allows rough gems of this type to be used in the production of crystal [[glass]]
+
|[GLASS]||Allows rough gems of this type to be used in the production of crystal [[glass]]. If multiple types of gem have this token, one will be randomly selected.
 
|-
 
|-
|[COLOR:x]||Specifies the [[color]] of the gem. Color is always bright.
+
|[COLOR:x]||Specifies the [[color]] of the gem. Color is always bright. Only colors 1 (blue), 2 (green), 4 (red), and 7 (white) are allowed, and at least one gem of each color+rarity combination '''must''' be defined or the game will hang during embark.
 
|-
 
|-
 
|[VALUE:x]||Specifies the [[Item value#Material multipliers|material multiplier]] of the gem.
 
|[VALUE:x]||Specifies the [[Item value#Material multipliers|material multiplier]] of the gem.

Latest revision as of 21:24, 13 March 2014

This article is about an older version of DF.

Gems are stored in matgloss_gem.txt.

Token Description
[NAME:singular:plural] The name of the gem.
[ORNAMENTAL] Classifies the gem as an ornamental stone. Specifying multiple rarity levels is possible, but may result in unexpected behavior.
[SEMI] Classifies the gem as a semi-precious gem.
[PRECIOUS] Classifies the gem as a precious gem.
[RARE] Classifies the gem as a rare gem.
[GLASS] Allows rough gems of this type to be used in the production of crystal glass. If multiple types of gem have this token, one will be randomly selected.
[COLOR:x] Specifies the color of the gem. Color is always bright. Only colors 1 (blue), 2 (green), 4 (red), and 7 (white) are allowed, and at least one gem of each color+rarity combination must be defined or the game will hang during embark.
[VALUE:x] Specifies the material multiplier of the gem.
[SPEC_HEAT:] The specific heat capacity of the stone. Not actually used - the game hardcodes this value to 1000 for all gems.
[HEATDAM_POINT:] The temperature at which heat will begin to damage the gem.
[COLDDAM_POINT:] The temperature at which frost will begin to damage the gem.
[IGNITE_POINT:] The temperature at which the gem will burst into flames.
[MELTING_POINT:] The temperature at which the gem will melt.
[BOILING_POINT:] The temperature at which the gem will boil into a cloud of vapor.
[FIXED_TEMP:] The temperature this gem emits naturally.