<?xml version="1.0" ?>

<building name="Floor Hatch" game_type="Hatch"  file="DoorsAndFloodgates.png">
	<if><!-- wooden -->
		<MaterialType value="Wood" />
		<sprite index="62" color="building" />
		<sprite index="63" />
	</if>
	<else><!-- some kind of metall -->
		<or>
			<MaterialType value="Inorganic" subtype="IRON" />
			<MaterialType value="Inorganic" subtype="GOLD" />
			<MaterialType value="Inorganic" subtype="SILVER" />
			<MaterialType value="Inorganic" subtype="COPPER" />
			<MaterialType value="Inorganic" subtype="NICKEL" />
			<MaterialType value="Inorganic" subtype="ZINC" />
			<MaterialType value="Inorganic" subtype="BRONZE" />
			<MaterialType value="Inorganic" subtype="BRASS" />
			<MaterialType value="Inorganic" subtype="STEEL" />
			<MaterialType value="Inorganic" subtype="PIG_IRON" />
			<MaterialType value="Inorganic" subtype="PLATINUM" />
			<MaterialType value="Inorganic" subtype="ELECTRUM" />
			<MaterialType value="Inorganic" subtype="TIN" />
			<MaterialType value="Inorganic" subtype="PEWTER_FINE" />
			<MaterialType value="Inorganic" subtype="PEWTER_TRIFLE" />
			<MaterialType value="Inorganic" subtype="PEWTER_LAY" />
			<MaterialType value="Inorganic" subtype="LEAD" />
			<MaterialType value="Inorganic" subtype="ALUMINUM" />
			<MaterialType value="Inorganic" subtype="NICKEL_SILVER" />
			<MaterialType value="Inorganic" subtype="BILLON" />
			<MaterialType value="Inorganic" subtype="STERLING_SILVER" />	
			<MaterialType value="Inorganic" subtype="BLACK_BRONZE" />
			<MaterialType value="Inorganic" subtype="ROSE_GOLD" />		
			<MaterialType value="Inorganic" subtype="BISMUTH" />	
			<MaterialType value="Inorganic" subtype="BISMUTH_BRONZE" />	
			<MaterialType value="Inorganic" subtype="ADAMANTINE" />
		</or>
		<sprite index="64" color="building" />
	</else>
	<else><!-- ClearGlass -->
		<MaterialType value="ClearGlass" />
		<sprite index="66" />
	</else>
	<else><!-- GreenGlass -->
		<MaterialType value="GreenGlass" />
		<sprite index="68" />
	</else>
	<else><!-- CrystalGlass -->
		<MaterialType value="CrystalGlass" />
		<sprite index="70" />
	</else>
	<else><!-- any other material (e.g. stone) -->
		<sprite index="60" color="building" />
	</else>
</building> 
