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.

Editing User:Andux/Format research/WORLD.DAT

Jump to navigation Jump to search

Warning: You are not logged in.
Your IP address will be recorded in this page's edit history.


The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.

Latest revision Your text
Line 143: Line 143:
 
|}
 
|}
  
Immediately after the world name come the generated raws and string table.
+
Immediately after the world name come the beast defs and string table.
  
====Generated raws====
+
====Beast defs====
Generated raws are stored in a List of string-lists; each string-list is a List of String structures which contain the raw tags. There may be multiple sections of generated raws, depending on version; in the order they appear in the file, these are:
+
The beast defs are composed of a List of string-lists; each string-list is a List of String structures which contain the raw tags defining a forgotten beast, demon, titan, or night creature.
 
 
{| {{prettytable}}
 
|-
 
! §
 
! [[User:Andux/Format_research#Save_files|save_version]]
 
! Contents
 
|-
 
! 1.
 
| > 1362
 
| MATERIAL raws
 
 
 
|-
 
! 2.
 
| >= 1400
 
| ITEM raws
 
 
 
|-
 
! 3.
 
| >= 1287
 
| CREATURE raws
 
 
 
|-
 
! 4.
 
| > 1362
 
| INTERACTION raws
 
 
 
|}
 
  
 
====String tables====
 
====String tables====
 
The string tables enumerate all the raw section names used by the save.
 
The string tables enumerate all the raw section names used by the save.
  
Each section is a List of String structures containing the name of a raw object; there are a total of 19 or 20 sections, depending on version:
+
Each section is a List of String structures containing the name of a raw object; there are a total of 19 sections:
  
 
# INORGANIC materials
 
# INORGANIC materials
Line 199: Line 172:
 
# BODY_DETAIL_PLAN entries
 
# BODY_DETAIL_PLAN entries
 
# CREATURE_VARIATION types
 
# CREATURE_VARIATION types
# INTERACTION types (if [[User:Andux/Format_research#Save_files|save_version]] > 1372)
 
  
 
===World data===
 
===World data===
Line 836: Line 808:
  
 
======Block info array======
 
======Block info array======
The number of elements in the array is always equal to (region_width * region_height).
+
The number of elements in the array is always equal to (region_width * region_height)
  
 
{| {{prettytable}}
 
{| {{prettytable}}
Line 862: Line 834:
  
 
| int16
 
| int16
| elevation
 
 
|  
 
|  
 +
| ??
 
|-
 
|-
 
| int16
 
| int16
| rainfall
+
|  
| Appears to be a percentage.
+
| ??
 
|-
 
|-
 
| int16
 
| int16
| vegetation
 
 
|  
 
|  
 +
| ??
 
|-
 
|-
 
| int16
 
| int16
| temperature
+
|  
| This is in worldgen temperature units, not in [[Temperature#Temperature_scale|Urists]]. Values may be negative.
+
| ??
 
|-
 
|-
 
| int16
 
| int16
| evil
 
 
|  
 
|  
 +
| ??
 
|-
 
|-
 
| int16
 
| int16
| drainage
+
|  
| Appears to be a percentage.
+
| ??
 
|-
 
|-
 
| int16
 
| int16
| volcanism
+
|  
| Appears to be a percentage.
+
| ??
 
|-
 
|-
 
| int16
 
| int16
| savagery
+
|  
| Appears to be a percentage.
+
| ??
 
|-
 
|-
 
| int16
 
| int16
Line 962: Line 934:
 
|-
 
|-
 
| int16
 
| int16
| GeologyID
+
|  
 
| ??
 
| ??
 
|-
 
|-
  
 
|}
 
|}
Field names based on info from [http://www.bay12forums.com/smf/index.php?topic=86417.msg3461193#msg3461193 Mimos].
 
  
 
======Minimap array======
 
======Minimap array======

Please note that all contributions to Dwarf Fortress Wiki are considered to be released under the GFDL & MIT (see Dwarf Fortress Wiki:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!

To protect the wiki against automated edit spam, we kindly ask you to solve the following CAPTCHA:

Cancel Editing help (opens in new window)

Template used on this page: