<?xml version="1.0" standalone="no" ?>
<unit>
	<!-- *** parameters *** -->
	<parameters>
		<size value="2" />
		<height value="2" />
		<max-hp value="1000" regeneration="3"/>
		<max-ep value="0" />
		<armor value="0" />
		<armor-type value="organic"/>				
		<sight value="5" />
		<time value="25" />
		<multi-selection value="false" />
		<cellmap value="false"/>
		<levels/>
		<fields>
			<field value="land" />
		</fields>
		<properties/>
		<light enabled="false" />
		<unit-requirements>
		</unit-requirements>
		<upgrade-requirements />
		<resource-requirements>
			<resource name="gold" amount="50"/>
			<resource name="wood" amount="100"/>
			<resource name="stone" amount="50"/>
			<resource name="food" amount="-80"/>
		</resource-requirements>
		<resources-stored>
			<resource name="food" amount="100"/>
		</resources-stored>
		<image path="images/mushy.png"/>
		<image-cancel path="images/cancel.png"/>
		<meeting-point value="false"/>
		<selection-sounds enabled="false"/>
		<command-sounds enabled="false"/>
	</parameters>
	
	<!-- *** skills *** -->
	<skills>

		<skill>
			<type value="be_built" />
			<name value="be_built_skill"/>		
			<ep-cost value="0" />
			<speed value="120"/>
			<speed value="120"/>
			<anim-speed value="50" />
			<animation path="models/mushroom_grow.g3d" />
			<anim-progress-bound value="true"/>
			<sound enabled="false" />
		</skill>
		
		<skill>
			<type value="stop" />
			<name value="stop_skill"/>		
			<ep-cost value="0" />
			<speed value="300" />
			<anim-speed value="50" />
			<animation path="models/mushroompatch.g3d" />
			<sound enabled="false" />
			<particles value="true" start-time="0.0" end-time="1.0">
				<particle-file path="fungus_farm_particles.xml"/>
			</particles>
		</skill>	
			
		
		<skill>
			<type value="die" />
			<name value="die_skill"/>		
			<ep-cost value="0" />
			<speed value="300" />
			<anim-speed value="300" />
			<animation path="models/mushroom_dead.g3d" />
			<sound enabled="false" start-time="0"/>		
			<fade value="false"/>
		</skill>

                <skill>
			<type value="upgrade"/>
			<name value="upgrade_skill"/>		
			<ep-cost value="0"/>
			<speed value="300"/>
			<anim-speed value="30"/>
			<animation path="models/mushroompatch.g3d"/>
			<sound enabled="false"/>
		</skill>

	</skills>
	
	<!-- *** commands *** -->
	<commands>

                <command>
			<type value="upgrade"/>
			<name value="wild_mushrooms"/>
			<image path="images/wild_mush.png"/>
			<unit-requirements>
				<unit name="war_totem"/>
			</unit-requirements>
			<upgrade-requirements/>
			<upgrade-skill value="upgrade_skill"/>
			<produced-upgrade name="wild_mushrooms"/>
		</command>	

                <command>
			<type value="upgrade"/>
			<name value="poison_mushrooms"/>
			<image path="images/pois_mush.png"/>
			<unit-requirements>
				<unit name="night_totem"/>
			</unit-requirements>
			<upgrade-requirements/>
			<upgrade-skill value="upgrade_skill"/>
			<produced-upgrade name="poison_mushrooms"/>
		</command>	


	</commands>
</unit>
