<?xml version="1.0" standalone="no" ?>
<unit>
	<parameters>
		<size value="4" />
		<height value="2" />
		<max-hp value="6000" regeneration="0"/>
		<max-ep value="0" />
		<armor value="0" />
		<armor-type value="stone"/>
		<sight value="6" />
		<time value="100" />
		<multi-selection value="false" />
		<cellmap value="true">
			<row value="1101"/>
			<row value="1101"/>
			<row value="1101"/>
			<row value="1101"/>
		</cellmap>
		<levels/>
		<fields>
			<field value="land" />
		</fields>
		<properties>
			<property value="burnable"/>
		</properties>
		<light enabled="false" />
		<unit-requirements>
			<unit name="pyramid" />
			<unit name="desert_camp" />
		</unit-requirements>
		<upgrade-requirements />
		<resource-requirements>
			<resource name="gold" amount="200" />
			<resource name="stone" amount="150" />
			<resource name="wood" amount="100" />
		</resource-requirements>
		<resources-stored>
			<resource name="wood" amount="200" />
		</resources-stored>
		<image path="images/temple.bmp" />
		<image-cancel path="../spearman/images/tech_cancel.bmp"/>
		<meeting-point value="true" image-path="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="50" />
			<anim-speed value="100" />
			<animation path="models/temple.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="../pyramid/construction_models/barracks_construction.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/temple.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/temple.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="../pyramid/destruction_models/barracks_destruction.g3d" />
			<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="produce_priest" />
			<image path="../priest/images/priest.bmp" />
			<unit-requirements />
			<upgrade-requirements />
			<produce-skill value="produce_skill"/>
			<produced-unit name="priest"/>
		</command>
		
		
		<!--command>
			<type value="produce"/>
			<name value="produce_ibis" />
			<image path="../ibis/images/horseman.bmp" />
			<unit-requirements />
			<upgrade-requirements />
			<produce-skill value="produce_skill"/>
			<produced-unit name="priest"/>
		</command-->

		<command>
			<type value="upgrade"/>
			<name value="research_scarab"/>
			<image path="../../upgrades/summon_scarab/images/stables.bmp" />
		<unit-requirements>
			<unit name="obelisk" />
		</unit-requirements>
			<upgrade-requirements />
			<upgrade-skill value="upgrade_skill"/>
			<produced-upgrade name="summon_scarab"/>
		</command>
				
		<command>
			<type value="upgrade"/>
			<name value="research_ibis"/>
			<image path="../../upgrades/summon_ibis/images/stables.bmp" />
		<unit-requirements>
			<unit name="obelisk" />
		</unit-requirements>
		<upgrade-requirements>
			<upgrade name="summon_scarab"/>
		</upgrade-requirements>		
		<upgrade-skill value="upgrade_skill"/>
			<produced-upgrade name="summon_ibis"/>
		</command>

		
				
		<command>
			<type value="upgrade"/>
			<name value="get_power_of_ra"/>
			<image path="../../upgrades/power_of_ra/images/ra.bmp" />
			<unit-requirements />
			<upgrade-requirements>
				<upgrade name="summon_ibis"/>
			</upgrade-requirements>		
			<upgrade-skill value="upgrade_skill"/>
			<produced-upgrade name="power_of_ra"/>
		</command>				
	</commands>
</unit>
