Table of Contents
Strategy: GrowItem
The GrowItem strategy contains a number of To grow an element, you must identify it with the correct value of ITEM_ID_LIST. To find that value, click on the building or field you want to grow, then look at the address.
The last number in the address is the value for
Notes:
Syntax<strategy class="GrowItem" desc="DESCRIPTION" enabled="true" runWhile="RUNWHILE_UID" waitFor="WAITFOR_UID" uid="UID"> <item id="ITEM_ID_LIST" desc="DESCRIPTION" building="BUILDING" maxLevel="MAX_LEVEL"/> <item id="ITEM_ID_LIST" desc="DESCRIPTION" building="BUILDING" maxLevel="MAX_LEVEL"/> <item id="ITEM_ID_LIST" desc="DESCRIPTION" building="BUILDING" maxLevel="MAX_LEVEL"/> </strategy> Attributes and parameters
ExamplesIn this example, the two items will be grown to level 20 and 5 only if they already exist or when they will be manually built to the first level <strategy class="GrowItem" desc="Grow Stuff" enabled="true" uid="s8255"> <item id="38" desc="Officina" maxLevel="20"/> <item id="36" desc="Falegnameria" maxLevel="5"/> </strategy> In this example we are building in steps, from scratch. Item 40 is the wall. <strategy class="GrowItem" desc="Grow Stuff" enabled="true" uid="s8242"> <item id="31" building="Granary" maxLevel="10"/> <item id="33" building="Warehouse" maxLevel="10"/> <item id="28" building="Grain Mill" maxLevel="5"/> <item id="29" building="Palace" maxLevel="10"/> <item id="31" building="Granary" maxLevel="20"/> <item id="33" building="Warehouse" maxLevel="20"/> <item id="29" building="Palace" maxLevel="20"/> <item id="40" maxLevel="20"/> </strategy> |
![]() |