Skip to content

Commit

Permalink
move riding_item_id below corpse_parts
Browse files Browse the repository at this point in the history
and add anonymous member visible in unitst::read_file
  • Loading branch information
ab9rf committed Jan 5, 2023
1 parent e0d5668 commit 6b53a1a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions df.units.xml
Original file line number Diff line number Diff line change
Expand Up @@ -753,15 +753,16 @@

<compound name='last_hit' type-name='history_hit_item'/>

<int32_t name='riding_item_id' ref-target='item' since='v0.34.08'/>

<stl-vector name='inventory' pointer-type='unit_inventory_item'/>

<stl-vector name='owned_items' type-name='int32_t' ref-target='item'/>
<stl-vector name='traded_items' comment='items brought to trade depot' type-name='int32_t' ref-target='item'/>
<stl-vector name='owned_buildings' pointer-type='building'/>
<stl-vector name='corpse_parts' comment='entries remain even when items are destroyed' type-name='int32_t' ref-target='item'/>

<int32_t name='riding_item_id' ref-target='item' since='v0.34.08'/>
<int32_t/>

<compound name='job'>
<int32_t name='account'/>
<int32_t name='satisfaction' comment='amount earned recently for jobs'/>
Expand Down

0 comments on commit 6b53a1a

Please sign in to comment.