<?xml version="1.0" standalone="no" ?>
<unit>
	<!-- *** parameters *** -->
	<parameters>
		<size value="6" />
		<height value="6" />
		<max-hp value="9500" regeneration="0"/>
		<max-ep value="0" />
		<armor value="20" />
		<armor-type value="stein"/>				
		<sight value="15" />
		<time value="350" />
		<multi-selection value="false" />
		<cellmap value="true">
			<row value="000111"/>
			<row value="110111"/>
			<row value="110011"/>
			<row value="110011"/>
			<row value="000000"/>
			<row value="111011"/>
		
		</cellmap>
		<levels/>
		<fields>
			<field value="land" />
		</fields>
		<properties>
			<property value="burnable"/>
		</properties>
		<light enabled="true" red="1" green="0.93" blue="0.65"/>
		<rotationAllowed value="true" />
		<unit-requirements/>
		<upgrade-requirements />
		<resource-requirements>
			<resource name="gold" amount="150" />
			<resource name="stone" amount="350" />
			<resource name="wood" amount="250" />
		</resource-requirements>
		<resources-stored>
			<resource name= "gold" amount="2000"/>
			<resource name= "wood" amount="1200"/>				
			<resource name= "stone" amount="1500"/>				
			<resource name= "food" amount="150"/>
		</resources-stored>
		<image path="images/castle.png" />
		<image-cancel path="../arbeiter/images/abbrechen.png"/>
		<meeting-point value="true" image-path="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 *** -->
	<skills>

		<skill>
			<type value="stop" />
			<name value="stop_skill"/>		
			<ep-cost value="0" />
			<speed value="1000" />
			<anim-speed value="100" />
			<animation path="models/stadtzentrum.g3d" />
			<sound enabled="false" />
			<particles value="false">
		<!--		<particle-file path="fackel_01_particles.xml"/>
				<particle-file path="fackel_02_particles.xml"/>
				<particle-file path="fackel_03_particles.xml"/>   -->
			</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/stadtzentrum_aufbau_20.g3d" minHp="0" maxHp="1350"/>
			<animation path="models/stadtzentrum_aufbau_30.g3d" minHp="1351" maxHp="2700"/>
			<animation path="models/stadtzentrum_aufbau_40.g3d" minHp="2701" maxHp="4050"/>
			<animation path="models/stadtzentrum_aufbau_50.g3d" minHp="4051" maxHp="5400"/>
			<animation path="models/stadtzentrum_aufbau_60.g3d" minHp="5401" maxHp="6750"/>
			<animation path="models/stadtzentrum_aufbau_70.g3d" minHp="6751" maxHp="8100"/>
			<animation path="models/stadtzentrum_aufbau_80.g3d" minHp="8101" maxHp="9500"/>
			<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/stadtzentrum.g3d" />
			<sound enabled="false" />
			<particles value="true">
				<particle-file path="rauch_particles.xml"/>
			<!--	<particle-file path="fackel_01_particles.xml"/>
				<particle-file path="fackel_02_particles.xml"/>
				<particle-file path="fackel_03_particles.xml"/>  -->
			</particles>
		</skill>	
		
		<skill>
			<type value="die" />
			<name value="die_skill"/>		
			<ep-cost value="0" />
			<speed value="300" />
			<anim-speed value="300" />
			<animation path="destruction_models/castle_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_fall2.wav"/>
			</sound>			
			<fade value="false"/>
		</skill>

	</skills>
	
	<!-- *** commands *** -->
	<commands>
	
		<command>
			<type value="produce"/>
			<name value="arbeiter_einstellen" />
			<image path="../arbeiter/images/arbeiter.png" />
			<unit-requirements />
			<upgrade-requirements />
			<produce-skill value="produce_skill"/>
			<produced-unit name="arbeiter"/>
		</command>
	
	</commands>
</unit>
