User Tools

Site Tools


api:farm_field_config

FARM_FIELD_CONFIG

Category: Asset

Parent class: ASSET

List of FARM_FIELD_CONFIG assets

Properties


ZoneType

Serialized

  • Type: ZONE
  • Expected: asset ID

PlantPrefab

Serialized

  • Type: PREFAB
  • Expected: asset ID

HasPlantingCycle

Serialized

  • Type: boolean
  • Expected: boolean value
  • Default value: true

IsScaling

Serialized

  • Type: boolean
  • Expected: boolean value
  • Default value: true

RowDistance

Serialized

  • Type: float
  • Expected: float value
  • Default value: 3

ItemDistance

Serialized

  • Type: float
  • Expected: float value
  • Default value: 2

RandomOrientation

Serialized

  • Type: vec2f
  • Expected: vec2f value

RandomPositionOffset

Serialized

  • Type: vec2f
  • Expected: vec2f value

SourceMaterial

Serialized


GrowingMaterial

Serialized


HarvestedMaterial

Serialized

  • Type: MATERIAL
  • Expected: asset ID
  • Default value: nil

GrowingTextureList

Serialized

  • Type: list<TEXTURE>
  • Expected: list of asset IDs

HarvestingTextureList

Serialized

  • Type: list<TEXTURE>
  • Expected: list of asset IDs

AlphaTestThreshold

Serialized

  • Type: float
  • Expected: float value
  • Default value: 0.5f

StartScaleValue

Serialized

  • Type: float
  • Expected: float value
  • Default value: 0.15f

MinVisibleScale

Serialized

  • Type: float
  • Expected: float value
  • Default value: 0.3f
api/farm_field_config.txt · Last modified: 2022/12/02 14:09 (external edit)