This is an old revision of the document!


Strategy: ResourceSender

Purpose to periodically send resources to other villages
When to use
When to avoid

FIXME: description

Syntax

<strategy class="ResourceSender" desc="DESCRIPTION" enabled="true"
          runWhile="RUNWHILE_UID" waitFor="WAITFOR_UID" uid="UID">
   <options cleverWait="CLEVERWAIT" delayMinutes="DELAY" randomOrder="RANDOMORDER"/>
   <sendMerchant x="XCOORD" y="YCOORD" village="TARGETNAME" wood="WOOD" clay="CLAY" 
                 iron="IRON" crop="CROP" allowLess="ALLOWLESS"/>
   <sendMerchant x="XCOORD" y="YCOORD" village="TARGETNAME" wood="WOOD" clay="CLAY" 
                 iron="IRON" crop="CROP" allowLess="ALLOWLESS"/>
   <sendMerchant x="XCOORD" y="YCOORD" village="TARGETNAME" wood="WOOD" clay="CLAY" 
                 iron="IRON" crop="CROP" allowLess="ALLOWLESS"/>
</strategy>

Attributes and parameters

DESCRIPTION some optional description of your choice
WAITFOR_UID See "Strategies"
RUNWHILE_UID See "Strategies"
UID Unique IDentifier. See "Strategies"
CLEVERWAIT Run the strategy again when the merchants come back
DELAY Time to wait before running again
RANDOMORDER When the strategy runs, choose sendMerchants entries randomly

FIXME

Examples

FIXME



Personal Tools