forked from DFHack/df-structures
-
Notifications
You must be signed in to change notification settings - Fork 0
/
df.reaction-raws.xml
174 lines (137 loc) · 5.77 KB
/
df.reaction-raws.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
<data-definition>
<enum-type type-name='reaction_flags'>
<enum-item name='FUEL'/>
<enum-item name='AUTOMATIC'/>
<enum-item name='ADVENTURE_MODE_ENABLED'/>
</enum-type>
<struct-type type-name='reaction'
instance-vector='$global.world.raws.reactions' key-field='id'>
<stl-string name="code"/>
<stl-string name="name"/>
<code-helper name='describe'>$.code</code-helper>
<df-flagarray name='flags' index-enum='reaction_flags'/>
<stl-vector name="reagents">
<pointer type-name='reaction_reagent'/>
</stl-vector>
<stl-vector name="products">
<pointer type-name='reaction_product'/>
</stl-vector>
<enum base-type='int16_t' name='skill' type-name='job_skill'/>
<compound name='building'>
<static-array name='str' count='2'>
<stl-vector>
<pointer type-name='stl-string'/>
</stl-vector>
</static-array>
<stl-vector type-name='int32_t' name='type'/>
<stl-vector type-name='int32_t' name='subtype'/>
<stl-vector type-name='int32_t' name='custom'/>
<stl-vector type-name='int32_t' name='hotkey'/>
</compound>
<int32_t name="id"/>
</struct-type>
<class-type type-name='reaction_reagent' original-name='reaction_reagentst'>
<stl-string name="code"/>
<code-helper name='describe'>$.code</code-helper>
<virtual-methods>
<vmethod/>
<vmethod/>
<vmethod/>
<vmethod/>
<vmethod/>
<vmethod/>
<vmethod/>
<vmethod/>
<vmethod/>
</virtual-methods>
</class-type>
<bitfield-type type-name='reaction_reagent_flags'>
<flag-bit name='PRESERVE_REAGENT'/>
<flag-bit name='IN_CONTAINER'/>
<flag-bit name='DOES_NOT_DETERMINE_PRODUCT_AMOUNT'/>
</bitfield-type>
<class-type type-name='reaction_reagent_itemst' inherits-from='reaction_reagent'>
<int32_t name='quantity'/>
<compound name="flags" type-name='reaction_reagent_flags'/>
<enum base-type='int16_t' name='item_type' type-name='item_type'/>
<int16_t name='item_subtype' refers-to='(item-subtype-target $$._parent.item_type $)'/>
<int16_t name='mat_type' ref-target='material' aux-value='$$.mat_index'/>
<int16_t name='mat_index'/>
<stl-string name='reaction_class'/>
<stl-string name='has_material_reaction_product'/>
<compound name='flags1' type-name='job_item_flags1'/>
<compound name='flags2' type-name='job_item_flags2'/>
<compound name='flags3' type-name='job_item_flags3'/>
<int32_t name='unk1'/>
<int32_t name='unk2'/>
<int32_t name='metal_ore' ref-target='inorganic_raw'/>
<int32_t name='min_dimension'/>
<stl-vector type-name='int32_t' name='contains'/>
<enum base-type='int16_t' name='has_tool_use' type-name='tool_uses'/>
<static-array type-name='stl-string' name='item_str' count='2'/>
<static-array type-name='stl-string' name='material_str' count='3'/>
<stl-string name='metal_ore_str'/>
<stl-vector name='contains_str'>
<pointer type-name='stl-string'/>
</stl-vector>
</class-type>
<class-type type-name='reaction_product' original-name='reaction_productst'>
<virtual-methods>
<vmethod/>
<vmethod/>
<vmethod/>
<vmethod/>
<vmethod/>
</virtual-methods>
</class-type>
<enum-type type-name='reaction_product_item_flags'>
<enum-item name='GET_MATERIAL_SAME'/>
<enum-item name='GET_MATERIAL_PRODUCT'/>
<enum-item name='FORCE_EDGE'/>
<enum-item name='PASTE'/>
<enum-item name='PRESSED'/>
<enum-item name='CRAFTS'/>
</enum-type>
<class-type type-name='reaction_product_itemst' inherits-from='reaction_product'>
<stl-string name="product_to_container"/>
<enum base-type='int16_t' name='item_type' type-name='item_type'/>
<int16_t name='item_subtype' refers-to='(item-subtype-target $$._parent.item_type $)'/>
<int16_t name='mat_type' ref-target='material' aux-value='$$.mat_index'/>
<int32_t name='mat_index'/>
<int16_t name='probability'/>
<int16_t name='count'/>
<int32_t name='product_dimension'/>
<df-flagarray name='flags' index-enum='reaction_product_item_flags'/>
<compound name='get_material'>
<stl-string name='reagent_code'/>
<stl-string name='product_code'/>
</compound>
<static-array type-name='stl-string' name='item_str' count='2'/>
<static-array type-name='stl-string' name='material_str' count='3'/>
</class-type>
<enum-type type-name='reaction_product_improvement_flags'>
<enum-item/>
<enum-item/>
<enum-item/>
</enum-type>
<class-type type-name='reaction_product_item_improvementst' inherits-from='reaction_product'>
<stl-string/>
<stl-string name="target_reagent"/>
<enum base-type='int32_t' name='improvement_type' type-name='improvement_type'/>
<int16_t name='mat_type' ref-target='material' aux-value='$$.mat_index'/>
<int32_t name='mat_index'/>
<int16_t name='probability'/>
<df-flagarray name='flags' index-enum='reaction_product_improvement_flags'/>
<compound name='get_material'>
<stl-string name='reagent_code'/>
<stl-string name='product_code'/>
</compound>
<static-array type-name='stl-string' name='material_str' count='3'/>
</class-type>
</data-definition>
<!--
Local Variables:
indent-tabs-mode: nil
nxml-child-indent: 4
End:
-->