<?xml version="1.0" standalone="no" ?>
<unit>
	<!-- *** parameters *** -->
	<parameters>
		<size value="4" />
		<height value="4" />
		<max-hp value="2000" regeneration="0"/>
		<max-ep value="0" />
		<max-unit-count value="5"/>
		<armor value="10" />
		<armor-type value="structure"/>
		<sight value="5" />
		<time value="150" />
		<multi-selection value="false" />
		<cellmap value="true">

			<row value="1111"/>
			<row value="1111"/>
			<row value="0011"/>
			<row value="0011"/>


		</cellmap>
		<levels/>
		<fields>
			<field value="land" />
		</fields>
		<properties>
			<property value="burnable"/>
		</properties>
		<light enabled="false" />
		<unit-requirements>
		</unit-requirements>
		<upgrade-requirements />
		<resource-requirements>
			<resource name="credit" amount="50" />

		</resource-requirements>
		<resources-stored>
			<resource name="credit" amount="0"/>
		</resources-stored>
		<image path="../../../../../base_battle/icons/icons/barracks.bmp"/>
		<image-cancel path="../../../../../base_battle/icons/icons/cancel.bmp"/>
		<meeting-point value="true" image-path="../../../../../base_battle/icons/icons/meet.bmp"/>
		<selection-sounds enabled="true">
			<sound path="../../../../../base_battle/sound/building_select_2.wav" />
		</selection-sounds>
		<command-sounds enabled="true">
			<sound path="../../../../../base_battle/sound/building_select_2.wav" />
		</command-sounds>
	</parameters>
	
	<!-- *** skills *** -->
	<skills>
		<!-- *** skill 0 *** -->
		<skill>
			<type value="stop"/>	
			<name value="stop_skill"/>
			<ep-cost value="0" />
			<speed value="50" />
			<anim-speed value="20" />
			<animation path="../../../../../base_battle/models/structure/barracks/barracks.g3d" />
			<sound enabled="false" />
		</skill>
		
		<!-- *** skill 1 *** -->
		<skill>
			<type value="be_built" />	
			<name value="be_built_skill"/>		
			<ep-cost value="0" />
			<speed value="300" />
			<anim-speed value="300" />
			<animation path="../../../../../base_battle/models/structure/barracks/built.g3d" />    <particles value="true">
         <particle-file path="../../../../particles/built_smoke_4.xml"/>
		<particle-file path="../../../../particles/built_spark_4.xml"/>
			</particles>
			<sound enabled="false" />
		</skill>	
		
		
		<!-- *** skill 3 *** -->
		<skill>
			<type value="produce"/>
			<name value="produce_skill"/>	
			<ep-cost value="0" />
			<speed value="60" />
			<anim-speed value="999" />
			<animation path="../../../../../base_battle/models/structure/barracks/barracks.g3d" />
			<sound enabled="false" />
		</skill>	

	
		<!-- *** skill 4 *** -->
		<skill>
			<type value="die" />	
			<name value="die_skill"/>		
			<ep-cost value="0" />
			<speed value="300" />
			<anim-speed value="25" />
			<animation path="../../../../../base_battle/models/structure/barracks/barracksdie.g3d" />    <particles value="true">
         <particle-file path="../../../../particles/damage_smoke_4.xml"/>
			</particles>
			<sound enabled="true" start-time="0">
				<sound-file path="../../../../../base_battle/sound/building_destroy.wav"/>
			</sound>			
			<fade value="false"/>
		</skill>

	</skills>
	
	<!-- *** commands *** -->
	<commands>
	
		<command>
			<type value="produce"/>
			<name value="train_grunt" />
			<image path="../../../../../base_battle/icons/icons/grunt.bmp"/>
			<unit-requirements />
			<upgrade-requirements />
			<produce-skill value="produce_skill"/>
			<produced-unit name="grunt"/>
		</command>
		<command>
			<type value="produce"/>
			<name value="train_rocket_grunt" />
			<image path="../../../../../base_battle/icons/icons/rgrunt.bmp"/>
			<unit-requirements />
			<upgrade-requirements />
			<produce-skill value="produce_skill"/>
			<produced-unit name="rocket_grunt"/>
		</command>

		<command>
			<type value="produce"/>
			<name value="train_mortar_grunt" />
			<image path="../../../../../base_battle/icons/icons/mortar.bmp"/>
			<unit-requirements />
			<upgrade-requirements />
			<produce-skill value="produce_skill"/>
			<produced-unit name="mortar_grunt"/>
		</command>


	</commands>
</unit>