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

<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/>
		<fields>
			<field value="land"/>
		</fields>	
		<properties/>
		<light enabled="false"/>
		<unit-requirements/>
		<upgrade-requirements/>
		<resource-requirements>
			<resource name="gold" amount="300"/>
			<resource name="food" amount="1"/>			
		</resource-requirements>
		<resources-stored/>
		<image path="images/chemist.bmp"/>
		<image-cancel path="images/tech_cancel.bmp"/>
		<meeting-point value="false"/>
		<selection-sounds enabled="true">
			<sound path="sounds/technician_select1.wav"/>
			<sound path="sounds/technician_select2.wav"/>
			<sound path="sounds/technician_select3.wav"/>
			<sound path="sounds/technician_select4.wav"/>
			<sound path="sounds/technician_select5.wav"/>
			<sound path="sounds/technician_select6.wav"/>
			<sound path="sounds/technician_select7.wav"/>
			<sound path="sounds/technician_select8.wav"/>					
		</selection-sounds>
		<command-sounds enabled="true">
			<sound path="sounds/technician_ack1.wav"/>
			<sound path="sounds/technician_ack2.wav"/>
			<sound path="sounds/technician_ack3.wav"/>
			<sound path="sounds/technician_ack4.wav"/>		
			<sound path="sounds/technician_ack5.wav"/>
			<sound path="sounds/technician_ack6.wav"/>
			<sound path="sounds/technician_ack7.wav"/>
			<sound path="sounds/technician_ack8.wav"/>
			<sound path="sounds/technician_ack9.wav"/>
			<sound path="sounds/technician_ack10.wav"/>
			<sound path="sounds/technician_ack11.wav"/>		
			<sound path="sounds/technician_ack12.wav"/>
			<sound path="sounds/technician_ack13.wav"/>
			<sound path="sounds/technician_ack14.wav"/>
			<sound path="sounds/technician_ack15.wav"/>
			<sound path="sounds/technician_ack16.wav"/>		
			<sound path="sounds/technician_ack17.wav"/>
			<sound path="sounds/technician_ack18.wav"/>
			<sound path="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/chemist_stand.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/chemist_stand.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/chemist_walk.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/chemist_walk.g3d"/>
			<sound enabled="false"/>
		</skill>

		<skill>
			<type value="repair"/>
			<name value="repair_skill"/>		
			<ep-cost value="0"/>
			<speed value="210"/>
			<anim-speed value="210"/>
			<animation path="models/chemist_buld.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="attack"/>
			<name value="molotov_skill"/>		
			<ep-cost value="0"/>
			<speed value="35"/>
			<anim-speed value="35"/>
			<animation path="models/chemist_stand.g3d"/>
			<sound enabled="true" start-time="0.5">
				<sound-file path="sounds/technician_attack.wav"/>
			</sound> 
			<attack-strenght value="150"/>
			<attack-var value="100"/>
			<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="particle_proj.xml"/>
				<sound enabled="true">
					<sound-file path="/sounds/technician_hit1.wav"/>
					<sound-file path="/sounds/technician_hit2.wav"/>
				</sound>
			</projectile>
			<splash value="true">
				<radius value="1"/>
				<damage-all value="true"/>
				<particle value="true" path="particle_splash.xml"/>
			</splash>
		</skill>

		<skill>
			<type value="repair"/>
			<name value="heal"/>		
			<ep-cost value="0"/>
			<speed value="210"/>
			<anim-speed value="210"/>
			<animation path="models/chemist_stand.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/chemist_buld.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="harvest"/>
			<name value="mine_skill"/>		
			<ep-cost value="0"/>
			<speed value="50"/>
			<anim-speed value="210"/>
			<animation path="models/chemist_buld.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_mad_scientist"/>		
			<ep-cost value="0"/>
			<speed value="500"/>
			<anim-speed value="200"/>
			<animation path="models/chemist_buld_jet_ball.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="die"/>
			<name value="die_skill"/>		
			<ep-cost value="0"/>
			<speed value="90"/>
			<anim-speed value="50"/>
			<animation path="models/chemist_die.g3d"/>
			<sound enabled="true" start-time="0">
				<sound-file path="sounds/technician_die1.wav"/>
				<sound-file path="sounds/technician_die2.wav"/>
				<sound-file path="sounds/technician_die3.wav"/>	
				<sound-file path="sounds/technician_die4.wav"/>									
			</sound>			
			<fade value="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="build"/>
			<name value="build_ultimate"/>
			<image path="../worker/images/worker_build_advanced.bmp"/>
			<unit-requirements/>
			<upgrade-requirements/>
			<move-skill value="move_skill"/>
			<build-skill value="build_skill"/>
			<buildings>
                                <building name="space_center"/>
                	</buildings>
			<start-sound enabled="false"/>
			<built-sound enabled="true" start-time="0">
				<sound-file path="sounds/technician_select1.wav"/>
				<sound-file path="sounds/technician_select5.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="space_center"/>	
				<unit name="jet_ball"/>					
			</repaired-units>		
		</command>

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

		<command>
			<type value="morph"/>
			<name value="maden"/>
			<image path="../mad_scientist/images/mad_scientist.bmp"/>
			<unit-requirements/>
			<upgrade-requirements/>
			<morph-skill value="build_mad_scientist"/>
			<morph-unit name= "mad_scientist"/>
			<discount value="40"/>
		</command>

	</commands>
</unit>
