Differences

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

docs:strategies:growitem [2009/07/02 14:10]
xtian
docs:strategies:growitem [2009/07/02 14:52] (current)
xtian
Line 10: Line 10:
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. 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.
-|{{:docs:strategies:growitem:img:itemid.png}}|+|{{:docs:strategies:growitem:img:itemid.png?direct&300}}|
The last number in the address is the value for ''ITEM_ID_LIST''. The last number in the address is the value for ''ITEM_ID_LIST''.
Line 25: Line 25:
<code xml> <code xml>
-<strategy class="GrowItem" desc="DESCRIPTION" enabled="true" uid="UID">+<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"/>     <item id="ITEM_ID_LIST" desc="DESCRIPTION" building="BUILDING" maxLevel="MAX_LEVEL"/>
Line 35: Line 36:
|DESCRIPTION  |some optional description of your choice  | |DESCRIPTION  |some optional description of your choice  |
 +|WAITFOR_UID  |See [[index|"Strategies"]]  |
 +|RUNWHILE_UID  |See [[index|"Strategies"]]  |
|UID  |Unique IDentifier. See [[index|"Strategies"]]  | |UID  |Unique IDentifier. See [[index|"Strategies"]]  |
|BUILDING  |the name of the item you want to build, in the server language  | |BUILDING  |the name of the item you want to build, in the server language  |


Personal Tools