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 "World token"

From Dwarf Fortress Wiki
Jump to navigation Jump to search
m (→‎World Token Index: Fixed broken link)
 
(11 intermediate revisions by 6 users not shown)
Line 1: Line 1:
{{Quality|Fine|01:11, 4 February 2015 (UTC)}}
+
{{Quality|Fine}}
 
{{av}}
 
{{av}}
{{old}}
+
{{Modding}}
 
+
'''World tokens''' are used to define the [[Advanced_world_generation#Parameter_sets|parameter sets]] used in creating worlds, which are stored in <tt>prefs/world_gen.txt</tt>, though the file might not exist until you save a parameter set. You can change all of these in-game in the world generation menu by entering ''Detailed mode'', or by editing the plain-text file directly. For information on generating worlds with particular geographic features, see [[Advanced world generation]].
'''World tokens''' are used to store world parameter settings used in creating custom worlds. Parameter settings are stored in ''world_gen.txt'', found in the ''\data\init\'' folder. You can change all of these in-game in the world generation menu by editing advanced parameters, or by editing the file directly. For information on generating worlds with particular geographic features, see [[Advanced world generation]].
 
  
 
=World Token Index=
 
=World Token Index=
Line 36: Line 35:
 
:[[Advanced_world_generation#Terrain_Mesh_Sizes_and_Weights|[SAVAGERY_FREQUENCY:5:1:1:1:1:1]]]
 
:[[Advanced_world_generation#Terrain_Mesh_Sizes_and_Weights|[SAVAGERY_FREQUENCY:5:1:1:1:1:1]]]
 
:[[Advanced_world_generation#Terrain_Mesh_Sizes_and_Weights|[VOLCANISM_FREQUENCY:1:1:1:1:1:1]]]
 
:[[Advanced_world_generation#Terrain_Mesh_Sizes_and_Weights|[VOLCANISM_FREQUENCY:1:1:1:1:1:1]]]
 +
:[[Advanced_world_generation#Poles|[POLE:NORTH_AND_OR_SOUTH]]]
 
:[[Advanced_world_generation#Mineral_Scarcity|[MINERAL_SCARCITY:2500]]]
 
:[[Advanced_world_generation#Mineral_Scarcity|[MINERAL_SCARCITY:2500]]]
 
:[[Advanced_world_generation#Max_Megabeast_Caves|[MEGABEAST_CAP:10]]]
 
:[[Advanced_world_generation#Max_Megabeast_Caves|[MEGABEAST_CAP:10]]]
Line 42: Line 42:
 
:[[Advanced_world_generation#Titan_Parameters|[TITAN_ATTACK_TRIGGER:80:10:100000]]]
 
:[[Advanced_world_generation#Titan_Parameters|[TITAN_ATTACK_TRIGGER:80:10:100000]]]
 
:[[Advanced_world_generation#Number_of_Demon_Types|[DEMON_NUMBER:52]]]
 
:[[Advanced_world_generation#Number_of_Demon_Types|[DEMON_NUMBER:52]]]
:[NIGHT_TROLL_NUMBER:14] <br/>
+
:[[Advanced_world_generation#Number_of_Night_Troll_Types|[NIGHT_TROLL_NUMBER:14]]]
:[BOGEYMAN_NUMBER:14] <br/>
+
:[[Advanced_world_generation#Number_of_Bogeyman_Types|[BOGEYMAN_NUMBER:14]]]
:[VAMPIRE_NUMBER:14] <br/>
+
:[[Advanced_world_generation#Number_of_Nightmare_Types|[NIGHTMARE_NUMBER:10]]]
:[WEREBEAST_NUMBER:14] <br/>
+
:[[Advanced_world_generation#Number_of_Vampire_Curse_Types|[VAMPIRE_NUMBER:14]]]
:[SECRET_NUMBER:28] <br/>
+
:[[Advanced_world_generation#Werebeast_Parameters|[WEREBEAST_NUMBER:14]]]
:[REGIONAL_INTERACTION_NUMBER:28] <br/>
+
:[[Advanced_world_generation#Werebeast_Parameters|[WEREBEAST_ATTACK_TRIGGER:2:2:2]]]
:[DISTURBANCE_INTERACTION_NUMBER:28] <br/>
+
:[[Advanced_world_generation#Number_of_Secret_Types|[SECRET_NUMBER:28]]]
:[EVIL_CLOUD_NUMBER:14] <br/>
+
:[[Advanced_world_generation#Number_of_Regional_Interaction_Types|[REGIONAL_INTERACTION_NUMBER:28]]]
:[EVIL_RAIN_NUMBER:14] <br/>
+
:[[Advanced_world_generation#Number_of_Disturbance_Interaction_Types|[DISTURBANCE_INTERACTION_NUMBER:28]]]
:[[Advanced_world_generation#Number_of_Night_Creature_Types|[NIGHT_CREATURE_NUMBER:52]]]
+
:[[Advanced_world_generation#Number_of_Evil_Cloud_Types|[EVIL_CLOUD_NUMBER:14]]]
 +
:[[Advanced_world_generation#Number_of_Evil_Rain_Types|[EVIL_RAIN_NUMBER:14]]]
 +
:[[Advanced_world_generation#Generate_Divine_Materials|[GENERATE_DIVINE_MATERIALS:1]]]
 +
:[[Advanced_world_generation#Allow_Divination.2C_Experiments.2C_and_Necromancy_types|[ALLOW_DIVINATION:1]]]
 +
:[[Advanced_world_generation#Allow_Divination.2C_Experiments.2C_and_Necromancy_types|[ALLOW_DEMONIC_EXPERIMENTS:1]]]
 +
:[[Advanced_world_generation#Allow_Divination.2C_Experiments.2C_and_Necromancy_types|[ALLOW_NECROMANCER_EXPERIMENTS:1]]]
 +
:[[Advanced_world_generation#Allow_Divination.2C_Experiments.2C_and_Necromancy_types|[ALLOW_NECROMANCER_LIEUTENANTS:1]]]
 +
:[[Advanced_world_generation#Allow_Divination.2C_Experiments.2C_and_Necromancy_types|[ALLOW_NECROMANCER_GHOULS:1]]]
 +
:[[Advanced_world_generation#Allow_Divination.2C_Experiments.2C_and_Necromancy_types|[ALLOW_NECROMANCER_SUMMONS:1]]]
 
:[[Advanced_world_generation#Desired_Good.2FEvil_Square_Counts|[GOOD_SQ_COUNTS:100:1000:2000]]]
 
:[[Advanced_world_generation#Desired_Good.2FEvil_Square_Counts|[GOOD_SQ_COUNTS:100:1000:2000]]]
 
:[[Advanced_world_generation#Desired_Good.2FEvil_Square_Counts|[EVIL_SQ_COUNTS:100:1000:2000]]]
 
:[[Advanced_world_generation#Desired_Good.2FEvil_Square_Counts|[EVIL_SQ_COUNTS:100:1000:2000]]]
Line 110: Line 118:
 
{{Category|Tokens}}
 
{{Category|Tokens}}
 
{{Category|World}}
 
{{Category|World}}
 +
[[ru:World token]]

Latest revision as of 16:23, 2 April 2024

This article is about the current version of DF.
Note that some content may still need to be updated.


World tokens are used to define the parameter sets used in creating worlds, which are stored in prefs/world_gen.txt, though the file might not exist until you save a parameter set. You can change all of these in-game in the world generation menu by entering Detailed mode, or by editing the plain-text file directly. For information on generating worlds with particular geographic features, see Advanced world generation.

World Token Index[edit]

Select the token you want documentation on and you will be taken to the proper section of the Advanced world generation documentation. Note that the tokens are listed in the same order that the game saves (saved) them in.


[WORLD_GEN]

[TITLE:EXAMPLE]
[CUSTOM_NAME:Realm of Cheese Engravings]
[SEED:31337]
[HISTORY_SEED:31337]
[NAME_SEED:31337]
[CREATURE_SEED:31337]
[DIM:257:257]
[EMBARK_POINTS:1274]
[END_YEAR:1050]
[BEAST_END_YEAR:300:80]
[REVEAL_ALL_HISTORY:1]
[CULL_HISTORICAL_FIGURES:1]
[ELEVATION:1:400:800:800]
[RAINFALL:0:100:400:400]
[TEMPERATURE:25:75:400:400]
[DRAINAGE:0:100:400:400]
[VOLCANISM:0:100:400:400]
[SAVAGERY:0:100:400:400]
[ELEVATION_FREQUENCY:2:1:2:3:3:4]
[RAIN_FREQUENCY:3:1:1:1:1:1]
[DRAINAGE_FREQUENCY:4:1:1:1:1:1]
[TEMPERATURE_FREQUENCY:1:1:1:1:1:1]
[SAVAGERY_FREQUENCY:5:1:1:1:1:1]
[VOLCANISM_FREQUENCY:1:1:1:1:1:1]
[POLE:NORTH_AND_OR_SOUTH]
[MINERAL_SCARCITY:2500]
[MEGABEAST_CAP:10]
[SEMIMEGABEAST_CAP:11]
[TITAN_NUMBER:33]
[TITAN_ATTACK_TRIGGER:80:10:100000]
[DEMON_NUMBER:52]
[NIGHT_TROLL_NUMBER:14]
[BOGEYMAN_NUMBER:14]
[NIGHTMARE_NUMBER:10]
[VAMPIRE_NUMBER:14]
[WEREBEAST_NUMBER:14]
[WEREBEAST_ATTACK_TRIGGER:2:2:2]
[SECRET_NUMBER:28]
[REGIONAL_INTERACTION_NUMBER:28]
[DISTURBANCE_INTERACTION_NUMBER:28]
[EVIL_CLOUD_NUMBER:14]
[EVIL_RAIN_NUMBER:14]
[GENERATE_DIVINE_MATERIALS:1]
[ALLOW_DIVINATION:1]
[ALLOW_DEMONIC_EXPERIMENTS:1]
[ALLOW_NECROMANCER_EXPERIMENTS:1]
[ALLOW_NECROMANCER_LIEUTENANTS:1]
[ALLOW_NECROMANCER_GHOULS:1]
[ALLOW_NECROMANCER_SUMMONS:1]
[GOOD_SQ_COUNTS:100:1000:2000]
[EVIL_SQ_COUNTS:100:1000:2000]
[PEAK_NUMBER_MIN:1]
[PARTIAL_OCEAN_EDGE_MIN:1]
[COMPLETE_OCEAN_EDGE_MIN:1]
[VOLCANO_MIN:1]
[REGION_COUNTS:SWAMP:1:1:1]
[REGION_COUNTS:DESERT:1:1:1]
[REGION_COUNTS:FOREST:1:1:1]
[REGION_COUNTS:MOUNTAINS:1:1:1]
[REGION_COUNTS:OCEAN:1:1:1]
[REGION_COUNTS:GLACIER:1:1:1]
[REGION_COUNTS:TUNDRA:1:1:1]
[REGION_COUNTS:GRASSLAND:1:1:1]
[REGION_COUNTS:HILLS:1:1:1]
[EROSION_CYCLE_COUNT:50]
[RIVER_MINS:1:1]
[PERIODICALLY_ERODE_EXTREMES:1]
[OROGRAPHIC_PRECIPITATION:1]
[SUBREGION_MAX:2750]
[CAVERN_LAYER_COUNT:3]
[CAVERN_LAYER_OPENNESS_MIN:0]
[CAVERN_LAYER_OPENNESS_MAX:100]
[CAVERN_LAYER_PASSAGE_DENSITY_MIN:0]
[CAVERN_LAYER_PASSAGE_DENSITY_MAX:100]
[CAVERN_LAYER_WATER_MIN:0]
[CAVERN_LAYER_WATER_MAX:100]
[HAVE_BOTTOM_LAYER_1:1]
[HAVE_BOTTOM_LAYER_2:1]
[LEVELS_ABOVE_GROUND:15]
[LEVELS_ABOVE_LAYER_1:5]
[LEVELS_ABOVE_LAYER_2:1]
[LEVELS_ABOVE_LAYER_3:1]
[LEVELS_ABOVE_LAYER_4:1]
[LEVELS_ABOVE_LAYER_5:2]
[LEVELS_AT_BOTTOM:1]
[CAVE_MIN_SIZE:5]
[CAVE_MAX_SIZE:25]
[MOUNTAIN_CAVE_MIN:1]
[NON_MOUNTAIN_CAVE_MIN:1]
[ALL_CAVES_VISIBLE:0]
[SHOW_EMBARK_TUNNEL:0]
[TOTAL_CIV_NUMBER:40]
[TOTAL_CIV_POPULATION:100000]
[SITE_CAP:100000]
[PLAYABLE_CIVILIZATION_REQUIRED:0]
[ELEVATION_RANGES:1:1:1]
[RAIN_RANGES:1:1:1]
[DRAINAGE_RANGES:1:1:1]
[SAVAGERY_RANGES:1:1:1]
[VOLCANISM_RANGES:1:1:1]

Also see Editing the Parameters File Directly.