<unit>
	<parameters>
		<size value="1"/>
		<height value="2"/>
		<max-hp value="550" regeneration="0"/>
		<max-ep value="0"/>
		<armor value="0"/>
		<armor-type value="leather"/>					
		<sight value="8"/>
		<time value="80"/>	
		<multi-selection value="true"/>	
		<cellmap value="false"/>
		<levels>
			<level name="expert" kills="10"/>				
		</levels>
		<fields>
			<field value="land"/>
		</fields>	
		<properties/>
		<light enabled="false"/>
		<unit-requirements/>
		<upgrade-requirements/>
		<resource-requirements>
			<resource name="gold" amount="150"/>
			<resource name="food" amount="1"/>			
		</resource-requirements>
		<resources-stored/>
		<image path="images/engineer.png"/>
		<image-cancel path="../archer/images/order_cancel.png"/>
		<meeting-point value="false"/>
		<selection-sounds enabled="true">
			<sound path="$COMMONDATAPATH/sounds/technician_select1.wav"/>
			<sound path="$COMMONDATAPATH/sounds/technician_select2.wav"/>
			<sound path="$COMMONDATAPATH/sounds/technician_select3.wav"/>
			<sound path="$COMMONDATAPATH/sounds/technician_select4.wav"/>
			<sound path="$COMMONDATAPATH/sounds/technician_select5.wav"/>
			<sound path="$COMMONDATAPATH/sounds/technician_select6.wav"/>
			<sound path="$COMMONDATAPATH/sounds/technician_select7.wav"/>
			<sound path="$COMMONDATAPATH/sounds/technician_select8.wav"/>					
		</selection-sounds>
		<command-sounds enabled="true">
			<sound path="$COMMONDATAPATH/sounds/technician_ack1.wav"/>
			<sound path="$COMMONDATAPATH/sounds/technician_ack2.wav"/>
			<sound path="$COMMONDATAPATH/sounds/technician_ack3.wav"/>
			<sound path="$COMMONDATAPATH/sounds/technician_ack4.wav"/>		
			<sound path="$COMMONDATAPATH/sounds/technician_ack5.wav"/>
			<sound path="$COMMONDATAPATH/sounds/technician_ack6.wav"/>
			<sound path="$COMMONDATAPATH/sounds/technician_ack7.wav"/>
			<sound path="$COMMONDATAPATH/sounds/technician_ack8.wav"/>
			<sound path="$COMMONDATAPATH/sounds/technician_ack9.wav"/>
			<sound path="$COMMONDATAPATH/sounds/technician_ack10.wav"/>
			<sound path="$COMMONDATAPATH/sounds/technician_ack11.wav"/>		
			<sound path="$COMMONDATAPATH/sounds/technician_ack12.wav"/>
			<sound path="$COMMONDATAPATH/sounds/technician_ack13.wav"/>
			<sound path="$COMMONDATAPATH/sounds/technician_ack14.wav"/>
			<sound path="$COMMONDATAPATH/sounds/technician_ack15.wav"/>
			<sound path="$COMMONDATAPATH/sounds/technician_ack16.wav"/>		
			<sound path="$COMMONDATAPATH/sounds/technician_ack17.wav"/>
			<sound path="$COMMONDATAPATH/sounds/technician_ack18.wav"/>
			<sound path="$COMMONDATAPATH/sounds/technician_ack19.wav"/>					
		</command-sounds>
	</parameters>

	<skills>	
		<skill>
			<type value="stop"/>
			<name value="stop_skill"/>		
			<ep-cost value="0"/>
			<speed value="1000"/>
			<anim-speed value="55"/>
			<animation path="models/technician_standing.g3d"/>
			<sound enabled="false"/>
		</skill>		
		<skill>
			<type value="stop"/>
			<name value="stop_loaded_skill"/>		
			<ep-cost value="0"/>
			<speed value="1000"/>
			<anim-speed value="150"/>
			<animation path="models/technician_standing_loaded.g3d"/>
			<sound enabled="false"/>
		</skill>
		<skill>
			<type value="move"/>
			<name value="move_skill"/>		
			<ep-cost value="0"/>
			<speed value="210"/>
			<anim-speed value="210"/>
			<animation path="models/technician_walking.g3d"/>
			<sound enabled="false"/>
		</skill>	               
		<skill>
			<type value="move"/>
			<name value="move_loaded_skill"/>		
			<ep-cost value="0"/>
			<speed value="190"/>
			<anim-speed value="50"/>
			<animation path="models/technician_walking_loaded.g3d"/>
			<sound enabled="false"/>
		</skill>
		<skill>
			<type value="repair"/>
			<name value="repair_skill"/>		
			<ep-cost value="0"/>
			<speed value="60"/>
			<anim-speed value="210"/>
			<animation path="models/technician_repairing.g3d"/>
			<sound enabled="true" start-time="0">
				<sound-file path="$COMMONDATAPATH/sounds/technician_build1.wav"/>
				<sound-file path="$COMMONDATAPATH/sounds/technician_build2.wav"/>
				<sound-file path="$COMMONDATAPATH/sounds/technician_build3.wav"/>	
				<sound-file path="$COMMONDATAPATH/sounds/technician_build4.wav"/>									
				<sound-file path="$COMMONDATAPATH/sounds/technician_build5.wav"/>	
				<sound-file path="$COMMONDATAPATH/sounds/technician_build6.wav"/>
			</sound>
		</skill>
		<skill>
			<type value="attack"/>
			<name value="attack_skill"/>		
			<ep-cost value="0"/>
			<speed value="35"/>
			<anim-speed value="35"/>
			<animation path="models/technician_attacking.g3d"/>
			<sound enabled="true" start-time="0.5">
				<sound-file path="$COMMONDATAPATH/sounds/technician_attack.wav"/>
			</sound> 
			<attack-strenght value="50"/>
			<attack-var value="50"/>
			<attack-range value="6"/>
			<attack-type value="energy"/>
			<attack-start-time value="0.5"/>
			<attack-fields>
				<field value="land"/>
			</attack-fields>
			<projectile value="true">
				<particle value="true" path="stone_proj.xml"/>
				<sound enabled="true">
					<sound-file path="/sounds/hit.wav"/>
				</sound>
			</projectile>
			<splash value="false"/>
		</skill>		
		<skill>
			<type value="repair"/>
			<name value="heal"/>		
			<ep-cost value="0"/>
			<speed value="210"/>
			<anim-speed value="210"/>
			<animation path="models/technician_healing.g3d"/>
			<sound enabled="false"/>
		</skill>
		<skill>
			<type value="build"/>
			<name value="build_skill"/>		
			<ep-cost value="0"/>
			<speed value="210"/>
			<anim-speed value="210"/>
			<animation path="models/technician_repairing.g3d"/>
			<sound enabled="true" start-time="0">
				<sound-file path="$COMMONDATAPATH/sounds/technician_build1.wav"/>
				<sound-file path="$COMMONDATAPATH/sounds/technician_build2.wav"/>
				<sound-file path="$COMMONDATAPATH/sounds/technician_build3.wav"/>	
				<sound-file path="$COMMONDATAPATH/sounds/technician_build4.wav"/>									
				<sound-file path="$COMMONDATAPATH/sounds/technician_build5.wav"/>	
				<sound-file path="$COMMONDATAPATH/sounds/technician_build6.wav"/>
			</sound>
		</skill>		
		<skill>
			<type value="harvest"/>
			<name value="mine_skill"/>		
			<ep-cost value="0"/>
			<speed value="50"/>
			<anim-speed value="210"/>
			<animation path="models/technician_mining.g3d"/>
			<sound enabled="true" start-time="0.5">
				<sound-file path="sounds/technician_mine1.wav"/>
				<sound-file path="sounds/technician_mine2.wav"/>
				<sound-file path="sounds/technician_mine3.wav"/>	
				<sound-file path="sounds/technician_mine4.wav"/>									
			</sound>
		</skill>
		<skill>
			<type value="morph"/>
			<name value="build_catapult"/>		
			<ep-cost value="0"/>
			<speed value="500"/>
			<anim-speed value="200"/>
			<animation path="models/technician_morphing_catapult.g3d"/>
			<sound enabled="true" start-time="0">
				<sound-file path="$COMMONDATAPATH/sounds/technician_build1.wav"/>
				<sound-file path="$COMMONDATAPATH/sounds/technician_build2.wav"/>
				<sound-file path="$COMMONDATAPATH/sounds/technician_build3.wav"/>	
				<sound-file path="$COMMONDATAPATH/sounds/technician_build4.wav"/>									
				<sound-file path="$COMMONDATAPATH/sounds/technician_build5.wav"/>	
				<sound-file path="$COMMONDATAPATH/sounds/technician_build6.wav"/>
			</sound>
		</skill>
		<skill>
			<type value="morph"/>
			<name value="build_ballista"/>		
			<ep-cost value="0"/>
			<speed value="300"/>
			<anim-speed value="200"/>
			<animation path="../ballista/models/air_ballista_morphing.g3d"/>
			<sound enabled="true" start-time="0">
				<sound-file path="$COMMONDATAPATH/sounds/technician_build1.wav"/>
				<sound-file path="$COMMONDATAPATH/sounds/technician_build2.wav"/>
				<sound-file path="$COMMONDATAPATH/sounds/technician_build3.wav"/>	
				<sound-file path="$COMMONDATAPATH/sounds/technician_build4.wav"/>									
				<sound-file path="$COMMONDATAPATH/sounds/technician_build5.wav"/>	
				<sound-file path="$COMMONDATAPATH/sounds/technician_build6.wav"/>
			</sound>
		</skill>			
		<skill>
			<type value="die"/>
			<name value="die_skill"/>		
			<ep-cost value="0"/>
			<speed value="90"/>
			<anim-speed value="50"/>
			<animation path="models/technician_dying.g3d"/>
			<sound enabled="true" start-time="0">
				<sound-file path="$COMMONDATAPATH/sounds/technician_die1.wav"/>
				<sound-file path="$COMMONDATAPATH/sounds/technician_die2.wav"/>
				<sound-file path="$COMMONDATAPATH/sounds/technician_die3.wav"/>	
				<sound-file path="$COMMONDATAPATH/sounds/technician_die4.wav"/>									
			</sound>			
			<fade value="false"/>
		</skill>						
	</skills>
	
	<commands>
		<command>
			<type value="stop"/>
			<name value="stop"/>
			<image path="../archer/images/order_halt.png"/>
			<unit-requirements/>
			<upgrade-requirements/>
			<stop-skill value="stop_skill"/>
		</command>
		<command>
			<type value="move"/>
			<name value="move"/>
			<image path="../archer/images/order_move.png"/>
			<unit-requirements/>
			<upgrade-requirements/>
			<move-skill value="move_skill"/>
		</command>
		<command>
			<type value="build"/>
			<name value="build"/>
			<image path="images/engineer_build.png"/>
			<unit-requirements/>
			<upgrade-requirements/>
			<move-skill value="move_skill"/>
			<build-skill value="build_skill"/>
			<buildings>							
                <!--building name="banner"/-->
                <!--building name="cauldron"/-->					
                <building name="warchest"/>			
            </buildings>
			<start-sound enabled="false"/>
			<built-sound enabled="true" start-time="0">
				<sound-file path="$COMMONDATAPATH/sounds/technician_select1.wav"/>
				<sound-file path="$COMMONDATAPATH/sounds/technician_select5.wav"/>
			</built-sound>
		</command>		
		<command>
			<type value="repair"/>
			<name value="repair"/>
			<image path="images/engineer_repair.png"/>
			<unit-requirements/>
			<upgrade-requirements/>
			<move-skill value="move_skill"/>
			<repair-skill value="repair_skill"/>
			<repaired-units>
				<unit name="farm"/>
				<unit name="barracks"/>
				<unit name="blacksmith"/>
				<unit name="watchtower"/>				
				<unit name="castle"/>
				<unit name="stable"/>			
				<unit name="tent"/>
				<unit name="guild"/>				
				<unit name="statue"/>
				<unit name="battering_ram"/>					
				<unit name="ballista"/>					
				<unit name="catapult"/>				
				<unit name="defense_tower"/>
				<unit name="warchest"/>					
			</repaired-units>		
		</command>
		<command>
			<type value="repair"/>
			<name value="heal"/>
			<image path="images/engineer_heal.png"/>
			<unit-requirements>
				<unit name="guild"/>
			</unit-requirements>
			<upgrade-requirements>
				<upgrade name="medicine"/>
			</upgrade-requirements>
			<move-skill value="move_skill"/>
			<repair-skill value="heal"/>
			<repaired-units>
				<unit name="peasant"/>
				<!--unit name="armed_peasant"/-->								
				<unit name="yeoman"/>
				<unit name="militia"/>				
				<unit name="monk"/>				
				<unit name="lord"/>				
				<unit name="engineer"/>		
				<unit name="swordsman"/>
				<unit name="spearman"/>				
				<unit name="archer"/>
				<unit name="pikeman"/>				
				<unit name="man_at_arms"/>
				<unit name="crossbowman"/>				
				<unit name="banner_guard"/>
				<unit name="mantlet"/>
				<unit name="scout"/>					
				<unit name="horseman"/>
				<unit name="horse_archer"/>	
				<unit name="knight"/>
				<unit name="paladin"/>
				<unit name="champion"/>					
			</repaired-units>		
		</command>
		<command>
			<type value="harvest"/>
			<name value="mine"/>
			<image path="images/engineer_mine_gold.png"/>
			<unit-requirements/>
			<upgrade-requirements/>
			<move-skill value="move_skill"/>
			<harvest-skill value="mine_skill"/>
			<stop-loaded-skill value="stop_loaded_skill"/>
			<move-loaded-skill value="move_loaded_skill"/>
			<harvested-resources>
				<resource name="gold"/>
				<!--resource name="iron"/-->				
				<resource name="stone"/>					
			</harvested-resources>
			<max-load value="25"/>
			<hits-per-unit value="1"/>				
		</command>
		<command>
			<type value="attack"/>
			<name value="throw"/>
			<image path="images/engineer_attack.png"/>
			<unit-requirements/>
			<upgrade-requirements/>
			<move-skill value="move_skill"/>
			<attack-skill value="attack_skill"/>
		</command>		
		<command>
			<type value="attack_stopped"/>
			<name value="hold_position"/>
			<image path="../archer/images/order_hold.png"/>
			<unit-requirements/>
			<upgrade-requirements/>
			<stop-skill value="stop_skill"/>
			<attack-skill value="attack_skill"/>
		</command>		
		<command>
			<type value="morph"/>
			<name value="build_catapult"/>
			<image path="../catapult/images/catapult.png"/>
			<unit-requirements/>
			<upgrade-requirements/>
			<morph-skill value="build_catapult"/>
			<morph-unit name= "catapult"/>
			<discount value="0"/>
		</command>             
		<command>
			<type value="morph"/>
			<name value="build_ballista"/>
			<image path="../ballista/images/ballista.png"/>
			<unit-requirements/>
			<upgrade-requirements/>
			<morph-skill value="build_ballista"/>
			<morph-unit name= "ballista"/>
			<discount value="0"/>
		</command>
	</commands>
</unit>