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 237: Line 233:
 
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 263: Line 259:
 
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 362: Line 350:
 
* 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 414:
  
 
=== 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 424:
 
* 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 474:
 
'''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 487:
  
 
=== 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 499:
  
 
=== 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 509:
 
=== 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 522:
 
* 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 628:
  
 
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)