<?xml version="1.0" ?>

<Scene name="YardBuildingMinigame" type="MissionaryScene" debug="0" hide_ui="1" click_sound="ui.click" lose_sound="ui.click">

	<Audio source="ambient2"/>

    <MissionaryElement name="s_01" image="scene_blue_chip_01" type="1" target="0" x="314" y="237"/>
    <MissionaryElement name="s_02" image="scene_blue_chip_02" type="1" target="0" x="116" y="344"/>
    <MissionaryElement name="s_03" image="scene_blue_chip_03" type="1" target="0" x="314" y="457"/>
    <MissionaryElement name="s_04" image="scene_red_chip_01" type="0" target="0" x="314" y="347"/>
    <MissionaryElement name="s_05" image="scene_red_chip_02" type="0" target="0" x="215" y="289"/>
    <MissionaryElement name="s_06" image="scene_red_chip_03" type="0" target="0" x="215" y="399"/>

	<MissionaryElement name="t_01" image="scene_blue_chip_01" type="1" target="1" x="644" y="237"/>
	<MissionaryElement name="t_02" image="scene_blue_chip_02" type="1" target="1" x="842" y="344"/>
	<MissionaryElement name="t_03" image="scene_blue_chip_03" type="1" target="1" x="644" y="457"/>
	<MissionaryElement name="t_04" image="scene_red_chip_01" type="0" target="1" x="644" y="347"/>
	<MissionaryElement name="t_05" image="scene_red_chip_02" type="0" target="1" x="743" y="289"/>
	<MissionaryElement name="t_06" image="scene_red_chip_03" type="0" target="1" x="743" y="399"/>

    <MissionaryAnimator name="animation" image="scene_trans_rotator" x="388" y="257"/>
    <MissionaryPositionSwitch name="switch" image="scene_trans_rotator_button" x="524" y="328"/><!-- yeah, baby! -->
    <MissionaryTransport name="transport_01" x="426" y="299"/>
    <MissionaryTransport name="transport_02" x="426" y="399"/>

	<Action type="Composite" name="YardBuildingMinigame_OnSuccess">
		<Action type="Say" key="MAIN_BUILDING_UNLOCKED"/>
		<Action type="SetVar" var="main_building_unlocked" value="1" reset="0"/>
		<Action type="PlaySound" sound="door_unlock"/>
		<Action type="SwitchScene" scene="BuildingInside"/>
	</Action>

	<Action type="Composite" name="YardBuildingMinigame_OnBack">
		<Action type="SwitchScene" scene="BuildingInside"/>
	</Action>

</Scene>