<?xml version="1.0" standalone="no" ?>
<unit>
	<!-- *** parameters *** -->
	<parameters>
		<size value="2" />
		<height value="3" />
		<max-hp value="2000" regeneration="0"/>
		<max-ep value="0" />
		<armor value="0" />
		<armor-type value="organic"/>				
		<sight value="15" />
		<time value="80" />
		<multi-selection value="false" />
		<cellmap value="false">
		</cellmap>
		<levels/>
		<fields>
			<field value="land" />
		</fields>
		<properties>
		</properties>
		<light enabled="true" red="0" green="0" blue="0.2"/>
		<unit-requirements>
			<unit name="burrow"/>
		</unit-requirements>
		<upgrade-requirements>
			<upgrade name="dead_flowers"/>
		</upgrade-requirements>
		<resource-requirements>
			<resource name="branches" amount="100" />
		</resource-requirements>
		<resources-stored>
		</resources-stored>
		<image path="images/castle.bmp" />
		<image-cancel path="images/tech_cancel.bmp"/>
		<meeting-point value="true" image-path="images/meeting_point.bmp"/>
		<selection-sounds enabled="true">
			<sound path="sounds/tech_click.wav" />
		</selection-sounds>
		<command-sounds enabled="true">
			<sound path="sounds/tech_click.wav" />
		</command-sounds>
	</parameters>
	
	<!-- *** skills *** -->
	<skills>

		<skill>
			<type value="stop" />
			<name value="stop_skill"/>		
			<ep-cost value="0" />
			<speed value="300" />
			<anim-speed value="100" />
			<animation path="models/deaddanny_sit.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/dead_die_build.g3d" />
			<sound enabled="false" />
		</skill>	
		
		<skill>
			<type value="produce" />
			<name value="produce_skill"/>		
			<ep-cost value="0" />
			<speed value="300" />
			<anim-speed value="300" />
			<animation path="models/deaddanny_sit.g3d" />
			<sound enabled="false" />
		</skill>

		<skill>
			<type value="upgrade"/>	
			<name value="upgrade_skill"/>	
			<ep-cost value="0" />
			<speed value="300" />
			<anim-speed value="300" />
			<animation path="models/deaddanny_sit.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/deaddanny_sit.g3d"/>
			<sound enabled="true" start-time="0">
				<sound-file path="../leaf/sounds/attack1.wav"/>
				<sound-file path="../leaf/sounds/attack2.wav"/>
				<sound-file path="../leaf/sounds/attack3.wav"/>
			</sound>
			<attack-strenght value="400"/>
			<attack-var value="100"/>
			<attack-range value="10"/>
			<attack-type value="magic"/>
			<attack-start-time value="0.3"/>
			<attack-fields>
				<field value="air"/>
			</attack-fields>
			<projectile value="true">
				<particle value="true" path="particle_proj.xml"/>
				<sound enabled="false">
				</sound>
				<particle value="true" path="particle_proj2.xml"/>
				<sound enabled="false">
				</sound>
			</projectile>
			<splash value="false"/>
		</skill>	
		
		<skill>
			<type value="die" />
			<name value="die_skill"/>		
			<ep-cost value="0" />
			<speed value="25" />
			<anim-speed value="25" />
			<animation path="models/dead_die_build.g3d" />
			<sound enabled="true" start-time="0">
				<sound-file path="sounds/tech_building_fall2.wav"/>
			</sound>			
			<fade value="false"/>
		</skill>

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

		<command>
			<type value="produce"/>
			<name value="drop_seed" />
			<image path="../seed/images/swordman.bmp" />
			<unit-requirements />
			<upgrade-requirements />
			<produce-skill value="produce_skill"/>
			<produced-unit name="seed"/>
		</command>

		<command>
			<type value="stop"/>
			<name value="attack_off"/>
			<image path="../venus_fly_trap/images/defense_tower_attack_off.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>
