<?xml version="1.0" ?>



<building name="bowyers_workshop" game_type="Workshop" game_subtype="Bowyers" file="workshop.png"> 
	<!-- benches wall -->
	<if> 
		<!-- replace this with position index if required -->
		<BuildingOccupancy value="3" />	
		<!-- benches -->
		<include file="wsBenches.xml"/>	
	</if>
	<else>
		<include file="wsUpperBorder.xml"/>
	</else>
	<!-- end benches wall -->
 
	<!-- contents -->
	
	<if>
		<PositionIndex value=8 />
		<sprite index = 164 offsety = -2/>
	</if>		
	
	<else>
		<PositionIndex value=2 />
		<sprite index = 162 />
	</else>	
	
	<if>
		<BuildingOccupancy value="3" />
		<if>
			<PositionIndex value=0 />
			<sprite index = 166 offsetx=2 offsety=-2/>
		</if>
		<else>
			<PositionIndex value=3 />
			<rotate>
				<sprite index = 160 offsety=-2/>
				<sprite index = 161 offsety=-2/>
				<sprite index = 160 offsetx=3/>
				<sprite index = 161 offsetx=-3/>
			</rotate>
		</else>
		<else>
			<PositionIndex value=6 />
			<sprite index = 163  />
		</else>	
	</if>	
		
	<include file="ws3x3Blueprint.xml"/>
	<include file="wsLowerBorder.xml"/>
	
</building> 
