<?xml version="1.0" standalone="no" ?>
<unit>
	<parameters>
		<size value="3" />
		<height value="8" />
		<max-hp value="7000" regeneration="1"/>
		<max-ep value="0" />
	<!--	<max-unit-count value="1"/>   -->
		<armor value="40" />
		<armor-type value="stein"/>
		<sight value="18" />
		<time value="200" />
		<multi-selection value="false" />
		<cellmap value="true">
			<row value="111"/>
			<row value="111"/>
			<row value="011"/>			
		</cellmap>
		<levels/>
		<fields>
			<field value="land" />
		</fields>
		<properties>
			<property value="burnable"/>
		</properties>
		<light enabled="true" red="0.8" green="0.8" blue="0.5" />
		<rotationAllowed value="true" />
		<unit-requirements>
			<unit name="bauernhof" />
			<unit name="landsknechtzelt" />
			<unit name="steinheiligtum" />
			<unit name="hexer" />
		</unit-requirements>
		<upgrade-requirements />
		<resource-requirements>
			<resource name="gold" amount="300" />
			<resource name="stone" amount="250" />
			<resource name="wood" amount="150" />
		</resource-requirements>
		<resources-stored>
		</resources-stored>
		<image path="images/drachenturm.png" />
		<image-cancel path="../arbeiter/images/abbrechen.png" />
		<meeting-point value="true" image-path="../zentrum/images/zielpunkt.png" />
		<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>
		<skill>
			<type value="stop" />	
			<name value="stop_skill" />
			<ep-cost value="0" />
			<speed value="1000" />
			<anim-speed value="100" />
			<animation path="models/drachenturm_stehen.g3d" />
			<sound enabled="false" />
		</skill>
		
		<skill>
			<type value="produce" />
			<name value="produce_skill" />	
			<ep-cost value="0" />
			<speed value="200" />
			<anim-speed value="85" />
			<animation path="models/drachenturm_stehen.g3d" />
			<particles value="true">
				<particle-file path="../arbeiter/sternen_particles.xml" />	
			</particles>
			<sound enabled="false" />
		</skill>		
				
		<skill>
			<type value="upgrade" />	
			<name value="upgrade_skill" />	
			<ep-cost value="0" />
			<speed value="200" />
			<anim-speed value="100" />
			<animation path="models/drachenturm_stehen.g3d" />
			<particles value="true">
				<particle-file path="upgrade_particles.xml" />	
			</particles>
			<sound enabled="false" />
		</skill>

		<skill>
			<type value="be_built" />	
			<name value="be_built_skill" />		
			<ep-cost value="0" />
			<speed value="200" />
			<anim-speed value="100" />
			<animation path="models/drachenturm_aufbau_30.g3d" minHp="0" maxHp="1000" />
			<animation path="models/drachenturm_aufbau_40.g3d" minHp="1001" maxHp="2000" />
			<animation path="models/drachenturm_aufbau_50.g3d" minHp="2001" maxHp="3000" />
			<animation path="models/drachenturm_aufbau_60.g3d" minHp="3001" maxHp="4000" />
			<animation path="models/drachenturm_aufbau_70.g3d" minHp="4001" maxHp="5000" />
			<animation path="models/drachenturm_aufbau_80.g3d" minHp="5001" maxHp="6000" />
			<animation path="models/drachenturm_aufbau_90.g3d" minHp="6001" maxHp="7000" />
			<sound enabled="false" />
		</skill>	
		
		<skill>
			<type value="die" />	
			<name value="die_skill" />		
			<ep-cost value="0" />
			<speed value="200" />
			<anim-speed value="15" />
			<animation path="../zentrum/destruction_models/barracks_destruction.g3d" />
			<particles value="true">
				<particle-file path="smoke_particles.xml" />
				<particle-file path="glow_particles.xml" />
			</particles>
			<sound enabled="true" start-time="0">
				<sound-file path="$COMMONDATAPATH/sounds/tech_building_fall4.wav" />
			</sound>			
			<fade value="false" />
		</skill>

	</skills>
	
	<commands>
		
		<command>
			<type value="produce" />
			<name value="wyvern_rufen" />
			<image path="../wyvern/images/drache.png" />
			<unit-requirements>
				<unit name="hexer" />	
			</unit-requirements>
			<upgrade-requirements />
			<produce-skill value="produce_skill" />
			<produced-unit name="wyvern" />
		</command>				
								
	</commands>
</unit>
