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

<unit>

	<!-- *** parameters *** -->

	<parameters>
		<size value="1"/>
		<height value="2"/>
		<max-hp value="650" regeneration="1"/>
		<max-ep value="0"/>
		<armor value="14"/>
		<armor-type value="skin"/>					
		<sight value="13"/>
		<time value="60"/>	
		<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="krat" amount="120"/>
			<resource name="minerals" amount="1"/>	
			<resource name="wheat" amount="50"/>			
		</resource-requirements>
		<resources-stored/>
		<image path="images/jarka.bmp"/>
		<image-cancel path="../jako/images/cancel.bmp"/>
		<meeting-point value="false"/>
		<selection-sounds enabled="true">
			<sound path="sounds/selack1.wav"/>
			<sound path="sounds/selack2.wav"/>
			<sound path="sounds/selack3.wav"/>					
		</selection-sounds>
		<command-sounds enabled="true">
			<sound path="sounds/selack1.wav"/>
			<sound path="sounds/selack2.wav"/>
			<sound path="sounds/selack3.wav"/>				
		</command-sounds>
	</parameters>


	<!-- *** skills *** -->

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

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

		<skill>
			<type value="attack"/>
			<name value="attack_skill"/>		
			<ep-cost value="0"/>
			<speed value="100"/>
			<anim-speed value="100"/>
			<animation path="models/jarka_attack.g3d"/>
			<sound enabled="true" start-time="0.47">
				<sound-file path="sounds/attack1.wav"/>
				<sound-file path="sounds/attack2.wav"/>
			</sound> 
			<attack-strenght value="125"/>
			<attack-var value="75"/>
			<attack-range value="1"/>
			<attack-type value="teeth"/>
			<attack-fields>
				<field value="land"/>
			</attack-fields>
			<attack-start-time value="0"/>
			<projectile value="false"/>
			<splash value="false"/>
		</skill>
		
		<!--skill>
			<type value="build"/>
			<name value="build_skill"/>		
			<ep-cost value="0"/>
			<speed value="105"/>
			<anim-speed value="100"/>
			<animation path="models/worker_building.g3d"/>
			<sound enabled="true" start-time="0.5">
				<sound-file path="sounds/worker_build1.wav"/>
				<sound-file path="sounds/worker_build2.wav"/>
				<sound-file path="sounds/worker_build3.wav"/>
			</sound>
		</skill-->			
		
		<!--skill>
			<type value="repair"/>
			<name value="repair_skill"/>		
			<ep-cost value="0"/>
			<speed value="40"/>
			<anim-speed value="100"/>
			<animation path="models/worker_building.g3d"/>
			<sound enabled="true" start-time="0.5">
				<sound-file path="sounds/worker_build1.wav"/>
				<sound-file path="sounds/worker_build2.wav"/>
				<sound-file path="sounds/worker_build3.wav"/>
			</sound>
		</skill-->		
		
		<skill>
			<type value="die"/>
			<name value="die_skill"/>		
			<ep-cost value="0"/>
			<speed value="90"/>
			<anim-speed value="90"/>
			<animation path="models/jarka_die.g3d"/>
			<sound enabled="true" start-time="0">
				<sound-file path="sounds/die1.wav"/>
				<sound-file path="sounds/die2.wav"/>					
			</sound>			
			<fade value="false"/>
		</skill>						

	</skills>

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

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

		<command>
			<type value="attack"/>
			<name value="bite"/>
			<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="build_basic"/>
			<image path="images/build.bmp"/>
			<unit-requirements/>
			<upgrade-requirements/>
			<move-skill value="move_skill"/>
			<build-skill value="build_skill"/>
			<buildings>
                                <!building name="farm"/>			
			</buildings>
			<start-sound enabled="false"/>
			<built-sound enabled="false">
			</built-sound>	
		</command-->
		
		<!--command>
			<type value="repair"/>
			<name value="repair"/>
			<image path="images/repair.bmp"/>
			<unit-requirements/>
			<upgrade-requirements/>
			<move-skill value="move_skill"/>
			<repair-skill value="repair_skill"/>
			<repaired-units>
				<unit name="farm"/>							
			</repaired-units>		
		</command-->

		<!--command>
			<type value="harvest"/>
			<name value="harvest_wood"/>
			<image path="images/wood.bmp"/>
			<unit-requirements/>
			<upgrade-requirements/>
			<move-skill value="move_skill"/>
			<harvest-skill value="harvest_wood_skill"/>
			<stop-loaded-skill value="stop_skill"/>
			<move-loaded-skill value="move_skill"/>
			<harvested-resources>
				<resource name="wood"/>									
			</harvested-resources>
			<max-load value="20"/>
			<hits-per-unit value="1"/>				
		</command-->	

	</commands>
</unit>
