====== FARM_FIELD_CONFIG ====== **Category**: Asset Parent class: [[:api:asset | ASSET]]\\ [[:assets:farm_field_config| List of FARM_FIELD_CONFIG assets]] ===== Properties ===== ---- ==== ZoneType ==== //[[:annotations#serialized|Serialized]]// * **Type**: ''[[:api:zone | ZONE]]'' * **Expected**: ''asset ID'' ---- ==== WeightedPlantList ==== //[[:annotations#serialized|Serialized]]// Will choose randomly from this list * **Type**: ''[[:api:weighted_list_prefab | WEIGHTED_LIST_PREFAB]]'' * **Can also be built from**: ''[[:data-types#list|list]]<[[:api:weighted_list_element_prefab | WEIGHTED_LIST_ELEMENT_PREFAB]]>'' * **Expected**: ''WEIGHTED_LIST_PREFAB value'' ---- ==== HasPlantingCycle ==== //[[:annotations#serialized|Serialized]]// * **Type**: ''[[:data-types#boolean|boolean]]'' * **Expected**: ''boolean value'' * **Default value**: ''true'' ---- ==== IsScaling ==== //[[:annotations#serialized|Serialized]]// * **Type**: ''[[:data-types#boolean|boolean]]'' * **Expected**: ''boolean value'' * **Default value**: ''true'' ---- ==== RowDistance ==== //[[:annotations#serialized|Serialized]]// * **Type**: ''[[:data-types#float|float]]'' * **Expected**: ''float value'' * **Default value**: ''3'' ---- ==== ItemDistance ==== //[[:annotations#serialized|Serialized]]// * **Type**: ''[[:data-types#float|float]]'' * **Expected**: ''float value'' * **Default value**: ''2'' ---- ==== RandomOrientation ==== //[[:annotations#serialized|Serialized]]// * **Type**: ''[[:api:vec2f | vec2f]]'' * **Expected**: ''vec2f value'' ---- ==== RandomPositionOffset ==== //[[:annotations#serialized|Serialized]]// * **Type**: ''[[:api:vec2f | vec2f]]'' * **Expected**: ''vec2f value'' ---- ==== AlphaTestThreshold ==== //[[:annotations#serialized|Serialized]]// * **Type**: ''[[:data-types#float|float]]'' * **Expected**: ''float value'' * **Default value**: ''0.5f'' ---- ==== StartScaleValue ==== //[[:annotations#serialized|Serialized]]// * **Type**: ''[[:data-types#float|float]]'' * **Expected**: ''float value'' * **Default value**: ''0.15f'' ---- ==== MinVisibleScale ==== //[[:annotations#serialized|Serialized]]// * **Type**: ''[[:data-types#float|float]]'' * **Expected**: ''float value'' * **Default value**: ''0.3f'' ---- ==== BiomeLayerArray ==== //[[:annotations#serialized|Serialized]]// * **Type**: ''[[:data-types#fixed_sized_map|fixed_sized_map]]<[[:api:farm_state | FARM_STATE]], [[:api:biome_layer | BIOME_LAYER]]>'' * **Expected**: ''map with enum values as keys and asset IDs as values'' ---- ==== SourceMaterial ==== //[[:annotations#serialized|Serialized]]// The source material to actually replace in the crop prefab. * **Type**: ''[[:api:material | MATERIAL]]'' * **Expected**: ''asset ID'' * **Default value**: ''nil'' ---- ==== GrowingMaterial ==== //[[:annotations#serialized|Serialized]]// The material to use during the growing phase. This material is eventually cloned to inject 'Growing Texture List'. * **Type**: ''[[:api:material | MATERIAL]]'' * **Expected**: ''asset ID'' * **Default value**: ''nil'' ---- ==== RestingMaterial ==== //[[:annotations#serialized|Serialized]]// The material to use during the resting phase (if any, otherwise 'Growing Material' is also used during the resting phase). This material is eventually cloned to inject 'Resting Texture List'. * **Type**: ''[[:api:material | MATERIAL]]'' * **Expected**: ''asset ID'' * **Default value**: ''nil'' ---- ==== GrowingTextureList ==== //[[:annotations#serialized|Serialized]]// * **Type**: ''[[:data-types#list|list]]<[[:api:texture | TEXTURE]]>'' * **Expected**: ''list of asset IDs'' ---- ==== RestingTextureList ==== //[[:annotations#serialized|Serialized]]// * **Type**: ''[[:data-types#list|list]]<[[:api:texture | TEXTURE]]>'' * **Expected**: ''list of asset IDs'' ---- ==== PlantPrefab ==== //[[:annotations#serialized|Serialized]]// * **Type**: ''[[:api:prefab | PREFAB]]'' * **Expected**: ''asset ID'' * **Default value**: ''nil'' ---- ==== BiomeLayer ==== //[[:annotations#serialized|Serialized]]// * **Type**: ''[[:api:biome_layer | BIOME_LAYER]]'' * **Expected**: ''asset ID'' * **Default value**: ''nil''