<?xml version="1.0" ?>

<Scene name="TreasuryMatch3" type="Match3Scene" hide_ui="1" image_base="block_m3_" x="170" y="140" width="75" height="75" columns="9" rows="6"
		time="300" positive_effect="15" negative_effect="10" positive="sword" neutral="blue,yellow,red,green" negative="skull"
		click_sound="ui.click" positive_sound="match3_positive" neutral_sound="match3_neutral" negative_sound="match3_negative">

	<Audio source="chapter3"/>

	<Action type="Composite" name="TreasuryMatch3_OnSuccess">
		<Action type="LockScene"/>
		<Action type="SetVar" var="treasury_match3_solved" value="1" reset="0"/>
		<Action type="RemoveItem" item="magic_wand" reset="0"/>
		<Action type="RemoveItem" item="mine_chest_book_full" reset="0"/>
		<Action type="SwitchScene" scene="Treasury" fade_time="1"/>
	</Action>



	<!-- Foreground -->
	<Object type="Container" name="minigame_gui" x="0" y="0" w="1024" h="768">
		<Object type="ImageBox" name="enemy_bar_background" image="healthbar_background" x="24" y="104"/>
		<Object type="ImageBox" name="enemy_bar_progress" image="healthbar_progress" x="24" y="104" center_y="528"/>
		<Object type="ImageBox" name="enemy_bar_foreground_frame" image="healthbar_foreground_frame" x="20" y="100"/>
		<Object type="ImageBox" name="player_bar_background" image="healthbar_background" x="979" y="104"/>
		<Object type="ImageBox" name="player_bar_progress" image="healthbar_progress" x="979" y="104" center_y="528"/>
		<Object type="ImageBox" name="player_bar_foreground_frame" image="healthbar_foreground_frame" x="975" y="100"/>
		<Object type="Label" name="enemy_name" text_key="minigame_desc_TreasuryMatch3_enemy" font="normal:2.0" effect="border" horz_formatting="left" x="60" y="100" w="400" h="48"/>
		<Object type="Label" name="player_name" text_key="minigame_desc_TreasuryMatch3_player" font="normal:2.0" effect="border" horz_formatting="right" x="565" y="100" w="400" h="48"/>
	</Object>


</Scene>