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

<unit>
	<parameters>
		<size value="1"/>
		<height value="2"/>
		<max-hp value="750" regeneration="0"/>
		<max-ep value="0"/>
		<armor value="20"/>	
		<armor-type value="metal"/>				
		<sight value="10"/>
		<time value="30"/>	
		<multi-selection value="true"/>
		<cellmap value="false"/>
		<levels>
			<level name="greater" kills="3"/>
		</levels>
		<fields>
			<field value="land"/>
		</fields>	
		<properties/>
		<light enabled="false"/>
		<unit-requirements>
			<unit name="war_totem"/>
		</unit-requirements>
		<upgrade-requirements/>
		<resource-requirements>
			<resource name="wood" amount="25"/>
			<resource name="gold" amount="100"/>
			<resource name="food" amount="12"/>						
		</resource-requirements>
		<resources-stored/>
		<image path="images/crusher.png"/>
		<image-cancel path="../fungus_farm/images/cancel.png"/>
		<meeting-point value="false"/>
		<selection-sounds enabled="false"/>
		<command-sounds enabled="false"/>
	</parameters>

	<skills>
	
		<skill>
			<type value="stop"/>
			<name value="stop_skill"/>		
			<ep-cost value="0"/>
			<speed value="1000"/>
			<anim-speed value="45"/>
			<animation path="models/crusher_idle.g3d"/>
			<animation path="models/crusher_idle1.g3d"/>
			<animation path="models/crusher_idle2.g3d"/>
			<animation path="models/crusher_idle3.g3d"/>
			<animation path="models/crusher_idle4.g3d"/>
			<animation path="models/crusher_idle6.g3d"/>
			<animation path="models/crusher_idle7.g3d"/>
			<animation path="models/crusher_idle8.g3d"/>
			<sound enabled="false"/>
		</skill>

		<skill>
			<type value="move"/>
			<name value="move_skill"/>		
			<ep-cost value="0"/>
			<speed value="220"/>
			<anim-speed value="90"/>
			<animation path="models/crusher_move.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/crusher_move.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/crusher_attack.g3d"/>
			<animation path="models/crusher_attack2.g3d"/>
			<animation path="models/crusher_attack3.g3d"/>
			<animation path="models/crusher_attack4.g3d"/>
			<animation path="models/crusher_attack5.g3d"/>
			<sound enabled="false" start-time="0.47"/>
			<attack-strenght value="125"/>
			<attack-var value="20"/>
			<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="die"/>
			<name value="die_skill"/>		
			<ep-cost value="0"/>
			<speed value="60"/>
			<anim-speed value="60"/>
			<animation path="models/crusher_die.g3d"/>
			<animation path="models/crusher_die2.g3d"/>
			<animation path="models/crusher_die3.g3d"/>
			<animation path="models/crusher_die4.g3d"/>
			<animation path="models/crusher_die6.g3d"/>
			<animation path="models/crusher_die7.g3d"/>
			<animation path="models/crusher_die8.g3d"/>
			<animation-random-cycle-maxcount value="1" />
			<sound enabled="false" start-time="0"/>			
			<fade value="false"/>
		</skill>


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

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

		<command>
			<type value="attack"/>
			<name value="attack"/>
			<image path="../slave/images/attack.png"/>
			<unit-requirements/>
			<upgrade-requirements/>
			<move-skill value="charge_skill"/>
			<attack-skill value="attack_skill"/>
		</command>

		
		<command>
			<type value="attack_stopped"/>
			<name value="hold_position"/>
			<image path="../slave/images/stop.png"/>
			<unit-requirements/>
			<upgrade-requirements/>
			<stop-skill value="stop_skill"/>
			<attack-skill value="attack_skill"/>
		</command>


	</commands>
</unit>
