forked from DFHack/df-structures
-
Notifications
You must be signed in to change notification settings - Fork 0
/
df.vermin.xml
47 lines (39 loc) · 1.69 KB
/
df.vermin.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
36
37
38
39
40
41
42
43
44
45
46
47
<data-definition>
<bitfield-type type-name='vermin_flags'>
<flag-bit/>
<flag-bit name='is_colony' comment='A vermin colony. For example an anthill or bee hive.'/>
<flag-bit/>
<flag-bit name='is_roaming_colony' comment="colony building vermin away from colony"/>
<flag-bit/>
</bitfield-type>
<enum-type type-name='vermin_category' base-type='int16_t'>
<enum-item name='None' value='-1'/>
<enum-item name='Eater'/>
<enum-item name='Grounder'/>
<enum-item name='Rotter'/>
<enum-item name='Swamper'/>
<enum-item name='Searched'/>
<enum-item name='Disturbed'/>
<enum-item name='Dropped'/>
<enum-item name='Underworld' comment='last used in 40d for vermin in eerie glowing pits'/>
</enum-type>
<struct-type type-name='vermin' instance-vector='$global.world.vermin.all'>
<int16_t name='race' ref-target='creature_raw'/>
<int16_t name='caste' ref-target='caste_raw' aux-value='$$.race'/>
<compound name='pos' type-name='coord'/>
<bool name="visible" comment="1 = visible vermin" />
<int16_t name="countdown" />
<pointer name="item" type-name='item'/>
<bitfield name='flags' type-name='vermin_flags'/>
<int32_t name="amount" comment="The total number of vermin in this object. Decimal constant 10000001 means infinity (probably)." />
<compound name='population' type-name='world_population_ref'/>
<enum type-name='vermin_category' name='category'/>
<int32_t name='id' comment='assigned during Save'/>
</struct-type>
</data-definition>
<!--
Local Variables:
indent-tabs-mode: nil
nxml-child-indent: 4
End:
-->