forked from DFHack/df-structures
-
Notifications
You must be signed in to change notification settings - Fork 0
/
df.raws.xml
194 lines (148 loc) · 7.1 KB
/
df.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
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
<data-definition>
<class-type type-name='creature_handler' original-name='creature_handlerst' custom-methods='true'>
<stl-vector name='alphabetic' pointer-type='creature_raw'/>
<stl-vector name='all' pointer-type='creature_raw'/>
<int32_t name='num_caste' comment='seems equal to length of vectors below'/>
<stl-vector name='list_creature' type-name='int32_t'
comment='Together with list_caste, a list of all caste indexes in order.'/>
<stl-vector name='list_caste' type-name='int32_t'/>
<stl-vector name='action_strings' pointer-type='stl-string' since='v0.40.01'/>
<virtual-methods>
<vmethod/>
<vmethod/>
</virtual-methods>
</class-type>
<struct-type type-name='world_raws'>
-- Materials
<stl-vector name='material_templates' pointer-type='material_template'/>
-- Inorganic
<!-- <compound> -->
<stl-vector name='inorganics' pointer-type='inorganic_raw'/>
<stl-vector name='inorganics_subset' pointer-type='inorganic_raw' comment='all inorganics with value less than 4'/>
<!-- </compound> -->
-- Plants
<compound name='plants'>
dtor 852cc20
<stl-vector name='all' pointer-type='plant_raw'/>
<stl-vector name='bushes' pointer-type='plant_raw'/>
<stl-vector name='bushes_idx' index-refers-to='$$._parent.bushes[$]'>
<int32_t ref-target='plant_raw'/>
</stl-vector>
<stl-vector name='trees' pointer-type='plant_raw'/>
<stl-vector name='trees_idx' index-refers-to='$$._parent.trees[$]'>
<int32_t ref-target='plant_raw'/>
</stl-vector>
<stl-vector name='grasses' pointer-type='plant_raw'/>
<stl-vector name='grasses_idx' index-refers-to='$$._parent.grasses[$]'>
<int32_t ref-target='plant_raw'/>
</stl-vector>
</compound>
-- Creature RAWs
<stl-vector name='tissue_templates' pointer-type='tissue_template'/>
dtor 89bab50
<stl-vector name='body_detail_plans' pointer-type='body_detail_plan'/>
<!-- <compound> -->
dtor 8527e40
<stl-vector name='body_templates' pointer-type='body_template'/>
<stl-vector name='bodyglosses'>
<pointer key-field='id'>
<stl-string name='id'/>
<stl-string name='old_singular'/>
<stl-string name='new_singular'/>
<stl-string name='old_plural'/>
<stl-string name='new_plural'/>
</pointer>
</stl-vector>
<!-- </compound> -->
dtor 89ba980
<stl-vector name='creature_variations' pointer-type='creature_variation'/>
-- Creatures
<compound name='creatures' type-name='creature_handler'/>
-- Item RAWs
<compound name='itemdefs'>
dtor 852e080
<stl-vector name='all' pointer-type='itemdef'/>
<stl-vector name='weapons' pointer-type='itemdef_weaponst'/>
<stl-vector name='trapcomps' pointer-type='itemdef_trapcompst'/>
<stl-vector name='toys' pointer-type='itemdef_toyst'/>
<stl-vector name='tools' pointer-type='itemdef_toolst'/>
<static-array name='tools_by_type' count='23' index-enum='tool_uses'>
<stl-vector pointer-type='itemdef_toolst'/>
</static-array>
<stl-vector name='instruments' pointer-type='itemdef_instrumentst'/>
<stl-vector name='armor' pointer-type='itemdef_armorst'/>
<stl-vector name='ammo' pointer-type='itemdef_ammost'/>
<stl-vector name='siege_ammo' pointer-type='itemdef_siegeammost'/>
<stl-vector name='gloves' pointer-type='itemdef_glovesst'/>
<stl-vector name='shoes' pointer-type='itemdef_shoesst'/>
<stl-vector name='shields' pointer-type='itemdef_shieldst'/>
<stl-vector name='helms' pointer-type='itemdef_helmst'/>
<stl-vector name='pants' pointer-type='itemdef_pantsst'/>
<stl-vector name='food' pointer-type='itemdef_foodst'/>
</compound>
-- Entity RAWs
<stl-vector name='entities' pointer-type='entity_raw'/>
-- Language RAWs
<compound name='language'>
dtor 852bc90
<stl-vector name='words' pointer-type='language_word'/>
<stl-vector name='symbols' pointer-type='language_symbol'/>
<stl-vector name='translations' pointer-type='language_translation'/>
<static-array name='word_table' count='2'>
<static-array type-name='language_word_table' index-enum='language_name_category' count='62'/>
</static-array>
</compound>
-- Descriptors
<compound name='descriptors'>
<stl-vector name='colors' pointer-type='descriptor_color'/>
<stl-vector name='shapes' pointer-type='descriptor_shape'/>
<stl-vector name='patterns' pointer-type='descriptor_pattern'/>
</compound>
-- Reaction RAWs
<compound name='reactions'>
<stl-vector name='reactions' pointer-type='reaction'/>
<stl-vector name='reaction_categories' pointer-type='reaction_category'/>
</compound>
-- Workshops
<compound name='buildings'>
<stl-vector name='all' pointer-type='building_def'/>
<stl-vector name='workshops' pointer-type='building_def_workshopst'/>
<stl-vector name='furnaces' pointer-type='building_def_furnacest'/>
<int32_t name='next_id'/>
</compound>
-- Interactions
<stl-vector name='interactions' since='v0.34.01' pointer-type='interaction'/>
-- Material index
<compound name='mat_table' type-name='special_mat_table'/>
-- Interaction effects
<compound name='syndromes'>
<stl-vector name='mat_types' index-refers-to='$$._parent.all[$]'>
<int16_t ref-target='material' aux-value='$$._parent.mat_indexes[$._key]'/>
</stl-vector>
<stl-vector name='mat_indexes' type-name='int32_t'/>
<stl-vector name='interactions'>
<int32_t ref-target='interaction'/>
</stl-vector>
<stl-vector name='all' since='v0.34.01' pointer-type='syndrome'/>
</compound>
<compound name='effects'>
<stl-vector name='mat_types' index-refers-to='$$._parent.all[$]'>
<int16_t ref-target='material' aux-value='$$._parent.mat_indexes[$._key]'/>
</stl-vector>
<stl-vector name='mat_indexes' type-name='int32_t'/>
<stl-vector name='interactions'>
<int32_t ref-target='interaction'/>
</stl-vector>
<stl-vector name='all' since='v0.34.01' pointer-type='creature_interaction_effect'/>
</compound>
<int32_t since='v0.34.01'/>
<int32_t since='v0.34.01'/>
<int32_t since='v0.34.01'/>
</struct-type>
</data-definition>
<!--
Local Variables:
indent-tabs-mode: nil
nxml-child-indent: 4
End:
-->