<?xml version="1.0" standalone="no" ?>
<unit>
	<!-- *** parameters *** -->
	<parameters>
		<size value="1" />
		<height value="1" />
		<max-hp value="180" regeneration="-1"/>
		<max-ep value="50" regeneration="0" start-value="50"/>
		<armor value="50" />
		<armor-type value="metall"/>				
		<sight value="15" />
		<time value="30" />
		<multi-selection value="false" />
		<max-unit-count value="6"/>
		<cellmap value="true" allowEmpty="true">
			<row value="0"/>
		</cellmap>
		<levels/>
		<fields>
			<field value="land" />
		</fields>
		<properties/>
		<count-in-victory-conditions value="false"/>
		<light enabled="false" />
		<rotationAllowed value="true" />
		<unit-requirements>
			
		</unit-requirements>
		<upgrade-requirements />
		<resource-requirements>
			<resource name="gold" amount="75" />
			<resource name="stein" amount="50" />
			<resource name="holz" amount="25" />		
		</resource-requirements>
		<resources-stored>
			
		</resources-stored>
		<image path="images/spionagemine.png" />
		<image-cancel path="../zentralmodul/images/abbrechen.png"/>
		<meeting-point value="false" />
		<selection-sounds enabled="true">
			<sound path="$COMMONDATAPATH/sounds/tech_click.wav" />
		</selection-sounds>
		<command-sounds enabled="true">
			<sound path="$COMMONDATAPATH/sounds/tech_click.wav" />
		</command-sounds>
	</parameters>
	
	<!-- *** skills *** -->
	<skills>

		<skill>
			<type value="stop" />
			<name value="stop_skill"/>		
			<ep-cost value="0" />
			<speed value="1000" />
			<anim-speed value="12" />
			<animation path="models/spionagemine.g3d" />
			<animation path="models/spionagemine_drehen.g3d" />
			<animation path="models/spionagemine_hoch.g3d" />
			<sound enabled="false" />
			<particles value="false">
			
			</particles> 
		</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/spionagemine.g3d" />
			<sound enabled="false" />
			<attack-boost name="negativ_regeneration">
				<allow-multiple-boosts value="false" />
				<radius value="1"/>
				<target value="faction">
					<unit-type name="spionagemine" />
				</target>
				<max-hp value="0" regeneration="-1"/>
				<max-ep value="0" regeneration="0"/>
				<sight value="0"/>
				<attack-strenght value="0"/>
				<attack-range value="0"/>
				<armor value="0"/>
				<move-speed value="0" />
				<production-speed value="0"/>
				<particles value="false">
					<affected-particle-file path="munition_boost.xml"/>
				</particles>
			</attack-boost>  
		</skill>
				
		<skill>
			<type value="attack"/>
			<name value="attack_skill"/>		
			<ep-cost value="50"/>
			<speed value="100"/>
			<anim-speed value="50"/>
			<animation path="models/spionagemine_drehen.g3d"/>
			<sound enabled="true" start-time="0.2">
				<sound-file path="../panzer/sounds/boom.wav"/>
			</sound> 
			<attack-strenght value="1000"/>
			<attack-var value="100"/>
			<attack-range value="1"/>
			<attack-type value="sprengsatz"/>
			<attack-fields>
				<field value="land"/>
			</attack-fields>
			<attack-start-time value="0.2"/>
			<particles value="true">
				<particle-file path="smoke_particles.xml"/>
				<particle-file path="glow_particles.xml"/>
			</particles>
			<projectile value="false"/>
			
			<splash value="true">
				<radius value="5"/>
				<damage-all value="true"/>
				<particle value="true" path="../schuetze/bomb_splash.xml"/>

			</splash>
			<attack-boost name="selbstzerstoerung">
				<allow-multiple-boosts value="false" />
				<radius value="1"/>
				<target value="faction">
					<unit-type name="spionagemine" />
				</target>
				<max-hp value="0" regeneration="-180"/>
				<max-ep value="0" regeneration="0"/>
				<sight value="0"/>
				<attack-strenght value="0"/>
				<attack-range value="0"/>
				<armor value="0"/>
				<move-speed value="0" />
				<production-speed value="0"/>
				<particles value="false">
					
				</particles>
			</attack-boost>  
		</skill>
		
		<skill>
			<type value="die" />
			<name value="die_skill"/>		
			<ep-cost value="0" />
			<speed value="300" />
			<anim-speed value="300" />
			<animation path="models/none.g3d" />			
			<particles value="false">
			</particles>  			
			<sound enabled="false" start-time="0">				
			</sound>		
			<fade value="false"/>
		</skill>

	</skills>
	
	<!-- *** commands *** -->		
	<commands>	

		<command>
			<type value="stop"/>
			<name value="anhalten"/>
			<image path="../arbeiter/images/stop.png"/>
			<unit-requirements/>
			<upgrade-requirements/>
			<stop-skill value="stop_skill"/>
		</command>
		 		
		<command>
			<type value="attack_stopped"/>
			<name value="angreifen"/>
			<image path="images/spionagemine.png"/>
			<unit-requirements/>
			<upgrade-requirements/>
			<attack-skill value="attack_skill"/>
			<stop-skill value="stop_skill"/>		
		</command>
		
	</commands>
</unit>
