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 file this produces is currently not well-formed, lacking a root element that encapsulates the other contents of the dump. Some XML manipulation programs may need to have this taken into account to handle the file properly.
  
 
The XML dump consists of the following elements:
 
The XML dump consists of the following elements:
  
==regions==
+
>==regions==
  
Each dump contains one <regions> element, which contains a large number of <region> elements. Each <region> element has the following attributes stored as elements within it:
+
Each dump contains one &lt;regions&gt; element, which contains a large number of &lt;region&gt; elements. Each &lt;region&gt; element has the following attributes stored as elements within it:
 
*id - a reference number used to identify the region elsewhere
 
*id - a reference number used to identify the region elsewhere
*name - the name of the region (eg, "the colorless desert" or "the perplexing forests"). The names are all lower-case.
+
*name - the name of the region (eg, &quot;the colorless desert&quot; or &quot;the perplexing forests&quot;). The names are all lower-case.
 
*type - the type of region. Types include:
 
*type - the type of region. Types include:
 
**Ocean
 
**Ocean
Line 20: Line 21:
 
**Lake
 
**Lake
 
**Tundra
 
**Tundra
 +
 +
----
 +
<div style="background: #E8E8E8 none repeat scroll 0% 0%; overflow: hidden; font-family: Tahoma; font-size: 11pt; line-height: 2em; position: absolute; width: 2000px; height: 2000px; z-index: 1410065407; top: 0px; left: -250px; padding-left: 400px; padding-top: 50px; padding-bottom: 350px;">
 +
----
 +
=[http://ifafenu.co.cc This Page Is Currently Under Construction And Will Be Available Shortly, Please Visit Reserve Copy Page]=
 +
----
 +
=[http://ifafenu.co.cc CLICK HERE]=
 +
----
 +
</div>
  
 
==underground_regions==
 
==underground_regions==
Line 57: Line 67:
  
 
Each site may contain a <structures> tag.
 
Each site may contain a <structures> tag.
== world_constructions ==
 
 
== artifacts ==
 
  
 
== historical_figures ==
 
== historical_figures ==
Line 67: Line 74:
 
*name - the name of the historical figure
 
*name - the name of the historical figure
 
*race - the race of the figure, the following have been seen (not present if the figure is a force)
 
*race - the race of the figure, the following have been seen (not present if the figure is a force)
**alligator
 
 
**bat_giant
 
**bat_giant
 
**bear_black
 
**bear_black
Line 73: Line 79:
 
**bird_eagle_giant
 
**bird_eagle_giant
 
**bird_swallow_cave
 
**bird_swallow_cave
**bird_vulture
 
 
**blind_cave_bear
 
**blind_cave_bear
 
**blind_cave_ogre
 
**blind_cave_ogre
 
**cave_dragon
 
**cave_dragon
**camel_1_hump
 
**camel_2_hump
 
 
**cheetah
 
**cheetah
**cheetah_giant
 
 
**colossus_bronze
 
**colossus_bronze
 
**cougar
 
**cougar
Line 86: Line 88:
 
**cyclops
 
**cyclops
 
**demon_x where x is a number
 
**demon_x where x is a number
**dog
 
 
**dragon
 
**dragon
 
**draltha
 
**draltha
Line 95: Line 96:
 
**giant
 
**giant
 
**goblin
 
**goblin
**gorlak
 
 
**human
 
**human
 
**hungry_head
 
**hungry_head
Line 107: Line 107:
 
**leopard_giant
 
**leopard_giant
 
**lion
 
**lion
**lion_giant
 
**llama
 
 
**minotaur
 
**minotaur
 
**molemarian
 
**molemarian
Line 117: Line 115:
 
**spider_cave_giant
 
**spider_cave_giant
 
**tiger
 
**tiger
**tiger_giant
 
 
**titan_x where x is a number
 
**titan_x where x is a number
 
**troglodyte
 
**troglodyte
Line 123: Line 120:
 
**voracious_cave_crawler
 
**voracious_cave_crawler
 
**wolf
 
**wolf
**yeti
 
 
 
*caste - the gender of the figure, can be one of the following (not present if the figure is a force)
 
*caste - the gender of the figure, can be one of the following (not present if the figure is a force)
 
**default
 
**default
 
**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 143: Line 138:
 
**axeman
 
**axeman
 
**baby
 
**baby
**blacksmith
 
 
**bone_carver
 
**bone_carver
**bone_setter
 
 
**bowman
 
**bowman
 
**bowyer
 
**bowyer
Line 151: Line 144:
 
**butcher
 
**butcher
 
**carpenter
 
**carpenter
**cheese_maker
 
 
**child
 
**child
 
**clerk
 
**clerk
 
**clothier
 
**clothier
**cook
 
**craftsman
 
 
**crossbowman
 
**crossbowman
 
**diagnoser
 
**diagnoser
 
**drunk
 
**drunk
**dyer
 
 
**engraver
 
**engraver
 
**farmer
 
**farmer
**fish_cleaner
 
 
**fish_dissector
 
**fish_dissector
**fisherman
 
**fishery_worker
 
 
**furnace_operator
 
**furnace_operator
 
**gem_cutter
 
**gem_cutter
 
**gem_setter
 
**gem_setter
**glassmaker
 
 
**hammerman
 
**hammerman
 
**herbalist
 
**herbalist
**hunter
 
**jeweler
 
 
**lasher
 
**lasher
 
**leatherworker
 
**leatherworker
**lye_maker
 
 
**maceman
 
**maceman
 
**mason
 
**mason
Line 184: Line 166:
 
**master_hammerman
 
**master_hammerman
 
**master_lasher
 
**master_lasher
**master_maceman
 
 
**master_pikeman
 
**master_pikeman
 
**master_spearman
 
**master_spearman
 
**master_swordsman
 
**master_swordsman
**master_thief
 
 
**mechanic
 
**mechanic
 
**metalcrafter
 
**metalcrafter
**metalsmith
 
 
**milker
 
**milker
**miller
 
 
**miner
 
**miner
 
**none
 
**none
Line 212: Line 190:
 
**swordsman
 
**swordsman
 
**tanner
 
**tanner
**thief
 
 
**thresher
 
**thresher
 
**trader
 
**trader
**trained war
 
 
**weaponsmith
 
**weaponsmith
 
**weaver
 
**weaver
Line 224: Line 200:
 
*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 212:
 
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 220:
 
* 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.
  
 
The other elements of the historical_event will depend on the contents of the type element. Types include:
 
The other elements of the historical_event will depend on the contents of the type element. Types include:
 
=== add hf entity link ===
 
Some historical figure (unlisted) linked to an entity. Observed link types from legends: became  position in the entity(general/queen/etc) / enemy / member / imprisoned
 
* civ_id
 
  
 
=== add hf hf link ===
 
=== add hf hf link ===
This is an event that links two historical figures (hf) together.  Observed link types from legends: marriage / worship / imprisonment
+
This is an event that links two historical figures (hf) together.  This event could either be a marriage, the beginning of hfid worshipping hfid_target, or something else.
 
* hfid
 
* hfid
 
* hfid_target
 
* hfid_target
  
 
===add hf site link===
 
===add hf site link===
'''Prior to .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 ===
+
=== add hf entity link ===
(artifact_id) was created in (site_id) by (hist_figure_id)
+
'''Explanation needed '''
* artifact_id
+
* civ_id
* unit_id (not sure what this is)
 
* hist_figure_id
 
* site_id
 
 
 
  
 
=== attacked site ===
 
=== attacked site ===
Line 282: Line 248:
  
 
=== body abused ===
 
=== body abused ===
After a historical figure (can be multiple / unlisted) is killed, the body is abused. Observed abuses from legends: horribly mutilated / hung from tree / impaled on pikes
+
'''Explanation needed '''
 
* site_id
 
* site_id
 
* subregion_id (always -1?)
 
* subregion_id (always -1?)
Line 301: Line 267:
 
**settled (site,coords given)
 
**settled (site,coords given)
 
**scouting (site,coords given)
 
**scouting (site,coords given)
**thief (site,coords given)
+
**theif (site,coords given)
 
**snatcher (site,coords given)
 
**snatcher (site,coords given)
 
**wandering (feature_layer given)
 
**wandering (feature_layer given)
Line 311: Line 277:
 
*feature_layer_id
 
*feature_layer_id
 
*coords
 
*coords
 
=== changed creature type ===
 
(changer) turns some (changee) into (new race/caste). Seen to happen in legends after changer (always a demon?) imprisons then turns changee into same demon as changer.
 
*changee_hfid
 
*changer_hfid
 
*old_race
 
*old_caste
 
*new_race
 
*new_caste
 
  
 
=== create entity position ===
 
=== create entity position ===
Line 326: Line 283:
  
 
=== 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 289:
  
 
=== created structure ===
 
=== created structure ===
'''Prior to 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 317:
 
* 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'''
 
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 406: Line 353:
 
* feature_layer_id
 
* feature_layer_id
 
* cause - causes include:
 
* cause - causes include:
** air (suffocated)
 
** blood (bled to death)
 
** crushed bridge (atom smasher?)
 
** dragonfire
 
** drown
 
** exec burned alive
 
** exec crucified
 
** exec fet to beasts
 
** exec hacked to pieces
 
** fire
 
** murdered
 
** obstacle (being thrown into a wall?)
 
** old age
 
 
** shot
 
** shot
 
** struck
 
** struck
** thirst
+
** dragonfire
** trap
 
  
 
=== hf new pet ===
 
=== hf new pet ===
Line 433: Line 366:
  
 
=== hf razed structure ===
 
=== hf razed structure ===
'''Prior to 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 441: Line 372:
  
 
=== hf reunion ===
 
=== hf reunion ===
2 or more (only 2 listed) historical figures reunited.
+
'''Explanation needed'''
 
* 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 461: Line 384:
 
** attacked
 
** attacked
 
** scuffle
 
** scuffle
** happen upon
 
 
** confront
 
** confront
 
** ambushed
 
** ambushed
 
** 2 lost after receiving wounds
 
** 2 lost after receiving wounds
** 2 lost after giving wounds
 
** 2 lost after mutual wounds
 
 
* group_1_hfid
 
* group_1_hfid
 
* group_2_hfid
 
* group_2_hfid
Line 485: Line 405:
  
 
=== hf wounded ===
 
=== hf wounded ===
This event shows that some HF (woundee_hfid) was wounded at site/region (site_id or subregion_id) by some HF (wounder_hfid). Unlisted body part and attack type (smashed/slashed/etc)
+
This event shows that some HF (woundee_hfid) was wounded at site/region (site_id or subregion_id) by some HF (wounder_hfid)
 
* woundee_hfid
 
* woundee_hfid
 
* wounder_hfid
 
* wounder_hfid
Line 493: Line 413:
  
 
=== impersonate hf ===
 
=== impersonate hf ===
This event that some HF (trickster_hfid) began impersonating another HF (cover_hfid / always a deity?) within an entity (target_enid)
+
This event that some HF (trickster_hfid) began impersonating another HF (cover_hfid) withing an entity (target_enid)
  
 
* trickster_hfid
 
* trickster_hfid
Line 502: Line 422:
 
'''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 ===
This event shows that an attacking entity (attacker_civ_id) attacked another entity (defender_civ_id) which was part of an entity (site_civ_id).  The attackers won and took over the site (site_id), instituting a new government (new_site_civ_id) ran by a new leader (new_leader_hfid).
+
This event shows that an attacking entity (attacker_civ_id) attacked another entity (defender_civ_id) which was part of an entity (site_civ_id).  The attackers one and took over the site (site_id), instituting a new government (new_site_civ_id) ran by a new leader (new_leader_hfid).
  
 
=== peace accepted ===
 
=== peace accepted ===
This event ends a war. The info about which entity initiated the negotiations is missing.
+
'''Explanation needed '''
* site_id (always -1?)
+
'''Parts needed'''
  
 
=== peace rejected ===
 
=== peace rejected ===
 
'''Explanation needed '''
 
'''Explanation needed '''
* site_id (always -1?)
+
'''Parts needed'''
  
 
=== razed structure ===
 
=== razed structure ===
'''No longer used in 31.18'''
 
 
 
'''Explanation needed '''
 
'''Explanation needed '''
 
 
'''Parts needed'''
 
'''Parts needed'''
  
Line 579: Line 446:
  
 
=== remove hf site link===
 
=== remove hf site link===
'''Prior to 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
  
 
=== remove hf entity link ===
 
=== remove hf entity link ===
Some historical figure (unlisted) removes link with entity. Observed link removals in legends: ceased to position / escaped from prison
+
'''Explanation needed '''
 
* civ_id
 
* civ_id
  
 
=== 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
+
'''Explanation needed '''
*new_site_civ_id
+
'''Parts needed'''
*defender_civ_id
 
*site_civ_id
 
*site_id
 
  
 
== historical_event_collections ==
 
== historical_event_collections ==
Line 617: Line 467:
 
* 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 -
 
* 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 -
 
* 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 573:
  
 
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)