User Tools

Site Tools


api:comp_resource_container

COMP_RESOURCE_CONTAINER

Category: Component

Parent class: COMPONENT

Properties


ResourceData


IsReplenishable

  • Type: boolean
  • Default value: false

ReplenishDurationInDays

  • Type: integer
  • Default value: 5

ReplenishQuantity

  • Type: integer
  • Default value: 50

ResourceValue

  • Type: float
  • Default value: 1.0f

ReplenishedMaterial

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

DepletedMaterial

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

ObjectToDisableWhenDepleted


AvailableQuantity

  • Type: integer
  • Default value: 1

DaysLeftBeforeReplenish

  • Type: integer
  • Default value: m_replenishDurationInDays

Radius

  • Type: float
  • Default value: 1.25f

IsDestroyWhenEmpty

  • Type: boolean
  • Default value: true

HasMaximumWorkstation

  • Type: boolean
  • Default value: false
api/comp_resource_container.txt · Last modified: 2020/10/22 10:16 (external edit)