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
(updated for v50+)
(added link to parameter sets section and matched filename style with that)
Line 3: Line 3:
 
{{Modding}}
 
{{Modding}}
  
'''World tokens''' are used to define parameter sets used in creating worlds. Parameter sets are stored in ''world_gen.txt'', found in the ''\prefs\'' folder, 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 file directly. For information on generating worlds with particular geographic features, see [[Advanced world generation]].
+
'''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 Token Index=
 
=World Token Index=

Revision as of 05:58, 25 September 2023

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

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.