include "PlacementShared.fbs";
namespace pkNX.Structures.FlatBuffers.SWSH;

table PlacementZoneBerryTreeHolder {
    Field_00:PlacementZone_F22_0 (required); // meta
    Field_01:[PlacementZoneBerryTreeRandom] (required);
}

table PlacementZone_F22_0 {
    Field_00:PlacementZone_F22_0_0 (required);
}

table PlacementZone_F22_0_0 {
    Field_00:PlacementZoneMetaTripleXYZ (required);
    Field_01:string (required); // none have this
    Field_02:string (required); // none have this
    Field_03:float;
    Field_04:float;
    Field_05:string (required); // none have this
    Field_06:string (required); // none have this
    Field_07:float; // unused
    Field_08:float; // unused
    Field_09:float; // unused
    Field_10:float;
    Field_11:PlacementZone_F22_Sub (required);
    Field_12:uint; // unused
    Field_13:PlacementZone_F22_Sub (required);
    Field_14:PlacementZone_F22_BoolObject14 (required);
}

table PlacementZone_F22_Sub {
    Field_00:uint;
    Field_01:float; // unused in all
    Field_02:float; // unused in all
    Field_03:float; // unused in all
    Field_04:float;
}

table PlacementZone_F22_BoolObject14 {
    Type:ubyte;
    Object:PlacementZone_F22_Inner (required);
}

table PlacementZone_F22_Inner {
    Field_00:float; // unused
    Field_01:float;
}

table PlacementZoneBerryTreeRandom {
    Hash:ulong;
    Rate:uint;
    Quantity:uint; // always 1?
}
