Skip to content

Commit

Permalink
Minor mapping/modifications of new hist event types
Browse files Browse the repository at this point in the history
  • Loading branch information
PatrikLundell committed Feb 15, 2020
1 parent a09b654 commit 1466ffc
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions df.history.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2515,10 +2515,10 @@
<int32_t name='entity' ref-target='historical_entity' comment='the guild to which the figure belongs?'/>
<int32_t name='source_site' ref-target='world_site'/>
<int32_t name='dest_site' ref-target='world_site'/>
<int32_t/>
<int32_t/>
<int32_t/>
<int32_t comment='value of the trade?'/>
<int32_t name='unk_v47_1' comment='Somehow connected to traded item, but not mat type/index'/>
<int32_t name='unk_v47_2' comment='Somehow connected to traded item, but not mat type/index'/>
<int32_t name='unk_v47_3' comment='Somehow connected to traded item, but not mat type/index'/>
<int32_t name='profit'/>
</class-type>

<class-type type-name='history_event_add_entity_site_profile_flagst' inherits-from='history_event' since='v0.47.01'>
Expand All @@ -2529,7 +2529,7 @@
<class-type type-name='history_event_add_hf_entity_honorst' inherits-from='history_event' since='v0.47.01'>
<int32_t name='entity_id' ref-target='historical_entity'/>
<int32_t name='hfid' ref-target='historical_figure'/>
<int32_t name='honor_id' comment='Name from XML. Currently unknown what it references'/>
<int32_t name='honor_id' comment='index into historical_entity.honors'/>
</class-type>

<class-type type-name='history_event_gamblest' inherits-from='history_event' since='v0.47.01'>
Expand All @@ -2542,10 +2542,10 @@

<class-type type-name='history_event_entity_dissolvedst' inherits-from='history_event' since='v0.47.01'>
<int32_t name='entity' ref-target='historical_entity'/>
<int32_t name='unk_v47_1' comment="Wouldn't be surprised if unk_v47_1, unk_v47_2, and parameter have similar roles as in unit thoughts"/>
<int32_t name='unk_v47_2'/>
<enum base-type='int32_t' name='circumstance' type-name='unit_thought_type' init-value='None'/>
<int32_t name='circumstance_id' init-value='-1'/>
<int32_t name='reason' ref-targe='history_event_reason'/>
<int32_t name='parameter' init-value='-1' comment="Type probably dependent on reason (with 40 it's a hfid)"/>
<int32_t name='reason_id' init-value='-1'/>
</class-type>

<class-type type-name='history_event_entity_equipment_purchasest' inherits-from='history_event' since='v0.47.01'>
Expand All @@ -2558,7 +2558,7 @@

<class-type type-name='history_event_modified_buildingst' inherits-from='history_event' since='v0.47.01'>
<int32_t name='site' ref-target='world_site'/>
<int32_t name='structure'/>
<int32_t name='structure' comment='index into world_site.buildings'/>
<int32_t name='hf' ref-target='historical_figure'/>
<int32_t/> always 12? maybe a reason? history_event_reason::great_fortresses_built_and_tested
<bitfield name='extension_type' base-type='uint32_t'>
Expand Down

0 comments on commit 1466ffc

Please sign in to comment.