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

<unit>
	<parameters>
		<size value="1"/>
		<height value="3"/>
		<max-hp value="450" regeneration="0"/>
		<max-ep value="50" regeneration="1"/>
		<armor value="0"/>	
		<armor-type value="leather"/>				
		<sight value="9"/>
		<time value="40"/>	
		<multi-selection value="true"/>	
		<cellmap value="false"/>
		<levels>
			<level name="ancient" kills="10"/>
			<level name="legendary" kills="20"/>
			<level name="illusion" kills="40"/>
			<level name="bugged" kills="120"/>
		</levels>
		<fields>
			<field value="land"/>
		</fields>	
		<properties/>
		<light enabled="false"/>
		<unit-requirements/>
		<upgrade-requirements/>
		<resource-requirements>
			<resource name="eggs" amount="1"/>		
		</resource-requirements>	
		<resources-stored/>
		<image path="images/worker_duck.bmp"/>
		<image-cancel path="images/magic_cancel.bmp"/>
		<meeting-point value="false"/>
		<selection-sounds enabled="false">
		</selection-sounds>
		<command-sounds enabled="false">
		</command-sounds>
	</parameters>
	<skills>
		<skill>
			<type value="produce"/>
			<name value="summon_skill"/>		
			<ep-cost value="0"/>
			<speed value="150"/>
			<anim-speed value="80"/>
			<animation path="models/duck.g3d"/>
			<sound enabled="false">
			</sound>
		</skill>
	
		<skill>
			<type value="stop"/>
			<name value="stop_skill"/>		
			<ep-cost value="0"/>
			<speed value="1000"/>
			<anim-speed value="70"/>
			<animation path="models/duck.g3d"/>
			<sound enabled="false"/>
		</skill>

		<skill>
			<type value="stop"/>
			<name value="stop_loaded_skill"/>		
			<ep-cost value="0"/>
			<speed value="70"/>
			<anim-speed value="60"/>
			<animation path="models/duck.g3d"/>
			<sound enabled="false"/>
		</skill>

		<skill>
			<type value="stop"/>
			<name value="stop_loaded_wood_skill"/>		
			<ep-cost value="0"/>
			<speed value="70"/>
			<anim-speed value="60"/>
			<animation path="models/duck.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/duck.g3d"/>
			<sound enabled="false"/>
		</skill>

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

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

		<skill>
			<type value="move"/>
			<name value="move_loaded_skill"/>		
			<ep-cost value="0"/>
			<speed value="130"/>
			<anim-speed value="120"/>
			<animation path="models/duck.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/duck.g3d"/>
			<sound enabled="false">
			</sound>
		</skill>

		<skill>
			<type value="repair"/>
			<name value="repair_skill"/>		
			<ep-cost value="0"/>
			<speed value="150"/>
			<anim-speed value="150"/>
			<animation path="models/duck.g3d"/>
			<sound enabled="false">
			</sound>
		</skill>

		<skill>
			<type value="attack"/>
			<name value="attack_skill"/>		
			<ep-cost value="0"/>
			<speed value="40"/>
			<anim-speed value="40"/>
			<animation path="models/duck.g3d"/>
			<sound enabled="false">
			</sound>
			<attack-strenght value="50"/>
			<attack-var value="40"/>
			<attack-range value="4"/>
			<attack-type value="energy"/>
			<attack-fields>
				<field value="land"/>
			</attack-fields>
			<attack-start-time value="0.45"/>
			<projectile value="true">
				<particle value="true" path="particle_proj.xml"/>
				<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/dead_duck.g3d"/>
			<sound enabled="false" start-time="0">
			</sound>			
			<fade value="false"/>
		</skill>
		<skill>
			<type value="harvest"/>
			<name value="harvest_skill"/>		
			<ep-cost value="0"/>
			<speed value="200"/>
			<anim-speed value="80"/>
			<animation path="models/duck.g3d"/>
			<sound enabled="false" start-time="0">
			</sound>
		</skill>

	</skills>

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

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

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

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

		<command>
			<type value="harvest"/>
			<name value="mine"/>
			<image path="images/initiate_harvest.bmp"/>
			<unit-requirements/>
			<upgrade-requirements/>
			<move-skill value="move_skill"/>
			<harvest-skill value="harvest_skill"/>
			<stop-loaded-skill value="stop_loaded_skill"/>
			<move-loaded-skill value="move_loaded_skill"/>
			<harvested-resources>
				<resource name="gold"/>														
			</harvested-resources>
			<max-load value="20"/>
			<hits-per-unit value="1"/>				
		</command>

               		<command>
			<type value="build"/>
			<name value="hatch_egg"/>
			<image path="../young_duck/images/young_duck.bmp"/>
			<unit-requirements/>
			<upgrade-requirements/>
			<move-skill value="move_skill"/>
			<build-skill value="build_skill"/>
			<buildings>
				<building name="young_duck"/>
				<building name="storage_duck"/>
			</buildings>
			<start-sound enabled="false">
			</start-sound>

			<built-sound enabled="false">					
			</built-sound>	

		</command> 
	</commands>
</unit>