Table of Contents
Strategy: CapacityIncreaser
The CapacityIncreaser strategy will try to keep a given amount of free space in the warehouse and the granary. The amount of space is not expressed in resource quantity but in production hours. The higher your production, the bigger your warehouse must be if you want to be confident that it won't be filled up quickly. For example, let's say your granary can hold 12000 crops, currently holds 4000 crops and you have set “overflowTime” to 5; if your production is 2000 the granary level will be increased when the strategy runs because 4000 + 2000 * 5 = 14000 which is more than it can currently hold. Notes:
Syntax<strategy class="CapacityIncreaser" desc="DESCRIPTION" enabled="true" runWhile="RUNWHILE_UID" waitFor="WAITFOR_UID" uid="UID"> <warehouse id="SLOT_ID" overflowTime="HOURS_BEFORE_FILLING" /> <granary id="SLOT_ID" overflowTime="HOURS_BEFORE_FILLING" /> </strategy> Attributes and parameters
Examples<strategy class="CapacityIncreaser" desc="6 hours to be filled" enabled="true" uid="s2423"> <warehouse id="20" overflowTime="6" /> <granary id="21" overflowTime="6" /> </strategy> |
![]() |