
<level>
<achievement id="shotcount" />
	<title>Puzzle 15: Vicious Vortex</title>
	<number>15</number>
	<description>Wrap your head around this one, and you will be a Puzzle Master!</description>
	<background>
		<layer texture="background/red/Layer_red01.png" move="0" />
		<layer texture="background/red/Layer_red02.png" move="1" />
		<layer texture="background/red/Layer_red03.png" move="2" />
		<layer texture="background/red/Layer_red04.png" move="3" />
		<layer texture="background/red/Layer_red05.png" move="4" />
		<layer texture="background/red/Layer_red06.png" move="5" />
	</background>
	<stats>assets/Cutscenes/stats.scn</stats>
	<platform cycle="5">
		<color>1,0,0</color>
		<color>1,0.4,0.4</color>
		<color>1,0.4,0.2</color>
	</platform>
	<music>
		<base>music/challenge/theme4 FULL2.ogg</base>
	</music>

	<core>
		<ringcolor cycle="5">
		<color>1,0,0</color>
		<color>1,0.4,0.4</color>
		<color>1,0.4,0.2</color>
		</ringcolor>
		<glowcolor cycle="5">
		<color>1,0,0</color>
		<color>1,0.4,0.4</color>
		<color>1,0.4,0.2</color>
		</glowcolor>
		
		
		<hits total="2">
			<turret id="1" hits="2"/>
		</hits>
		
		<messages mindelay="10" maxdelay="30">
			<generic>
				<message icon="good">Position the walls so you can shoot through the openings.</message>
				<message icon="good">The lock nodes move it in one direction, the sensor nodes move it the other direction.</message>
				<message icon="good">Try to plan ahead.</message>
				<message icon="good">Align the middle wall first.</message>
				<message icon="good">Work your way inside, and then work your way back out.</message>
				<message icon="good">Plan carefully, you don't want to have to go back later.</message>
			</generic>
		</messages>
		
	</core>

	<!--story type="before" file="assets/Cutscenes/buynow.scn" /-->
<story type="good" file="assets/Cutscenes/puzzle.scn" />
<story type="bad" file="assets/Cutscenes/puzzle.scn" />

<ring type="shield" radius="0.25" speed="0" rotation="45">
<shield color="0.2,0.2,1" id="node0" />
</ring>

<!-- INNER RING 1 -->
<ring type="wall" radius="0.4" speed="0">
	<section gap="335" sweep="160" color="0.8,0,1">
		<shrink gap="515" sweep="160">
			<node id="node1" />
			<node id="node2" />
		</shrink>
	</section>
	<section gap="0" sweep="155" color="0.8,0,1">
		<shrink gap="180" sweep="155">
			<node id="node1" />
			<node id="node2" />
		</shrink>
	</section>
</ring>

<ring type="shield" radius="0.6" speed="0" rotation="300">
<shield color="0.8,0,1" id="node1" />
</ring>

<ring type="shield" radius="0.6" speed="0" rotation="325">
<shield color="0.8,0,1" id="node2" />
</ring>

<ring type="shield" radius="0.6" speed="0" rotation="35">
<shield color="0.8,0,1">
<trap target="node1" />
<selfheal rate="50" />
</shield>
<shield color="0.8,0,1">
<trap target="node2" />
<selfheal rate="50" />
</shield>
</ring>

<!-- RING 2 -->

<ring type="wall" radius="0.8" speed="0">
	<section gap="245" sweep="105" color="0.2,0.2,1">
		<shrink gap="515" sweep="105">
			<node id="node3" />
			<node id="node4" />
			<node id="node0" />
		</shrink>
	</section>
	<section gap="0" sweep="105" color="0.2,0.2,1">
		<shrink gap="270" sweep="105">
			<node id="node3" />
			<node id="node4" />
			<node id="node0" />
		</shrink>
	</section>
	<section gap="0" sweep="105" color="0.2,0.2,1">
		<shrink gap="270" sweep="105">
			<node id="node3" />
			<node id="node4" />
			<node id="node0" />
		</shrink>
	</section>
</ring>

<ring type="shield" radius="0.95" speed="0" rotation="55">

<shield color="0.2,0.2,1">
<trap target="node3" />
<selfheal rate="50" />
</shield>
<shield color="1,0.2,0.2" id="node5" />

<shield color="0.2,0.2,1">
<trap target="node4" />
<selfheal rate="50" />
</shield>
<shield color="0.2,0.2,1" id="node3" />
</ring>

<ring type="shield" radius="0.95" speed="0" rotation="120">
<shield color="0.2,0.2,1" id="node4" />
<shield color="0.2,0.2,1">
<trap target="node0" />
<selfheal rate="50" />
</shield>

</ring>


<!-- RING 3 -->
<ring type="wall" radius="1.1" speed="0">
	<section gap="150" sweep="80" color="1,0.2,0.2">
		<shrink gap="420" sweep="80">
			<node id="node5" />
			<node id="node6" />
			<node id="node7" />
		</shrink>
	</section>
	<section gap="0" sweep="80" color="1,0.2,0.2">
		<shrink gap="270" sweep="80">
			<node id="node5" />
			<node id="node6" />
			<node id="node7" />
		</shrink>
	</section>
	<section gap="0" sweep="80" color="1,0.2,0.2">
		<shrink gap="270" sweep="80">
			<node id="node5" />
			<node id="node6" />
			<node id="node7" />
			</shrink>
	</section>
	<section gap="0" sweep="80" color="1,0.2,0.2">
		<shrink gap="270" sweep="80">
			<node id="node5" />
			<node id="node6" />
			<node id="node7" />
			</shrink>
	</section>
</ring>

<ring type="shield" radius="1.3" speed="0" rotation="32">
<shield color="1,0.2,0.2" id="node6" />
<shield color="1,0.2,0.2">
<trap target="node7" />
<selfheal rate="50" />
</shield>
<shield color="1,0.2,0.2" id="node7" />
<shield color="1,0.2,0.2">
<trap target="node5" />
<selfheal rate="50" />
</shield>
</ring>
<ring type="shield" radius="1.3" speed="0" rotation="245">
<shield color="1,0.2,0.2">
<trap target="node6" />
<selfheal rate="50" />
</shield>
</ring>

<!-- OUTER RING 4 -->
<ring type="wall" radius="1.5" speed="0">
	<section gap="70" sweep="80" color="0.2,1,0.2">
		<shrink gap="340" sweep="80">
			<node id="node8" />
			<node id="node9" />
			<node id="node10" />
		</shrink>
	</section>
	<section gap="0" sweep="80" color="0.2,1,0.2">
		<shrink gap="270" sweep="80">
			<node id="node8" />
			<node id="node9" />
			<node id="node10" />
		</shrink>
	</section>
		<section gap="0" sweep="80" color="0.2,1,0.2">
		<shrink gap="270" sweep="80">
			<node id="node8" />
			<node id="node9" />
			<node id="node10" />
		</shrink>
	</section>
		<section gap="0" sweep="80" color="0.2,1,0.2">
		<shrink gap="270" sweep="80">
			<node id="node8" />
			<node id="node9" />
			<node id="node10" />
		</shrink>
	</section>
</ring>


<ring type="shield" radius="1.7" speed="0" rotation="0">
	<shield color="0.2,1,0.2" id="node8" />
	<shield color="0.2,1,0.2">
		<trap target="node10" />
		<selfheal rate="50" />
	</shield>
	<shield color="0.2,1,0.2" id="node9" />
	<shield color="0.2,1,0.2">
		<trap target="node8" />
		<selfheal rate="50" />
	</shield>
	<shield color="0.2,1,0.2" id="node10" />
	<shield color="0.2,1,0.2">
		<trap target="node9" />
		<selfheal rate="50" />
	</shield>
</ring>

</level>