User Tools

Site Tools


preview:api:building_function_market

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
preview:api:building_function_market [2019/10/04 17:55]
127.0.0.1 external edit
preview:api:building_function_market [2019/10/07 17:07] (current)
maxime
Line 24: Line 24:
  
 ==== CapacityMultiplier ==== ==== CapacityMultiplier ====
 +Used only if [[api:​building_function_market#​IsOverrideCapacity|IsOverrideCapacity]] is set to ''​false''​
   * **Type**: ''​Integer''​   * **Type**: ''​Integer''​
   * **Default value**: ''​20''​   * **Default value**: ''​20''​
Line 30: Line 31:
  
 ==== IsOverrideCapacity ==== ==== IsOverrideCapacity ====
 +If set to ''​true'',​ the market'​s resource capacity will be equal to [[api:​building_function_market#​CapacityPerSlot|CapacityPerSlot]]. If set to ''​false'',​ it will be equal to the owning building part's [[api:​building_part#​VillagerCapacity|VillagerCapacity]] multiplied by [[api:​building_function_market#​CapacityMultiplier|CapacityMultiplier]]
   * **Type**: ''​Boolean''​   * **Type**: ''​Boolean''​
   * **Default value**: ''​false''​   * **Default value**: ''​false''​
Line 36: Line 38:
  
 ==== CapacityPerSlot ==== ==== CapacityPerSlot ====
 +Used only if [[api:​building_function_market#​IsOverrideCapacity|IsOverrideCapacity]] is set to ''​true''​
   * **Type**: ''​Integer''​   * **Type**: ''​Integer''​
   * **Default value**: ''​20''​   * **Default value**: ''​20''​
  
  
preview/api/building_function_market.txt ยท Last modified: 2019/10/07 17:07 by maxime