====== BUILDING_FUNCTION_FARM ====== **Category**: Asset Parent class: [[preview:api:building_function_workplace|BUILDING_FUNCTION_WORKPLACE]]\\ [[preview:assets:building_function#building_function_farm| List of BUILDING_FUNCTION_FARM assets]] ===== Properties ===== ---- ==== SowingDurationPerc ==== //[[:annotations#serialized|Serialized]]// The first value is the day at which sowing starts, and the second is the day at which it ends * **Type**: ''[[preview:api:vec2i|vec2i]]'' * **Expected**: ''vec2i value'' ---- ==== GrowDuration ==== //[[:annotations#serialized|Serialized]]// The first value is the day at which growing starts, and the second is the day at which it ends * **Type**: ''[[preview:api:vec2i|vec2i]]'' * **Expected**: ''vec2i value'' ---- ==== GrowWaitDuration ==== //[[:annotations#serialized|Serialized]]// The first value is the day at which growing wait starts, and the second is the day at which it ends * **Type**: ''[[preview:api:vec2i|vec2i]]'' * **Expected**: ''vec2i value'' ---- ==== HarvestDuration ==== //[[:annotations#serialized|Serialized]]// The first value is the day at which harvest starts, and the second is the day at which it ends * **Type**: ''[[preview:api:vec2i|vec2i]]'' * **Expected**: ''vec2i value'' ---- ==== RestDuration ==== //[[:annotations#serialized|Serialized]]// The first value is the day at which resting starts, and the second is the day at which it ends * **Type**: ''[[preview:api:vec2i|vec2i]]'' * **Expected**: ''vec2i value'' ---- ==== QuantityToHarvestPerStep ==== //[[:annotations#serialized|Serialized]]// * **Type**: ''[[preview:data-types#integer_and_unsigned_integer|integer_and_unsigned_integer]]'' * **Expected**: ''integer value'' * **Default value**: ''30'' ---- ==== HarvestStepsCount ==== //[[:annotations#serialized|Serialized]]// * **Type**: ''[[preview:data-types#integer_and_unsigned_integer|integer_and_unsigned_integer]]'' * **Expected**: ''integer value'' * **Default value**: ''5'' ---- ==== QuantityToPlantPerStep ==== //[[:annotations#serialized|Serialized]]// * **Type**: ''[[preview:data-types#integer_and_unsigned_integer|integer_and_unsigned_integer]]'' * **Expected**: ''integer value'' * **Default value**: ''30'' ---- ==== PlantingStepsCount ==== //[[:annotations#serialized|Serialized]]// * **Type**: ''[[preview:data-types#integer_and_unsigned_integer|integer_and_unsigned_integer]]'' * **Expected**: ''integer value'' * **Default value**: ''5'' ---- ==== ResourceValuePerGather ==== //[[:annotations#serialized|Serialized]]// * **Type**: ''[[preview:data-types#float|float]]'' * **Expected**: ''float value'' * **Default value**: ''1'' ---- ==== CropFieldConfig ==== //[[:annotations#serialized|Serialized]]// * **Type**: ''[[preview:api:farm_field_config|FARM_FIELD_CONFIG]]'' * **Expected**: ''asset ID'' ---- ==== HarvestSetup ==== //[[:annotations#serialized|Serialized]]// * **Type**: ''[[preview:api:interactive_location_setup|INTERACTIVE_LOCATION_SETUP]]'' * **Expected**: ''asset ID'' ---- ==== SowingSetup ==== //[[:annotations#serialized|Serialized]]// * **Type**: ''[[preview:api:interactive_location_setup|INTERACTIVE_LOCATION_SETUP]]'' * **Expected**: ''asset ID'' ---- ==== GrowingSetup ==== //[[:annotations#serialized|Serialized]]// * **Type**: ''[[preview:api:interactive_location_setup|INTERACTIVE_LOCATION_SETUP]]'' * **Expected**: ''asset ID''