<?xml version="1.0"?>
<Story>
<!--Start Campaign-->
	<Event Name="Mandalore_Piracy_Mission_Begin">
		<Event_Type>STORY_ELAPSED</Event_Type>
		<Event_Param1>0</Event_Param1>
	</Event>

	<Event Name="Mandalore_Piracy_Prevent_Retreat">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>DISABLE_RETREAT</Reward_Type>
		<Reward_Param1>UNDERWORLD</Reward_Param1>
		<Reward_Param2>1</Reward_Param2>
		<Prereq>Mandalore_Piracy_Mission_Begin</Prereq>
	</Event>

	<Event Name="Mandalore_Piracy_Mission_Add_Objective_00">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>ADD_OBJECTIVE</Reward_Type>
		<Reward_Param1>TEXT_MANDALORE_PIRACY_OBJECTIVE_00</Reward_Param1>
		<Prereq>Mandalore_Piracy_Mission_Begin</Prereq>
	</Event>

	<Event Name="Mandalore_Piracy_Mission_Add_Objective_01">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>ADD_OBJECTIVE</Reward_Type>
		<Reward_Param1>TEXT_MANDALORE_PIRACY_OBJECTIVE_01</Reward_Param1>
		<Prereq>Mandalore_Piracy_Mission_Begin</Prereq>
	</Event>

	<Event Name="Mandalore_Piracy_Mission_Complete_Objective_00">
		<Event_Type>STORY_AI_NOTIFICATION</Event_Type>
		<Event_Param2>COMPLETE_OBJECTIVE_00</Event_Param2>
		<Reward_Type>OBJECTIVE_COMPLETE</Reward_Type>
		<Reward_Param1>TEXT_MANDALORE_PIRACY_OBJECTIVE_00</Reward_Param1>
		<Prereq>Mandalore_Piracy_Mission_Add_Objective_00</Prereq>
	</Event>

	<Event Name="Mandalore_Piracy_Mission_Complete_Objective_02">
		<Event_Type>STORY_AI_NOTIFICATION</Event_Type>
		<Event_Param2>COMPLETE_OBJECTIVE_02</Event_Param2>
		<Reward_Type>OBJECTIVE_COMPLETE</Reward_Type>
		<Reward_Param1>TEXT_MANDALORE_PIRACY_OBJECTIVE_02</Reward_Param1>
		<Prereq>Mandalore_Piracy_Mission_Add_Objective_02</Prereq>
	</Event>

	<Event Name="Mandalore_Piracy_Mission_Complete_Victory_Trigger">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>VICTORY</Reward_Type>
		<Reward_Param1>Underworld</Reward_Param1>
		<Prereq>Mandalore_Piracy_Mission_Complete_Objective_00</Prereq>
	</Event>

	<Event Name="Mandalore_Piracy_Mission_Fail_Objective_00">
		<Event_Type>STORY_AI_NOTIFICATION</Event_Type>
		<Event_Param2>FAIL_OBJECTIVE_00</Event_Param2>
		<Reward_Type>OBJECTIVE_FAILED</Reward_Type>
		<Reward_Param1>TEXT_MANDALORE_PIRACY_OBJECTIVE_00</Reward_Param1>
		<Prereq>Mandalore_Piracy_Mission_Add_Objective_00</Prereq>
	</Event>

	<Event Name="Mandalore_Piracy_Mission_Fail_Objective_01">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>OBJECTIVE_FAILED</Reward_Type>
		<Reward_Param1>TEXT_MANDALORE_PIRACY_OBJECTIVE_01</Reward_Param1>
		<Prereq>Mandalore_Piracy_Mission_Fail_Objective_00</Prereq>
	</Event>

	<Event Name="Mandalore_Piracy_Mission_Loss_Rebel">
		<Event_Type>STORY_AI_NOTIFICATION</Event_Type>
		<Event_Param2>VICTORY_REBEL</Event_Param2>
		<Reward_Type>VICTORY</Reward_Type>
		<Reward_Param1>Rebel</Reward_Param1>
	</Event>

	<Event Name="Mandalore_Piracy_Mission_Loss_Empire">
		<Event_Type>STORY_AI_NOTIFICATION</Event_Type>
		<Event_Param2>VICTORY_EMPIRE</Event_Param2>
		<Reward_Type>VICTORY</Reward_Type>
		<Reward_Param1>Empire</Reward_Param1>
	</Event>

	<Event Name="Mandalore_Piracy_Mission_Loss_Hutts">
		<Event_Type>STORY_AI_NOTIFICATION</Event_Type>
		<Event_Param2>VICTORY_HUTTS</Event_Param2>
		<Reward_Type>VICTORY</Reward_Type>
		<Reward_Param1>Hutts</Reward_Param1>
	</Event>
	
	<Event Name="Mandalore_Piracy_Mission_Loss_Pirates">
		<Event_Type>STORY_AI_NOTIFICATION</Event_Type>
		<Event_Param2>VICTORY_PIRATES</Event_Param2>
		<Reward_Type>VICTORY</Reward_Type>
		<Reward_Param1>Pirates</Reward_Param1>
	</Event>

	<Event Name="Mandalore_Piracy_Enable_Retreat">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>DISABLE_RETREAT</Reward_Type>
		<Reward_Param1>UNDERWORLD</Reward_Param1>
		<Reward_Param2>0</Reward_Param2>
		<Prereq>Mandalore_Piracy_Mission_Complete_Victory_Trigger</Prereq>
		<Prereq>Mandalore_Piracy_Mission_Loss_Rebel</Prereq>
		<Prereq>Mandalore_Piracy_Mission_Loss_Empire</Prereq>
		<Prereq>Mandalore_Piracy_Mission_Loss_Hutts</Prereq>
		<Prereq>Mandalore_Piracy_Mission_Loss_Pirates</Prereq>
	</Event>

<!--All Mission Dialog Goes Here-->

<!--TEXT_SPEECH_UW_CLD_??
	Tyber Zann: This will be one of the toughest battles I've ever faced. The citizens on Mandalore 
	have a many generations long warrior tradition and I'll have to combat their toughest clan 
	leader in the space above the planet.-->
	<Event Name="Mandalore_Piracy_Mission_Speech_Line_00">
		<Event_Type>STORY_AI_NOTIFICATION</Event_Type>
		<Event_Param2>TEXT_SPEECH_UW_CLD_01</Event_Param2>
		<Reward_Type>MULTIMEDIA</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_MANDALORE_PIR_TACTICAL_COR34_03</Reward_Param1>
		<Reward_Param2>-1</Reward_Param2>
		<Reward_Param8>MANDALORE_PIR_TACTICAL_COR34_03</Reward_Param8>
		<Reward_Param9>Tyber_Loop</Reward_Param9>
		<Reward_Param10>1</Reward_Param10>
		<Prereq>Mandalore_Piracy_Mission_Begin</Prereq>
	</Event>

	<Event Name="Mandalore_Piracy_Mission_Speech_Line_00_Remove_Text">
		<Event_Type>STORY_SPEECH_DONE</Event_Type>
		<Event_Param1>MANDALORE_PIR_TACTICAL_COR34_03</Event_Param1>
		<Reward_Type>SCREEN_TEXT</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_MANDALORE_PIR_TACTICAL_COR34_03</Reward_Param1>
		<Reward_Param4>remove</Reward_Param4>
		<Prereq>Mandalore_Piracy_Mission_Speech_Line_00</Prereq>
	</Event>

	<Event Name="Mandalore_Piracy_Mission_Speech_Line_00_Remove_Movie">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>STOP_COMMANDBAR_MOVIE</Reward_Type>
		<Prereq>Mandalore_Piracy_Mission_Speech_Line_00_Remove_Text</Prereq>
	</Event>
</Story>

