{
	"name" : "Infiltration #2",
	"description" : "This is a very dangerous mission. While the Pandorans appear to have accepted you as one of their pilots, they will still be highly suspicious. You should therefore do whatever possible to keep their suspicions low. Stick close to the wing commander when not in combat. Do not fire your guns or use your ECM if you don't need to, and eliminate your targets with extreme prejudice, no matter what.",
	"requires" : 25,
	"expires" : 30,
	"requiresOptional" : 1,
	"isOptional" : 1,
	"hasSuspicionLevel" : 1,
	"background" : "gfx/backgrounds/background01.jpg",
	"planet" : "gfx/planets/bluePlanet.png",
	"music" : "music/battle/InnerCore_Low.ogg",
	"player" : {
		"type" : "Angel",
		"pilot" : "Cdr. Kyle Hicks",
		"squadron" : "???",
		"side" : "SIDE_PANDORAN",
		"x" : 45,
		"y" : 25
	},
	"objectives" : [
		{
			"description" : "Follow wing commander's orders",
			"targetName" : "Player",
			"targetValue" : 1,
			"targetType" : "TT_ESCAPED"
		},
		{
			"description" : "Eliminate civilian group #1",
			"targetName" : "ENEMY",
			"targetValue" : 1,
			"targetType" : "TT_DESTROY",
			"isEliminateAll" : 1,
			"active" : 0
		},
		{
			"description" : "Eliminate civilian group #2",
			"targetName" : "ENEMY",
			"targetValue" : 1,
			"targetType" : "TT_DESTROY",
			"isEliminateAll" : 1,
			"active" : 0
		},
		{
			"description" : "Eliminate civilian group #3",
			"targetName" : "ENEMY",
			"targetValue" : 1,
			"targetType" : "TT_DESTROY",
			"isEliminateAll" : 1,
			"active" : 0
		}
	],
	"fighters" : [
		{
			"name" : "Wing Commander",
			"types" : "Thunderhead",
			"side" : "SIDE_PANDORAN",
			"x" : 45,
			"y" : 25,
			"scatter" : 500,
			"flags" : "+EF_MISSION_TARGET+EF_AI_LEADER+EF_IMMORTAL",
			"aiFlags" : "+AIF_WANDERS+AIF_UNLIMITED_RANGE+AIF_SUSPICIOUS"
		},
		{
			"types" : "Jackal;Mantis;Sphinx",
			"side" : "SIDE_PANDORAN",
			"x" : 45,
			"y" : 25,
			"scatter" : 500,
			"number" : 8,
			"flags" : "+EF_IMMORTAL",
			"aiFlags" : "+AIF_MOVES_TO_LEADER+AIF_UNLIMITED_RANGE"
		}
	],
	"entities" : [
		{
			"type" : "ET_JUMPGATE",
			"x" : 25,
			"y" : 45,
			"flags" : "EF_DISABLED+EF_NO_HEALTH_BAR"
		}
	],
	"spawners" : [
		{
			"name" : "Civ-1",
			"types" : "Civilian;Simple Dart",
			"side" : "SIDE_ALLIES",
			"interval" : 2,
			"total" : 12,
			"step" : 1,
			"flags" : "EF_RETREATING+EF_TAKES_DAMAGE",
			"aiFlags" : "AIF_DEFENSIVE+AIF_WANDERS",
			"offscreen" : 1,
			"active" : 0
		},
		{
			"name" : "Civ-2",
			"types" : "Civilian;Simple Dart",
			"side" : "SIDE_ALLIES",
			"interval" : 2,
			"total" : 12,
			"step" : 1,
			"flags" : "EF_RETREATING+EF_TAKES_DAMAGE",
			"aiFlags" : "AIF_DEFENSIVE+AIF_WANDERS",
			"offscreen" : 1,
			"active" : 0
		},
		{
			"name" : "Civ-3",
			"types" : "Civilian;Simple Dart",
			"side" : "SIDE_ALLIES",
			"interval" : 2,
			"total" : 12,
			"step" : 1,
			"flags" : "EF_RETREATING+EF_TAKES_DAMAGE",
			"aiFlags" : "AIF_DEFENSIVE+AIF_WANDERS",
			"offscreen" : 1,
			"active" : 0
		}
	],
	"script" : [
		{
			"function" : "TIME 1",
			"lines" : [
				"MSG_BOX Hicks;(I'm in deep this time. Just have to remain calm, focus, and do as they do.)",
				"MSG_BOX Hicks;(Can't talk to them, can't understand their language, so I'll have to go with my instincts.)",
				"PANDORAN_MSG_BOX Wing Commander;We're to patrol this sector and look for escapees."
			]
		},
		{
			"function" : "TIME 15",
			"lines" : [
				"PANDORAN_MSG_BOX Wing Commander;Report.",
				"PANDORAN_MSG_BOX Wingmate;Nothing to report, Commander. All clear."
			]
		},
		{
			"function" : "TIME 30",
			"lines" : [
				"PANDORAN_MSG_BOX Wing Commander;Report.",
				"PANDORAN_MSG_BOX Wingmate;Picking up signals. Medium-sized, appear to be unarmed.",
				"PANDORAN_MSG_BOX Wingmate;Confirmed. They are enemies of the Senate.",
				"PANDORAN_MSG_BOX Wing Commander;Moving towards targets. Prepare to engage.",
				"WAIT_MSG_BOX",
				"MSG_BOX Hicks;(Ah, hell! We're hunting civilians. I ... I can't refuse orders ...)",
				"ACTIVATE_SPAWNER 1 Civ-1",
				"WAIT_MSG_BOX",
				"ACTIVATE_OBJECTIVES Eliminate civilian group #1"
			]
		},
		{
			"function" : "OBJECTIVES_COMPLETE 1",
			"lines" : [
				"WAIT 1",
				"MSG_BOX Hicks;(Better get back to the wing commander, before they think I'm slacking)",
				"WAIT 30",
				"PANDORAN_MSG_BOX Wingmate;More opposition detected.",
				"PANDORAN_MSG_BOX Wing Commander;Follow my lead and eliminate all.",
				"ACTIVATE_SPAWNER 1 Civ-2",
				"WAIT_MSG_BOX",
				"ACTIVATE_OBJECTIVES Eliminate civilian group #2"
			]
		},
		{
			"function" : "OBJECTIVES_COMPLETE 2",
			"lines" : [
				"WAIT 15",
				"PANDORAN_MSG_BOX Wing Commander;Report.",
				"PANDORAN_MSG_BOX Wingmate;Nothing to report, Commander. All clear.",
				"WAIT_MSG_BOX",
				"WAIT 15",
				"ACTIVATE_SPAWNER 1 Civ-3",
				"PANDORAN_MSG_BOX Wingmate;Enemies signal detected. Some armed.",
				"PANDORAN_MSG_BOX Wing Commander;Follow my lead and eliminate all.",
				"WAIT_MSG_BOX",
				"ACTIVATE_OBJECTIVES Eliminate civilian group #3"
			]
		},
		{
			"function" : "OBJECTIVES_COMPLETE 3",
			"lines" : [
				"WAIT 1",
				"PANDORAN_MSG_BOX Wingmate;All opposition defeated.",
				"WAIT 15",
				"PANDORAN_MSG_BOX Wing Commander;Sector clear. Head to jumpgate and exit the system.",
				"MSG_BOX Hicks;(They're moving to the jumpgate. I should join them, and stick close.)",
				"WAIT_MSG_BOX",
				"ACTIVATE_JUMPGATE",
				"RETREAT_ALLIES"
			]
		},
		{
			"function" : "MAX_SUSPICION_LEVEL",
			"lines" : [
				"UPDATE_ENTITY_SIDE SIDE_ALLIES Hicks",
				"PANDORAN_MSG_BOX Wing Commander;Intruder alert! We have an intruder! All units, target and destroy that fighter!",
				"IMPORTANT_MSG_BOX Hicks;Hell! My cover's been blown, they're on to me!",
				"ACTIVATE_JUMPGATE 0",
				"ACTIVATE_TRESPASSER_SPAWNER",
				"WAIT_MSG_BOX",
				"STOP_SCRIPT"
			]
		}
	]
}
