<?xml version="1.0" standalone="no" ?>
<unit>
	<parameters>
		<size value="3" />
		<height value="3" />
		<max-hp value="6000" regeneration="0"/>
		<max-ep value="0" />
		<armor value="5" />
		<armor-type value="stein"/>
		<sight value="12" />
		<time value="120" />
		<multi-selection value="false" />
		<cellmap value="true">
			<row value="111"/>
			<row value="000"/>
			<row value="111"/>
		</cellmap>
		<levels/>
		<fields>
			<field value="land" />
		</fields>
		<properties>
			<property value="burnable"/>
		</properties>
		<light enabled="false" />
		<rotationAllowed value="true" />
		<unit-requirements>
			<unit name="zentrum" />
		</unit-requirements>
		<upgrade-requirements />
		<resource-requirements>
			<resource name="gold" amount="100" />
			<resource name="stone" amount="100" />
			<resource name="wood" amount="150" />			
		</resource-requirements>
		<resources-stored>
			<resource name="wood" amount="750" />
		</resources-stored>
		<image path="images/schmiede.png" />
		<image-cancel path="../arbeiter/images/abbrechen.png" />
		<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>
		<skill>
			<type value="stop" />	
			<name value="stop_skill" />
			<ep-cost value="0" />
			<speed value="1000" />
			<anim-speed value="100" />
			<animation path="models/schmiede.g3d" />			
			<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/schmiede_arbeiten.g3d" />
			<particles value="true">
				<particle-file path="feuer_particles1.xml" />
				<particle-file path="feuer_particles2.xml" />
				<particle-file path="rauch_particles.xml" />
			</particles>
			<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/schmiede_arbeiten.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="../zentrum/construction_models/barracks_construction.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="../zentrum/destruction_models/technodrome_destruction.g3d" />
			<particles value="true">
				<particle-file path="smoke_particles.xml" />
				<particle-file path="glow_particles.xml" />
			</particles>
			<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="upgrade" />
			<name value="schwerter_optimieren" />
			<image path="../bannertraeger/images/schwertangriff.png" />
			<unit-requirements>
				<unit name="schmiede"/>
			</unit-requirements>
			<upgrade-requirements />
			<upgrade-skill value="upgrade_skill" />
			<produced-upgrade name="schwert" />			
		</command>

		<command>
			<type value="upgrade" />
			<name value="speere_optimieren" />
			<image path="../speerkaempfer/images/speerangriff.png" />
			<unit-requirements>
				<unit name="schmiede"/>
			</unit-requirements>
			<upgrade-requirements />
			<upgrade-skill value="upgrade_skill" />
			<produced-upgrade name="speer" />			
		</command>

		<command>
			<type value="upgrade" />
			<name value="aexte_optimieren" />
			<image path="../arbeiter/images/holzfaeller.png" />
			<unit-requirements>
				<unit name="schmiede"/>
			</unit-requirements>
			<upgrade-requirements />
			<upgrade-skill value="upgrade_skill" />
			<produced-upgrade name="axt" />			
		</command>

		<command>
			<type value="upgrade" />
			<name value="boegen_optimieren" />
			<image path="../jaeger/images/bogenangriff.png" />
			<unit-requirements>
				<unit name="schmiede"/>
			</unit-requirements>
			<upgrade-requirements />
			<upgrade-skill value="upgrade_skill" />
			<produced-upgrade name="bogen" />			
		</command>

		<command>
			<type value="upgrade" />
			<name value="ruestung_optimieren" />
			<image path="../../upgrades/ruestung/images/panzerung.png" />
			<unit-requirements>
				<unit name="schmiede"/>
			</unit-requirements>
			<upgrade-requirements />
			<upgrade-skill value="upgrade_skill" />
			<produced-upgrade name="ruestung" />			
		</command>

		<command>
			<type value="upgrade" />
			<name value="speere_vergiften" />
			<image path="../../upgrades/vergiftete_speere/images/gift_speer.png" />
			<unit-requirements >
				<unit name="schmiede"/>
				<unit name="steinheiligtum"/>
				<unit name="drachenturm"/>
			</unit-requirements >
			<upgrade-requirements >
				<upgrade name="speer" />
				<upgrade name="gift" />
			</upgrade-requirements >
			<upgrade-skill value="upgrade_skill" />
			<produced-upgrade name="vergiftete_speere" />			
		</command>

		<command>
			<type value="upgrade" />
			<name value="schilde_optimieren" />
			<image path="../../upgrades/schild/images/schild.png" />
			<unit-requirements >
				<unit name="schmiede"/>
				<unit name="steinheiligtum"/>
				<unit name="drachenturm"/>
			</unit-requirements >
			<upgrade-requirements >
				<upgrade name="schwert" />
				<upgrade name="speer" />
				<upgrade name="axt" />
				<upgrade name="ruestung" />
			</upgrade-requirements >
			<upgrade-skill value="upgrade_skill" />
			<produced-upgrade name="schild" />			
		</command>
				
	</commands>
</unit>
