forked from DFHack/df-structures
-
Notifications
You must be signed in to change notification settings - Fork 0
/
df.itemimprovements.xml
200 lines (178 loc) · 8.08 KB
/
df.itemimprovements.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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
<data-definition>
<enum-type type-name='improvement_type'>
<enum-item name="ART_IMAGE"/>
<enum-item name="COVERED"/>
<enum-item name="RINGS_HANGING"/>
<enum-item name="BANDS"/>
<enum-item name="SPIKES"/>
<enum-item name="ITEMSPECIFIC"/>
<enum-item name="THREAD"/>
<enum-item name="CLOTH"/>
<enum-item name="SEWN_IMAGE"/>
<enum-item name="PAGES"/>
<enum-item name="ILLUSTRATION"/>
</enum-type>
<struct-type type-name='dye_info'>
<int16_t name='mat_type' ref-target='material' aux-value='$$.mat_index'/>
<int32_t name='mat_index'/>
<int32_t name='dyer' ref-target='historical_figure'/>
<enum base-type='int16_t' name='quality' type-name='item_quality'/>
<enum base-type='int16_t' name="skill_rating" type-name='skill_rating'
comment='at the moment of creation'/>
<int32_t/>
</struct-type>
<class-type type-name='itemimprovement' original-name='itemimprovementst'>
<int16_t name='mat_type' ref-target='material' aux-value='$$.mat_index'/>
<int32_t name='mat_index'/>
<int32_t name='maker' ref-target='historical_figure'/>
<int32_t name='masterpiece_event' ref-target='history_event'/>
<enum base-type='int16_t' name='quality' type-name='item_quality'/>
<enum base-type='int32_t' name="skill_rating" type-name='skill_rating'
comment='at the moment of creation'/>
<int32_t/>
<virtual-methods>
<vmethod name='getImage'>
<ret-type><pointer type-name='art_image'/></ret-type>
</vmethod>
<vmethod name='getColorAndShape'>
<pointer name='colors'><stl-vector type-name='int16_t'/></pointer>
<pointer name='shapes'><stl-vector type-name='int16_t'/></pointer>
</vmethod>
<vmethod name='clone'>
<ret-type><pointer type-name='itemimprovement'/></ret-type>
</vmethod>
<vmethod name='write_file'> <pointer comment='file_compressorst'/> </vmethod>
<vmethod name='read_file'>
<pointer comment='file_compressorst'/>
<int32_t name='loadversion'/>
</vmethod>
<vmethod ret-type='improvement_type' name='getType'/>
<vmethod/>
<vmethod is-destructor='true'/>
<vmethod ret-type='int32_t' name='getDyeValue'>
<pointer type-name='caravan_state' name='caravan'/>
</vmethod>
<vmethod name='setShape'>
<int32_t name='shape' ref-target='descriptor_shape'/>
</vmethod>
</virtual-methods>
</class-type>
<class-type type-name='itemimprovement_art_imagest' inherits-from='itemimprovement'>
<compound name='image' type-name='art_image_ref'/>
</class-type>
<class-type type-name='itemimprovement_coveredst' inherits-from='itemimprovement'>
<bitfield name='cover_flags'>
<flag-bit name='glazed'/>
</bitfield>
<int32_t name='shape' ref-target='descriptor_shape'/>
</class-type>
<class-type type-name='itemimprovement_rings_hangingst' inherits-from='itemimprovement'/>
<class-type type-name='itemimprovement_bandsst' inherits-from='itemimprovement'>
<int32_t name='shape' ref-target='descriptor_shape'/>
</class-type>
<class-type type-name='itemimprovement_spikesst' inherits-from='itemimprovement'/>
<class-type type-name='itemimprovement_itemspecificst' inherits-from='itemimprovement'>
<int32_t name='type'/>
</class-type>
<class-type type-name='itemimprovement_threadst' inherits-from='itemimprovement'>
<compound name='dye' type-name='dye_info'/>
</class-type>
<class-type type-name='itemimprovement_clothst' inherits-from='itemimprovement'/>
<class-type type-name='itemimprovement_sewn_imagest' inherits-from='itemimprovement'>
<compound name='image' type-name='art_image_ref'/>
<compound name='cloth'>
<int32_t name='unit_id' ref-target='historical_figure'/>
<int16_t name='quality'/>
<int16_t/>
</compound>
<compound name='dye' type-name='dye_info'/>
</class-type>
<class-type type-name='itemimprovement_pagesst' inherits-from='itemimprovement'>
<int32_t name='count'/>
<stl-vector name='contents' type-name='int32_t' ref-target='written_content'/>
</class-type>
<class-type type-name='itemimprovement_illustrationst' inherits-from='itemimprovement'>
<compound name='image' type-name='art_image_ref'/>
<int32_t comment='v0.34.01'/>
</class-type>
<enum-type type-name='written_content_type' base-type='int32_t'>
<enum-item name='Manual'/>
<enum-item name='Guide'/>
<enum-item name='Chronicle'/>
<enum-item name='ShortStory'/>
<enum-item name='Novel'/>
<enum-item name='Biography'/>
<enum-item name='Autobiography'/>
<enum-item name='Poem'/>
<enum-item name='Play'/>
<enum-item name='Letter'/>
<enum-item name='Essay'/>
<enum-item name='Dialog'/>
</enum-type>
<enum-type type-name='written_content_style' base-type='int32_t'>
<enum-item name='Meandering'/>
<enum-item name='Cheerful'/>
<enum-item name='Depressing'/>
<enum-item name='Rigid'/>
<enum-item name='Serious'/>
<enum-item name='Disjointed'/>
<enum-item name='Ornate'/>
<enum-item name='Forceful'/>
<enum-item name='Humorous'/>
<enum-item name='Immature'/>
<enum-item name='SelfIndulgent'/>
<enum-item name='Touching'/>
<enum-item name='Compassionate'/>
<enum-item name='Vicious'/>
<enum-item name='Concise'/>
<enum-item name='Scornful'/>
<enum-item name='Witty'/>
<enum-item name='Ranting'/>
</enum-type>
<struct-type type-name='written_content' instance-vector='$global.world.written_contents.all' key-field='id'>
<int32_t name='id'/>
<int32_t name='page_start'/>
<int32_t name='page_end'/>
<stl-vector name='refs' pointer-type='general_ref' comment='interactions learned'/>
<stl-vector name='ref_aux' type-name='int32_t' comment='if nonzero, corresponding ref is ignored'/>
<int32_t init-value='-1'/>
<int32_t init-value='-1'/>
<enum type-name='written_content_type' name='type'/>
<stl-vector name='styles' type-name='written_content_style'/>
<stl-vector name='style_strength' type-name='int32_t' comment='0 = maximum, 1 = significant, 2 = partial'/>
<int32_t name='author' ref-target='historical_figure'/>
<int32_t init-value='-1'/>
</struct-type>
<bitfield-type type-name='engraving_flags' base-type='uint32_t'>
<flag-bit name='floor'/>
<flag-bit name='west'/>
<flag-bit name='east'/>
<flag-bit name='north'/>
<flag-bit name='south'/>
<flag-bit name='hidden'/>
<flag-bit name='northwest'/>
<flag-bit name='northeast'/>
<flag-bit name='southwest'/>
<flag-bit name='southeast'/>
</bitfield-type>
<struct-type type-name='engraving' instance-vector='$global.world.engravings'>
<int32_t name='artist' ref-target='historical_figure'/>
<int32_t name='masterpiece_event' ref-target='history_event'/>
<enum base-type='int32_t' name="skill_rating" type-name='skill_rating'
comment='at the moment of creation'/>
<compound name='pos' type-name='coord'/>
<compound name='flags' type-name='engraving_flags'/>
<int8_t name='tile'/>
<int32_t name='art_id' ref-target='art_image_chunk'/>
<int16_t name='art_subid' ref-target='art_image' aux-value='$$.art_id'/>
<enum base-type='int16_t' name='quality' type-name='item_quality'/>
<int32_t name='unk1' init-value='-1' comment='v0.34.06'/>
<int32_t name='unk2' init-value='-1' comment='v0.34.06'/>
</struct-type>
</data-definition>
<!--
Local Variables:
indent-tabs-mode: nil
nxml-child-indent: 4
End:
-->