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 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 | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
=== attacked site === | === attacked site === | ||
Line 362: | Line 350: | ||
* attacker_civ_id | * attacker_civ_id | ||
* defender_civ_id | * defender_civ_id | ||
− | |||
− | |||
− | |||
− | |||
=== entity created === | === entity created === | ||
Line 444: | Line 428: | ||
* group_1_hfid | * group_1_hfid | ||
* group_2_hfid | * group_2_hfid | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
* site_id | * site_id | ||
* subregion_id | * subregion_id | ||
Line 502: | Line 478: | ||
'''Explanation needed ''' | '''Explanation needed ''' | ||
''No Parts'' | ''No Parts'' | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
=== new site leader === | === new site leader === | ||
Line 590: | Line 516: | ||
=== 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 529: | ||
* 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 635: | ||
Each <historical_era> element contains a name and a start_year element. | Each <historical_era> element contains a name and a start_year element. | ||
− | |||
− |