<?xml version="1.0" encoding="utf-8" ?>
<upgrades>
    <upgrade id="Training Mastery" level="1" cost="100" text="Opens up training centers in the city">
	</upgrade>
    <upgrade id="Training Mastery" level="2" cost="1000" text="Increases the training effects">
		<conditions>
			<flag name="Upgrade.Training Mastery" value="1"/>
		</conditions>
	</upgrade>
    <upgrade id="Training Mastery" level="3" cost="2500" text="Maximizes the training effects">
		<conditions>
			<flag name="Upgrade.Training Mastery" value="2"/>
		</conditions>
	</upgrade>

    <upgrade id="Burglar Alarm" level="1" cost="250" text="Detect small crime going on in the city">
		<conditions>
			<flag name="Upgrade.Training Mastery" value="1" type="higher"/>
		</conditions>
	</upgrade>
    <upgrade id="Burglar Alarm" level="2" cost="500" text="Detect villains afoot in the city">
		<conditions>
			<flag name="Upgrade.Burglar Alarm" value="1"/>
		</conditions>
	</upgrade>
    <upgrade id="Burglar Alarm" level="3" cost="1000" text="Detect supervillains up to no good in the city">
		<conditions>
			<flag name="Upgrade.Burglar Alarm" value="2"/>
		</conditions>
	</upgrade>

    <upgrade id="Distress-o-Meter" level="1" cost="500" text="Detect citizens in distress">
		<conditions>
			<flag name="Upgrade.Burglar Alarm" value="1" type="higher"/>
		</conditions>
	</upgrade>
    <upgrade id="Distress-o-Meter" level="2" cost="1000" text="Increases the reputation gain when helping citizens">
		<conditions>
			<flag name="Upgrade.Distress-o-Meter" value="1"/>
		</conditions>
	</upgrade>
    <upgrade id="Distress-o-Meter" level="3" cost="2500" text="Maximizes reputation gain from helping citizens">
		<conditions>
			<flag name="Upgrade.Distress-o-Meter" value="2"/>
		</conditions>
	</upgrade>

    <upgrade id="Heroic Power" level="1" cost="500" text="Start battles with meters filled to 5">
		<conditions>
			<flag name="Upgrade.Distress-o-Meter" value="1" type="higher"/>
		</conditions>
	</upgrade>
    <upgrade id="Heroic Power" level="2" cost="1000" text="Start battles with meters filled to 10">
		<conditions>
			<flag name="Upgrade.Heroic Power" value="1"/>
		</conditions>
	</upgrade>
    <upgrade id="Heroic Power" level="3" cost="2500" text="Start battles with meters filled to 20">
		<conditions>
			<flag name="Upgrade.Heroic Power" value="2"/>
		</conditions>
	</upgrade>
</upgrades>
