<?xml version="1.0" standalone="no" ?>
<unit>
	<!-- *** parameters *** -->
	<parameters>
		<size value="4" />
		<height value="4" />
		<max-hp value="5000" regeneration="0"/>
		<max-ep value="0" />
		<armor value="20" />
		<armor-type value="stone"/>				
		<sight value="15" />
		<time value="10" />
		<multi-selection value="false" />
		<cellmap value="true">
			<row value="0000"/>
			<row value="1111"/>
			<row value="1111"/>
			<row value="0000"/>
		</cellmap>
		<levels/>
		<fields>
			<field value="land" />
		</fields>
		<properties>
			<property value="burnable"/>
		</properties>
		<light enabled="false"/>
		<unit-requirements/>
		<upgrade-requirements />
		<resource-requirements>
			<resource name="stone" amount="75"/>
			<resource name="wood" amount="100"/>
		</resource-requirements>
		<resources-stored/>
		<image path="images/castle.bmp" />
		<image-cancel path="images/tech_cancel.bmp"/>
		<meeting-point value="false"/>
		<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/gate_closed.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/misc_build.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="models/misc_brake.g3d" />
			<sound enabled="true" start-time="0">
				<sound-file path="sounds/tech_building_fall2.wav"/>
			</sound>			
			<fade value="false"/>
		</skill>
		
		<skill>
			<type value="morph"/>
			<name value="morph_skill"/>		
			<ep-cost value="0"/>
			<speed value="99999"/>
			<anim-speed value="200"/>
			<animation path="models/gate_opening.g3d"/>
			<sound enabled="false" start-time="0">
			</sound>
		</skill>

	</skills>
	
	<!-- *** commands *** -->
	<commands>
		<command>
			<type value="morph"/>
			<name value="open"/>
			<image path="images/close.bmp"/>
			<unit-requirements/>
			<upgrade-requirements/>
			<morph-skill value="morph_skill"/>
			<morph-unit name= "gate_open"/>
			<discount value="100"/>
		</command>	
	</commands>
</unit>
