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

<unit>

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

	<parameters>
		<size value="1"/>
		<height value="1"/>
		<max-hp value="150" regeneration="-2"/>
		<max-ep value="10" regeneration="1"/>
		<armor value="8"/>
		<armor-type value="leaves"/>					
		<sight value="2"/>
		<time value="1"/>	
		<multi-selection value="true"/>	
		<cellmap value="true" allowEmpty="true">
			<row value="0"/>
		</cellmap>
		<levels/>
		<fields>
			<field value="land"/>
		</fields>	
		<properties/>
		<light enabled="false"/>
		<unit-requirements/>
		<upgrade-requirements/>
		<resource-requirements>
			<resource name="leaves" amount="150"/>
			<resource name="gold" amount="50"/>			
		</resource-requirements>
		<resources-stored/>
		<image path="images/tech_cancel.bmp"/>
		<image-cancel path="images/tech_cancel.bmp"/>
		<meeting-point value="false"/>
		<selection-sounds enabled="false">
		</selection-sounds>
		<command-sounds enabled="false">
		</command-sounds>

	</parameters>


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

	<skills>
	
		<skill>
			<type value="stop"/>
			<name value="stop_skill"/>		
			<ep-cost value="0"/>
			<speed value="1000"/>
			<anim-speed value="55"/>
			<animation path="models/trap.g3d"/>
			<sound enabled="false"/>
		</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/trap.g3d" />
			<sound enabled="false" />
		</skill>

		<skill>
			<type value="attack"/>
			<name value="attack_skill"/>		
			<ep-cost value="10"/>
			<speed value="999"/>
			<anim-speed value="999"/>
			<animation path="models/trap.g3d"/>
			<sound enabled="true" start-time="0.5">
				<sound-file path="sounds/lu.wav"/>
			</sound>
			<attack-strenght value="1000"/>
			<attack-var value="0"/>
			<attack-range value="1"/>
			<attack-type value="surpise"/>
			<attack-start-time value="0.5"/>
			<attack-fields>
				<field value="land"/>
			</attack-fields>
			<projectile value="false">
				<particle value="false"/>
			</projectile>
			<splash value="true">
				<radius value="3"/>
				<damage-all value="true"/>
				<particle value="true" path="particle_splash.xml"/>
			</splash>
		</skill>
                
		<skill>
			<type value="die"/>
			<name value="die_skill"/>		
			<ep-cost value="0"/>
			<speed value="90"/>
			<anim-speed value="90"/>
			<animation path="models/trap.g3d"/>
			<sound enabled="false">
			</sound>			
			<fade value="true"/>
		</skill>						

	</skills>

	<!-- *** commands *** -->
	
	<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="attack_stopped"/>
			<name value="attack_on"/>
			<image path="../venus_fly_trap/images/defense_tower_attack_on.bmp"/>
			<unit-requirements/>
			<upgrade-requirements/>
			<attack-skill value="attack_skill"/>
                        <stop-skill value="stop_skill"/>
		</command>

		
	</commands>
</unit>
