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: | ||
− | + | An XML dump of a world's history can be generated from [[Legends]] mode. | |
− | |||
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. | ||
− | |||
− | |||
− | |||
== 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. | ||
− | + | Entityies are civilizations, groups (which can found sites/religions/attack/defend), or religions. | |
==historical_events== | ==historical_events== | ||
Line 245: | Line 241: | ||
* 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 - | + | * seconds72 - |
* type - a label indicating what sort of event this is. | * type - a label indicating what sort of event this is. | ||
Line 260: | Line 256: | ||
===add hf site link=== | ===add hf site link=== | ||
− | + | 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 | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
=== attacked site === | === attacked site === | ||
Line 326: | Line 314: | ||
=== created site === | === created site === | ||
− | + | Appears to be the creation of a town (?) | |
* civ_id | * civ_id | ||
* site_civ_id | * site_civ_id | ||
Line 332: | Line 320: | ||
=== created structure === | === created structure === | ||
− | + | 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 349: | ||
* attacker_civ_id | * attacker_civ_id | ||
* defender_civ_id | * defender_civ_id | ||
− | |||
− | |||
− | |||
− | |||
=== entity created === | === entity created === | ||
− | + | No longer used in 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 413: | ||
=== hf razed structure === | === hf razed structure === | ||
− | + | 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 423: | ||
* group_1_hfid | * group_1_hfid | ||
* group_2_hfid | * group_2_hfid | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
* site_id | * site_id | ||
* subregion_id | * subregion_id | ||
Line 502: | Line 473: | ||
'''Explanation needed ''' | '''Explanation needed ''' | ||
''No Parts'' | ''No Parts'' | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
=== new site leader === | === new site leader === | ||
Line 565: | Line 486: | ||
=== razed structure === | === razed structure === | ||
− | + | No longer used in 31.18? | |
− | |||
'''Explanation needed ''' | '''Explanation needed ''' | ||
− | |||
'''Parts needed''' | '''Parts needed''' | ||
Line 579: | Line 498: | ||
=== remove hf site link=== | === remove hf site link=== | ||
− | + | 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 508: | ||
=== 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 taken over === | === site taken over === | ||
− | + | No longer used in 31.18? | |
− | + | '''Explanation needed ''' | |
− | + | '''Parts needed''' | |
− | |||
− | |||
== historical_event_collections == | == historical_event_collections == | ||
Line 617: | Line 521: | ||
* 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, | + | * 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, | + | * 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 627: | ||
Each <historical_era> element contains a name and a start_year element. | Each <historical_era> element contains a name and a start_year element. | ||
− | |||
− |