User Tools

Site Tools


api:comp_resource_stockpile

COMP_RESOURCE_STOCKPILE

Category: Component

Parent class: COMPONENT

Properties


ResourceLayoutTypeList

Serialized


OptionalAllowedResourceList

Serialized

Allowing only 1 resource on a stockpile will allow the resource to be split between all resource stockpile with this unique resource associated.


OptionalAllowedResourceTypeList

Serialized

If not left empty, the stockpile will only display resource types included in this list


LocatorPrefix

Serialized

Optional, allows to use only child game objects whose name starts with this prefix as visual locators. If empty, all child game objects will be used as locators.

  • Type: string
  • Expected: string value

DefaultResourceVisual

Serialized


ResourceStockpileVisualMode

Serialized


IsOnlyAccessibleToParentResourceDepot

Serialized

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

CanBeUsedForMultipleResource

Serialized

If checked, the stockpile will allow multiple resource to be stored on the same stockpile, as long as the resources match the filters above

  • Type: boolean
  • Expected: boolean value
  • Default value: false

DropoffLocator

Serialized

  • Expected: GAME_OBJECT value
  • Default value: nil
api/comp_resource_stockpile.txt · Last modified: 2026/10/09 13:20 by 127.0.0.1

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki