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

<unit>
	<parameters>
		<size value="1"/>
		<height value="2"/>
		<max-hp value="500" regeneration="1"/>
		<max-ep value="0"/>
		<armor value="100"/>	
		<armor-type value="leather"/>				
		<sight value="10"/>
		<time value="25"/>	
		<multi-selection value="true"/>	
		<cellmap value="false"/>
		<levels>
			<level name="mean" kills="5"/>
		</levels>
		<fields>
			<field value="land"/>
		</fields>	
		<properties/>
		<light enabled="false"/>
		<unit-requirements>
			<!--unit name="barracks"/-->
		</unit-requirements>
		<upgrade-requirements/>
		<resource-requirements>
			<resource name="gold" amount="50"/>			
		</resource-requirements>
		<resources-stored/>
		<image path="images/swordman.bmp"/>
		<image-cancel path="images/tech_cancel.bmp"/>
		<meeting-point value="false"/>
		<selection-sounds enabled="true">
			<sound path="sounds/sel1.wav"/>
			<sound path="sounds/sel2.wav"/>
		</selection-sounds>
		<command-sounds enabled="true">
			<sound path="sounds/ack1.wav"/>
			<sound path="sounds/ack2.wav"/>
		</command-sounds>
	</parameters>

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

		<skill>
			<type value="build"/>
			<name value="build_skill"/>		
			<ep-cost value="0"/>
			<speed value="105"/>
			<anim-speed value="100"/>
			<animation path="models/blubbersit.g3d"/>
			<sound enabled="false">
			</sound>
		</skill>

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

		<skill>
			<type value="be_built"/>
			<name value="be_built_skill"/>		
			<ep-cost value="0"/>
			<speed value="300"/>
			<anim-speed value="300"/>
			<animation path="models/blubbersit.g3d"/>
			<sound enabled="false"/>
		</skill>

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

		<skill>
			<type value="harvest"/>
			<name value="mine_skill"/>		
			<ep-cost value="0"/>
			<speed value="70"/>
			<anim-speed value="60"/>
			<animation path="models/blubbermine.g3d"/>
			<sound enabled="false">
				<!--sound-file path="sounds/worker_mine1.wav"/-->
			</sound>
		</skill>

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

		<!--skill>
			<type value="move"/>
			<name value="charge_skill"/>		
			<ep-cost value="0"/>
			<speed value="220"/>
			<anim-speed value="125"/>
			<animation path="models/walk.g3d"/>
			<sound enabled="false"/>
		</skill-->

		<!--skill>
			<type value="attack"/>
			<name value="attack_skill"/>		
			<ep-cost value="0"/>
			<speed value="110"/>
			<anim-speed value="110"/>
			<animation path="models/attack.g3d"/>
			<sound enabled="true" start-time="0.47">
				<sound-file path="sounds/mon1.wav"/>
				<sound-file path="sounds/mon2.wav"/>
			</sound> 
			<attack-strenght value="150"/>
			<attack-var value="50"/>
			<attack-range value="1"/>
			<attack-type value="slashing"/>
			<attack-fields>
				<field value="land"/>
			</attack-fields>
			<attack-start-time value="0"/>
			<projectile value="false"/>
			<splash value="false"/>
		</skill-->

		<skill>
			<type value="morph"/>
			<name value="morph_skill"/>		
			<ep-cost value="0"/>
			<speed value="500"/>
			<anim-speed value="80"/>
			<animation path="models/blubbersit.g3d"/>
			<sound enabled="false"/>
		</skill>	

		<skill>
			<type value="die"/>
			<name value="die_skill"/>		
			<ep-cost value="0"/>
			<speed value="60"/>
			<anim-speed value="60"/>
			<animation path="models/blubberdie.g3d"/>
			<sound enabled="true" start-time="0">
				<sound-file path="sounds/die.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="harvest"/>
			<name value="mine"/>
			<image path="images/worker_mine.bmp"/>
			<unit-requirements/>
			<upgrade-requirements/>
			<move-skill value="move_skill"/>
			<harvest-skill value="mine_skill"/>
			<stop-loaded-skill value="stop_skill"/>
			<move-loaded-skill value="move_gold_skill"/>
			<harvested-resources>
				<resource name="gold"/>
				<resource name="stone"/>
			</harvested-resources>
			<max-load value="20"/>
			<hits-per-unit value="1"/>				
		</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"/>
			<image path="../munchy/images/worker_build_basic.bmp"/>
			<unit-requirements/>
			<upgrade-requirements/>
			<move-skill value="move_skill"/>
			<build-skill value="build_skill"/>
			<buildings>
                                <building name="vinehut"/>
                                <building name="school"/>
                                <building name="munchys_military"/>
                                <building name="defense_tower"/>	
			</buildings>
			<start-sound enabled="false"/>
			<built-sound enabled="false">			
			</built-sound>	
		</command>

		<command>
			<type value="repair"/>
			<name value="repair"/>
			<image path="../munchy/images/worker_repair.bmp"/>
			<unit-requirements/>
			<upgrade-requirements/>
			<move-skill value="move_skill"/>
			<repair-skill value="repair_skill"/>
			<repaired-units>
				<unit name="school"/>	
				<unit name="vinehut"/>
				<unit name="munchys_military"/>
				<unit name="defense_tower"/>	
			</repaired-units>		
		</command>	

	</commands>
</unit>
