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/07 17:07]
maxime
preview:api:building_function_market [2020/01/15 17:51] (current)
Line 13: Line 13:
 ==== TypeList ==== ==== TypeList ====
 See [[api:​resource_type|RESOURCE_TYPE]] for the list of core resource types See [[api:​resource_type|RESOURCE_TYPE]] for the list of core resource types
-  * **Type**: ''​List<String>''​ +  * **Type**: ''​list<string>''​
- +
----- +
- +
-==== ResourceSlotCount ==== +
-  * **Type**: ''​Integer''​ +
-  * **Default value**: ''​1''​+
  
 ---- ----
Line 25: Line 19:
 ==== CapacityMultiplier ==== ==== CapacityMultiplier ====
 Used only if [[api:​building_function_market#​IsOverrideCapacity|IsOverrideCapacity]] is set to ''​false''​ Used only if [[api:​building_function_market#​IsOverrideCapacity|IsOverrideCapacity]] is set to ''​false''​
-  * **Type**: ''​Integer''​+  * **Type**: ''​integer''​
   * **Default value**: ''​20''​   * **Default value**: ''​20''​
  
Line 32: Line 26:
 ==== 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]] 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 39: Line 33:
 ==== CapacityPerSlot ==== ==== CapacityPerSlot ====
 Used only if [[api:​building_function_market#​IsOverrideCapacity|IsOverrideCapacity]] is set to ''​true''​ Used only if [[api:​building_function_market#​IsOverrideCapacity|IsOverrideCapacity]] is set to ''​true''​
-  * **Type**: ''​Integer''​+  * **Type**: ''​integer''​
   * **Default value**: ''​20''​   * **Default value**: ''​20''​
 +
 +----
 +
 +==== SortOrder ====
 +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''​
 +  * **Default value**: ''​1000''​
  
  
preview/api/building_function_market.1570482471.txt.gz · Last modified: 2019/10/07 17:07 by maxime