forked from DFHack/df-structures
-
Notifications
You must be signed in to change notification settings - Fork 0
/
df.descriptors.xml
56 lines (50 loc) · 1.95 KB
/
df.descriptors.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
48
49
50
51
52
53
54
55
56
<data-definition>
<enum-type type-name='pattern_type' base-type='int16_t'>
<enum-item name='MONOTONE'/>
<enum-item name='STRIPES'/>
<enum-item name='IRIS_EYE'/>
<enum-item name='SPOTS'/>
<enum-item name='PUPIL_EYE'/>
<enum-item name='MOTTLED'/>
</enum-type>
<struct-type type-name='descriptor_color' instance-vector='$global.world.raws.language.colors'>
<stl-string name="id"/>
<code-helper name='describe'>$.id</code-helper>
<stl-vector name="word_unk"/>
<stl-vector name="words" type-name='int32_t' ref-target='language_word'/>
<stl-string name="name"/>
<int8_t name="color"/>
<int8_t name="bold"/>
<s-float name="red"/>
<s-float name="green"/>
<s-float name="blue"/>
</struct-type>
<struct-type type-name='descriptor_shape' instance-vector='$global.world.raws.language.shapes'>
<stl-string name="id"/>
<code-helper name='describe'>$.id</code-helper>
<stl-vector name="word_unk"/>
<stl-vector name="words" type-name='int32_t' ref-target='language_word'/>
<stl-string name="name"/>
<stl-string name="name_plural"/>
<stl-vector name="adj" pointer-type='stl-string'/>
<bitfield name='gems_use'>
<flag-bit name='noun'/>
<flag-bit name='adj'/>
<flag-bit name='adj_noun'/>
</bitfield>
<uint8_t name="tile"/>
</struct-type>
<struct-type type-name='descriptor_pattern' instance-vector='$global.world.raws.language.patterns'>
<stl-string name='id'/>
<code-helper name='describe'>$.id</code-helper>
<stl-vector name="colors" type-name='int16_t' ref-target='descriptor_color'/>
<enum base-type='int16_t' type-name='pattern_type' name='pattern'/>
<stl-vector name="cp_color"/>
</struct-type>
</data-definition>
<!--
Local Variables:
indent-tabs-mode: nil
nxml-child-indent: 4
End:
-->