forked from DFHack/df-structures
-
Notifications
You must be signed in to change notification settings - Fork 0
/
df.plants.xml
35 lines (31 loc) · 1.18 KB
/
df.plants.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
<data-definition>
<bitfield-type type-name='plant_flags' base-type='uint16_t'>
<flag-bit name='watery'/>
<flag-bit name='is_shrub' comment='If it is not a shrub, then it is a tree'/>
</bitfield-type>
<struct-type type-name='plant' instance-vector='$global.world.plants.all'>
<compound type-name='language_name' name='name'/>
<compound type-name='plant_flags' name='flags'/>
<int16_t name='material' ref-target='plant_raw'/>
<compound name='pos' type-name='coord'/>
<int32_t name='grow_counter'/>
<compound name='temperature' type-name='temperaturest'/>
<bitfield name='damage_flags'>
<flag-bit name='is_burning'/>
<flag-bit name='is_drowning'/>
</bitfield>
<int32_t name='hitpoints'/>
<int16_t name='update_order'/>
<stl-vector name='contaminants' pointer-type='contaminant'/>
<int32_t name='temperature_tile_tick'/>
<uint16_t name='temperature_tile'/>
<uint16_t name='min_safe_temp'/>
<uint16_t name='max_safe_temp'/>
</struct-type>
</data-definition>
<!--
Local Variables:
indent-tabs-mode: nil
nxml-child-indent: 4
End:
-->