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 v0.31:XML dump

Jump to navigation Jump to search

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

You are editing a page for an older version of Dwarf Fortress ("Main" is the current version, not "v0.31"). Please make sure you intend to do this. If you are here by mistake, see the current page instead.

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 1: Line 1:
{{av}}
+
An XML dump of a world's history can be generated from [[Legends]] mode.
{{quality|Exceptional|02:38, 30 April 2011 (UTC)}}An XML dump of a world's history can be generated from [[Legends]] mode by pressing [x], and will be placed in the ''Dwarf Fortress'' root folder.
 
  
 
The XML dump consists of the following elements:
 
The XML dump consists of the following elements:
Line 57: Line 56:
  
 
Each site may contain a <structures> tag.
 
Each site may contain a <structures> tag.
== world_constructions ==
 
 
== artifacts ==
 
  
 
== historical_figures ==
 
== historical_figures ==
Line 129: Line 125:
 
**female
 
**female
 
**male
 
**male
*appeared - unknown, seems to be related to apperance in the world, sometimes appeared and birth_year are different, mostly (~80%) the same.
+
*appeared - unknown, seems to be related to apperance in the world, sometimes appeared and birth_year are different, mostly the same.
 
*birth_year - the year of the figure's birth, can be negative value (to indicate figure existing before the beginning of the world?)
 
*birth_year - the year of the figure's birth, can be negative value (to indicate figure existing before the beginning of the world?)
 
*birth_seconds72 - unknown
 
*birth_seconds72 - unknown
Line 224: Line 220:
 
*deity - indicator (does not contain any value) to show if the figure is a deity or not.   
 
*deity - indicator (does not contain any value) to show if the figure is a deity or not.   
 
*skeleton - indicator (does not contain any value) to show if the figure is a skeleton or not.   
 
*skeleton - indicator (does not contain any value) to show if the figure is a skeleton or not.   
*zombie - indicator (does not contain any value) to show if the figure is a zombie or not. 
 
 
*force - indicator (does not contain any value) to show if the figure is a force.  If this node is present, this figure will lack the race and caste nodes.
 
*force - indicator (does not contain any value) to show if the figure is a force.  If this node is present, this figure will lack the race and caste nodes.
  
Line 237: Line 232:
 
Each <entity> element contains an id tag, and may also contain a name tag.
 
Each <entity> element contains an id tag, and may also contain a name tag.
  
Entities are civilizations, groups (which can found sites/religions/attack/defend), or religions.
+
Entityies are civilizations, groups (which can found sites/religions/attack/defend), or religions.
  
 
==historical_events==
 
==historical_events==
Line 245: Line 240:
 
* id - a reference number
 
* id - a reference number
 
* year - the year in which the event took place
 
* year - the year in which the event took place
* seconds72 - the point in the year when it took place.  There are 403200 seconds in a year, so a value of 394800 would be a week before the end of the year
+
* seconds72 -
 
* type - a label indicating what sort of event this is.
 
* type - a label indicating what sort of event this is.
  
Line 260: Line 255:
  
 
===add hf site link===
 
===add hf site link===
'''Prior to .31.18'''
+
No longer used in 31.18?
 
This event shows that some (unexported) HF took up residence in some site (site_id)
 
This event shows that some (unexported) HF took up residence in some site (site_id)
 
* site_id
 
* site_id
 
=== artifact created ===
 
(artifact_id) was created in (site_id) by (hist_figure_id)
 
* artifact_id
 
* unit_id (not sure what this is)
 
* hist_figure_id
 
* site_id
 
 
  
 
=== attacked site ===
 
=== attacked site ===
Line 326: Line 313:
  
 
=== created site ===
 
=== created site ===
The founding of a site by site_civ_id, which is a group that is a member of civ_id.
+
Appears to be the creation of a town (?)
 
* civ_id
 
* civ_id
 
* site_civ_id
 
* site_civ_id
Line 332: Line 319:
  
 
=== created structure ===
 
=== created structure ===
'''Prior to 31.18'''
+
No longer used in 31.18?
 
 
 
Some entity (site_civ_id) of entity/civ (civ_id) built structure (structure_id) at some site (site_id)
 
Some entity (site_civ_id) of entity/civ (civ_id) built structure (structure_id) at some site (site_id)
 
* civ_id  - identifies an entity that makes up the second part of the Civ name (i.e. the 'X' in "Y of X")
 
* civ_id  - identifies an entity that makes up the second part of the Civ name (i.e. the 'X' in "Y of X")
Line 362: Line 348:
 
* attacker_civ_id
 
* attacker_civ_id
 
* defender_civ_id
 
* defender_civ_id
 
=== diplomat lost ===
 
(unknown entity) lost a diplomat at (unknown site). They suspected the involvement of (unknown entity);
 
* No details exported.
 
  
 
=== entity created ===
 
=== entity created ===
'''.31.18'''
+
No longer used in 31.18?
Appears as an event in the xml file relating to the player founding a site in dwarf fortress mode. Showing your embark group entity_id being created at your fortress site - site_id
 
 
 
'''Prior to .31.18'''
 
 
This event makrs the creation of an entity (entity_id) at some site (site_id).   
 
This event makrs the creation of an entity (entity_id) at some site (site_id).   
 
This could be either a group which leaves and possibly founds another site, or this could be a religion being founded.
 
This could be either a group which leaves and possibly founds another site, or this could be a religion being founded.
Line 433: Line 412:
  
 
=== hf razed structure ===
 
=== hf razed structure ===
'''Prior to 31.18'''
+
No long used in 31.18?
 
 
 
Some HF (hist_fig_id) razed a structure (structure_id) at some site (site_id)
 
Some HF (hist_fig_id) razed a structure (structure_id) at some site (site_id)
 
* hist_fig_id
 
* hist_fig_id
Line 444: Line 422:
 
* group_1_hfid
 
* group_1_hfid
 
* group_2_hfid
 
* group_2_hfid
* site_id
 
* subregion_id
 
* feature_layer_id
 
 
=== hf revived ===
 
(hfid) comes back from the dead as a (ghost) in (site_id)
 
* hfid
 
* ghost
 
 
* site_id
 
* site_id
 
* subregion_id
 
* subregion_id
Line 502: Line 472:
 
'''Explanation needed '''
 
'''Explanation needed '''
 
''No Parts''
 
''No Parts''
 
=== masterpiece arch constructed ===
 
(hfid) constructed a masterpiece (unknown) architecture for (entity_id) at (site_id)
 
* hfid
 
* entity_id
 
* site_id
 
* skill_at_time
 
 
=== masterpiece arch design ===
 
(hfid) designed a masterpiece (unknown) architecture for (entity_id) at (site_id)
 
* hfid
 
* entity_id
 
* site_id
 
* skill_at_time
 
 
=== masterpiece engraving ===
 
(hfid) created a masterful engraving for (entity_id) in (site_id)
 
* hfid
 
* entity_id
 
* site_id
 
* skill_at_time
 
 
=== masterpiece food ===
 
(hfid) prepared a masterful (UNKNOWN) for (entity_id) in (site_id)
 
* hfid
 
* entity_id
 
* site_id
 
* skill_at_time
 
 
=== masterpiece item ===
 
(hfid) created a masterful (UNKNOWN) for (entity_id) in (site_id)
 
* hfid
 
* entity_id
 
* site_id
 
* skill_at_time
 
 
=== masterpiece item improvement ===
 
(hfid) added masterful (UNKNOWN) to a (UNKNOWN) for (entity_id) in (site_id)
 
* hfid
 
* entity_id
 
* site_id
 
* skill_at_time
 
 
=== masterpiece lost ===
 
'''Details Needed'''
 
*Nothing Exported
 
 
=== merchant ===
 
'''Details Needed'''
 
*Nothing exported
 
  
 
=== new site leader ===
 
=== new site leader ===
Line 565: Line 485:
  
 
=== razed structure ===
 
=== razed structure ===
'''No longer used in 31.18'''
+
No longer used in 31.18?
 
 
 
'''Explanation needed '''
 
'''Explanation needed '''
 
 
'''Parts needed'''
 
'''Parts needed'''
  
Line 579: Line 497:
  
 
=== remove hf site link===
 
=== remove hf site link===
'''Prior to 31.18'''
+
No longer used in 31.18?
 
 
 
This event shows that some HF (unexported) moved out of site_id.
 
This event shows that some HF (unexported) moved out of site_id.
 
* site_id
 
* site_id
Line 590: Line 507:
 
=== replaced structure ===
 
=== replaced structure ===
 
This event shows that an entity (site_civ_id) a member of another entity (civ_id) replaced a structure type (old_ab_id) with another structure type (new_ab_id) at a site (site_id).  This normally (only?) happens when a civ replaces buildings (homes) with larger buildings
 
This event shows that an entity (site_civ_id) a member of another entity (civ_id) replaced a structure type (old_ab_id) with another structure type (new_ab_id) at a site (site_id).  This normally (only?) happens when a civ replaces buildings (homes) with larger buildings
 
=== site abandoned ===
 
(site_civ_id) of (civ_id) abandoned the settlement at (site_id)
 
*civ_id
 
*site_civ_id
 
*site_id
 
 
=== site died ===
 
(site_civ_id) and (civ_id) settlement of (site_id) withered.
 
*civ_id
 
*site_civ_id
 
*site_id
 
  
 
=== site taken over ===
 
=== site taken over ===
*attacker_civ_id
+
No longer used in 31.18?
*new_site_civ_id
+
'''Explanation needed '''
*defender_civ_id
+
'''Parts needed'''
*site_civ_id
 
*site_id
 
  
 
== historical_event_collections ==
 
== historical_event_collections ==
Line 617: Line 520:
 
* id - a reference number
 
* id - a reference number
 
* start_year - the year in which the event collection started
 
* start_year - the year in which the event collection started
* start_seconds72 - the date of the year, in seconds. There are 403200 seconds in a year, 1200 seconds in a day, 28 days in a month, and 12 months in a year.
+
* start_seconds72 - the date of the year, format unknown. seconds since 01.01?
 
* end_year - the year in which the event collection ended
 
* end_year - the year in which the event collection ended
* start_seconds72 - the date of the year, in seconds. There are 403200 seconds in a year, 1200 seconds in a day, 28 days in a month, and 12 months in a year.
+
* start_seconds72 - the date of the year, format unknown. seconds since 01.01?
 
* event - one or more events which are part of this collection
 
* event - one or more events which are part of this collection
 
* type - the type of event collection this is (the different types are listed below)
 
* type - the type of event collection this is (the different types are listed below)
Line 723: Line 626:
  
 
Each <historical_era> element contains a name and a start_year element.
 
Each <historical_era> element contains a name and a start_year element.
 
{{Category|Guides}}
 

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)