#Mission Info

$Version: 0.10
$Name:  XSTR("Construction Zone", -1)
$Author: MjnMixael
$Created: 08/12/11 at 19:46:20
$Modified: 08/13/11 at 00:02:42
$Notes:
This is a FRED2_OPEN created mission.
$End Notes:

$Mission Desc:
 XSTR("Put mission description here
", -1)
$end_multi_text

+Game Type Flags: 1

+Flags: 0

+Disallow Support: 0

+Hull Repair Ceiling: 0.000000

+Subsystem Repair Ceiling: 100.000000

+Viewer pos: 1501.779663, 7264.360840, 790.973267
+Viewer orient:
	-0.999996, -0.000001, -0.002695,
	0.002684, 0.090593, -0.995884,
	0.000245, -0.995888, -0.090593


$Skybox Model: starfield.pof

$AI Profile: FS2 RETAIL

#Sexp_variables

$Variables:
(
		0		"HitsLeft"		"100"		"number"
)

#Command Briefing

#Briefing
$start_briefing
$num_stages: 1
$start_stage
$multi_text
 XSTR("Welcome to the MiddleOfNowhere shipyard, pilot. We are repairing the GTD Intrepid here and we would like you to inspect one of the construction drones to ensure it is functioning properly. Simply scan GTDr Phidias 2 for us.

Please remember that this is a Construction Zone. If you hit a worker, that's a 10,000 dollar fine and you lose your license.", -1)
$end_multi_text
$voice: none.wav
$camera_pos: 1501.779663, 7264.360840, 790.973267
$camera_orient:
	-0.999996, -0.000001, -0.002695,
	0.002684, 0.090593, -0.995884,
	0.000245, -0.995888, -0.090593
$camera_time: 500
$num_lines: 0
$num_icons: 6
$Flags: 0
$Formula: ( true ) 
$start_icon
$type: 0
$team: Friendly
$class: GTF Ulysses
$pos: 6297.224121, -0.000001, -134.633011
$label: Alpha 1
+id: 1
$hlight: 0
$mirror: 0
$multi_text
$end_multi_text
$end_icon
$start_icon
$type: 10
$team: Friendly
$class: GTDr Phidias
$pos: 312.696106, 129.000000, -1078.482788
$label: GTDr Phidias 1
+id: 2
$hlight: 0
$mirror: 1
$multi_text
$end_multi_text
$end_icon
$start_icon
$type: 6
$team: Friendly
$class: GTD Orion#2 (Bastion)
$pos: 1757.338745, -0.000143, 350.750397
$label: GTD Intrepid
+id: 3
$hlight: 0
$mirror: 0
$multi_text
$end_multi_text
$end_icon
$start_icon
$type: 10
$team: Friendly
$class: GTDr Phidias
$pos: 3674.751709, -116.499580, -1093.243164
$label: GTDr Phidias 2
+id: 5
$hlight: 1
$mirror: 0
$multi_text
$end_multi_text
$end_icon
$start_icon
$type: 10
$team: Friendly
$class: GTDr Phidias
$pos: 3607.282959, 135.999695, 1570.083008
$label: GTDr Phidias 3
+id: 6
$hlight: 0
$mirror: 0
$multi_text
$end_multi_text
$end_icon
$start_icon
$type: 10
$team: Friendly
$class: GTDr Phidias
$pos: 193.985596, -368.999695, 1855.635376
$label: GTDr Phidias 4
+id: 7
$hlight: 0
$mirror: 1
$multi_text
$end_multi_text
$end_icon
$end_stage
$end_briefing

#Debriefing_info

$Num stages: 4

$Formula: ( and 
   ( is-event-true-delay "ScanOne" 0 ) 
   ( not 
      ( is-event-true-delay "PlayerCheck" 0 ) 
   )
)
$Multi text
    XSTR("Good work, pilot. Phidias 2 is working perfectly and the Intrepid should be completed on schedule.", -1)
$end_multi_text
$Voice: none.wav
$Recommendation text:
    XSTR("", -1)
$end_multi_text

$Formula: ( and 
   ( is-event-true-delay "PlayerCheck" 0 ) 
   ( not 
      ( is-event-true-delay "ScanOne" 0 ) 
   )
)
$Multi text
    XSTR("Pilot, you know the consequences. Please give me your license. I hope you have a high paying job because you owe us 10,000 dollars.", -1)
$end_multi_text
$Voice: none.wav
$Recommendation text:
    XSTR("", -1)
$end_multi_text

$Formula: ( and 
   ( is-event-true-delay "ScanOne" 0 ) 
   ( is-event-true-delay "PlayerCheck" 0 ) 
)
$Multi text
    XSTR("Pilot, you know the consequences. Please give me your license. I hope you have a high paying job because you owe us 10,000 dollars.

However, your scans did tell us that Phidias 2 is  indeed working perfectly still.", -1)
$end_multi_text
$Voice: none.wav
$Recommendation text:
    XSTR("", -1)
$end_multi_text

$Formula: ( and 
   ( not 
      ( is-event-true-delay "ScanOne" 0 ) 
   )
   ( not 
      ( is-event-true-delay "PlayerCheck" 0 ) 
   )
)
$Multi text
    XSTR("You didn't scan Phidias 2. Can we assume you are a quitter?", -1)
$end_multi_text
$Voice: none.wav
$Recommendation text:
    XSTR("", -1)
$end_multi_text

#Players		;! 1 total

$Starting Shipname: Alpha 1
$Ship Choices: (
	"GTF Ulysses"	5
	"GTF Hercules"	5
	"GTF Hercules Mark II"	5
	"GTF Ares"	5
	"GTF Erinyes"	5
	"GTF Loki"	5
	"GTF Pegasus"	5
	"GTF Perseus"	5
	"GTF Myrmidon"	5
)

+Weaponry Pool: (
	"Subach HL-7"	17
	"Mekhu HL-7"	16
	"Akheton SDG"	16
	"Morning Star"	16
	"Prometheus R"	17
	"Prometheus S"	16
	"Maxim"	16
	"UD-8 Kayser"	16
	"Circe"	16
	"Lamprey"	16
	"Rockeye"	500
	"Tempest"	500
	"Hornet"	500
	"Tornado"	500
	"Harpoon"	516
	"Trebuchet"	500
	"TAG-A"	100
	"TAG-B"	100
	"TAG-C"	100
	"Piranha"	500
	"Stiletto II"	500
	"Infyrno"	500
	"Cyclops"	500
	"Helios"	500
	"EMP Adv."	500
)

#Objects		;! 10 total

$Name: Alpha 1		;! Object #0
$Class: GTF Ulysses
$Team: Friendly
$Location: -2911.555908, 0.001643, 58.343945
$Orientation:
	0.000796, 0.000000, -1.000000,
	0.000000, 1.000000, 0.000000,
	1.000000, 0.000000, 0.000796
$AI Behavior: None
$Cargo 1:  XSTR("Nothing", -1)
+Initial Velocity: 33
+Initial Hull: 100
+Subsystem: Pilot
$Arrival Location: Hyperspace
$Arrival Cue: ( false ) 
$Departure Location: Hyperspace
$Departure Cue: ( false ) 
$Determination: 10
+Flags: ( "cargo-known" "player-start" )
+Flags2: ( )
+Respawn priority: 0
+Group: 0
+Use Table Score:
+Score: 8

$Name: GTD Intrepid		;! Object #1
$Class: GTD Orion#2 (Bastion)
$Team: Friendly
$Location: -1582.800049, 0.000000, 397.002533
$Orientation:
	1.000000, 0.000000, 0.000000,
	0.000000, 1.000000, 0.000000,
	0.000000, 0.000000, 1.000000
$AI Behavior: None
$Cargo 1:  XSTR("Nothing", -1)
+Initial Velocity: 33
+Initial Hull: 100
+Subsystem: Pilot
+Subsystem: turret01a
+Subsystem: turret02a
+Subsystem: turret03a
+Subsystem: turret04a
+Subsystem: turret05a
+Subsystem: turret06
+Subsystem: turret07
+Subsystem: turret08
+Subsystem: turret09
+Subsystem: turret10
+Subsystem: turret11
+Subsystem: turret12
+Subsystem: turret13
+Subsystem: turret14
+Subsystem: turret15
+Subsystem: turret16
+Subsystem: engines
$Damage: 100
$Arrival Location: Hyperspace
$Arrival Cue: ( true ) 
$Departure Location: Hyperspace
$Departure Cue: ( false ) 
$Determination: 10
+Flags: ( "cargo-known" )
+Flags2: ( "lock-all-turrets" )
+Respawn priority: 0
+Orders Accepted: 0		;! note that this is a bitfield!!!
+Group: 0
+Use Table Score:
+Score: 1000

$Name: GTI Ganymede 2		;! Object #2
$Class: GTI Ganymede
$Team: Friendly
$Location: -1582.800049, 0.000000, 116.400002
$Orientation:
	1.000000, 0.000000, 0.000000,
	0.000000, 1.000000, 0.000000,
	0.000000, 0.000000, 1.000000
$AI Behavior: None
$Cargo 1:  XSTR("Nothing", -1)
+Initial Velocity: 33
+Initial Hull: 100
+Subsystem: Pilot
$Arrival Location: Hyperspace
$Arrival Cue: ( true ) 
$Departure Location: Hyperspace
$Departure Cue: ( false ) 
$Determination: 10
+Flags: ( "cargo-known" "don't-collide-invisible" )
+Flags2: ( )
+Respawn priority: 0
+Group: 0
+Use Table Score:
+Score: 900

$Name: GTI Ganymede 3		;! Object #3
$Class: GTI Ganymede
$Team: Friendly
$Location: -1582.800049, 0.000000, 1106.900024
$Orientation:
	1.000000, 0.000000, 0.000000,
	0.000000, 1.000000, 0.000000,
	0.000000, 0.000000, 1.000000
$AI Behavior: None
$Cargo 1:  XSTR("Nothing", -1)
+Initial Velocity: 33
+Initial Hull: 100
+Subsystem: Pilot
$Arrival Location: Hyperspace
$Arrival Cue: ( true ) 
$Departure Location: Hyperspace
$Departure Cue: ( false ) 
$Determination: 10
+Flags: ( "cargo-known" "don't-collide-invisible" )
+Flags2: ( )
+Respawn priority: 0
+Group: 0
+Use Table Score:
+Score: 900

$Name: GTDr Phidias 1		;! Object #4
$Class: GTDr Phidias
$Team: Friendly
$Location: -1232.441772, 129.000000, 690.000000
$Orientation:
	1.000000, 0.000000, 0.000000,
	0.000000, 1.000000, 0.000000,
	0.000000, 0.000000, 1.000000
$AI Behavior: None
$Cargo 1:  XSTR("Nothing", -1)
+Initial Velocity: 33
+Initial Hull: 100
+Subsystem: Pilot
+Subsystem: turret01
+Subsystem: turret02
+Subsystem: turret03
$Arrival Location: Hyperspace
$Arrival Cue: ( true ) 
$Departure Location: Hyperspace
$Departure Cue: ( false ) 
$Determination: 10
+Flags: ( "invulnerable" "scannable" )
+Flags2: ( )
+Respawn priority: 0
+Orders Accepted: 257		;! note that this is a bitfield!!!
+Group: 0
+Use Table Score:
+Score: 10

$Name: GTDr Phidias 2		;! Object #5
$Class: GTDr Phidias
$Team: Friendly
$Location: -1138.905029, -17.000000, -202.000000
$Orientation:
	1.000000, 0.000000, 0.000000,
	0.000000, 1.000000, 0.000000,
	0.000000, 0.000000, 1.000000
$AI Behavior: None
$Cargo 1:  XSTR("Nothing", -1)
+Initial Velocity: 33
+Initial Hull: 100
+Subsystem: Pilot
+Subsystem: turret01
+Subsystem: turret02
+Subsystem: turret03
$Arrival Location: Hyperspace
$Arrival Cue: ( true ) 
$Departure Location: Hyperspace
$Departure Cue: ( false ) 
$Determination: 10
+Flags: ( "invulnerable" "scannable" )
+Flags2: ( )
+Respawn priority: 0
+Hotkey: 7
+Orders Accepted: 257		;! note that this is a bitfield!!!
+Group: 0
+Use Table Score:
+Score: 10

$Name: GTDr Phidias 3		;! Object #6
$Class: GTDr Phidias
$Team: Friendly
$Location: -1532.774292, 136.000000, 1594.000000
$Orientation:
	1.000000, 0.000000, 0.000000,
	0.000000, 1.000000, 0.000000,
	0.000000, 0.000000, 1.000000
$AI Behavior: None
$Cargo 1:  XSTR("Nothing", -1)
+Initial Velocity: 33
+Initial Hull: 100
+Subsystem: Pilot
+Subsystem: turret01
+Subsystem: turret02
+Subsystem: turret03
$Arrival Location: Hyperspace
$Arrival Cue: ( true ) 
$Departure Location: Hyperspace
$Departure Cue: ( false ) 
$Determination: 10
+Flags: ( "invulnerable" "scannable" )
+Flags2: ( )
+Respawn priority: 0
+Orders Accepted: 257		;! note that this is a bitfield!!!
+Group: 0
+Use Table Score:
+Score: 10

$Name: GTDr Phidias 4		;! Object #7
$Class: GTDr Phidias
$Team: Friendly
$Location: -1561.400024, -369.000000, -237.000000
$Orientation:
	1.000000, 0.000000, 0.000000,
	0.000000, 1.000000, 0.000000,
	0.000000, 0.000000, 1.000000
$AI Behavior: None
$Cargo 1:  XSTR("Nothing", -1)
+Initial Velocity: 33
+Initial Hull: 100
+Subsystem: Pilot
+Subsystem: turret01
+Subsystem: turret02
+Subsystem: turret03
$Arrival Location: Hyperspace
$Arrival Cue: ( true ) 
$Departure Location: Hyperspace
$Departure Cue: ( false ) 
$Determination: 10
+Flags: ( "invulnerable" "scannable" )
+Flags2: ( )
+Respawn priority: 0
+Orders Accepted: 257		;! note that this is a bitfield!!!
+Group: 0
+Use Table Score:
+Score: 10

$Name: GTDr Phidias 5		;! Object #8
$Class: GTDr Phidias
$Team: Friendly
$Location: -1837.527832, 77.000000, 1407.000000
$Orientation:
	1.000000, 0.000000, 0.000000,
	0.000000, 1.000000, 0.000000,
	0.000000, 0.000000, 1.000000
$AI Behavior: None
$Cargo 1:  XSTR("Nothing", -1)
+Initial Velocity: 33
+Initial Hull: 100
+Subsystem: Pilot
+Subsystem: turret01
+Subsystem: turret02
+Subsystem: turret03
$Arrival Location: Hyperspace
$Arrival Cue: ( true ) 
$Departure Location: Hyperspace
$Departure Cue: ( false ) 
$Determination: 10
+Flags: ( "invulnerable" "scannable" )
+Flags2: ( )
+Respawn priority: 0
+Orders Accepted: 257		;! note that this is a bitfield!!!
+Group: 0
+Use Table Score:
+Score: 10

$Name: GTDr Phidias 6		;! Object #9
$Class: GTDr Phidias
$Team: Friendly
$Location: -1830.946045, 119.000000, 795.000000
$Orientation:
	1.000000, 0.000000, 0.000000,
	0.000000, 1.000000, 0.000000,
	0.000000, 0.000000, 1.000000
$AI Behavior: None
$Cargo 1:  XSTR("Nothing", -1)
+Initial Velocity: 33
+Initial Hull: 100
+Subsystem: Pilot
+Subsystem: turret01
+Subsystem: turret02
+Subsystem: turret03
$Arrival Location: Hyperspace
$Arrival Cue: ( true ) 
$Departure Location: Hyperspace
$Departure Cue: ( false ) 
$Determination: 10
+Flags: ( "invulnerable" "scannable" )
+Flags2: ( )
+Respawn priority: 0
+Orders Accepted: 257		;! note that this is a bitfield!!!
+Group: 0
+Use Table Score:
+Score: 10

#Wings		;! 1 total

$Name: Alpha
$Waves: 1
$Wave Threshold: 0
$Special Ship: 0		;! Alpha 1

$Arrival Location: Hyperspace
$Arrival Cue: ( true ) 
$Departure Location: Hyperspace
$Departure Cue: ( false ) 
$Ships: (		;! 1 total
	"Alpha 1"
)
+Hotkey: 0
+Flags: ( )

#Events		;! 21 total

$Formula: ( when-argument 
   ( any-of 
      "Waypoint Path 4" 
      "Waypoint Path 2" 
   )
   ( <= 
      ( sim-hits-left "GTDr Phidias 1" ) 
      0 
   )
   ( add-goal 
      "GTDr Phidias 1" 
      ( ai-waypoints-once "<argument>" 89 ) 
   )
   ( set-subsystem-strength 
      "GTDr Phidias 1" 
      "Simulated Hull" 
      ( rand-multiple 10 20 ) 
   )
)
+Name: MoveOn1
+Repeat Count: -1
+Trigger Count: -1
+Interval: 4

$Formula: ( when-argument 
   ( any-of 
      "Waypoint Path 3" 
      "Waypoint Path 6" 
   )
   ( <= 
      ( sim-hits-left "GTDr Phidias 2" ) 
      0 
   )
   ( add-goal 
      "GTDr Phidias 2" 
      ( ai-waypoints-once "<argument>" 89 ) 
   )
   ( set-subsystem-strength 
      "GTDr Phidias 2" 
      "Simulated Hull" 
      ( rand-multiple 10 20 ) 
   )
)
+Name: MoveOn2
+Repeat Count: -1
+Trigger Count: -1
+Interval: 4

$Formula: ( when-argument 
   ( any-of 
      "Waypoint Path 11" 
      "Waypoint Path 12" 
      "Waypoint Path 5" 
   )
   ( <= 
      ( sim-hits-left "GTDr Phidias 3" ) 
      0 
   )
   ( add-goal 
      "GTDr Phidias 3" 
      ( ai-waypoints-once "<argument>" 89 ) 
   )
   ( set-subsystem-strength 
      "GTDr Phidias 3" 
      "Simulated Hull" 
      ( rand-multiple 10 20 ) 
   )
)
+Name: MoveOn3
+Repeat Count: -1
+Trigger Count: -1
+Interval: 4

$Formula: ( when-argument 
   ( any-of 
      "Waypoint Path 14" 
      "Waypoint Path 13" 
   )
   ( <= 
      ( sim-hits-left "GTDr Phidias 4" ) 
      0 
   )
   ( add-goal 
      "GTDr Phidias 4" 
      ( ai-waypoints-once "<argument>" 89 ) 
   )
   ( set-subsystem-strength 
      "GTDr Phidias 4" 
      "Simulated Hull" 
      ( rand-multiple 10 20 ) 
   )
)
+Name: MoveOn4
+Repeat Count: -1
+Trigger Count: -1
+Interval: 4

$Formula: ( when-argument 
   ( any-of 
      "Waypoint Path 10" 
      "Waypoint Path 8" 
   )
   ( <= 
      ( sim-hits-left "GTDr Phidias 5" ) 
      0 
   )
   ( add-goal 
      "GTDr Phidias 5" 
      ( ai-waypoints-once "<argument>" 89 ) 
   )
   ( set-subsystem-strength 
      "GTDr Phidias 5" 
      "Simulated Hull" 
      ( rand-multiple 10 20 ) 
   )
)
+Name: MoveOn5
+Repeat Count: -1
+Trigger Count: -1
+Interval: 4

$Formula: ( when-argument 
   ( any-of 
      "Waypoint Path 9" 
      "Waypoint Path 1" 
      "Waypoint Path 7" 
   )
   ( <= 
      ( sim-hits-left "GTDr Phidias 6" ) 
      0 
   )
   ( add-goal 
      "GTDr Phidias 6" 
      ( ai-waypoints-once "<argument>" 89 ) 
   )
   ( set-subsystem-strength 
      "GTDr Phidias 6" 
      "Simulated Hull" 
      ( rand-multiple 10 20 ) 
   )
)
+Name: MoveOn6
+Repeat Count: -1
+Trigger Count: -1
+Interval: 4

$Formula: ( when 
   ( true ) 
   ( set-subsystem-strength 
      "GTDr Phidias 1" 
      "Simulated Hull" 
      ( - 
         ( sim-hits-left "GTDr Phidias 1" ) 
         1 
      )
   )
   ( set-subsystem-strength 
      "GTDr Phidias 2" 
      "Simulated Hull" 
      ( - 
         ( sim-hits-left "GTDr Phidias 2" ) 
         1 
      )
   )
   ( set-subsystem-strength 
      "GTDr Phidias 3" 
      "Simulated Hull" 
      ( - 
         ( sim-hits-left "GTDr Phidias 2" ) 
         1 
      )
   )
   ( set-subsystem-strength 
      "GTDr Phidias 4" 
      "Simulated Hull" 
      ( - 
         ( sim-hits-left "GTDr Phidias 2" ) 
         1 
      )
   )
   ( set-subsystem-strength 
      "GTDr Phidias 5" 
      "Simulated Hull" 
      ( - 
         ( sim-hits-left "GTDr Phidias 2" ) 
         1 
      )
   )
   ( set-subsystem-strength 
      "GTDr Phidias 6" 
      "Simulated Hull" 
      ( - 
         ( sim-hits-left "GTDr Phidias 2" ) 
         1 
      )
   )
)
+Name: Counter
+Repeat Count: -1
+Trigger Count: -1
+Interval: 1

$Formula: ( when-argument 
   ( any-of 
      "Waypoint Path 1" 
      "Waypoint Path 2" 
      "Waypoint Path 3" 
      "Waypoint Path 4" 
      "Waypoint Path 5" 
      "Waypoint Path 6" 
      "Waypoint Path 7" 
      "Waypoint Path 8" 
      "Waypoint Path 9" 
      "Waypoint Path 10" 
      "Waypoint Path 11" 
      "Waypoint Path 12" 
      "Waypoint Path 13" 
      "Waypoint Path 14" 
   )
   ( are-waypoints-done-delay 
      "GTDr Phidias 1" 
      "<argument>" 
      0 
   )
   ( beam-free 
      "GTDr Phidias 1" 
      "turret01" 
   )
   ( clear-goals "GTDr Phidias 1" ) 
   ( add-goal 
      "GTDr Phidias 1" 
      ( ai-stay-still "GTD Intrepid" 40 ) 
   )
   ( fire-beam 
      "GTDr Phidias 1" 
      "turret01" 
      "GTD Intrepid" 
   )
)
+Name: Arrived1
+Repeat Count: -1
+Trigger Count: -1
+Interval: 2

$Formula: ( when-argument 
   ( any-of 
      "Waypoint Path 1" 
      "Waypoint Path 2" 
      "Waypoint Path 3" 
      "Waypoint Path 4" 
      "Waypoint Path 5" 
      "Waypoint Path 6" 
      "Waypoint Path 7" 
      "Waypoint Path 8" 
      "Waypoint Path 9" 
      "Waypoint Path 10" 
      "Waypoint Path 11" 
      "Waypoint Path 12" 
      "Waypoint Path 13" 
      "Waypoint Path 14" 
   )
   ( are-waypoints-done-delay 
      "GTDr Phidias 2" 
      "<argument>" 
      0 
   )
   ( beam-free 
      "GTDr Phidias 2" 
      "turret01" 
   )
   ( clear-goals "GTDr Phidias 2" ) 
   ( add-goal 
      "GTDr Phidias 2" 
      ( ai-stay-still "GTD Intrepid" 40 ) 
   )
   ( fire-beam 
      "GTDr Phidias 2" 
      "turret01" 
      "GTD Intrepid" 
   )
)
+Name: Arrived2
+Repeat Count: -1
+Trigger Count: -1
+Interval: 2

$Formula: ( when-argument 
   ( any-of 
      "Waypoint Path 1" 
      "Waypoint Path 2" 
      "Waypoint Path 3" 
      "Waypoint Path 4" 
      "Waypoint Path 5" 
      "Waypoint Path 6" 
      "Waypoint Path 7" 
      "Waypoint Path 8" 
      "Waypoint Path 9" 
      "Waypoint Path 10" 
      "Waypoint Path 11" 
      "Waypoint Path 12" 
      "Waypoint Path 13" 
      "Waypoint Path 14" 
   )
   ( are-waypoints-done-delay 
      "GTDr Phidias 3" 
      "<argument>" 
      0 
   )
   ( beam-free 
      "GTDr Phidias 3" 
      "turret01" 
   )
   ( clear-goals "GTDr Phidias 3" ) 
   ( add-goal 
      "GTDr Phidias 3" 
      ( ai-stay-still "GTD Intrepid" 40 ) 
   )
   ( fire-beam 
      "GTDr Phidias 3" 
      "turret01" 
      "GTD Intrepid" 
   )
)
+Name: Arrived3
+Repeat Count: -1
+Trigger Count: -1
+Interval: 2

$Formula: ( when-argument 
   ( any-of 
      "Waypoint Path 1" 
      "Waypoint Path 2" 
      "Waypoint Path 3" 
      "Waypoint Path 4" 
      "Waypoint Path 5" 
      "Waypoint Path 6" 
      "Waypoint Path 7" 
      "Waypoint Path 8" 
      "Waypoint Path 9" 
      "Waypoint Path 10" 
      "Waypoint Path 11" 
      "Waypoint Path 12" 
      "Waypoint Path 13" 
      "Waypoint Path 14" 
   )
   ( are-waypoints-done-delay 
      "GTDr Phidias 4" 
      "<argument>" 
      0 
   )
   ( beam-free 
      "GTDr Phidias 4" 
      "turret01" 
   )
   ( clear-goals "GTDr Phidias 4" ) 
   ( add-goal 
      "GTDr Phidias 4" 
      ( ai-stay-still "GTD Intrepid" 40 ) 
   )
   ( fire-beam 
      "GTDr Phidias 4" 
      "turret01" 
      "GTD Intrepid" 
   )
)
+Name: Arrived4
+Repeat Count: -1
+Trigger Count: -1
+Interval: 2

$Formula: ( when-argument 
   ( any-of 
      "Waypoint Path 1" 
      "Waypoint Path 2" 
      "Waypoint Path 3" 
      "Waypoint Path 4" 
      "Waypoint Path 5" 
      "Waypoint Path 6" 
      "Waypoint Path 7" 
      "Waypoint Path 8" 
      "Waypoint Path 9" 
      "Waypoint Path 10" 
      "Waypoint Path 11" 
      "Waypoint Path 12" 
      "Waypoint Path 13" 
      "Waypoint Path 14" 
   )
   ( are-waypoints-done-delay 
      "GTDr Phidias 5" 
      "<argument>" 
      0 
   )
   ( beam-free 
      "GTDr Phidias 5" 
      "turret01" 
   )
   ( clear-goals "GTDr Phidias 5" ) 
   ( add-goal 
      "GTDr Phidias 5" 
      ( ai-stay-still "GTD Intrepid" 40 ) 
   )
   ( fire-beam 
      "GTDr Phidias 5" 
      "turret01" 
      "GTD Intrepid" 
   )
)
+Name: Arrived5
+Repeat Count: -1
+Trigger Count: -1
+Interval: 2

$Formula: ( when-argument 
   ( any-of 
      "Waypoint Path 1" 
      "Waypoint Path 2" 
      "Waypoint Path 3" 
      "Waypoint Path 4" 
      "Waypoint Path 5" 
      "Waypoint Path 6" 
      "Waypoint Path 7" 
      "Waypoint Path 8" 
      "Waypoint Path 9" 
      "Waypoint Path 10" 
      "Waypoint Path 11" 
      "Waypoint Path 12" 
      "Waypoint Path 13" 
      "Waypoint Path 14" 
   )
   ( are-waypoints-done-delay 
      "GTDr Phidias 6" 
      "<argument>" 
      0 
   )
   ( beam-free 
      "GTDr Phidias 6" 
      "turret01" 
   )
   ( clear-goals "GTDr Phidias 6" ) 
   ( add-goal 
      "GTDr Phidias 6" 
      ( ai-stay-still "GTD Intrepid" 40 ) 
   )
   ( fire-beam 
      "GTDr Phidias 6" 
      "turret01" 
      "GTD Intrepid" 
   )
)
+Name: Arrived6
+Repeat Count: -1
+Trigger Count: -1
+Interval: 2

$Formula: ( when-argument 
   ( any-of 
      "GTDr Phidias 1" 
      "GTDr Phidias 2" 
      "GTDr Phidias 3" 
      "GTDr Phidias 4" 
      "GTDr Phidias 5" 
      "GTDr Phidias 6" 
   )
   ( or 
      ( >= 
         ( get-damage-caused 
            "<argument>" 
            "Alpha 1" 
         )
         1 
      )
      ( and-in-sequence 
         ( <= 
            ( distance "Alpha 1" "<argument>" ) 
            5 
         )
         ( <= 
            ( hits-left "<argument>" ) 
            @HitsLeft[100] 
         )
      )
   )
   ( send-message 
      "#Command" 
      "High" 
      "YouHitHim" 
   )
)
+Name: PlayerCheck
+Repeat Count: 1
+Interval: 1

$Formula: ( when 
   ( has-departed-delay 0 "Alpha 1" ) 
   ( do-nothing ) 
)
+Name: RTB
+Repeat Count: -1
+Trigger Count: -1
+Interval: 2
+Chained: 0
+Objective:  XSTR("Return To Base", -1)

$Formula: ( when-argument 
   ( any-of 
      "GTDr Phidias 1" 
      "GTDr Phidias 2" 
      "GTDr Phidias 3" 
      "GTDr Phidias 4" 
      "GTDr Phidias 5" 
      "GTDr Phidias 6" 
   )
   ( <= 
      ( distance "Alpha 1" "<argument>" ) 
      5 
   )
   ( modify-variable 
      @HitsLeft[100] 
      ( hits-left "<argument>" ) 
   )
)
+Name: SetVariable
+Repeat Count: -1
+Trigger Count: -1
+Interval: 2

$Formula: ( every-time-argument 
   ( any-of 
      "GTDr Phidias 1" 
      "GTDr Phidias 2" 
      "GTDr Phidias 3" 
      "GTDr Phidias 4" 
      "GTDr Phidias 5" 
      "GTDr Phidias 6" 
   )
   ( > 
      ( distance "Alpha 1" "<argument>" ) 
      5 
   )
   ( ship-invulnerable "<argument>" ) 
)
+Name: DroneProtection
+Repeat Count: 1
+Interval: 1

$Formula: ( every-time-argument 
   ( any-of 
      "GTDr Phidias 1" 
      "GTDr Phidias 2" 
      "GTDr Phidias 3" 
      "GTDr Phidias 4" 
      "GTDr Phidias 5" 
      "GTDr Phidias 6" 
   )
   ( or 
      ( <= 
         ( distance "Alpha 1" "<argument>" ) 
         5 
      )
      ( key-pressed "Spacebar" ) 
      ( key-pressed "Left Ctrl" ) 
   )
   ( ship-vulnerable "<argument>" ) 
)
+Name: PlayerTooClose
+Repeat Count: 1
+Interval: 1

$Formula: ( when 
   ( true ) 
   ( ship-invulnerable 
      "GTDr Phidias 1" 
      "GTDr Phidias 2" 
      "GTDr Phidias 3" 
      "GTDr Phidias 4" 
      "GTDr Phidias 5" 
      "GTDr Phidias 6" 
   )
   ( key-reset-multiple "Left Ctrl" ) 
   ( key-reset-multiple "Spacebar" ) 
)
+Name: Reset
+Repeat Count: 1
+Interval: 1
+Chained: 5

$Formula: ( when-argument 
   ( any-of "GTDr Phidias 2" ) 
   ( is-cargo-known-delay 0 "<argument>" ) 
   ( send-message 
      "#Command" 
      "High" 
      "Working" 
   )
)
+Name: ScanOne
+Repeat Count: 1
+Interval: 1
+Objective:  XSTR("Scan Phidias 2", -1)
+Objective key:  XSTR("Press F12", -1)

$Formula: ( when 
   ( has-departed-delay 0 "Alpha 1" ) 
   ( do-nothing ) 
)
+Name: RTB2
+Repeat Count: 1
+Interval: 1
+Chained: 0
+Objective:  XSTR("Return To Base", -1)

#Goals		;! 1 total

$Type: Primary
+Name: Inspect Drones
$MessageNew:  XSTR("Scan any one of the drones.", -1)
$end_multi_text
$Formula: ( is-event-true-delay "ScanOne" 0 ) 

#Waypoints		;! 14 lists total

$Name: Waypoint path 1
$List: (		;! 2 points in list
	( -1822.800049, 119.500000, 795.200012 )
	( -1793.596924, 119.000000, 795.000000 )
)

$Name: Waypoint path 2
$List: (		;! 2 points in list
	( -1371.400024, 89.800003, 1484.699951 )
	( -1409.386475, 89.000000, 1484.000000 )
)

$Name: Waypoint path 3
$List: (		;! 2 points in list
	( -1143.699951, -76.199997, -303.799988 )
	( -1217.543213, -76.000000, -303.000000 )
)

$Name: Waypoint path 4
$List: (		;! 2 points in list
	( -1328.500000, 129.000000, 690.700012 )
	( -1420.938354, 129.000000, 690.000000 )
)

$Name: Waypoint path 5
$List: (		;! 2 points in list
	( -1541.500000, 177.785660, 1594.199951 )
	( -1541.500000, 139.125687, 1594.000000 )
)

$Name: Waypoint path 6
$List: (		;! 2 points in list
	( -1151.800049, -17.299999, -159.899994 )
	( -1189.210571, -17.000000, -159.000000 )
)

$Name: Waypoint path 7
$List: (		;! 2 points in list
	( -1862.400024, -123.500000, -242.600006 )
	( -1835.023071, -123.000000, -242.000000 )
)

$Name: Waypoint path 8
$List: (		;! 2 points in list
	( -1854.500000, 165.800003, -249.800003 )
	( -1797.664673, 165.000000, -249.000000 )
)

$Name: Waypoint path 9
$List: (		;! 2 points in list
	( -1826.099976, -103.199997, 407.700012 )
	( -1810.755371, -103.000000, 407.000000 )
)

$Name: Waypoint path 10
$List: (		;! 2 points in list
	( -1811.300049, 77.300003, 1407.599976 )
	( -1789.949341, 77.000000, 1407.000000 )
)

$Name: Waypoint path 11
$List: (		;! 2 points in list
	( -1568.500000, 250.500000, 395.600006 )
	( -1568.500000, 229.024872, 395.000000 )
)

$Name: Waypoint path 12
$List: (		;! 2 points in list
	( -1546.099976, 155.000000, 1337.900024 )
	( -1546.099976, 174.399994, 1337.000000 )
)

$Name: Waypoint path 13
$List: (		;! 2 points in list
	( -1561.400024, -375.000000, -237.100006 )
	( -1561.400024, -358.311615, -237.000000 )
)

$Name: Waypoint path 14
$List: (		;! 2 points in list
	( -1583.500000, -299.500000, 786.299988 )
	( -1583.500000, -278.522522, 786.000061 )
)

#Messages		;! 2 total


$Name: YouHitHim
$Team: -1
$MessageNew:  XSTR("PILOT! You have injured one of the workers! That is unacceptable. Return to base.", -1)
$end_multi_text
+Persona: Terran Command
+AVI Name: Head-CM3

$Name: Working
$Team: -1
$MessageNew:  XSTR("The drones seem to be working properly, return to base at your leisure, Alpha 1.", -1)
$end_multi_text
+Persona: Terran Command
+AVI Name: Head-CM3

#Reinforcements		;! 0 total


#Background bitmaps		;! 0 total

$Num stars: 500
$Ambient light level: 7895160

$Bitmap List:
$Sun: SunWhite
+Angles: 0.000000 0.785398 0.785398
+Scale: 1.000000
$Sun: SunWhite
+Angles: 0.000000 0.785398 3.926988
+Scale: 1.000000

#Asteroid Fields

#Music

$Event Music: None
$Briefing Music: None

#End

