<?xml version="1.0" encoding="utf-8" ?>
<actions>
<!-- Init stuff -->
    <location id="City-Act1">
        <action id="init">
            <flags>
				<flag name="Flag.Act" value="1"/>
                <flag name="Location.UFO" value="-1"/>
                <flag name="Location.Hero Base" value="-1"/>
<!--
                <flag name="Location.Starting Base" value="-1"/>
                <flag name="Location.Intermediate Base" value="-1"/>
                <flag name="Location.Hero Base" value="-1"/>
                <flag name="Location.Superhero Base" value="-1"/>
-->
			</flags>
        </action>

<!-- Act I -->

		<action popup="true" title="Quest Active" text="Your currently active quest is shown\nin the upper left corner.\n\nClick the quest name if you want to\nview the description again!">
			<choice id="OK"/>
            <conditions>
                <flag name="Quest.Easy Money" value="1" type="higher"/>
				<flag name="Game.QuestHint" value=""/>
            </conditions>
            <flags>
				<flag name="Game.QuestHint" value="1"/>
            </flags>
        </action>

        <action id="intro_battle" dialogue="intro_battle">
			<action battle="true" name="Honcho Guevara" image="Characters02" index="0" physical="2" constitution="0" bg="Street" music="3">
				<power id="Mob Rules" level="1"/>
			</action>
		</action>
        <action id="act_1_end" dialogue="act_1_end">
            <conditions>
                <flag name="Quest.Cometh a Hero" value="3"/>
            </conditions>
			<flags>
				<flag name="Flag.Act" value="2"/>
				<flag name="Goto" value="Map"/>
				<flag name="Flag.StopActions" value="1"/>
			</flags>
		</action>
        <action id="intro_1" dialogue="intro_1">
            <conditions>
                <flag name="ID.intro_battle" value="1"/>
            </conditions>
            <flags>
                <flag name="Location.Warehouse 59" value="1"/>
                <flag name="MoveTo" value="Warehouse 59"/>
            </flags>
		</action>
        <action id="intro_2" dialogue="intro_2">
            <conditions>
                <flag name="Quest.Easy Money" value="2"/>
				<flag name="Resource.Money" value="100" type="higher"/>
            </conditions>
            <flags>
                <flag name="Location.Hero Base" value="1"/>
                <flag name="MoveTo" value="Hero Base"/>
            </flags>
		</action>
		<action id="intro_3" dialogue="intro_3">
            <conditions>
                <flag name="ArriveAt" value="Hero Base"/>
				<flag name="ID.intro_3" value=""/>
            </conditions>
			<flags>
				<flag name="Game.ShowBase" value="1"/>
				<flag name="ArriveAt" value=""/>
				<flag name="Refresh" value="1"/>
			</flags>
		</action>
        <action id="intro_training_dialog" dialogue="intro_training_dialog">
            <conditions>
                <flag name="Quest.Pump it Up" value="1"/>
            </conditions>
		</action>
        <action id="intro_training_powers" dialogue="intro_training_powers">
            <conditions>
                <flag name="ID.intro_training_dialog" value="1"/>
            </conditions>
		</action>
		<action id="intro_training_choice" popup="true" title="Power Focus" text="What power type do you want to focus on first?">
			<choice id="Physical">
				<flags>
					<flag name="Flag.PowerChoice" value="Attribute.Strength"/>
				</flags>
			</choice>
			<choice id="Elemental">
				<flags>
					<flag name="Flag.PowerChoice" value="Attribute.Essence"/>
				</flags>
			</choice>
			<choice id="Mental">
				<flags>
					<flag name="Flag.PowerChoice" value="Attribute.Intelligence"/>
				</flags>
			</choice>
            <conditions>
                <flag name="ID.intro_training_powers" value="1"/>
            </conditions>
            <flags>
            </flags>
       </action>
        <action id="intro_burglar_alarm" dialogue="intro_burglar_alarm">
            <conditions>
                <flag name="Quest.Pump it Up" value="2"/>
            </conditions>
		</action>
        <action id="intro_4" dialogue="intro_4">
            <conditions>
				<flag name="Upgrade.Burglar Alarm" value="1" type="higher"/>
				<flag name="Game.NewUpgrade" value=""/>
            </conditions>
			<flags>
                <flag name="Game.BattleFail" value=""/>
			</flags>
		</action>
        <action id="intro_first_lose" dialogue="intro_first_lose">
            <conditions>
                <flag name="Quest.Raise the Alarm" value="3"/>
                <flag name="Flag.FirstBattle" value=""/>
                <flag name="Game.BattleFail" value="1"/>
            </conditions>
		</action>
        <action id="intro_6" dialogue="intro_6">
            <conditions>
                <flag name="Quest.Raise the Alarm" value="4"/>
            </conditions>
		</action>
        <action id="intro_clues" dialogue="intro_clues">
            <conditions>
                <flag name="Quest.Cometh a Hero" value="1" type="hígher"/>
            </conditions>
		</action>
        <action id="cometh_a_hero_1" dialogue="cometh_a_hero_1">
            <conditions>
                <flag name="Quest.Cometh a Hero" value="1"/>
                <flag name="Resource.Clues" value="100" type="higher"/>
            </conditions>
		</action>

<!-- Warehouse 59 -->

		<action arrow="true" guiid="location" guiname="Warehouse 59">
            <conditions>
                <flag name="ID.intro_1" value="1"/>
                <flag name="Quest.Easy Money" value="3" type="lower"/>
            </conditions>
		</action>
		<action id="warehouse_intro" dialogue="warehouse_intro">
            <conditions>
                <flag name="ArriveAt" value="Warehouse 59"/>
            </conditions>
            <flags>
                <flag name="Game.ForceChoice" value="Let's go!"/>
            </flags>
		</action>

<!-- Force Fitness -->

		<action arrow="true" guiid="location" guiname="Force Fitness">
            <conditions>
                <flag name="Flag.PowerChoice" value="Attribute.Strength"/>
                <flag name="Quest.Pump it Up" value="2" type="lower"/>
            </conditions>
		</action>

<!-- Vegemite Park -->

		<action arrow="true" guiid="location" guiname="Vegemite Park">
            <conditions>
                <flag name="Flag.PowerChoice" value="Attribute.Essence"/>
                <flag name="Quest.Pump it Up" value="2" type="lower"/>
            </conditions>
		</action>

<!-- Books and Tomes -->

		<action arrow="true" guiid="location" guiname="Books and Tomes">
            <conditions>
                <flag name="Flag.PowerChoice" value="Attribute.Intelligence"/>
                <flag name="Quest.Pump it Up" value="2" type="lower"/>
            </conditions>
		</action>

<!-- Show base -->

        <action arrow="true" guiid="location" guiname="Hero Base">
            <conditions>
                <flag name="Location.Hero Base" value="1"/>
				<flag name="Quest.Easy Money" value="3"/>
            </conditions>
        </action>
        <action arrow="true" guiid="location" guiname="Hero Base">
            <conditions>
                <flag name="Quest.Raise the Alarm" value="2"/>
            </conditions>
        </action>

	</location>
</actions>