<unit>
	<parameters>
		<size value="1"/>
		<height value="2"/>
		<max-hp value="750" regeneration="0"/>
		<max-ep value="0"/>
		<armor value="10"/>
		<armor-type value="leather"/>					
		<sight value="9"/>
		<time value="75"/>	
		<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="250"/>
			<resource name="food" amount="1"/>			
		</resource-requirements>
		<resources-stored/>
		<image path="images/smithy.png"/>
		<image-cancel path="../archer/images/order_cancel.png"/>
		<meeting-point value="false"/>
		<selection-sounds enabled="true">
			<sound path="$COMMONDATAPATH/sounds/initiate_select1.wav"/>
			<sound path="$COMMONDATAPATH/sounds/initiate_select2.wav"/>
			<sound path="$COMMONDATAPATH/sounds/initiate_select3.wav"/>
			<sound path="$COMMONDATAPATH/sounds/initiate_select4.wav"/>
			<sound path="$COMMONDATAPATH/sounds/initiate_select5.wav"/>				
		</selection-sounds>
		<command-sounds enabled="true">
			<sound path="$COMMONDATAPATH/sounds/initiate_ack1.wav"/>
			<sound path="$COMMONDATAPATH/sounds/initiate_ack2.wav"/>
			<sound path="$COMMONDATAPATH/sounds/initiate_ack3.wav"/>
			<sound path="$COMMONDATAPATH/sounds/initiate_ack4.wav"/>		
			<sound path="$COMMONDATAPATH/sounds/initiate_ack6.wav"/>
			<sound path="$COMMONDATAPATH/sounds/initiate_ack7.wav"/>
			<sound path="$COMMONDATAPATH/sounds/initiate_ack8.wav"/>
			<sound path="$COMMONDATAPATH/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="55"/>
			<animation path="models/worker_standing.g3d"/>
			<animation path="models/worker_standing.g3d"/>
			<animation path="models/worker_standing.g3d"/>
			<animation path="models/worker_standing.g3d"/>
			<animation path="models/worker_head.g3d"/>
			<animation path="models/worker_standing.g3d"/>			
			<animation path="models/worker_standing.g3d"/>	
			<animation path="models/worker_look.g3d"/>				
			<sound enabled="false"/>
			<attack-boost>
				<allow-multiple-boosts value="false" />
				<radius value="15"/>
				<target value="faction">				
					<unit-type name="champion"/>
					<unit-type name="knight"/>	
					<unit-type name="man_at_arms"/>				
					<unit-type name="militia"/>					
					<unit-type name="paladin"/>					
					<unit-type name="pikeman"/>					
					<unit-type name="scout"/>					
					<unit-type name="spearman"/>
					<unit-type name="swordsman"/>					
				</target>
				<max-hp value="0" />
				<max-ep value="0"/>
				<sight value="0"/>
				<attack-strenght value="10"/>
				<attack-range value="0"/>
				<armor value="10"/>
				<move-speed value="0" />
				<production-speed value="0"/>
				<particles value="false"/>
			</attack-boost>				
		</skill>
		<skill>
			<type value="move"/>
			<name value="move_skill"/>		
			<ep-cost value="0"/>
			<speed value="190"/>
			<anim-speed value="130"/>
			<animation path="models/worker_walking.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/worker_building.g3d"/>
			<sound enabled="true" start-time="0.5">
				<sound-file path="$COMMONDATAPATH/sounds/worker_build1.wav"/>
				<sound-file path="$COMMONDATAPATH/sounds/worker_build2.wav"/>
				<sound-file path="$COMMONDATAPATH/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="$COMMONDATAPATH/sounds/worker_build1.wav"/>
				<sound-file path="$COMMONDATAPATH/sounds/worker_build2.wav"/>
				<sound-file path="$COMMONDATAPATH/sounds/worker_build3.wav"/>
			</sound>
		</skill>		
		<skill>
			<type value="upgrade" />
			<name value="upgrade_skill"/>		
			<ep-cost value="0" />
			<speed value="300" />
			<anim-speed value="100" />
			<animation path="models/worker_building.g3d" />
			<particles value="false"/>
			<sound enabled="true" start-time="0.28">
				<sound-file path="$COMMONDATAPATH/sounds/anvil1.wav"/>
				<sound-file path="$COMMONDATAPATH/sounds/anvil2.wav"/>
				<sound-file path="$COMMONDATAPATH/sounds/anvil3.wav"/>
				<sound-file path="$COMMONDATAPATH/sounds/anvil4.wav"/>
			</sound>
		</skill>
		<skill>
			<type value="attack"/>
			<name value="attack_skill"/>		
			<ep-cost value="0"/>
			<speed value="100"/>
			<anim-speed value="100"/>
			<animation path="models/worker_punching.g3d"/>
			<sound enabled="true" start-time="0.47">
				<sound-file path="../monk/sounds/attack1.wav"/>
				<sound-file path="../monk/sounds/attack2.wav"/>
			</sound> 
			<attack-strenght value="90"/>
			<attack-var value="30"/>
			<attack-range value="1"/>
			<attack-type value="energy"/>
			<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="210"/>
			<anim-speed value="60"/>
			<animation path="models/worker_standing.g3d"/>
			<sound enabled="false"/>
		</skill>		
		<skill>
			<type value="die"/>
			<name value="die_skill"/>		
			<ep-cost value="0"/>
			<speed value="90"/>
			<anim-speed value="90"/>
			<animation-random-cycle-maxcount value="1"/>			
			<animation path="models/worker_dying.g3d"/>
			<animation path="models/worker_dying2.g3d"/>
			<animation path="models/worker_dying3.g3d"/>			
			<sound enabled="true" start-time="0">
				<!--sound-file path="$COMMONDATAPATH/sounds/initiate_die1.wav"/-->
				<sound-file path="$COMMONDATAPATH/sounds/initiate_die2.wav"/>
				<sound-file path="$COMMONDATAPATH/sounds/initiate_die3.wav"/>								
			</sound>			
			<fade value="false"/>
		</skill>						

	</skills>
	<commands>		
		<command>
			<type value="attack_stopped"/>
			<name value="stop"/>
			<image path="../archer/images/order_halt.png"/>
			<unit-requirements/>
			<upgrade-requirements/>
			<stop-skill value="stop_skill"/>
			<attack-skill value="attack_skill"/>
		</command>		
		<command>
			<type value="move"/>
			<name value="move"/>
			<image path="../archer/images/order_move.png"/>
			<unit-requirements/>
			<upgrade-requirements/>
			<move-skill value="move_skill"/>
		</command>	
		<command>
			<type value="upgrade"/>
			<name value="upgrade_blade_weapons" />
			<image path="../../upgrades/blade_weapons/images/blade.bmp" />
			<unit-requirements />
			<upgrade-requirements />
			<upgrade-skill value="upgrade_skill"/>
			<produced-upgrade name="blade_weapons"/>
		</command>	
		<command>
			<type value="upgrade"/>
			<name value="upgrade_piercing_weapons" />
			<image path="../../upgrades/piercing_weapons/images/piercing.bmp" />
			<unit-requirements />
			<upgrade-requirements />
			<upgrade-skill value="upgrade_skill"/>
			<produced-upgrade name="piercing_weapons"/>
		</command>		
		<command>
			<type value="upgrade"/>
			<name value="upgrade_shield" />
			<image path="../../upgrades/shield_level_1/images/shield1.bmp" />
			<unit-requirements />
			<upgrade-requirements />
			<upgrade-skill value="upgrade_skill"/>
			<produced-upgrade name="shield_level_1"/>
		</command>		
		<command>
			<type value="upgrade"/>
			<name value="upgrade_shield" />
			<image path="../../upgrades/shield_level_2/images/shield2.bmp" />
			<unit-requirements />
			<upgrade-requirements />
			<upgrade-skill value="upgrade_skill"/>
			<produced-upgrade name="shield_level_2"/>
		</command>	
	</commands>		
</unit>