Skip to content

Commit

Permalink
Add some ghost info from Urist Da Vinci.
Browse files Browse the repository at this point in the history
  • Loading branch information
angavrilov committed Dec 4, 2012
1 parent 53ffa46 commit 784e72c
Showing 1 changed file with 22 additions and 7 deletions.
29 changes: 22 additions & 7 deletions df.units.xml
Original file line number Diff line number Diff line change
Expand Up @@ -864,18 +864,33 @@
<int32_t name='combat_side_id'/>
</struct-type>

<enum-type type-name='ghost_goal' base-type='int16_t'>
<enum-item name='None' value='-1'/>
<enum-item name='ScareToDeath'/>
<enum-item name='Stun'/>
<enum-item name='Batter'/>
<enum-item name='Possess'/>
<enum-item/>
<enum-item name='Haunt'/>
<enum-item name='Torment'/>
</enum-type>

<struct-type type-name='unit_ghost_info'>
<enum base-type='int16_t' name='type' type-name='ghost_type'/>
<int16_t name="unk_2"/>
<int16_t name="unk_4"/>
<int32_t name="unk_8"/>
<enum base-type='int16_t' name='type2' type-name='ghost_type'
comment='seems to have same value as type'/>

<enum base-type='int16_t' name="goal" type-name='ghost_goal'/>
<int32_t name="target_unit" ref-target='unit'/>

<compound name='unk_pos' type-name='coord'/>
<int32_t name="unk_14"/>
<int32_t name="unk_14" init-value='403200'/>
<int32_t name="unk_18"/>
<int32_t name="unk_1c"/>
<int32_t name="unk_20"/>
<int32_t name="unk_24"/>
<int32_t name="unk_28"/>

<int32_t name="death_x" comment='in tiles, global to world'/>
<int32_t name="death_y"/>
<int32_t name="death_z"/>
</struct-type>

<struct-type type-name='unit_genes'>
Expand Down

0 comments on commit 784e72c

Please sign in to comment.