<spot version="1.5.2"> 
<head> 

<title name="Interior 1 Demo Spot" /> 

<blockset href="http://blocks.flatland.com/flatsets/basic.bset"/> 
<blockset href="http://blocks.flatland.com/xuriel/xuriel_interior_1.bset"/>

<map style="double" dimensions = "(11,11,2)" /> 
<sky color="(00,00,00)" brightness="100%" />
<orb texture="img/moon_full.gif" position="(135,30)" brightness="100%" color="(255,255,255)" />
<ground texture="img/grass.gif"/> 

<debug />

<ambient_light brightness="30%" /> 
</head> 

<body>

<create symbol="[1" block="chestclosed">
	<action trigger="step in" radius="1">
		<replace source="]2"/>
	</action>
</create>

<create symbol="]2" block="chestopen">
<point_light STYLE="static" brightness="100%" color="(255,150,0)" radius="1" flood="no"/>
	<action trigger="step out" radius="1">
		<replace source="[1"/>
	</action>
</create>

<create symbol="$1" block="tapestry">
	<part name="*" texture="@xuriel_interior_1:orangecloth.jpg"/>
	<action trigger="step in" radius="1">
		<replace source="$2"/>
	</action>
</create>

<create symbol="$2" block="tapestry">
	<sound file="snd/curtains.wav" playback="once"/>
	<part name="*" texture="@xuriel_interior_1:orangecloth.jpg"/>
	<action trigger="step out" radius="1">
		<replace source="$1"/>
	</action>
</create>

<level number="1">  
.. .. .. .. .. .. .. .. .. .. ..
.. ~~ .. $$ .. .. .. .. .. .. ..
.. .. .. .. .. kt .. $$ $$ $$ ..
.. [] .. ][ .. .. .. .. [1 kt ..
.. .. .. .. .. .. .. .. .. .. ..
.. .. .. .. .. .. .. .. .. .. ..
.. $1 $1 .. .. .. .. .. .. .. ..
.. .. .. .. .. .. .. .. $$ .. ..
.. oo .. .. .. .. .. .. .. .. ..
.. .. .. .. .. .. .. .. .. .. ..
.. .. .. .. .. .. .. .. .. .. ..
</level>  

<level number="2">  
.. .. .. .. .. .. .. .. .. .. ..
.. .. .. .. .. .. .. .. .. .. ..
.. .. .. .. .. .. .. $$ $$ $$ ..
.. .. .. .. .. .. .. .. .. .. ..
.. .. .. .. .. .. .. .. .. .. ..
.. .. .. .. .. .. .. .. .. .. ..
.. .. .. .. .. .. .. .. .. .. ..
.. .. .. .. .. .. .. .. .. .. ..
.. .. .. .. .. .. .. .. .. .. ..
.. .. .. .. .. .. .. .. .. .. ..
.. .. .. .. .. .. .. .. .. .. ..
</level>  

<entrance location="(6,6,1)" name="default" angle="0.0" /> 

</body> 

</spot> 
