plant-raws

plant-raws.plant_raw_flags

<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>

plant-raws.plant_raw

<struct-type type-name="plant_raw"
    instance-vector="$global.world.raws.plants.all">
  <stl-string name="id"/>
  <int32_t>
    v0.40.01
  </int32_t>
  <stl-vector>
    v0.40.01
  </stl-vector>
  <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">
    unused
  </stl-string>
  <stl-string name="leaves_plural">
    unused
  </stl-string>
  <int32_t name="source_hfid" ref-target="historical_figure"/>
  <int32_t name="unk_v4201_1" init-value="-1">
    v0.42.01
  </int32_t>
  <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">
      unused
    </uint8_t>
    <uint8_t name="dead_tree_tile">
      unused
    </uint8_t>
    <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>

plant-raws.plant_growth

<struct-type type-name="plant_growth">
  <stl-string name="id"/>
  <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>

plant-raws.plant_growth_print

<struct-type type-name="plant_growth_print">
  <int32_t name="priority">
    final token in list
  </int32_t>
  <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>