<?xml version="1.0" standalone="no" ?>
<unit>
	<parameters>
		<size value="4" />
		<height value="2" />
		<max-hp value="5000" regeneration="0"/>
		<max-ep value="0" />
		<armor value="0" />
		<armor-type value="stone"/>				
		<sight value="12" />
		<time value="150" />
		<multi-selection value="false"/>
		<cellmap value="true">
			<row value="1101" /> 
			<row value="0000" /> 
			<row value="1101" />
			<row value="1101" />
		</cellmap>
		<levels/>
		<fields>
			<field value="land"/>
		</fields>
		<properties>
			<property value="burnable"/>
		</properties>
		<light enabled="false" />
		<unit-requirements>
			<unit name="mage_tower"/>
			<unit name="summoner_guild"/>
		</unit-requirements>
		<upgrade-requirements />
		<resource-requirements>
			<resource name="gold" amount="100"/>
			<resource name="stone" amount="250"/>
			<resource name="wood" amount="100"/>	
		</resource-requirements>
		<resources-stored />
		<image path="images/library.bmp"/>
		<image-cancel path="../archmage/images/magic_cancel.bmp"/>
		<meeting-point value="false"/>
		<selection-sounds enabled="true">
			<sound path="../archmage_tower/sounds/magic_click.wav"/>
		</selection-sounds>
		<command-sounds enabled="true">
			<sound path="../archmage_tower/sounds/magic_click.wav"/>
		</command-sounds>
	</parameters>
	
	<skills>
		<skill>
			<type value="be_built"/>
			<name value="be_built_skill"/>		
			<ep-cost value="0" />
			<speed value="300" />
			<anim-speed value="300" />
			<animation path="models/library_construction.g3d" />
			<sound enabled="false" />
		</skill>
		
		<skill>
			<type value="stop" />
			<name value="stop_skill"/>		
			<ep-cost value="0" />
			<speed value="300" />
			<anim-speed value="300" />
			<animation path="models/library.g3d" />
			<sound enabled="false" />
		</skill>	
		
		<skill>
			<type value="upgrade" />
			<name value="upgrade_skill"/>		
			<ep-cost value="0" />
			<speed value="300" />
			<anim-speed value="300" />
			<animation path="models/library.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="../mage_tower/destruction_models/library_destruction.g3d"/>
			<sound enabled="true" start-time="0">
				<sound-file path="../archmage_tower/sounds/magic_building_fall5.wav"/>
			</sound>			
			<fade value="false"/>
		</skill>

	</skills>

	<commands>
		<command>
			<type value="upgrade"/>
			<name value="research_energy_compression"/>
			<image path="../../upgrades/energy_compression/images/energy_compression.bmp"/>
			<unit-requirements />
			<upgrade-requirements />
			<upgrade-skill value="upgrade_skill"/>
			<produced-upgrade name="energy_compression"/>
		</command>
		
		<command>
			<type value="upgrade"/>
			<name value="research_energy_sharpening"/>
			<image path="../../upgrades/energy_sharpening/images/energy_sharpening.bmp"/>
			<unit-requirements />
			<upgrade-requirements />
			<upgrade-skill value="upgrade_skill"/>
			<produced-upgrade name="energy_sharpening"/>
		</command>

                <command>
			<type value="upgrade" />
			<name value="research_gate" />
			<image path="../../upgrades/gate/images/hell_gate.bmp" />
			<unit-requirements />
			<upgrade-requirements />
			<upgrade-skill value="upgrade_skill"/>
			<produced-upgrade name="hell_gate"/>
		</command>
	</commands>
</unit>
