<?xml version="1.0" standalone="no"?>

<unit>
	<parameters>
		<size value="1"/>
		<height value="2"/>
		<max-hp value="1000" regeneration="5"/>
		<max-ep value="0" regeneration="0"/>
		<armor value="5"/>	
		<armor-type value="leather"/>				
		<sight value="20"/>
		<time value="100"/>	
		<multi-selection value="true"/>	
		<cellmap value="false"/>
		<levels/>
		<fields>
			<field value="land"/>
		</fields>	
		<properties/>
		<light enabled="false"/>
		<unit-requirements/>
		<upgrade-requirements/>
		<resource-requirements>
			<resource name="gold" amount="150"/>
			<resource name="wood" amount="50"/>			
		</resource-requirements>
		<resources-stored/>
		<image path="images/hermit.bmp"/>
		<image-cancel path="/images/tech_stop.bmp"/>
		<meeting-point value="false"/>
		<selection-sounds enabled="true">
			<sound path="sounds/initiate_select1.wav"/>
			<sound path="sounds/initiate_select2.wav"/>
			<sound path="sounds/initiate_select3.wav"/>
			<sound path="sounds/initiate_select4.wav"/>
			<sound path="sounds/initiate_select5.wav"/>
		</selection-sounds>
		<command-sounds enabled="true">
			<sound path="sounds/initiate_ack1.wav"/>
			<sound path="sounds/initiate_ack2.wav"/>
			<sound path="sounds/initiate_ack3.wav"/>
			<sound path="sounds/initiate_ack4.wav"/>
			<sound path="sounds/initiate_ack5.wav"/>
			<sound path="sounds/initiate_ack6.wav"/>
			<sound path="sounds/initiate_ack7.wav"/>
			<sound path="sounds/initiate_ack8.wav"/>
			<sound path="sounds/initiate_ack9.wav"/>
		</command-sounds>
	</parameters>

	<skills>
	
		<skill>
			<type value="stop"/>
			<name value="stop_skill"/>		
			<ep-cost value="0"/>
			<speed value="1000"/>
			<anim-speed value="70"/>
			<animation path="models/captain_stand.g3d"/>
			<sound enabled="false"/>
		</skill>

		<skill>
			<type value="move"/>
			<name value="move_skill"/>		
			<ep-cost value="0"/>
			<speed value="150"/>
			<anim-speed value="130"/>
			<animation path="models/captain_walk.g3d"/>
			<sound enabled="false"/>
		</skill>

		<skill>
			<type value="build"/>
			<name value="build_skill"/>		
			<ep-cost value="0"/>
			<speed value="150"/>
			<anim-speed value="80"/>
			<animation path="models/captain_build.g3d"/>
			<sound enabled="true" start-time="0">
				<sound-file path="sounds/initiate_build1.wav"/>
				<sound-file path="sounds/initiate_build2.wav"/>
				<sound-file path="sounds/initiate_build3.wav"/>
			</sound>
		</skill>


		<skill>
			<type value="attack"/>
			<name value="attack_skill"/>		
			<ep-cost value="0"/>
			<speed value="40"/>
			<anim-speed value="20"/>
			<animation path="models/captain_attack.g3d"/>
			<sound enabled="true" start-time="0.2">
				<sound-file path="sounds/initiate_attack1.wav"/>
				<sound-file path="sounds/initiate_attack2.wav"/>
				<sound-file path="sounds/initiate_attack3.wav"/>
				<sound-file path="sounds/initiate_attack4.wav"/>
				<sound-file path="sounds/initiate_attack5.wav"/>
				<sound-file path="sounds/initiate_attack6.wav"/>
				<sound-file path="sounds/initiate_attack7.wav"/>
				<sound-file path="sounds/initiate_attack8.wav"/>
			</sound>
			<attack-strenght value="80"/>
			<attack-var value="40"/>
			<attack-range value="1"/>
			<attack-type value="energy"/>
			<attack-fields>
				<field value="land"/>
			</attack-fields>
			<attack-start-time value="0.45"/>
			<projectile value="false">
				<sound enabled="false">
			</sound>
			</projectile>
			<splash value="false"/>
		</skill>	

		<skill>
			<type value="die"/>
			<name value="die_skill"/>		
			<ep-cost value="0"/>
			<speed value="150"/>
			<anim-speed value="150"/>
			<animation path="models/captain_die.g3d"/>
			<sound enabled="true" start-time="0">
				<sound-file path="sounds/initiate_die1.wav"/>
				<sound-file path="sounds/initiate_die2.wav"/>
				<sound-file path="sounds/initiate_die3.wav"/>
			</sound>			
			<fade value="false"/>
		</skill>

		<skill>
			<type value="morph"/>
			<name value="cannon"/>		
			<ep-cost value="0"/>
			<speed value="500"/>
			<anim-speed value="200"/>
			<animation path="models/captain_stand.g3d"/>
			<sound enabled="true" start-time="0">
				<sound-file path="sounds/technician_build1.wav"/>
				<sound-file path="sounds/technician_build2.wav"/>
				<sound-file path="sounds/technician_build3.wav"/>	
				<sound-file path="sounds/technician_build4.wav"/>
				<sound-file path="sounds/technician_build5.wav"/>	
				<sound-file path="sounds/technician_build6.wav"/>
			</sound>
		</skill>

		<skill>
			<type value="morph"/>
			<name value="cutlas_gun"/>		
			<ep-cost value="0"/>
			<speed value="500"/>
			<anim-speed value="200"/>
			<animation path="models/captain_stand.g3d"/>
			<sound enabled="true" start-time="0">
				<sound-file path="sounds/technician_build1.wav"/>
				<sound-file path="sounds/technician_build2.wav"/>
				<sound-file path="sounds/technician_build3.wav"/>	
				<sound-file path="sounds/technician_build4.wav"/>
				<sound-file path="sounds/technician_build5.wav"/>	
				<sound-file path="sounds/technician_build6.wav"/>
			</sound>
		</skill>

		<skill>
			<type value="morph"/>
			<name value="bomb"/>		
			<ep-cost value="0"/>
			<speed value="500"/>
			<anim-speed value="200"/>
			<animation path="models/captain_stand.g3d"/>
			<sound enabled="true" start-time="0">
				<sound-file path="sounds/technician_build1.wav"/>
				<sound-file path="sounds/technician_build2.wav"/>
				<sound-file path="sounds/technician_build3.wav"/>	
				<sound-file path="sounds/technician_build4.wav"/>
				<sound-file path="sounds/technician_build5.wav"/>	
				<sound-file path="sounds/technician_build6.wav"/>
			</sound>
		</skill>

		<skill>
			<type value="repair"/>
			<name value="repair_skill"/>		
			<ep-cost value="0"/>
			<speed value="210"/>
			<anim-speed value="210"/>
			<animation path="models/captain_build.g3d"/>
			<sound enabled="true" start-time="0">
				<sound-file path="sounds/technician_build1.wav"/>
				<sound-file path="sounds/technician_build2.wav"/>
				<sound-file path="sounds/technician_build3.wav"/>	
				<sound-file path="sounds/technician_build4.wav"/>									
				<sound-file path="sounds/technician_build5.wav"/>	
				<sound-file path="sounds/technician_build6.wav"/>
			</sound>

		</skill>

		<skill>
			<type value="produce"/>
			<name value="summon_skill"/>		
			<ep-cost value="0"/>
			<speed value="150"/>
			<anim-speed value="80"/>
			<animation path="models/captain_call.g3d"/>
			<sound enabled="false"/>
		</skill>

	</skills>

	<commands>
		
		<command>
			<type value="stop"/>
			<name value="stop"/>
			<image path="images/tech_stop.bmp"/>
			<unit-requirements/>
			<upgrade-requirements/>
			<stop-skill value="stop_skill"/>
		</command>

		<command>
			<type value= "move"/>
			<name value="move"/>
			<image path="images/tech_move.bmp"/>
			<unit-requirements/>
			<upgrade-requirements/>
			<move-skill value="move_skill"/>
		</command>

		<command>
			<type value="attack"/>
			<name value="attack"/>
			<image path="images/attack.bmp"/>
			<unit-requirements/>
			<upgrade-requirements/>
			<move-skill value="move_skill"/>
			<attack-skill value="attack_skill"/>
		</command>

		<command>
			<type value="build"/>
			<name value="plant"/>
			<image path="images/plant.bmp"/>
			<unit-requirements/>
			<upgrade-requirements/>
			<move-skill value="move_skill"/>
			<build-skill value="build_skill"/>
			<buildings>
				<building name="air_plat"/>
			</buildings>
			<start-sound enabled="true">
				<sound-file path="sounds/initiate_work_start1.wav"/>
				<sound-file path="sounds/initiate_work_start2.wav"/>
			</start-sound>

			<built-sound enabled="true">
				<sound-file path="sounds/initiate_work_end1.wav"/>
				<sound-file path="sounds/initiate_work_end2.wav"/>
			</built-sound>	

		</command>

		<command>
			<type value="repair"/>
			<name value="repair"/>
			<image path="images/technician_repair.bmp"/>
			<unit-requirements/>
			<upgrade-requirements/>
			<move-skill value="move_skill"/>
			<repair-skill value="repair_skill"/>
			<repaired-units>	
				<unit name="air_plat"/>				
			</repaired-units>		
		</command>

		<command>
			<type value="morph"/>
			<name value="build_cannon"/>
			<image path="../cannon/images/catapult.bmp"/>
			<unit-requirements/>
			<upgrade-requirements/>
			<morph-skill value="cannon"/>
			<morph-unit name= "cannon"/>
			<discount value="40"/>
		</command>

		<command>
			<type value="morph"/>
			<name value="build_gun_and_cutlass_man"/>
			<image path="../gun_and_cutlass_man/images/battle_machine.bmp"/>
			<unit-requirements/>
			<upgrade-requirements/>
			<morph-skill value="cutlas_gun"/>
			<morph-unit name= "gun_and_cutlass_man"/>
			<discount value="40"/>
		</command>

		<command>
			<type value="morph"/>
			<name value="build_bomb_man"/>
			<image path="../bomb_man/images/air_ballista.bmp"/>
			<unit-requirements/>
			<upgrade-requirements/>
			<morph-skill value="cutlas_gun"/>
			<morph-unit name= "bomb_man"/>
			<discount value="40"/>
		</command>

		<!--command>
			<type value="produce"/>
			<name value="call_minstrel" />
			<image path="../minstrel/images/minstrel.bmp"/>
			<unit-requirements/>
			<upgrade-requirements/>
			<produce-skill value="summon_skill"/>
			<produced-unit name="minstrel"/>
		</command-->

	</commands>
</unit>
