<?xml version="1.0" standalone="no" ?>
<unit>
	<parameters>
		<size value="5" />
		<height value="2" />
		<max-hp value="8000" regeneration="0"/>
		<max-ep value="0" />
		<armor value="25" />
		<armor-type value="wood"/>
		<sight value="12" />
		<time value="80" />
		<multi-selection value="false" />
		<cellmap value="true">
			<row value="11111"/>
			<row value="11011"/>
			<row value="11011"/>
			<row value="00001"/>
			<row value="11111"/>
		</cellmap>
		<levels/>
		<fields>
			<field value="land" />
		</fields>
		<properties>
			<property value="burnable"/>
		</properties>
		<light enabled="false" />
		<unit-requirements>
			<unit name="fortress" />
			<unit name="bone_house" />
			<unit name="bonfire" />
		</unit-requirements>
		<upgrade-requirements />
		<resource-requirements>
			<resource name="gold" amount="200" />
			<resource name="stone" amount="100" />
			<resource name="wood" amount="200" />
		</resource-requirements>
		<resources-stored>
			<resource name= "gold" amount="200"/>
			<resource name= "wood" amount="200"/>			
			<resource name= "stone" amount="100"/>	
		</resources-stored>
		<image path="images/barracks.bmp" />
		<image-cancel path="../servant/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/trainingcamp_stand.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="100" />
			<animation path="models/trainingcamp_build3.g3d" minHp="7000" maxHp="8000"/>
			<animation path="models/trainingcamp_build2.g3d" minHp="4000" maxHp="6999"/>
			<animation path="models/trainingcamp_build1.g3d" minHp="1" maxHp="3999"/>
			<sound enabled="false" />
		</skill>	
		
		<skill>
			<type value="upgrade"/>	
			<name value="upgrade_skill"/>	
			<ep-cost value="0" />
			<speed value="300" />
			<anim-speed value="100" />
			<animation path="models/trainingcamp_stand.g3d" />

			<sound enabled="false" />
		</skill>
		
		<skill>
			<type value="produce"/>
			<name value="produce_skill"/>	
			<ep-cost value="0" />
			<speed value="300" />
			<anim-speed value="100" />
			<animation path="models/trainingcamp_stand.g3d" />

			<sound enabled="false" />
		</skill>

		<skill>
			<type value="produce"/>
			<name value="produceh_skill"/>	
			<ep-cost value="0" />
			<speed value="300" />
			<anim-speed value="100" />
			<animation path="models/trainingcamp_mak_ma.g3d" />
			<sound enabled="false" />
		</skill>	
		
		<skill>
			<type value="die" />	
			<name value="die_skill"/>		
			<ep-cost value="0" />
			<speed value="70" />
			<anim-speed value="70" />
			<animation path="models/trainingcamp_die.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_mounted_archer" />
			<image path="../mounted_archer/images/archer.bmp" />
			<unit-requirements />
			<upgrade-requirements />
			<produce-skill value="produceh_skill"/>
			<produced-unit name="mounted_archer"/>
		</command>
	
		<command>
			<type value="produce"/>
			<name value="produce_battering_ram" />
			<image path="../battering_ram/images/guard.bmp" />
			<unit-requirements />
			<upgrade-requirements />
			<produce-skill value="produce_skill"/>
			<produced-unit name="battering_ram"/>
		</command>

		<command>
			<type value="produce"/>
			<name value="train_a_raven" />
			<image path="../raven/images/dragon.bmp" />
			<unit-requirements />
			<upgrade-requirements />
			<produce-skill value="produce_skill"/>
			<produced-unit name="raven"/>
		</command>
		
		<command>
			<type value="upgrade"/>
			<name value="research_bird_training"/>
			<image path="../../upgrades/bird_training/images/bird_training.bmp" />
			<unit-requirements />
			<upgrade-requirements />
			<upgrade-skill value="upgrade_skill"/>
			<produced-upgrade name="bird_training"/>
		</command>				
	</commands>
</unit>
