User Tools

Site Tools


communityapi:ebf:building_function_produce_tree

BUILDING_FUNCTION_PRODUCE_TREE

Category: Asset
Mod Dependency: Foundation EBF

Parent class: BUILDING_FUNCTION

Properties


DefaultSpawners

  • Type: integer
  • Default value: 6
  • The default number of spawners

SpawnerIncrease

  • Type: integer
  • Default value: 1
  • The number of spawners each unique BUILDING_PART should add

SpawnerIncreaseNodeName

  • Type: string
  • Default value: SpawnerIncrease
  • The names of all objects belonging to BUILDING_PARTS increasing the number of spawners should start with this word

SpawnerNodeName

  • Type: string
  • Default value: ResourceSpawner
  • The names of all objects belonging to spawners should start with this word

SpawnerScaling

  • Type: boolean
  • Default value: true

SpawnerScalingSpeed

  • Type: float
  • Default value: 0.001

DaysToSpawn

  • Type: integer
  • Default value: 21

ResourceContainer


ResourceContainersPerSpawner

  • Type: integer
  • Default value: 5
  • Recommended values 1-5 else the containers will overlap

ResourceContainerFallingSpeed

  • Type: vec2f
  • Default value: { 0.4, 0.6 }
  • Picked randomly between the two values

communityapi/ebf/building_function_produce_tree.txt · Last modified: 2021/09/08 17:12 by minotorious