forked from DFHack/df-structures
-
Notifications
You must be signed in to change notification settings - Fork 0
/
df.plant-raws.xml
286 lines (249 loc) · 12.1 KB
/
df.plant-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
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
<data-definition>
<enum-type type-name='plant_raw_flags'>
<enum-item name='SPRING'/>
<enum-item name='SUMMER'/>
<enum-item name='AUTUMN'/>
<enum-item name='WINTER'/>
<enum-item/>
<enum-item name='SEED'/>
<enum-item name='TREE_HAS_MUSHROOM_CAP'/>
<enum-item name='DRINK'/>
<enum-item name='EXTRACT_BARREL'/>
<enum-item name='EXTRACT_VIAL'/>
<enum-item name='EXTRACT_STILL_VIAL'/>
<enum-item name='GENERATED'/>
<enum-item name='THREAD'/>
<enum-item name='MILL'/>
<enum-item/>
<enum-item/>
<enum-item/>
<enum-item/>
<enum-item/>
<enum-item/>
<enum-item name='WET'/>
<enum-item name='DRY'/>
<enum-item name='BIOME_MOUNTAIN'/>
<enum-item name='BIOME_GLACIER'/>
<enum-item name='BIOME_TUNDRA'/>
<enum-item name='BIOME_SWAMP_TEMPERATE_FRESHWATER'/>
<enum-item name='BIOME_SWAMP_TEMPERATE_SALTWATER'/>
<enum-item name='BIOME_MARSH_TEMPERATE_FRESHWATER'/>
<enum-item name='BIOME_MARSH_TEMPERATE_SALTWATER'/>
<enum-item name='BIOME_SWAMP_TROPICAL_FRESHWATER'/>
<enum-item name='BIOME_SWAMP_TROPICAL_SALTWATER'/>
<enum-item name='BIOME_SWAMP_MANGROVE'/>
<enum-item name='BIOME_MARSH_TROPICAL_FRESHWATER'/>
<enum-item name='BIOME_MARSH_TROPICAL_SALTWATER'/>
<enum-item name='BIOME_FOREST_TAIGA'/>
<enum-item name='BIOME_FOREST_TEMPERATE_CONIFER'/>
<enum-item name='BIOME_FOREST_TEMPERATE_BROADLEAF'/>
<enum-item name='BIOME_FOREST_TROPICAL_CONIFER'/>
<enum-item name='BIOME_FOREST_TROPICAL_DRY_BROADLEAF'/>
<enum-item name='BIOME_FOREST_TROPICAL_MOIST_BROADLEAF'/>
<enum-item name='BIOME_GRASSLAND_TEMPERATE'/>
<enum-item name='BIOME_SAVANNA_TEMPERATE'/>
<enum-item name='BIOME_SHRUBLAND_TEMPERATE'/>
<enum-item name='BIOME_GRASSLAND_TROPICAL'/>
<enum-item name='BIOME_SAVANNA_TROPICAL'/>
<enum-item name='BIOME_SHRUBLAND_TROPICAL'/>
<enum-item name='BIOME_DESERT_BADLAND'/>
<enum-item name='BIOME_DESERT_ROCK'/>
<enum-item name='BIOME_DESERT_SAND'/>
<enum-item name='BIOME_OCEAN_TROPICAL'/>
<enum-item name='BIOME_OCEAN_TEMPERATE'/>
<enum-item name='BIOME_OCEAN_ARCTIC'/>
<enum-item name='BIOME_POOL_TEMPERATE_FRESHWATER'/>
<enum-item name='BIOME_SUBTERRANEAN_WATER'/>
<enum-item name='BIOME_SUBTERRANEAN_CHASM'/>
<enum-item name='BIOME_SUBTERRANEAN_LAVA'/>
<enum-item name='GOOD'/>
<enum-item name='EVIL'/>
<enum-item name='SAVAGE'/>
<enum-item name='BIOME_POOL_TEMPERATE_BRACKISHWATER'/>
<enum-item name='BIOME_POOL_TEMPERATE_SALTWATER'/>
<enum-item name='BIOME_POOL_TROPICAL_FRESHWATER'/>
<enum-item name='BIOME_POOL_TROPICAL_BRACKISHWATER'/>
<enum-item name='BIOME_POOL_TROPICAL_SALTWATER'/>
<enum-item name='BIOME_LAKE_TEMPERATE_FRESHWATER'/>
<enum-item name='BIOME_LAKE_TEMPERATE_BRACKISHWATER'/>
<enum-item name='BIOME_LAKE_TEMPERATE_SALTWATER'/>
<enum-item name='BIOME_LAKE_TROPICAL_FRESHWATER'/>
<enum-item name='BIOME_LAKE_TROPICAL_BRACKISHWATER'/>
<enum-item name='BIOME_LAKE_TROPICAL_SALTWATER'/>
<enum-item name='BIOME_RIVER_TEMPERATE_FRESHWATER'/>
<enum-item name='BIOME_RIVER_TEMPERATE_BRACKISHWATER'/>
<enum-item name='BIOME_RIVER_TEMPERATE_SALTWATER'/>
<enum-item name='BIOME_RIVER_TROPICAL_FRESHWATER'/>
<enum-item name='BIOME_RIVER_TROPICAL_BRACKISHWATER'/>
<enum-item name='BIOME_RIVER_TROPICAL_SALTWATER'/>
<enum-item name='TWIGS_SIDE_BRANCHES'/>
<enum-item name='SAPLING'/>
<enum-item name='TREE'/>
<enum-item name='GRASS'/>
<enum-item name='TWIGS_ABOVE_BRANCHES'/>
<enum-item name='TWIGS_BELOW_BRANCHES'/>
<enum-item name='TWIGS_SIDE_HEAVY_BRANCHES'/>
<enum-item name='TWIGS_ABOVE_HEAVY_BRANCHES'/>
<enum-item name='TWIGS_BELOW_HEAVY_BRANCHES'/>
<enum-item name='TWIGS_SIDE_TRUNK'/>
<enum-item name='TWIGS_ABOVE_TRUNK'/>
<enum-item name='TWIGS_BELOW_TRUNK'/>
</enum-type>
<struct-type type-name='plant_raw' instance-vector='$global.world.raws.plants.all'>
<stl-string name='id'/>
<int32_t comment='v0.40.01'/>
<stl-vector comment='v0.40.01'/>
<code-helper name='describe'>$.id</code-helper>
<df-flagarray name='flags' index-enum='plant_raw_flags'/>
<stl-string name='name'/>
<stl-string name='name_plural'/>
<stl-string name='adj'/>
<stl-string name='seed_singular'/>
<stl-string name='seed_plural'/>
<stl-string name='leaves_singular' comment='unused'/>
<stl-string name='leaves_plural' comment='unused'/>
<int32_t name='source_hfid' ref-target='historical_figure'/>
<int32_t name='unk_v4201_1' init-value='-1' comment='v0.42.01'/>
<uint8_t name='unk1'/>
<uint8_t name='unk2'/>
<compound name='tiles'>
<uint8_t name='picked_tile'/>
<uint8_t name='dead_picked_tile'/>
<uint8_t name='shrub_tile'/>
<uint8_t name='dead_shrub_tile'/>
<uint8_t name='tree_tile' comment='unused'/>
<uint8_t name='dead_tree_tile' comment='unused'/>
<uint8_t name='sapling_tile'/>
<uint8_t name='dead_sapling_tile'/>
<static-array type-name='uint8_t' name='grass_tiles' count='16'/>
<static-array type-name='uint8_t' name='alt_grass_tiles' count='12'/>
<static-array type-name='uint8_t' name='tree_tiles' count='104'/>
</compound>
<int32_t name='growdur'/>
<int32_t name='value'/>
<compound name='colors'>
<static-array type-name='int8_t' name='picked_color' count='3'/>
<static-array type-name='int8_t' name='dead_picked_color' count='3'/>
<static-array type-name='int8_t' name='shrub_color' count='3'/>
<static-array type-name='int8_t' name='dead_shrub_color' count='3'/>
<static-array type-name='int8_t' name='seed_color' count='3'/>
<static-array type-name='int8_t' name='tree_color' count='3'/>
<static-array type-name='int8_t' name='dead_tree_color' count='3'/>
<static-array type-name='int8_t' name='sapling_color' count='3'/>
<static-array type-name='int8_t' name='dead_sapling_color' count='3'/>
<static-array type-name='int8_t' name='grass_colors_0' count='20'/>
<static-array type-name='int8_t' name='grass_colors_1' count='20'/>
<static-array type-name='int8_t' name='grass_colors_2' count='20'/>
</compound>
<static-array type-name='int32_t' name='alt_period' count='2'/>
<int8_t name='shrub_drown_level'/>
<int8_t name='tree_drown_level'/>
<int8_t name='sapling_drown_level'/>
<int16_t name='frequency'/>
<int16_t name='clustersize'/>
<stl-vector name='prefstring' pointer-type='stl-string'/>
<stl-vector name='material' pointer-type='material'/>
<compound name='material_defs'>
<int16_t name='type_basic_mat' ref-target='material' aux-value='$$.idx_basic_mat'/>
<int16_t name='type_tree' ref-target='material' aux-value='$$.idx_tree'/>
<int16_t name='type_drink' ref-target='material' aux-value='$$.idx_drink'/>
<int16_t name='type_seed' ref-target='material' aux-value='$$.idx_seed'/>
<int16_t name='type_thread' ref-target='material' aux-value='$$.idx_thread'/>
<int16_t name='type_mill' ref-target='material' aux-value='$$.idx_mill'/>
<int16_t name='type_extract_vial' ref-target='material'
aux-value='$$.idx_extract_vial'/>
<int16_t name='type_extract_barrel' ref-target='material'
aux-value='$$.idx_extract_barrel'/>
<int16_t name='type_extract_still_vial' ref-target='material'
aux-value='$$.idx_extract_still_vial'/>
<int32_t name='idx_basic_mat'/>
<int32_t name='idx_tree'/>
<int32_t name='idx_drink'/>
<int32_t name='idx_seed'/>
<int32_t name='idx_thread'/>
<int32_t name='idx_mill'/>
<int32_t name='idx_extract_vial'/>
<int32_t name='idx_extract_barrel'/>
<int32_t name='idx_extract_still_vial'/>
<static-array type-name='stl-string' name='str_basic_mat' count='3'/>
<static-array type-name='stl-string' name='str_tree' count='3'/>
<static-array type-name='stl-string' name='str_drink' count='3'/>
<static-array type-name='stl-string' name='str_seed' count='3'/>
<static-array type-name='stl-string' name='str_thread' count='3'/>
<static-array type-name='stl-string' name='str_mill' count='3'/>
<static-array type-name='stl-string' name='str_extract_vial' count='3'/>
<static-array type-name='stl-string' name='str_extract_barrel' count='3'/>
<static-array type-name='stl-string' name='str_extract_still_vial' count='3'/>
</compound>
<int32_t name='underground_depth_min'/>
<int32_t name='underground_depth_max'/>
<stl-vector name='growths' pointer-type='plant_growth'/>
<stl-string name='root_name'/>
<stl-string name='trunk_name'/>
<stl-string name='heavy_branch_name'/>
<stl-string name='light_branch_name'/>
<stl-string name='twig_name'/>
<stl-string name='cap_name'/>
<int32_t name='trunk_period'/>
<int32_t name='heavy_branch_density'/>
<int32_t name='light_branch_density'/>
<int32_t name='max_trunk_height'/>
<int32_t name='heavy_branch_radius'/>
<int32_t name='light_branch_radius'/>
<int32_t name='trunk_branching'/>
<int32_t name='max_trunk_diameter'/>
<int32_t name='trunk_width_period'/>
<int32_t name='cap_period'/>
<int32_t name='cap_radius'/>
<int32_t name='root_density'/>
<int32_t name='root_radius'/>
<stl-vector/>
<stl-vector/>
</struct-type>
<struct-type type-name='plant_growth'>
<stl-string name='id'/>
<code-helper name='describe'>(fmt "~:(~A ~A~)" $.id_id $.name[0])</code-helper>
<code-helper name='find-instance'>$global.world.raws.plants.all[$$].growths[$]</code-helper>
<stl-string name='name'/>
<stl-string name='name_plural'/>
<static-array type-name='stl-string' name='str_growth_item' count='5'/>
<enum base-type='int16_t' name='item_type' type-name='item_type'/>
<int16_t name='item_subtype'/>
<int16_t name='mat_type' ref-target='material' aux-value='$$.mat_index'/>
<int32_t name='mat_index'/>
<stl-vector name='prints' pointer-type='plant_growth_print'/>
<int32_t name='timing_1'/>
<int32_t name='timing_2'/>
<bitfield name='locations' base-type='uint32_t'>
<flag-bit name='twigs'/>
<flag-bit name='light_branches'/>
<flag-bit name='heavy_branches'/>
<flag-bit name='trunk'/>
<flag-bit name='roots'/>
<flag-bit name='cap'/>
<flag-bit name='sapling'/>
</bitfield>
<int32_t name='density'/>
<bitfield name='behavior' base-type='uint32_t'>
<flag-bit name='drops_off'/>
<flag-bit name='no_cloud'/>
<flag-bit name='has_seed'/>
</bitfield>
<int32_t name='trunk_height_perc_1'/>
<int32_t name='trunk_height_perc_2'/>
</struct-type>
<struct-type type-name='plant_growth_print'>
<int32_t name='priority' comment='final token in list'/>
<uint8_t name='tile_growth'/>
<uint8_t name='tile_item'/>
<static-array type-name='int16_t' name='color' count='3'/>
<int32_t name='timing_start'/>
<int32_t name='timing_end'/>
</struct-type>
</data-definition>
<!--
Local Variables:
indent-tabs-mode: nil
nxml-child-indent: 4
End:
-->