User Tools

Site Tools


api:building_function_market

BUILDING_FUNCTION_MARKET

Properties


TypeList

Serialized


CapacityMultiplier

Serialized

Used only if IsOverrideCapacity is set to false

  • Type: integer
  • Expected: integer value
  • Default value: 20

IsOverrideCapacity

Serialized

If set to true, the market's resource capacity will be equal to CapacityPerSlot. If set to false, it will be equal to the owning building part's VillagerCapacity multiplied by CapacityMultiplier

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

CapacityPerSlot

Serialized

Used only if IsOverrideCapacity is set to true

  • Type: integer
  • Expected: integer value
  • Default value: 20

SortOrder

Serialized

Defines the placement of this market in the market window (the lower SortOrder is, the higher the market will be in the market list)

  • Type: integer
  • Expected: integer value
  • Default value: 1000
api/building_function_market.txt · Last modified: 2022/01/20 11:43 (external edit)