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

<unit>

	<!-- *** parameters *** -->

	<parameters>
		<size value="1"/>
		<height value="2"/>
		<max-hp value="650" regeneration="0"/>
		<max-ep value="500" regeneration="10" start-value="500"/>
		<armor value="30"/>
		<armor-type value="uniform"/>					
		<sight value="9"/>
		<time value="40"/>	
		<multi-selection value="true"/>	
		<cellmap value="false"/>
		<levels/>
		<fields>
			<field value="land"/>
		</fields>	
		<properties/>
		<light enabled="false"/>	
		<damage-particles value="false">
			<particle-file path="damage_particles_10.xml" minHp="0" maxHp="60"/>
			<particle-file path="damage_particles_20.xml" minHp="61" maxHp="120"/>
			<particle-file path="damage_particles_30.xml" minHp="121" maxHp="180"/>
			<particle-file path="damage_particles_40.xml" minHp="181" maxHp="240"/>
			<particle-file path="damage_particles_50.xml" minHp="241" maxHp="300"/>
			<particle-file path="damage_particles_60.xml" minHp="301" maxHp="360"/>
			<particle-file path="damage_particles_70.xml" minHp="361" maxHp="420"/>
			<particle-file path="damage_particles_80.xml" minHp="421" maxHp="480"/>
			<particle-file path="damage_particles_90.xml" minHp="481" maxHp="540"/>
			<particle-file path="damage_particles_100.xml" minHp="541" maxHp="600"/>
		</damage-particles> 
		<unit-requirements/>
		<upgrade-requirements/>
		<resource-requirements>
			<resource name="gold" amount="75"/>
			<resource name="essen" amount="1"/>
		</resource-requirements>
		<resources-stored>
			
		</resources-stored>
		<image path="images/arbeiter.png"/>
		<image-cancel path="../zentralmodul/images/abbrechen.png"/>
		<meeting-point value="false"/>
		<selection-sounds enabled="true">
			<sound path="$COMMONDATAPATH/sounds/worker_select1.wav"/>
			<sound path="$COMMONDATAPATH/sounds/worker_select2.wav"/>
			<sound path="$COMMONDATAPATH/sounds/worker_select3.wav"/>
			<sound path="$COMMONDATAPATH/sounds/worker_select4.wav"/>				
		</selection-sounds>
		<command-sounds enabled="true">
			<sound path="$COMMONDATAPATH/sounds/worker_ack1.wav"/>
			<sound path="$COMMONDATAPATH/sounds/worker_ack2.wav"/>
			<sound path="$COMMONDATAPATH/sounds/worker_ack3.wav"/>
			<sound path="$COMMONDATAPATH/sounds/worker_ack4.wav"/>
			<sound path="$COMMONDATAPATH/sounds/worker_ack5.wav"/>
			<sound path="$COMMONDATAPATH/sounds/worker_ack6.wav"/>
			<sound path="$COMMONDATAPATH/sounds/worker_ack7.wav"/>
		</command-sounds>
	    <!--	<healthbar>
			<height value="0.9"/>
			<thickness value="0.03"/>
			<visible value="always"/>
			<borderTexture enabled="true" path="../../misc_textures/border_128_a1.png" />	
			<backgroundTexture enabled="true" path="../../misc_textures/border_2_4x4.png" />
			</healthbar> -->
	</parameters>


	<!-- *** skills *** -->

	<skills>
	
		<skill>
			<type value="stop"/>
			<name value="stop_skill"/>		
			<ep-cost value="0"/>
			<speed value="350"/>
			<anim-speed value="40"/>
			<animation path="models/arbeiter_stehen.g3d"/>
			<animation path="models/arbeiter_stehen_linke_hand.g3d"/>
			<animation path="models/arbeiter_stehen_links.g3d"/>
			<animation path="models/arbeiter_stehen_links_rechts.g3d"/>
			<animation path="models/arbeiter_stehen_rechts.g3d"/>			
			<sound enabled="false"/>
			
		</skill>
		
		<skill>
			<type value="stop"/>
			<name value="stop_loaded_skill"/>		
			<ep-cost value="0"/>
			<speed value="60"/>
			<anim-speed value="50"/>
			<animation path="models/arbeiter_laden_tex.g3d"/>
			<sound enabled="false"/>
		
		</skill>

		<skill>
			<type value="stop"/>
			<name value="stop_loaded_wood_skill"/>		
			<ep-cost value="0"/>
			<speed value="60"/>
			<anim-speed value="50"/>
			<animation path="models/arbeiter_laden_tex.g3d"/>
			<sound enabled="false"/>
			
		</skill>
		
		<skill>
			<type value="stop"/>
			<name value="stop_repair_skill"/>		
			<ep-cost value="0"/>
			<speed value="60"/>
			<anim-speed value="50"/>
			<animation path="models/arbeiter_stehen_hammer_uv.g3d"/>
			<sound enabled="false"/>
		
		</skill>

		<skill>
			<type value="move"/>
			<name value="move_skill"/>		
			<ep-cost value="0"/>
			<speed value="230"/>
			<anim-speed value="140"/>
			<animation path="models/arbeiter_laufen_neu.g3d"/>			
			<!--	<animation-random-cycle-maxcount value="1" />  

			<animation path="models/arbeiter_laufen.g3d"/>
			<animation path="models/arbeiter_laufen_3.g3d"/>
			<animation path="models/arbeiter_laufen_4.g3d"/>-->
			<sound enabled="false"/>
		
		</skill>
		
		<skill>
			<type value="move"/>
			<name value="move_skill_charge"/>		
			<ep-cost value="0"/>
			<speed value="260"/>
			<anim-speed value="120"/>
			<animation path="models/arbeiter_rennen.g3d"/>
			<sound enabled="false"/>
		
		</skill>
		
		<skill>
			<type value="move"/>
			<name value="move_wood_skill"/>		
			<ep-cost value="0"/>
			<speed value="230"/>
			<anim-speed value="140"/>
			<animation path="models/arbeiter_laufen_axt.g3d"/>
			<sound enabled="false"/>
		
		</skill>

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

		<skill>
			<type value="move"/>
			<name value="move_loaded_skill"/>		
			<ep-cost value="0"/>
			<speed value="220"/>
			<anim-speed value="134"/>
			<animation path="models/arbeiter_laufen_voll_tex.g3d"/>
			<sound enabled="false"/>
			
		</skill>
		
		<skill>
			<type value="move"/>
			<name value="move_repair_skill"/>		
			<ep-cost value="0"/>
			<speed value="220"/>
			<anim-speed value="140"/>
			<animation path="models/arbeiter_laufen_hammer_uv.g3d"/>
			<sound enabled="false"/>
			
		</skill>
		<skill>
			<type value="move"/>
			<name value="move_loaded_wood_skill"/>		
			<ep-cost value="0"/>
			<speed value="220"/>
			<anim-speed value="134"/>
			<animation path="models/arbeiter_laufen_voll_tex.g3d"/>
			<sound enabled="false"/>
		
		</skill>
		
		<skill>
			<type value="build"/>
			<name value="build_skill"/>		
			<ep-cost value="0"/>
			<speed value="120"/>
			<anim-speed value="120"/>
			<animation path="models/arbeiter_bauen.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="harvest"/>
			<name value="mine_skill"/>		
			<ep-cost value="0"/>
			<speed value="250"/>
			<anim-speed value="280"/>
			<animation path="models/arbeiter_mining.g3d"/>			
			<sound enabled="true" start-time="0.5">
				<sound-file path="$COMMONDATAPATH/sounds/worker_mine1.wav"/>
				<sound-file path="$COMMONDATAPATH/sounds/worker_mine2.wav"/>
				<sound-file path="$COMMONDATAPATH/sounds/worker_mine3.wav"/>
				<sound-file path="$COMMONDATAPATH/sounds/worker_mine4.wav"/>
				<sound-file path="$COMMONDATAPATH/sounds/worker_mine5.wav"/>
				<sound-file path="$COMMONDATAPATH/sounds/worker_mine6.wav"/>
			</sound>
			<particles value="true">
				<particle-file path="particles_mining.xml"/>
			</particles>
		</skill>	
		
		<skill>
			<type value="harvest"/>
			<name value="harvest_wood_skill"/>		
			<ep-cost value="0"/>
			<speed value="175"/>
			<anim-speed value="120"/>
			<animation path="models/arbeiter_holzhacken_3.g3d"/>
			<sound enabled="true" start-time="0.5">
				<sound-file path="$COMMONDATAPATH/sounds/worker_harvest_wood1.wav"/>
				<sound-file path="$COMMONDATAPATH/sounds/worker_harvest_wood2.wav"/>
				<sound-file path="$COMMONDATAPATH/sounds/worker_harvest_wood3.wav"/>
			</sound>
		
		</skill>		
		
		<skill>
			<type value="repair"/>
			<name value="repair_skill"/>		
			<ep-cost value="0"/>
			<speed value="100"/>
			<anim-speed value="100"/>
			<animation path="models/arbeiter_bauen.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="morph"/>
			<name value="morph_skill"/>		
			<ep-cost value="0"/>
			<speed value="500"/>
			<anim-speed value="40"/>
			<animation path="models/arbeiter_stehen.g3d"/>
			<particles value="true">
				<particle-file path="sternen_particles.xml"/>
			</particles>
			<sound enabled="false"/>
		
		</skill>
		
		<skill>
			<type value="attack"/>
			<name value="angriff_faust"/>		
			<ep-cost value="50"/>
			<speed value="100"/>
			<anim-speed value="170"/>
			<animation path="models/arbeiter_boxen_2.g3d"/>
			<animation path="models/arbeiter_boxen_3.g3d"/>
			<animation path="models/arbeiter_boxen_4.g3d"/>
			<sound enabled="true" start-time="0.4">
				<sound-file path="sounds/punch_1.ogg"/>
				<sound-file path="sounds/punch_2.ogg"/>
				<sound-file path="sounds/punch_3.ogg"/>
			</sound> 
			<attack-strenght value="150"/>
			<attack-var value="50"/>
			<attack-range value="1"/>
			<attack-type value="granate"/>
			<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="90"/>
			<anim-speed value="70"/>
			<animation path="models/arbeiter_sterben_blut.g3d"/>
			<sound enabled="true" start-time="0">
				<sound-file path="$COMMONDATAPATH/sounds/worker_die1.wav"/>
				<sound-file path="$COMMONDATAPATH/sounds/worker_die2.wav"/>
				<sound-file path="$COMMONDATAPATH/sounds/worker_die3.wav"/>								
			</sound>			
			<fade value="false"/>
		
		</skill>						

	</skills>

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

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

		<command>
			<type value= "build"/>
			<name value="gebaeude_errichten"/>
			<image path="images/gebaeude.png"/>
			<unit-requirements/>
			<upgrade-requirements/>
			<move-skill value="move_repair_skill"/>
			<build-skill value="build_skill"/>
			<buildings>				
				<building name="biodome"/>
				<building name="mannschaftszelt"/>
				<building name="radar"/>
				<building name="labor"/>
			</buildings>
			<start-sound enabled="false"/>
			<built-sound enabled="true">
				<sound-file path="$COMMONDATAPATH/sounds/worker_work_end1.wav"/>
				<sound-file path="$COMMONDATAPATH/sounds/worker_work_end2.wav"/>
				<sound-file path="$COMMONDATAPATH/sounds/worker_work_end3.wav"/>							
			</built-sound>	
		</command>
		
		<command>
			<type value= "build"/>
			<name value="weitere_gebaeude_errichten"/>
			<image path="images/gebaeude_01.png"/>
			<unit-requirements/>
			<upgrade-requirements/>
			<move-skill value="move_repair_skill"/>
			<build-skill value="build_skill"/>
			<buildings>				
			  	<building name="panzerfabrik"/>	
				<building name="helipad"/>
				<building name="versorgungspunkt"/>
				<building name="zentralmodul"/>				
			</buildings>
			<start-sound enabled="false"/>
			<built-sound enabled="true">
				<sound-file path="$COMMONDATAPATH/sounds/worker_work_end1.wav"/>
				<sound-file path="$COMMONDATAPATH/sounds/worker_work_end2.wav"/>
				<sound-file path="$COMMONDATAPATH/sounds/worker_work_end3.wav"/>							
			</built-sound>	
		</command>
		
		<command>
			<type value= "build"/>
			<name value="defensive_gebaeude_errichten"/>
			<image path="images/gebaeude_02.png"/>
			<unit-requirements/>
			<upgrade-requirements/>
			<move-skill value="move_repair_skill"/>
			<build-skill value="build_skill"/>
			<buildings>
				<building name="panzersperre"/>
				<building name="betonsperre"/>
				<building name="betonsperre_45"/>
				<building name="wachturm"/>
				<building name="personen_abwehr_geschuetz"/>
				<building name="feuerkanone"/>				
				<building name="raketenartillerie"/>
				<building name="bunker"/>				
				<building name="brenner"/>
			</buildings>
			<start-sound enabled="false"/>
			<built-sound enabled="true">
				<sound-file path="$COMMONDATAPATH/sounds/worker_work_end1.wav"/>
				<sound-file path="$COMMONDATAPATH/sounds/worker_work_end2.wav"/>
				<sound-file path="$COMMONDATAPATH/sounds/worker_work_end3.wav"/>							
			</built-sound>	
		</command>
		
		<command>
			<type value="harvest"/>
			<name value="mine"/>
			<image path="images/minenarbeiter.png"/>
			<unit-requirements/>
			<upgrade-requirements/>
			<move-skill value="move_gold_skill"/>
			<harvest-skill value="mine_skill"/>
			<stop-loaded-skill value="stop_loaded_skill"/>
			<move-loaded-skill value="move_loaded_skill"/>
			<harvested-resources>
				<resource name="gold"/>	
				<resource name="stein"/>									
			</harvested-resources>
			<max-load value="25"/>
			<hits-per-unit value="1"/>				
		</command>

		<command>
			<type value="harvest"/>
			<name value="baum_faellen"/>
			<image path="images/holzfaeller.png"/>
			<unit-requirements/>
			<upgrade-requirements/>
			<move-skill value="move_wood_skill"/>
			<harvest-skill value="harvest_wood_skill"/>
			<stop-loaded-skill value="stop_loaded_wood_skill"/>
			<move-loaded-skill value="move_loaded_wood_skill"/>
			<harvested-resources>
				<resource name="holz"/>									
			</harvested-resources>
			<max-load value="20"/>
			<hits-per-unit value="1"/>				
		</command>
		
		<command>
			<type value="repair"/>
			<name value="reparieren"/>
			<image path="images/reparieren.png"/>
			<unit-requirements/>
			<upgrade-requirements/>
			<move-skill value="move_repair_skill"/>
			<repair-skill value="repair_skill"/>
			<stop-skill value="stop_repair_skill"/>
			<repaired-units>
				<unit name="zentralmodul"/>
				<unit name="zentralmodul_stufe_2"/>				
				<unit name="zentralmodul_stufe_3"/>
				<unit name="biodome"/>
				<unit name="biodome_"/>
				<unit name="biodome__"/>
				<unit name="biodome___"/>				
				<unit name="mannschaftszelt"/>			
				<unit name="panzersperre"/>
				<unit name="betonsperre"/>
				<unit name="betonsperre_45"/>
				<unit name="personen_abwehr_geschuetz"/>
				<unit name="raketenartillerie"/>
				<unit name="panzerfabrik"/>
				<unit name="helipad"/>
				<unit name="helicopter_"/>
				<unit name="bunker"/>
				<unit name="labor"/>
				<unit name="labor_stufe_2"/>
				<unit name="versorgungspunkt"/>
				<unit name="brenner"/>
				<unit name="feuerkanone"/>
				<unit name="spaehwagen"/>
				<unit name="raketenwagen"/>
				<unit name="panzerwagen"/>
				<unit name="panzer"/>
				<unit name="hydra"/>
				<unit name="mammut"/>
				<unit name="radar"/>
				<unit name="wachturm"/>
			</repaired-units>		
		</command>
		
		 <command>
			<type value="attack"/>
			<name value="angreifen_faustschlag"/>
			<image path="images/faustschlag.png"/>
			<unit-requirements/>
			<upgrade-requirements>
				
			</upgrade-requirements>
			<move-skill value="move_skill_charge"/>
			<attack-skill value="angriff_faust"/>
		</command>
	</commands>
</unit>