<?xml version="1.0" standalone="no" ?>
<unit>
	<!-- *** parameters *** -->
	<parameters>
		<size value="5" />
		<height value="4" />
		<max-hp value="3000" regeneration="0"/>
		<max-ep value="0" />
		<armor value="0" />
		<armor-type value="metal"/>				
		<sight value="15" />
		<time value="50" />
		<multi-selection value="false" />
		<cellmap value="true">
			<row value="00000"/>
			<row value="11111"/>
			<row value="11111"/>
			<row value="11111"/>
			<row value="00000"/>
		</cellmap>
		<levels/>
		<fields>
			<field value="land" />
		</fields>
		<properties/>
		<light enabled="true" red="0.8" green="0.8" blue="0.5"/>
		<unit-requirements/>
		<upgrade-requirements />
		<resource-requirements>
			<resource name="gold" amount="100" />
			<resource name="wood" amount="200" />
			<resource name="oil" amount="-20" />
		</resource-requirements>
		<resources-stored>
			<resource name= "oil" amount="200"/>
		</resources-stored>
		<image path="images/castle.bmp" />
		<image-cancel path="../headquarters/images/tech_cancel.bmp"/>
		<meeting-point value="false"/>
		<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 *** -->
	<skills>

		<skill>
			<type value="stop" />
			<name value="stop_skill"/>		
			<ep-cost value="0" />
			<speed value="300" />
			<anim-speed value="100" />
			<animation path="models/oil_well.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/oil_well_build.g3d" />
			<sound enabled="false" />
		</skill>	
		
		<skill>
			<type value="produce" />
			<name value="produce_skill"/>		
			<ep-cost value="0" />
			<speed value="100" />
			<anim-speed value="50" />
			<animation path="models/oil_well_pump.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/oil_well_brake.g3d" />
			<sound enabled="true" start-time="0">
				<sound-file path="$COMMONDATAPATH/sounds/explode.wav"/>
			</sound>
			<particles value="true" start-time="0.001" end-time="0.3">
				<particle-file path="fire_particles1.xml"/>
				<particle-file path="fire_particles2.xml"/>
				<particle-file path="fire_particles3.xml"/>
				<particle-file path="fire_particles4.xml"/>
				<particle-file path="fire_particles5.xml"/>
				<particle-file path="fire_particles6.xml"/>
				<particle-file path="fire_particles7.xml"/>
				<particle-file path="fire_particles8.xml"/>
			</particles>	
			<particles value="true">
				<particle-file path="../advanced_barracks/smoke_particles.xml"/>
				<particle-file path="../advanced_barracks/glow_particles.xml"/>
			</particles>				
			<fade value="false"/>
		</skill>

	</skills>
	
	<!-- *** commands *** -->
	<commands>
	
		<command>
			<type value="produce"/>
			<name value="pump_oil" />
			<image path="../oil/images/gold.bmp" />
			<unit-requirements />
			<upgrade-requirements />
			<produce-skill value="produce_skill"/>
			<produced-unit name="oil"/>
		</command>	

	</commands>
</unit>
