Orders Example for V0.2
<orders>
<!--
Turn sequence is...
Diplomacy
Message
Colonise
Move
Intercept
Repair
Combat (system order - not issued by players)
Build
Upgrade
Mining (system order - not issued by players)
research
Discovery (system order - not issued by players)
Name
-->
<build>
<ship>1</ship> or <planet>1</planet> <!-- can use id or name -->
<hull>1000</hull>
<slot>engine</slot>
<slot>factory</slot> <!-- for building -->
<slot>landing craft</slot> <!-- for colonising -->
<slot>lab</slot> <!-- research -->
<slot>torpedo</slot>
<slot>repair bay</slot> <!-- not implemented yet -->
<slot>shield</slot>
</build>
<diplomacy>
<clear />
<enemy>Steve</enemy> <!-- can use id or name -->
</diplomacy>
<intercept>
<ship>1</ship> <!-- can use id or name -->
<target>2</target> <!-- can use id or name -->
<targetfaction>555</targetfaction> <!-- only required of target is a name, not an id -->
</intercept>
<message>
<faction>Steve</faction> <!-- can use id or name -->
<text>Completely overlooked in first version of client!</text>
</message>
<move>
<ship>1</ship> <!-- can use id or name -->
<planet>2</planet> <!-- can use id or name, used in preference to x,y -->
<x>0</x>
<y>0</y>
</move>
<name>
<planet>1</planet> <!-- can use id or name -->
<ship>2</ship> <!-- can use id or name -->
<faction>3</faction> <!-- can use id or name (ignored in client v1 - probably for the best!) -->
<name>New Name</name>
</name>
<repair>
<ship>1</ship> <!-- can use id or name -->
<energy>ALL</energy> <!-- amount of energy to use repairing, or ALL to repair all damage -->
</repair>
<upgrade>
<ship>1</ship> or <planet>1</planet> <!-- can use id or name -->
<target_ship>1</target_ship> or <target_planet>1</target_planet> <!-- can use id or name -->
<slot>engine</slot>
<slot>factory</slot> <!-- for building -->
<slot>landing craft</slot> <!-- for colonising -->
<slot>lab</slot> <!-- research -->
<slot>torpedo</slot>
<slot>repair bay</slot> <!-- not implemented yet -->
<slot>shield</slot>
</upgrade>
<colonise>
<ship>1</ship> <!-- can use id or name, to colonise a planet at same location -->
<colonise>
<research>
<technology>fields or engineering or quantum</technology>
<research>
</orders>
The Easy Way Out (Glenn)