<?xml version="1.0" standalone="no" ?>
<unit>
	<parameters>
		<size value="5" />
		<height value="2" />
		<max-hp value="9000" regeneration="0"/>
		<max-ep value="0" />
		<armor value="0" />
		<armor-type value="stone"/>
		<sight value="15" />
		<time value="71" />
		<multi-selection value="true"/>
		<uniform-selection value="true"/>
		<cellmap value="true">
			<row value="11011"/>
			<row value="00011"/>
			<row value="11000"/>
			<row value="11011"/>
			<row value="01010"/>
		</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="false" />
		<unit-requirements/>
		<upgrade-requirements />
		<resource-requirements>
			<resource name="gold" amount="300" />
			<resource name="stone" amount="100" />
			<resource name="wood" amount="150" />
		</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.bmp" />
		<image-cancel path="../archer/images/tech_cancel.bmp"/>
		<meeting-point value="true" image-path="../barracks/images/meeting_point.bmp"/>
		<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="300" />
			<anim-speed value="100" />
			<animation path="models/castle.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="construction_models/castle_construction.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/castle.g3d" />
			<sound enabled="false" />
		</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>
			<shake enabled="true" intensity="1000" duration="120" start-time="0.0">
				<self enabled="true" visible="false" in-camera-view="false" camera-distance-affected="false"/>
				<team enabled="true" visible="false" in-camera-view="false" camera-distance-affected="false"/>
				<enemy enabled="true" visible="true" in-camera-view="false" camera-distance-affected="true"/>
			</shake>
			<fade value="false"/>
		</skill>
	</skills>
	<commands>
		<command>
			<type value="produce"/>
			<name value="produce_worker" />
			<image path="../worker/images/worker.bmp" />
			<unit-requirements />
			<upgrade-requirements />
			<produce-skill value="produce_skill"/>
			<produced-unit name="worker"/>
		</command>
	</commands>
</unit>
