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

<unit>
	<parameters>
		<size value="1"/>
		<height value="2"/>
		<max-hp value="450" regeneration="0"/>
		<max-ep value="0"/>
		<armor value="0"/>	
		<armor-type value="metal"/>				
		<sight value="9"/>
		<time value="40"/>	
		<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="75"/>
			<resource name="memory" amount="1"/>			
		</resource-requirements>
		<resources-stored/>
		<image path="images/initiate.bmp"/>
		<image-cancel path="../fibre_optic/images/magic_cancel.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/bit_idle.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/bit_idle.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/bit_idle.g3d"/>
			<sound enabled="false"/>
		</skill>

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

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

		<skill>
			<type value="move"/>
			<name value="move_loaded_wood_skill"/>		
			<ep-cost value="0"/>
			<speed value="180"/>
			<anim-speed value="120"/>
			<animation path="models/bit_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/bit_mine.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="repair"/>
			<name value="repair_skill"/>		
			<ep-cost value="0"/>
			<speed value="50"/>
			<anim-speed value="150"/>
			<animation path="models/bit_mine.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="harvest"/>
			<name value="harvest_skill"/>		
			<ep-cost value="0"/>
			<speed value="200"/>
			<anim-speed value="80"/>
			<animation path="models/bit_mine.g3d"/>
			<sound enabled="true" start-time="0">
				<sound-file path="sounds/initiate_harvest1.wav"/>
			</sound>
		</skill>

		<skill>
			<type value="harvest"/>
			<name value="harvest_skill_2"/>		
			<ep-cost value="0"/>
			<speed value="200"/>
			<anim-speed value="80"/>
			<animation path="models/bit_chop.g3d"/>
			<sound enabled="true" start-time="0">
				<sound-file path="sounds/initiate_harvest1.wav"/>
			</sound>
		</skill>	

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

	</skills>

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

		<command>
			<type value= "move"/>
			<name value="move"/>
			<image path="../fibre_optic/images/magic_move.bmp"/>
			<unit-requirements/>
			<upgrade-requirements/>
			<move-skill value="move_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="cpu"/>
				<unit name="hard_drive"/>
				<unit name="graphics_card"/>
				<unit name="memory_stick"/>
				<unit name="power_supply"/>
				<unit name="network_card"/>
				<unit name="sound_card"/>
				<unit name="usb_drive"/>
				<unit name="computer_fan"/>
			</repaired-units>		
		</command>

		<command>
			<type value="build"/>
			<name value="build"/>
			<image path="images/initiate_build.bmp"/>
			<unit-requirements/>
			<upgrade-requirements/>
			<move-skill value="move_skill"/>
			<build-skill value="build_skill"/>
			<buildings>
				<building name="memory_stick"/>
				<building name="hard_drive"/>
				<building name="graphics_card"/>
				<building name="cpu"/>
			</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="build"/>
			<name value="build_more"/>
			<image path="images/i_b_a.bmp"/>
			<unit-requirements/>
			<upgrade-requirements/>
			<move-skill value="move_skill"/>
			<build-skill value="build_skill"/>
			<buildings>
				<building name="power_supply"/>
				<building name="network_card"/>
				<building name="drm_detector"/>
				<building name="sound_card"/>
				<building name="computer_fan"/>
				<building name="usb_drive"/>
			</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="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"/>	
				<resource name="stone"/>
			</harvested-resources>
			<max-load value="20"/>
			<hits-per-unit value="1"/>				
		</command>

		<command>
			<type value="harvest"/>
			<name value="harvest"/>
			<image path="images/initiate_harvest_wood.bmp"/>
			<unit-requirements/>
			<upgrade-requirements/>
			<move-skill value="move_skill"/>
			<harvest-skill value="harvest_skill_2"/>
			<stop-loaded-skill value="stop_loaded_wood_skill"/>
			<move-loaded-skill value="move_loaded_wood_skill"/>
			<harvested-resources>						
				<resource name="wood"/>			
			</harvested-resources>
			<max-load value="20"/>
			<hits-per-unit value="1"/>				
		</command>
	</commands>
</unit>
