-
Notifications
You must be signed in to change notification settings - Fork 81
/
df.plant-raws.xml
293 lines (254 loc) · 12.5 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
287
288
289
290
291
292
293
<data-definition>
<enum-type type-name='plant_raw_flags'> bay12: PlantFlagType
<enum-item name='SPRING'/>
<enum-item name='SUMMER'/>
<enum-item name='AUTUMN'/>
<enum-item name='WINTER'/>
<enum-item name='BUNDLE'/>
<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 name='EDIBLE_GROWTH'/>
<enum-item name='SOIL_BACKGROUND'/>
<enum-item/> unused
<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' original-name='plant_material_definitionst' instance-vector='$global.world.raws.plants.all'>
<stl-string name='id'/>
<int32_t name='index' since='v0.40.01'/>
<stl-vector name='raws' pointer-type='stl-string' since='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='source_enid' ref-target='historical_entity' since='v0.42.01'/>
<int16_t name='mill_dye_color' ref-target='descriptor_color'/>
<compound name='tiles'> not a compound
<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>
<static-array type-name='int32_t' name='texpos' count='18'/>
<pointer name='tree_texture_info'/> bay12: pmd_tree_texture_infost
<int32_t name='growdur'/>
<int32_t name='value'/>
<compound name='colors'> not a compound
<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_f' count='20'/>
<static-array type-name='int8_t' name='grass_colors_b' count='20'/>
<static-array type-name='int8_t' name='grass_colors_br' 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'> not a compound
<static-array name='type' index-enum='plant_material_def'>
<int16_t ref-target='material' aux-value='$$._parent.idx[$._key]'/>
</static-array>
<static-array name='idx' index-enum='plant_material_def' type-name='int32_t'/>
<static-array name='str' index-enum='plant_material_def'>
<static-array type-name='stl-string' count='3'/>
</static-array>
</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 name='stockpile_growths' type-name='int32_t' refers-to='$$._parent._parent.growths[$]' comment='indices of edible growths that are marked with STOCKPILE_PLANT_GROWTH'/>
<stl-vector name='stockpile_growth_flags' index-refers-to='$$._parent.stockpile_growths[$].refers-to'>
<bitfield base-type='uint32_t'> bay12: assuming RAS_CROP_FLAG_*; could also be RAS_EXTRACT_FLAG_* or RAS_POWDER_FLAG_*
<flag-bit name='EDIBLE_RAW'/>
<flag-bit name='EDIBLE_COOKED'/>
<flag-bit name='THREAD'/>
<flag-bit name='MILLABLE'/>
<flag-bit name='EXTRACTABLE_VIAL'/>
<flag-bit name='EXTRACTABLE_BARREL'/>
<flag-bit name='EXTRACTABLE_STILL_VIAL'/>
<flag-bit name='ORCHARD'/>
<flag-bit name='GARDEN'/>
<flag-bit name='FARMED'/>
</bitfield>
</stl-vector>
</struct-type>
<enum-type type-name='plant_material_def' base-type='int16_t'> bay12: PlantMaterialUseType
<enum-item name='basic_mat'/>
<enum-item name='tree'/>
<enum-item name='drink'/>
<enum-item name='seed'/>
<enum-item name='thread'/>
<enum-item name='mill'/>
<enum-item name='extract_vial'/>
<enum-item name='extract_barrel'/>
<enum-item name='extract_still_vial'/>
</enum-type>
<struct-type type-name='plant_growth' original-name='pmd_growthst'>
<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 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'/>
<static-array name='texpos_grass' type-name='int32_t' count='4'/>
<int32_t name='texpos_picked'/>
<int32_t name='timing_1'/>
<int32_t name='timing_2'/>
<bitfield name='locations' base-type='uint32_t'> bay12: GROWTH_HOST_TILE_FLAG_*
<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'> bay12: PMD_GROWTH_FLAG_*
<flag-bit name='drops_off'/>
<flag-bit name='no_cloud'/>
<flag-bit name='has_seed'/>
<flag-bit count='4' name='graphics_type'/> bay12: PMD_GROWTH_FLAG_GRAPHICS_TYPE_*
</bitfield>
<int32_t name='trunk_height_perc_1'/>
<int32_t name='trunk_height_perc_2'/>
</struct-type>
<struct-type type-name='plant_growth_print' original-name='pmd_growth_print_variantst'>
<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:
-->