Back to Index Page generated: Nov 12, 2024, 11:02:04 PM

Expansion Iron Raven

Content

Warnings

  1. Found XML equipment list
  2. XML script list found

Manifest

from Expansion Manager's OXP list from Expansion Manifest
Description A multi-stage mission to investigate a dangerous conspiracy on behalf of GalCop High Command in Galaxy 8. A multi-stage mission to investigate a dangerous conspiracy on behalf of GalCop High Command in Galaxy 8.
Identifier oolite.oxp.Ramirez.IronRaven oolite.oxp.Ramirez.IronRaven
Title Iron Raven Iron Raven
Category Missions Missions
Author Ramirez, updated by Milo Ramirez, updated by Milo
Version 1.4.2.1 1.4.2.1
Tags
Required Oolite Version
Maximum Oolite Version
Required Expansions
  • oolite.oxp.DrNil.Commies:2.11
  • oolite.oxp.ArexackHeretic.att1:1.0
  • oolite.oxp.Murgh.NuVipers:1.0
  • oolite.oxp.DrNil.Commies:2.11
  • oolite.oxp.ArexackHeretic.att1:1.0
  • oolite.oxp.Murgh.NuVipers:1.0
  • Optional Expansions
    Conflict Expansions
    Information URL http://wiki.alioth.net/index.php/Iron_Raven n/a
    Download URL https://wiki.alioth.net/img_auth.php/5/5f/Oolite.oxp.Ramirez.IronRaven.oxz n/a
    License CC BY-NC-SA 3 CC BY-NC-SA 3
    File Size n/a
    Upload date 1610873314

    Documentation

    Also read http://wiki.alioth.net/index.php/Iron%20Raven

    Iron Raven v1.4.2.1 readme.rtf

    {\rtf1\adeflang1037\ansi\ansicpg1252\uc1\adeff1\deff0\stshfdbch31505\stshfloch31506\stshfhich31506\stshfbi0\deflang1033\deflangfe1033\themelang1033\themelangfe0\themelangcs0{\fonttbl{\f0\fbidi \froman\fcharset0\fprq2{\*\panose 02020603050405020304}Times New Roman;}{\f1\fbidi \fswiss\fcharset0\fprq2{\*\panose 020b0604020202020204}Arial;}
    {\f4\fbidi \fswiss\fcharset0\fprq2{\*\panose 020b0604020202020204}Helvetica;}{\f34\fbidi \froman\fcharset0\fprq2{\*\panose 02040503050406030204}Cambria Math;}{\flomajor\f31500\fbidi \froman\fcharset0\fprq2{\*\panose 02020603050405020304}Times New Roman;}
    {\fdbmajor\f31501\fbidi \froman\fcharset0\fprq2{\*\panose 02020603050405020304}Times New Roman;}{\fhimajor\f31502\fbidi \fswiss\fcharset0\fprq2{\*\panose 020f0302020204030204}Calibri Light;}
    {\fbimajor\f31503\fbidi \froman\fcharset0\fprq2{\*\panose 02020603050405020304}Times New Roman;}{\flominor\f31504\fbidi \froman\fcharset0\fprq2{\*\panose 02020603050405020304}Times New Roman;}
    {\fdbminor\f31505\fbidi \froman\fcharset0\fprq2{\*\panose 02020603050405020304}Times New Roman;}{\fhiminor\f31506\fbidi \fswiss\fcharset0\fprq2{\*\panose 020f0502020204030204}Calibri;}
    {\fbiminor\f31507\fbidi \froman\fcharset0\fprq2{\*\panose 02020603050405020304}Times New Roman;}{\f49\fbidi \froman\fcharset238\fprq2 Times New Roman CE;}{\f50\fbidi \froman\fcharset204\fprq2 Times New Roman Cyr;}
    {\f52\fbidi \froman\fcharset161\fprq2 Times New Roman Greek;}{\f53\fbidi \froman\fcharset162\fprq2 Times New Roman Tur;}{\f54\fbidi \froman\fcharset177\fprq2 Times New Roman (Hebrew);}{\f55\fbidi \froman\fcharset178\fprq2 Times New Roman (Arabic);}
    {\f56\fbidi \froman\fcharset186\fprq2 Times New Roman Baltic;}{\f57\fbidi \froman\fcharset163\fprq2 Times New Roman (Vietnamese);}{\f59\fbidi \fswiss\fcharset238\fprq2 Arial CE;}{\f60\fbidi \fswiss\fcharset204\fprq2 Arial Cyr;}
    {\f62\fbidi \fswiss\fcharset161\fprq2 Arial Greek;}{\f63\fbidi \fswiss\fcharset162\fprq2 Arial Tur;}{\f64\fbidi \fswiss\fcharset177\fprq2 Arial (Hebrew);}{\f65\fbidi \fswiss\fcharset178\fprq2 Arial (Arabic);}
    {\f66\fbidi \fswiss\fcharset186\fprq2 Arial Baltic;}{\f67\fbidi \fswiss\fcharset163\fprq2 Arial (Vietnamese);}{\f89\fbidi \fswiss\fcharset238\fprq2 Helvetica CE;}{\f90\fbidi \fswiss\fcharset204\fprq2 Helvetica Cyr;}
    {\f92\fbidi \fswiss\fcharset161\fprq2 Helvetica Greek;}{\f93\fbidi \fswiss\fcharset162\fprq2 Helvetica Tur;}{\f94\fbidi \fswiss\fcharset177\fprq2 Helvetica (Hebrew);}{\f95\fbidi \fswiss\fcharset178\fprq2 Helvetica (Arabic);}
    {\f96\fbidi \fswiss\fcharset186\fprq2 Helvetica Baltic;}{\f97\fbidi \fswiss\fcharset163\fprq2 Helvetica (Vietnamese);}{\f389\fbidi \froman\fcharset238\fprq2 Cambria Math CE;}{\f390\fbidi \froman\fcharset204\fprq2 Cambria Math Cyr;}
    {\f392\fbidi \froman\fcharset161\fprq2 Cambria Math Greek;}{\f393\fbidi \froman\fcharset162\fprq2 Cambria Math Tur;}{\f396\fbidi \froman\fcharset186\fprq2 Cambria Math Baltic;}{\f397\fbidi \froman\fcharset163\fprq2 Cambria Math (Vietnamese);}
    {\flomajor\f31508\fbidi \froman\fcharset238\fprq2 Times New Roman CE;}{\flomajor\f31509\fbidi \froman\fcharset204\fprq2 Times New Roman Cyr;}{\flomajor\f31511\fbidi \froman\fcharset161\fprq2 Times New Roman Greek;}
    {\flomajor\f31512\fbidi \froman\fcharset162\fprq2 Times New Roman Tur;}{\flomajor\f31513\fbidi \froman\fcharset177\fprq2 Times New Roman (Hebrew);}{\flomajor\f31514\fbidi \froman\fcharset178\fprq2 Times New Roman (Arabic);}
    {\flomajor\f31515\fbidi \froman\fcharset186\fprq2 Times New Roman Baltic;}{\flomajor\f31516\fbidi \froman\fcharset163\fprq2 Times New Roman (Vietnamese);}{\fdbmajor\f31518\fbidi \froman\fcharset238\fprq2 Times New Roman CE;}
    {\fdbmajor\f31519\fbidi \froman\fcharset204\fprq2 Times New Roman Cyr;}{\fdbmajor\f31521\fbidi \froman\fcharset161\fprq2 Times New Roman Greek;}{\fdbmajor\f31522\fbidi \froman\fcharset162\fprq2 Times New Roman Tur;}
    {\fdbmajor\f31523\fbidi \froman\fcharset177\fprq2 Times New Roman (Hebrew);}{\fdbmajor\f31524\fbidi \froman\fcharset178\fprq2 Times New Roman (Arabic);}{\fdbmajor\f31525\fbidi \froman\fcharset186\fprq2 Times New Roman Baltic;}
    {\fdbmajor\f31526\fbidi \froman\fcharset163\fprq2 Times New Roman (Vietnamese);}{\fhimajor\f31528\fbidi \fswiss\fcharset238\fprq2 Calibri Light CE;}{\fhimajor\f31529\fbidi \fswiss\fcharset204\fprq2 Calibri Light Cyr;}
    {\fhimajor\f31531\fbidi \fswiss\fcharset161\fprq2 Calibri Light Greek;}{\fhimajor\f31532\fbidi \fswiss\fcharset162\fprq2 Calibri Light Tur;}{\fhimajor\f31535\fbidi \fswiss\fcharset186\fprq2 Calibri Light Baltic;}
    {\fhimajor\f31536\fbidi \fswiss\fcharset163\fprq2 Calibri Light (Vietnamese);}{\fbimajor\f31538\fbidi \froman\fcharset238\fprq2 Times New Roman CE;}{\fbimajor\f31539\fbidi \froman\fcharset204\fprq2 Times New Roman Cyr;}
    {\fbimajor\f31541\fbidi \froman\fcharset161\fprq2 Times New Roman Greek;}{\fbimajor\f31542\fbidi \froman\fcharset162\fprq2 Times New Roman Tur;}{\fbimajor\f31543\fbidi \froman\fcharset177\fprq2 Times New Roman (Hebrew);}
    {\fbimajor\f31544\fbidi \froman\fcharset178\fprq2 Times New Roman (Arabic);}{\fbimajor\f31545\fbidi \froman\fcharset186\fprq2 Times New Roman Baltic;}{\fbimajor\f31546\fbidi \froman\fcharset163\fprq2 Times New Roman (Vietnamese);}
    {\flominor\f31548\fbidi \froman\fcharset238\fprq2 Times New Roman CE;}{\flominor\f31549\fbidi \froman\fcharset204\fprq2 Times New Roman Cyr;}{\flominor\f31551\fbidi \froman\fcharset161\fprq2 Times New Roman Greek;}
    {\flominor\f31552\fbidi \froman\fcharset162\fprq2 Times New Roman Tur;}{\flominor\f31553\fbidi \froman\fcharset177\fprq2 Times New Roman (Hebrew);}{\flominor\f31554\fbidi \froman\fcharset178\fprq2 Times New Roman (Arabic);}
    {\flominor\f31555\fbidi \froman\fcharset186\fprq2 Times New Roman Baltic;}{\flominor\f31556\fbidi \froman\fcharset163\fprq2 Times New Roman (Vietnamese);}{\fdbminor\f31558\fbidi \froman\fcharset238\fprq2 Times New Roman CE;}
    {\fdbminor\f31559\fbidi \froman\fcharset204\fprq2 Times New Roman Cyr;}{\fdbminor\f31561\fbidi \froman\fcharset161\fprq2 Times New Roman Greek;}{\fdbminor\f31562\fbidi \froman\fcharset162\fprq2 Times New Roman Tur;}
    {\fdbminor\f31563\fbidi \froman\fcharset177\fprq2 Times New Roman (Hebrew);}{\fdbminor\f31564\fbidi \froman\fcharset178\fprq2 Times New Roman (Arabic);}{\fdbminor\f31565\fbidi \froman\fcharset186\fprq2 Times New Roman Baltic;}
    {\fdbminor\f31566\fbidi \froman\fcharset163\fprq2 Times New Roman (Vietnamese);}{\fhiminor\f31568\fbidi \fswiss\fcharset238\fprq2 Calibri CE;}{\fhiminor\f31569\fbidi \fswiss\fcharset204\fprq2 Calibri Cyr;}
    {\fhiminor\f31571\fbidi \fswiss\fcharset161\fprq2 Calibri Greek;}{\fhiminor\f31572\fbidi \fswiss\fcharset162\fprq2 Calibri Tur;}{\fhiminor\f31575\fbidi \fswiss\fcharset186\fprq2 Calibri Baltic;}
    {\fhiminor\f31576\fbidi \fswiss\fcharset163\fprq2 Calibri (Vietnamese);}{\fbiminor\f31578\fbidi \froman\fcharset238\fprq2 Times New Roman CE;}{\fbiminor\f31579\fbidi \froman\fcharset204\fprq2 Times New Roman Cyr;}
    {\fbiminor\f31581\fbidi \froman\fcharset161\fprq2 Times New Roman Greek;}{\fbiminor\f31582\fbidi \froman\fcharset162\fprq2 Times New Roman Tur;}{\fbiminor\f31583\fbidi \froman\fcharset177\fprq2 Times New Roman (Hebrew);}
    {\fbiminor\f31584\fbidi \froman\fcharset178\fprq2 Times New Roman (Arabic);}{\fbiminor\f31585\fbidi \froman\fcharset186\fprq2 Times New Roman Baltic;}{\fbiminor\f31586\fbidi \froman\fcharset163\fprq2 Times New Roman (Vietnamese);}}
    {\colortbl;\red0\green0\blue0;\red0\green0\blue255;\red0\green255\blue255;\red0\green255\blue0;\red255\green0\blue255;\red255\green0\blue0;\red255\green255\blue0;\red255\green255\blue255;\red0\green0\blue128;\red0\green128\blue128;\red0\green128\blue0;
    \red128\green0\blue128;\red128\green0\blue0;\red128\green128\blue0;\red128\green128\blue128;\red192\green192\blue192;\chyperlink\ctint255\cshade255\red5\green99\blue193;\cfollowedhyperlink\ctint255\cshade255\red149\green79\blue114;}{\*\defchp 
    \fs22\loch\af31506\hich\af31506\dbch\af31505 }{\*\defpap \ql \li0\ri0\sa160\sl259\slmult1\widctlpar\wrapdefault\aspalpha\aspnum\faauto\adjustright\rin0\lin0\itap0 }\noqfpromote {\stylesheet{\ql \li0\ri0\sa160\sl259\slmult1
    \widctlpar\wrapdefault\aspalpha\aspnum\faauto\adjustright\rin0\lin0\itap0 \rtlch\fcs1 \af1\afs22\alang1037 \ltrch\fcs0 \fs22\lang1033\langfe1033\loch\f31506\hich\af31506\dbch\af31505\cgrid\langnp1033\langfenp1033 \snext0 \sqformat \spriority0 Normal;}{\*
    \cs10 \additive \ssemihidden \sunhideused \spriority1 Default Paragraph Font;}{\*
    \ts11\tsrowd\trftsWidthB3\trpaddl108\trpaddr108\trpaddfl3\trpaddft3\trpaddfb3\trpaddfr3\trcbpat1\trcfpat1\tblind0\tblindtype3\tsvertalt\tsbrdrt\tsbrdrl\tsbrdrb\tsbrdrr\tsbrdrdgl\tsbrdrdgr\tsbrdrh\tsbrdrv \ql \li0\ri0\sa160\sl259\slmult1
    \widctlpar\wrapdefault\aspalpha\aspnum\faauto\adjustright\rin0\lin0\itap0 \rtlch\fcs1 \af0\afs22\alang1037 \ltrch\fcs0 \fs22\lang1033\langfe1033\loch\f31506\hich\af31506\dbch\af31505\cgrid\langnp1033\langfenp1033 \snext11 \ssemihidden \sunhideused 
    Normal Table;}{\*\cs15 \additive \rtlch\fcs1 \af0 \ltrch\fcs0 \ul\cf17 \sbasedon10 \sunhideused \styrsid8005403 Hyperlink;}{\*\cs16 \additive \rtlch\fcs1 \af0 \ltrch\fcs0 \ul\cf18 \sbasedon10 \ssemihidden \sunhideused \styrsid16394469 FollowedHyperlink;}}
    {\*\listtable{\list\listtemplateid-1126377060\listhybrid{\listlevel\levelnfc255\levelnfcn255\leveljc0\leveljcn0\levelfollow0\levelstartat0\levelspace0\levelindent0{\leveltext\leveltemplateid-690431270\'00;}{\levelnumbers;}\rtlch\fcs1 \af0 \ltrch\fcs0 
    \jclisttab\tx360 }{\listlevel\levelnfc0\levelnfcn0\leveljc0\leveljcn0\levelfollow0\levelstartat0\levelspace0\levelindent0{\leveltext\leveltemplateid1651421536\'00;}{\levelnumbers;}\rtlch\fcs1 \af0 \ltrch\fcs0 }{\listlevel\levelnfc0\levelnfcn0\leveljc0
    \leveljcn0\levelfollow0\levelstartat0\levelspace0\levelindent0{\leveltext\leveltemplateid821480904\'00;}{\levelnumbers;}\rtlch\fcs1 \af0 \ltrch\fcs0 }{\listlevel\levelnfc0\levelnfcn0\leveljc0\leveljcn0\levelfollow0\levelstartat0\levelspace0\levelindent0
    {\leveltext\leveltemplateid80887138\'00;}{\levelnumbers;}\rtlch\fcs1 \af0 \ltrch\fcs0 }{\listlevel\levelnfc0\levelnfcn0\leveljc0\leveljcn0\levelfollow0\levelstartat0\levelspace0\levelindent0{\leveltext\leveltemplateid1629516808\'00;}{\levelnumbers;}
    \rtlch\fcs1 \af0 \ltrch\fcs0 }{\listlevel\levelnfc0\levelnfcn0\leveljc0\leveljcn0\levelfollow0\levelstartat0\levelspace0\levelindent0{\leveltext\leveltemplateid-477586806\'00;}{\levelnumbers;}\rtlch\fcs1 \af0 \ltrch\fcs0 }{\listlevel\levelnfc0\levelnfcn0
    \leveljc0\leveljcn0\levelfollow0\levelstartat0\levelspace0\levelindent0{\leveltext\leveltemplateid347773506\'00;}{\levelnumbers;}\rtlch\fcs1 \af0 \ltrch\fcs0 }{\listlevel\levelnfc0\levelnfcn0\leveljc0\leveljcn0\levelfollow0\levelstartat0\levelspace0
    \levelindent0{\leveltext\leveltemplateid2034683188\'00;}{\levelnumbers;}\rtlch\fcs1 \af0 \ltrch\fcs0 }{\listlevel\levelnfc0\levelnfcn0\leveljc0\leveljcn0\levelfollow0\levelstartat0\levelspace0\levelindent0{\leveltext\leveltemplateid70171022
    \'00;}{\levelnumbers;}\rtlch\fcs1 \af0 \ltrch\fcs0 }{\listname ;}\listid1}}{\*\listoverridetable{\listoverride\listid1\listoverridecount0\ls1}}{\*\rsidtbl \rsid131960\rsid1933163\rsid2453988\rsid4019089\rsid5583159\rsid8005403\rsid8985306\rsid10582354
    \rsid15166641\rsid16273989\rsid16394469}{\mmathPr\mmathFont34\mbrkBin0\mbrkBinSub0\msmallFrac0\mdispDef1\mlMargin0\mrMargin0\mdefJc1\mwrapIndent1440\mintLim0\mnaryLim1}{\info{\operator alpha}{\creatim\yr2020\mo6\dy16\hr13\min3}
    {\revtim\yr2020\mo6\dy16\hr14\min51}{\version10}{\edmins26}{\nofpages2}{\nofwords510}{\nofchars2907}{\nofcharsws3411}{\vern57449}}{\*\xmlnstbl {\xmlns1 http://schemas.microsoft.com/office/word/2003/wordml}}
    \paperw11900\paperh16840\margl1440\margr1440\margt1440\margb1440\gutter0\ltrsect 
    \widowctrl\ftnbj\aenddoc\trackmoves0\trackformatting1\donotembedsysfont0\relyonvml0\donotembedlingdata1\grfdocevents0\validatexml0\showplaceholdtext0\ignoremixedcontent0\saveinvalidxml0\showxmlerrors0\horzdoc\dghspace120\dgvspace120\dghorigin1701
    \dgvorigin1984\dghshow0\dgvshow3\jcompress\viewkind1\viewscale100\rsidroot2453988 \fet0{\*\wgrffmtfilter 2450}\ilfomacatclnup0\ltrpar \sectd \ltrsect\linex0\sectdefaultcl\sftnbj {\*\pnseclvl1\pnucrm\pnqc\pnstart1\pnindent720\pnhang {\pntxta .}}
    {\*\pnseclvl2\pnucltr\pnqc\pnstart1\pnindent720\pnhang {\pntxta .}}{\*\pnseclvl3\pndec\pnqc\pnstart1\pnindent720\pnhang {\pntxta .}}{\*\pnseclvl4\pnlcltr\pnqc\pnstart1\pnindent720\pnhang {\pntxta )}}{\*\pnseclvl5\pndec\pnqc\pnstart1\pnindent720\pnhang 
    {\pntxtb (}{\pntxta )}}{\*\pnseclvl6\pnlcltr\pnqc\pnstart1\pnindent720\pnhang {\pntxtb (}{\pntxta )}}{\*\pnseclvl7\pnlcrm\pnqc\pnstart1\pnindent720\pnhang {\pntxtb (}{\pntxta )}}{\*\pnseclvl8\pnlcltr\pnqc\pnstart1\pnindent720\pnhang {\pntxtb (}
    {\pntxta )}}{\*\pnseclvl9\pnlcrm\pnqc\pnstart1\pnindent720\pnhang {\pntxtb (}{\pntxta )}}\pard\plain \ltrpar\qc \li0\ri0\nowidctlpar\tx566\tx1133\tx1700\tx2267\tx2834\tx3401\tx3968\tx4535\tx5102\tx5669\tx6236\tx6803\wrapdefault\faauto\rin0\lin0\itap0 
    \rtlch\fcs1 \af1\afs22\alang1037 \ltrch\fcs0 \fs22\lang1033\langfe1033\loch\af31506\hich\af31506\dbch\af31505\cgrid\langnp1033\langfenp1033 {\rtlch\fcs1 \ab\af4\afs24 \ltrch\fcs0 \b\f4\fs24\insrsid131960 \hich\af4\dbch\af31505\loch\f4 Iron Raven v1.4.2}{
    \rtlch\fcs1 \ab\af4\afs24 \ltrch\fcs0 \b\f4\fs24\insrsid4019089 \hich\af4\dbch\af31505\loch\f4 .1}{\rtlch\fcs1 \ab\af4\afs24 \ltrch\fcs0 \b\f4\fs24\insrsid131960 
    \par 
    \par }{\rtlch\fcs1 \af4\afs24 \ltrch\fcs0 \f4\fs24\insrsid131960 \hich\af4\dbch\af31505\loch\f4 An OXP by Ramirez
    \par }\pard \ltrpar\qc \li0\ri0\nowidctlpar\tx566\tx1133\tx1700\tx2267\tx2834\tx3401\tx3968\tx4535\tx5102\tx5669\tx6236\tx6803\wrapdefault\faauto\rin0\lin0\itap0\pararsid1933163 {\rtlch\fcs1 \af4\afs24 \ltrch\fcs0 \f4\fs24\insrsid131960 
    \hich\af4\dbch\af31505\loch\f4 Requires Oolite v1.}{\rtlch\fcs1 \af4\afs24 \ltrch\fcs0 \f4\fs24\insrsid1933163 \hich\af4\dbch\af31505\loch\f4 82}{\rtlch\fcs1 \af4\afs24 \ltrch\fcs0 \f4\fs24\insrsid16273989 \hich\af4\dbch\af31505\loch\f4  or later}{
    \rtlch\fcs1 \af4\afs24 \ltrch\fcs0 \f4\fs24\insrsid131960 
    \par }\pard \ltrpar\qc \li0\ri0\nowidctlpar\tx566\tx1133\tx1700\tx2267\tx2834\tx3401\tx3968\tx4535\tx5102\tx5669\tx6236\tx6803\wrapdefault\faauto\rin0\lin0\itap0 {\rtlch\fcs1 \af4\afs24 \ltrch\fcs0 \f4\fs24\insrsid131960 
    \par }\pard \ltrpar\ql \li0\ri0\nowidctlpar\tx566\tx1133\tx1700\tx2267\tx2834\tx3401\tx3968\tx4535\tx5102\tx5669\tx6236\tx6803\wrapdefault\faauto\rin0\lin0\itap0 {\rtlch\fcs1 \af4\afs24 \ltrch\fcs0 \f4\fs24\ul\insrsid131960 \hich\af4\dbch\af31505\loch\f4 
    Overview}{\rtlch\fcs1 \af4\afs24 \ltrch\fcs0 \f4\fs24\insrsid131960 
    \par 
    \par \hich\af4\dbch\af31505\loch\f4 
    This is a mission OXP, set in Galaxy 8, in which you carry out an important investigation on behalf of GalCop High Command.  Your target is the Sirius Corporation, regarded as the most one of the most ruthless commercial organisations in existence.
    \par 
    \par \hich\af4\dbch\af31505\loch\f4 The mi\hich\af4\dbch\af31505\loch\f4 
    ssion is structured in three acts: a prologue that sets the scene, a second act that forms the bulk of the mission, and act three which brings the mission to its conclusion.  The mission begins when docked at a main station in Galaxy 8.  The Intel Brief i
    \hich\af4\dbch\af31505\loch\f4 n\hich\af4\dbch\af31505\loch\f4 cluded with the OXP contains more detailed instructions - you will be told when you need to read it.
    \par 
    \par \hich\af4\dbch\af31505\loch\f4 Note you can access previous mission information by visiting the F4 screen when docked and selecting 'Iron Raven - Mission Log'.
    \par 
    \par }{\rtlch\fcs1 \af4\afs24 \ltrch\fcs0 \f4\fs24\ul\insrsid131960 \hich\af4\dbch\af31505\loch\f4 Installation Requirement\hich\af4\dbch\af31505\loch\f4 s}{\rtlch\fcs1 \af4\afs24 \ltrch\fcs0 \f4\fs24\insrsid131960 
    \par 
    \par \hich\af4\dbch\af31505\loch\f4 This version requires the following additional OXPs, available via the Elite Wiki:
    \par {\listtext\tab}}\pard \ltrpar\ql \fi-720\li720\ri0\nowidctlpar\tx220\jclisttab\tx360\tx720\tx1133\tx1700\tx2267\tx2834\tx3401\tx3968\tx4535\tx5102\tx5669\tx6236\tx6803\wrapdefault\faauto\ls1\rin0\lin720\itap0 {\rtlch\fcs1 \af4\afs24 \ltrch\fcs0 
    \f4\fs24\insrsid131960 
    \par {\listtext\tab}\hich\af4\dbch\af31505\loch\f4 - Armoured Transport Type 1 by Arexack Heretic
    \par {\listtext\tab}\hich\af4\dbch\af31505\loch\f4 - Commies by Dr Nil
    \par {\listtext\tab}\hich\af4\dbch\af31505\loch\f4 - NuVipers by Aegidian
    \par {\listtext\tab}
    \par {\listtext\tab}}{\rtlch\fcs1 \af4\afs24 \ltrch\fcs0 \f4\fs24\ul\insrsid131960 \hich\af4\dbch\af31505\loch\f4 Acknowledgements}{\rtlch\fcs1 \af4\afs24 \ltrch\fcs0 \f4\fs24\insrsid131960 
    \par {\listtext\tab}
    \par {\listtext\tab}\hich\af4\dbch\af31505\loch\f4 - two of the mission's key story elements are taken from entries written by David Braben and David Massey that appear in the in the Gazetteer included with Frontier: Elite II
    \par {\listtext\tab}\hich\af4\dbch\af31505\loch\f4 - SDF Asp model and textures by Smivs
    \par {\listtext\tab}\hich\af4\dbch\af31505\loch\f4 - Adder Mk2 based on original texture by \hich\af4\dbch\af31505\loch\f4 Ramon
    \par {\listtext\tab}\hich\af4\dbch\af31505\loch\f4 - wingman AI and script based on those in Hired Guns by Thargoid
    \par {\listtext\tab}\hich\af4\dbch\af31505\loch\f4 - Ad Boards based on original models by Dr Nil
    \par {\listtext\tab}
    \par {\listtext\tab}\hich\af4\dbch\af31505\loch\f4 Thanks
    \par {\listtext\tab}
    \par {\listtext\tab}\hich\af4\dbch\af31505\loch\f4 - Thargoid for help and suggestions with AIs for the defence cannons
    \par {\listtext\tab}\hich\af4\dbch\af31505\loch\f4 - Smivs, Okti and cim for testing and bug reports
    \par {\listtext\tab}\hich\af4\dbch\af31505\loch\f4 - \hich\af4\dbch\af31505\loch\f4 Eric, Kaks and Ahruman for help with scripting multiple mission choices
    \par {\listtext\tab}\hich\af4\dbch\af31505\loch\f4 - cim for spotting bugs and helping with the automated mission screen logging
    \par }\pard \ltrpar\ql \li0\ri0\nowidctlpar\tx566\tx1133\tx1700\tx2267\tx2834\tx3401\tx3968\tx4535\tx5102\tx5669\tx6236\tx6803\wrapdefault\faauto\rin0\lin0\itap0 {\rtlch\fcs1 \af4\afs24 \ltrch\fcs0 \f4\fs24\insrsid131960 
    \par }{\rtlch\fcs1 \af4\afs24 \ltrch\fcs0 \f4\fs24\ul\insrsid131960 \hich\af4\dbch\af31505\loch\f4 Version History}{\rtlch\fcs1 \af4\afs24 \ltrch\fcs0 \f4\fs24\insrsid131960 
    \par 
    \par }\pard \ltrpar\ql \li0\ri0\nowidctlpar\tx566\tx1133\tx1700\tx2267\tx2834\tx3401\tx3968\tx4535\tx5102\tx5669\tx6236\tx6803\wrapdefault\faauto\rin0\lin0\itap0\pararsid5583159 {\rtlch\fcs1 \af4\afs24 \ltrch\fcs0 \f4\fs24\insrsid2453988 
    \hich\af4\dbch\af31505\loch\f4 v1.4.2.1\tab 16/0}{\rtlch\fcs1 \af4\afs24 \ltrch\fcs0 \f4\fs24\insrsid5583159 \hich\af4\dbch\af31505\loch\f4 6}{\rtlch\fcs1 \af4\afs24 \ltrch\fcs0 \f4\fs24\insrsid2453988 \hich\af4\dbch\af31505\loch\f4 /2020\tab }{
    \rtlch\fcs1 \af4\afs24 \ltrch\fcs0 \f4\fs24\insrsid8005403 \hich\af4\dbch\af31505\loch\f4 Updated by Milo to }{\rtlch\fcs1 \af4\afs24 \ltrch\fcs0 \f4\fs24\insrsid4019089 \hich\af4\dbch\af31505\loch\f4 fix}{\rtlch\fcs1 \af4\afs24 \ltrch\fcs0 
    \f4\fs24\insrsid2453988 \hich\af4\dbch\af31505\loch\f4  a filename }{\rtlch\fcs1 \af4\afs24 \ltrch\fcs0 \f4\fs24\insrsid8985306 \hich\af4\dbch\af31505\loch\f4 typo}{\rtlch\fcs1 \af4\afs24 \ltrch\fcs0 \f4\fs24\insrsid2453988 \hich\af4\dbch\af31505\loch\f4 
     that was preventing\hich\af4\dbch\af31505\loch\f4  a variant Navigation Buoy from appearing in }{\rtlch\fcs1 \af4\afs24 \ltrch\fcs0 \f4\fs24\insrsid4019089 \hich\af4\dbch\af31505\loch\f4 the }{\rtlch\fcs1 \af4\afs24 \ltrch\fcs0 
    \f4\fs24\insrsid2453988\charrsid2453988 \hich\af4\dbch\af31505\loch\f4 Ustiza}{\rtlch\fcs1 \af4\afs24 \ltrch\fcs0 \f4\fs24\insrsid4019089 \hich\af4\dbch\af31505\loch\f4  system}{\rtlch\fcs1 \af4\afs24 \ltrch\fcs0 \f4\fs24\insrsid8005403 
    \hich\af4\dbch\af31505\loch\f4  (}{\field{\*\fldinst {\rtlch\fcs1 \af4\afs24 \ltrch\fcs0 \f4\fs24\insrsid8005403 \hich\af4\dbch\af31505\loch\f4  HYPERLINK "http://aegidian.org/bb/viewtopic.php?p=217749" \\l "p217749" }{\rtlch\fcs1 \af4\afs24 \ltrch\fcs0 
    \f4\fs24\insrsid8005403 {\*\datafield 
    08d0c9ea79f9bace118c8200aa004ba90b020000000b000000e0c9ea79f9bace118c8200aa004ba90b7400000068007400740070003a002f002f0061006500670069006400690061006e002e006f00720067002f00620062002f00760069006500770074006f007000690063002e007000680070003f0070003d0032003100
    37003700340039000000795881f43b1d7f48af2c825dc485276300000000a5ab00000800000070003200310037003700340039000000296e0000}}}{\fldrslt {\rtlch\fcs1 \af4\afs24 \ltrch\fcs0 \cs15\f4\fs24\ul\cf17\insrsid8005403\charrsid8005403 \hich\af4\dbch\af31505\loch\f4 
    reported by Hacklin}}}\sectd \ltrsect\linex0\sectdefaultcl\sftnbj {\rtlch\fcs1 \af4\afs24 \ltrch\fcs0 \f4\fs24\insrsid8985306 \hich\af4\dbch\af31505\loch\f4 ), }{\rtlch\fcs1 \af4\afs24 \ltrch\fcs0 \f4\fs24\insrsid8005403 \hich\af4\dbch\af31505\loch\f4 
    fix a typo in one of the AI files (}{\field{\*\fldinst {\rtlch\fcs1 \af4\afs24 \ltrch\fcs0 \f4\fs24\insrsid8005403 \hich\af4\dbch\af31505\loch\f4 HYPERLINK "http://aegidian.org/bb/viewtopic.php?p=268170" \\l "p268170"}{\rtlch\fcs1 \af4\afs24 \ltrch\fcs0 
    \f4\fs24\insrsid8005403 {\*\datafield 
    08d0c9ea79f9bace118c8200aa004ba90b020000000b000000e0c9ea79f9bace118c8200aa004ba90b7400000068007400740070003a002f002f0061006500670069006400690061006e002e006f00720067002f00620062002f00760069006500770074006f007000690063002e007000680070003f0070003d0032003600
    38003100370030000000795881f43b1d7f48af2c825dc485276300000000a5ab000008000000700032003600380031003700300000002b000000}}}{\fldrslt {\rtlch\fcs1 \af4\afs24 \ltrch\fcs0 \cs15\f4\fs24\ul\cf17\insrsid8005403\charrsid8005403 \hich\af4\dbch\af31505\loch\f4 
    reported by Fleurghber}}}\sectd \ltrsect\linex0\sectdefaultcl\sftnbj {\rtlch\fcs1 \af4\afs24 \ltrch\fcs0 \f4\fs24\insrsid8005403 \hich\af4\dbch\af31505\loch\f4 )}{\rtlch\fcs1 \af4\afs24 \ltrch\fcs0 \f4\fs24\insrsid8985306 \hich\af4\dbch\af31505\loch\f4 
     and fix mission }{\rtlch\fcs1 \af4\afs24 \ltrch\fcs0 \f4\fs24\insrsid16394469 \hich\af4\dbch\af31505\loch\f4 progression}{\rtlch\fcs1 \af4\afs24 \ltrch\fcs0 \f4\fs24\insrsid8985306 \hich\af4\dbch\af31505\loch\f4  }{\rtlch\fcs1 \af4\afs24 \ltrch\fcs0 
    \f4\fs24\insrsid16394469 \hich\af4\dbch\af31505\loch\f4 that used an }{\rtlch\fcs1 \af4\afs24 \ltrch\fcs0 \f4\fs24\insrsid8985306 \hich\af4\dbch\af31505\loch\f4 alias removed }{\rtlch\fcs1 \af4\afs24 \ltrch\fcs0 \f4\fs24\insrsid16394469 
    \hich\af4\dbch\af31505\loch\f4 since }{\rtlch\fcs1 \af4\afs24 \ltrch\fcs0 \f4\fs24\insrsid8985306 \hich\af4\dbch\af31505\loch\f4 Oolite v1.82 (}{\field{\*\fldinst {\rtlch\fcs1 \af4\afs24 \ltrch\fcs0 \f4\fs24\insrsid8985306 \hich\af4\dbch\af31505\loch\f4 
     HYPERLINK "http://aegidia\hich\af4\dbch\af31505\loch\f4 n.org/bb/viewtopic.php?p=247943" \\l "p247943" }{\rtlch\fcs1 \af4\afs24 \ltrch\fcs0 \f4\fs24\insrsid8985306 {\*\datafield 
    08d0c9ea79f9bace118c8200aa004ba90b020000000b000000e0c9ea79f9bace118c8200aa004ba90b7400000068007400740070003a002f002f0061006500670069006400690061006e002e006f00720067002f00620062002f00760069006500770074006f007000690063002e007000680070003f0070003d0032003400
    37003900340033000000795881f43b1d7f48af2c825dc485276300000000a5ab00000800000070003200340037003900340033000000000008}}}{\fldrslt {\rtlch\fcs1 \af4\afs24 \ltrch\fcs0 \cs15\f4\fs24\ul\cf17\insrsid8985306\charrsid8985306 \hich\af4\dbch\af31505\loch\f4 
    reported by onno256}}}\sectd \ltrsect\linex0\sectdefaultcl\sftnbj {\rtlch\fcs1 \af4\afs24 \ltrch\fcs0 \f4\fs24\insrsid16394469 \hich\af4\dbch\af31505\loch\f4  and }{\field{\*\fldinst {\rtlch\fcs1 \af4\afs24 \ltrch\fcs0 \f4\fs24\insrsid16394469 
    \hich\af4\dbch\af31505\loch\f4 HYPERLINK "https://aegidian.org/bb/viewtopic.php?p=26966\hich\af4\dbch\af31505\loch\f4 7" \\l "p269667"}{\rtlch\fcs1 \af4\afs24 \ltrch\fcs0 \f4\fs24\insrsid16394469 {\*\datafield 
    08d0c9ea79f9bace118c8200aa004ba90b020000000b000000e0c9ea79f9bace118c8200aa004ba90b76000000680074007400700073003a002f002f0061006500670069006400690061006e002e006f00720067002f00620062002f00760069006500770074006f007000690063002e007000680070003f0070003d003200
    360039003600360037000000795881f43b1d7f48af2c825dc485276300000000a5ab000008000000700032003600390036003600370000000038}}}{\fldrslt {\rtlch\fcs1 \af4\afs24 \ltrch\fcs0 \cs15\f4\fs24\ul\cf17\insrsid16394469\charrsid16394469 \hich\af4\dbch\af31505\loch\f4 
    peristalsis}}}\sectd \ltrsect\linex0\sectdefaultcl\sftnbj {\rtlch\fcs1 \af4\afs24 \ltrch\fcs0 \f4\fs24\insrsid8985306 \hich\af4\dbch\af31505\loch\f4 )}{\rtlch\fcs1 \af4\afs24 \ltrch\fcs0 \f4\fs24\insrsid2453988 
    \par }\pard \ltrpar\ql \li0\ri0\nowidctlpar\tx566\tx1133\tx1700\tx2267\tx2834\tx3401\tx3968\tx4535\tx5102\tx5669\tx6236\tx6803\wrapdefault\faauto\rin0\lin0\itap0 {\rtlch\fcs1 \af4\afs24 \ltrch\fcs0 \f4\fs24\insrsid131960 \hich\af4\dbch\af31505\loch\f4 v1.4.2
    \tab 03/02/2014\tab Fixed an error that prevented question screens appearing in Biraa and Aletius
    \par \hich\af4\dbch\af31505\loch\f4 v1.4.1\tab 10/10/2013\tab Fixes to logging mechanism and minor other corrections; typo fixes to mission brief document
    \par \hich\af4\dbch\af31505\loch\f4 v1.3\tab \tab 11/02/2013\tab Compatibility fixes Oolite v1.77; various fixes and improvements; addition of mission screen logging, and moved interrogations t\hich\af4\dbch\af31505\loch\f4 o the F4 screen
    \par \hich\af4\dbch\af31505\loch\f4 v1.2\tab \tab 05/06/2012\tab Fixes/corrections to the Weiss quest and initial KSR appearance 
    \par \hich\af4\dbch\af31505\loch\f4 v1.1\tab \tab 16/11/2011\tab Major improvements and fixes to the shipment side-quest, including additional outcomes and better implementation of loan options
    \par \hich\af4\dbch\af31505\loch\f4 v1.0.3\tab 07/10\hich\af4\dbch\af31505\loch\f4 /2011\tab Minor improvements to avoid breaking the mission if players abort some side-quests
    \par \hich\af4\dbch\af31505\loch\f4 v1.0.2\tab 02/04/2011\tab Improved status updated and general stability of fuel side-quest
    \par \hich\af4\dbch\af31505\loch\f4 v1.0.1\tab 24/03/2011\tab Fixed compatibility issues with comms messages
    \par \hich\af4\dbch\af31505\loch\f4 v1.0\tab \tab 01/03/2011\tab In\hich\af4\dbch\af31505\loch\f4 teger version to coincide with Oolite v1.75
    \par \hich\af4\dbch\af31505\loch\f4 v0.2.1\tab 18/01/2011\tab Various fixes
    \par \hich\af4\dbch\af31505\loch\f4 v0.2\tab \tab 31/12/2010\tab Beta release with all three acts completed
    \par \hich\af4\dbch\af31505\loch\f4 v0.1\tab \tab 06/09/2010\tab Initial release with Acts I and II completed 
    \par 
    \par }{\rtlch\fcs1 \ab\af4\afs24 \ltrch\fcs0 \b\f4\fs24\insrsid131960 
    \par }\pard \ltrpar\qc \li0\ri0\nowidctlpar\tx566\tx1133\tx1700\tx2267\tx2834\tx3401\tx3968\tx4535\tx5102\tx5669\tx6236\tx6803\wrapdefault\faauto\rin0\lin0\itap0 {\rtlch\fcs1 \ab\af4\afs24 \ltrch\fcs0 \b\f4\fs24\insrsid131960 
    \par }{\*\themedata 504b030414000600080000002100e9de0fbfff0000001c020000130000005b436f6e74656e745f54797065735d2e786d6cac91cb4ec3301045f748fc83e52d4a
    9cb2400825e982c78ec7a27cc0c8992416c9d8b2a755fbf74cd25442a820166c2cd933f79e3be372bd1f07b5c3989ca74aaff2422b24eb1b475da5df374fd9ad
    5689811a183c61a50f98f4babebc2837878049899a52a57be670674cb23d8e90721f90a4d2fa3802cb35762680fd800ecd7551dc18eb899138e3c943d7e503b6
    b01d583deee5f99824e290b4ba3f364eac4a430883b3c092d4eca8f946c916422ecab927f52ea42b89a1cd59c254f919b0e85e6535d135a8de20f20b8c12c3b0
    0c895fcf6720192de6bf3b9e89ecdbd6596cbcdd8eb28e7c365ecc4ec1ff1460f53fe813d3cc7f5b7f020000ffff0300504b030414000600080000002100a5d6
    a7e7c0000000360100000b0000005f72656c732f2e72656c73848fcf6ac3300c87ef85bd83d17d51d2c31825762fa590432fa37d00e1287f68221bdb1bebdb4f
    c7060abb0884a4eff7a93dfeae8bf9e194e720169aaa06c3e2433fcb68e1763dbf7f82c985a4a725085b787086a37bdbb55fbc50d1a33ccd311ba548b6309512
    0f88d94fbc52ae4264d1c910d24a45db3462247fa791715fd71f989e19e0364cd3f51652d73760ae8fa8c9ffb3c330cc9e4fc17faf2ce545046e37944c69e462
    a1a82fe353bd90a865aad41ed0b5b8f9d6fd010000ffff0300504b0304140006000800000021006b799616830000008a0000001c0000007468656d652f746865
    6d652f7468656d654d616e616765722e786d6c0ccc4d0ac3201040e17da17790d93763bb284562b2cbaebbf600439c1a41c7a0d29fdbd7e5e38337cedf14d59b
    4b0d592c9c070d8a65cd2e88b7f07c2ca71ba8da481cc52c6ce1c715e6e97818c9b48d13df49c873517d23d59085adb5dd20d6b52bd521ef2cdd5eb9246a3d8b
    4757e8d3f729e245eb2b260a0238fd010000ffff0300504b030414000600080000002100aa5225dfc60600008b1a0000160000007468656d652f7468656d652f
    7468656d65312e786d6cec595d8bdb46147d2ff43f08bd3bfe92fcb1c41b6cd9ceb6d94d42eca4e4716c8fadc98e344633de8d0981923c160aa569e943037deb
    43691b48a02fe9afd936a54d217fa17746b63c638fbb9b2585a5640d8b343af7ce997bafce1d4997afdc8fa87384134e58dc708b970aae83e3211b9178d2706f
    f7bbb99aeb7081e211a22cc60d778eb97b65f7c30f2ea31d11e2083b601ff31dd4704321a63bf93c1fc230e297d814c7706dcc920809384d26f951828ec16f44
    f3a542a1928f10895d274611b8bd311e932176fad2a5bbbb74dea1701a0b2e078634e949d7d8b050d8d1615122f89c0734718e106db830cf881df7f17de13a14
    7101171a6e41fdb9f9ddcb79b4b330a2628bad66d7557f0bbb85c1e8b0a4e64c26836c52cff3bd4a33f3af00546ce23ad54ea553c9fc29001a0e61a52917dda7
    dfaab7dafe02ab81d2438bef76b55d2e1a78cd7f798373d3973f03af40a97f6f03dfed06104503af4029dedfc07b5eb51478065e81527c65035f2d34db5ed5c0
    2b5048497cb8812ef89572b05c6d061933ba6785d77daf5b2d2d9caf50500d5975c929c62c16db6a2d42f758d2058004522448ec88f9148fd110aa3840940c12
    e2ec93490885374531e3305c2815ba8532fc973f4f1da988a01d8c346bc90b98f08d21c9c7e1c3844c45c3fd18bcba1ae4cdcb1fdfbc7cee9c3c7a71f2e89793
    c78f4f1efd9c3a32acf6503cd1ad5e7fffc5df4f3f75fe7afeddeb275fd9f15cc7fffed367bffdfaa51d082b5d85e0d5d7cffe78f1ecd5379ffff9c3130bbc99
    a0810eef930873e73a3e766eb10816a6426032c783e4ed2cfa2122ba45339e701423398bc57f478406fafa1c5164c1b5b019c13b09488c0d787576cf20dc0b93
    9920168fd7c2c8001e30465b2cb146e19a9c4b0b737f164fec9327331d770ba123dbdc018a8dfc766653d05662731984d8a07993a258a0098eb170e4357688b1
    6575770931e27a408609e36c2c9cbbc46921620d499f0c8c6a5a19ed9108f232b711847c1bb139b8e3b418b5adba8d8f4c24dc15885ac8f73135c27815cd048a
    6c2efb28a27ac0f791086d247bf364a8e33a5c40a6279832a733c29cdb6c6e24b05e2de9d7405eec693fa0f3c84426821cda7cee23c674649b1d06218aa6366c
    8fc4a18efd881f428922e7261336f80133ef10790e7940f1d674df21d848f7e96a701b9455a7b42a107965965872791533a37e7b733a4658490d08bfa1e71189
    4f15f73559f7ff5b5907217df5ed53cbaa2eaaa0371362bda3f6d6647c1b6e5dbc03968cc8c5d7ee369ac53731dc2e9b0decbd74bf976ef77f2fdddbeee7772f
    d82b8d06f9965bc574abae36eed1d67dfb9850da13738af7b9daba73e84ca32e0c4a3bf5cc8ab3e7b8690887f24e86090cdc2441cac64998f88488b017a229ec
    ef8bae7432e10bd713ee4c19876dbf1ab6fa96783a8b0ed8287d5c2d16e5a3692a1e1c89d578c1cfc6e15143a4e84a75f50896b9576c27ea51794940dabe0d09
    6d329344d942a2ba1c9441520fe610340b09b5b277c2a26e615193ee97a9da6001d4b2acc0d6c9810d57c3f53d30012378a242148f649ed2542fb3ab92f92e33
    bd2d984605c03e625901ab4cd725d7adcb93ab4b4bed0c99364868e566925091513d8c87688417d52947cf42e36d735d5fa5d4a02743a1e683d25ad1a8d6fe8d
    c579730d76ebda40635d2968ec1c37dc4ad9879219a269c31dc3633f1c4653a81d2eb7bc884ee0ddd95024e90d7f1e6599265cb4110fd3802bd149d520220227
    0e2551c395cbcfd24063a5218a5bb104827061c9d541562e1a3948ba99643c1ee3a1d0d3ae8dc848a7a7a0f0a95658af2af3f383a5259b41ba7be1e8d819d059
    720b4189f9d5a20ce0887078fb534ca33922f03a3313b255fdad35a685eceaef13550da5e3884e43b4e828ba98a77025e5191d7596c5403b5bac1902aa8564d1
    080713d960f5a01add34eb1a2987ad5df7742319394d34573dd35015d935ed2a66ccb06c036bb13c5f93d7582d430c9aa677f854bad725b7bed4bab57d42d625
    20e059fc2c5df70c0d41a3b69acca026196fcab0d4ecc5a8d93b960b3c85da599a84a6fa95a5dbb5b8653dc23a1d0c9eabf383dd7ad5c2d078b9af549156df3d
    f44f136c700fc4a30d2f81675470954af8f09020d810f5d49e24950db845ee8bc5ad0147ce2c210df741c16f7a41c90f72859adfc97965af90abf9cd72aee9fb
    e562c72f16daadd243682c228c8a7efacda50bafa2e87cf1e5458d6f7c7d89966fdb2e0d599467eaeb4a5e11575f5f8aa5ed5f5f1c02a2f3a052ead6cbf55625
    572f37bb39afddaae5ea41a5956b57826abbdb0efc5abdfbd0758e14d86b9603afd2a9e52ac520c8799582a45fabe7aa5ea9d4f4aacd5ac76b3e5c6c6360e5a9
    7c2c6201e155bc76ff010000ffff0300504b0304140006000800000021000dd1909fb60000001b010000270000007468656d652f7468656d652f5f72656c732f
    7468656d654d616e616765722e786d6c2e72656c73848f4d0ac2301484f78277086f6fd3ba109126dd88d0add40384e4350d363f2451eced0dae2c082e8761be
    9969bb979dc9136332de3168aa1a083ae995719ac16db8ec8e4052164e89d93b64b060828e6f37ed1567914b284d262452282e3198720e274a939cd08a54f980
    ae38a38f56e422a3a641c8bbd048f7757da0f19b017cc524bd62107bd5001996509affb3fd381a89672f1f165dfe514173d9850528a2c6cce0239baa4c04ca5b
    babac4df000000ffff0300504b01022d0014000600080000002100e9de0fbfff0000001c0200001300000000000000000000000000000000005b436f6e74656e
    745f54797065735d2e786d6c504b01022d0014000600080000002100a5d6a7e7c0000000360100000b00000000000000000000000000300100005f72656c732f
    2e72656c73504b01022d00140006000800000021006b799616830000008a0000001c00000000000000000000000000190200007468656d652f7468656d652f74
    68656d654d616e616765722e786d6c504b01022d0014000600080000002100aa5225dfc60600008b1a00001600000000000000000000000000d6020000746865
    6d652f7468656d652f7468656d65312e786d6c504b01022d00140006000800000021000dd1909fb60000001b0100002700000000000000000000000000d00900007468656d652f7468656d652f5f72656c732f7468656d654d616e616765722e786d6c2e72656c73504b050600000000050005005d010000cb0a00000000}
    {\*\colorschememapping 3c3f786d6c2076657273696f6e3d22312e302220656e636f64696e673d225554462d3822207374616e64616c6f6e653d22796573223f3e0d0a3c613a636c724d
    617020786d6c6e733a613d22687474703a2f2f736368656d61732e6f70656e786d6c666f726d6174732e6f72672f64726177696e676d6c2f323030362f6d6169
    6e22206267313d226c743122207478313d22646b3122206267323d226c743222207478323d22646b322220616363656e74313d22616363656e74312220616363
    656e74323d22616363656e74322220616363656e74333d22616363656e74332220616363656e74343d22616363656e74342220616363656e74353d22616363656e74352220616363656e74363d22616363656e74362220686c696e6b3d22686c696e6b2220666f6c486c696e6b3d22666f6c486c696e6b222f3e}
    {\*\latentstyles\lsdstimax371\lsdlockeddef0\lsdsemihiddendef0\lsdunhideuseddef0\lsdqformatdef0\lsdprioritydef99{\lsdlockedexcept \lsdqformat1 \lsdpriority0 \lsdlocked0 Normal;\lsdqformat1 \lsdpriority9 \lsdlocked0 heading 1;
    \lsdsemihidden1 \lsdunhideused1 \lsdqformat1 \lsdpriority9 \lsdlocked0 heading 2;\lsdsemihidden1 \lsdunhideused1 \lsdqformat1 \lsdpriority9 \lsdlocked0 heading 3;\lsdsemihidden1 \lsdunhideused1 \lsdqformat1 \lsdpriority9 \lsdlocked0 heading 4;
    \lsdsemihidden1 \lsdunhideused1 \lsdqformat1 \lsdpriority9 \lsdlocked0 heading 5;\lsdsemihidden1 \lsdunhideused1 \lsdqformat1 \lsdpriority9 \lsdlocked0 heading 6;\lsdsemihidden1 \lsdunhideused1 \lsdqformat1 \lsdpriority9 \lsdlocked0 heading 7;
    \lsdsemihidden1 \lsdunhideused1 \lsdqformat1 \lsdpriority9 \lsdlocked0 heading 8;\lsdsemihidden1 \lsdunhideused1 \lsdqformat1 \lsdpriority9 \lsdlocked0 heading 9;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 index 1;
    \lsdsemihidden1 \lsdunhideused1 \lsdlocked0 index 2;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 index 3;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 index 4;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 index 5;
    \lsdsemihidden1 \lsdunhideused1 \lsdlocked0 index 6;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 index 7;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 index 8;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 index 9;
    \lsdsemihidden1 \lsdunhideused1 \lsdpriority39 \lsdlocked0 toc 1;\lsdsemihidden1 \lsdunhideused1 \lsdpriority39 \lsdlocked0 toc 2;\lsdsemihidden1 \lsdunhideused1 \lsdpriority39 \lsdlocked0 toc 3;
    \lsdsemihidden1 \lsdunhideused1 \lsdpriority39 \lsdlocked0 toc 4;\lsdsemihidden1 \lsdunhideused1 \lsdpriority39 \lsdlocked0 toc 5;\lsdsemihidden1 \lsdunhideused1 \lsdpriority39 \lsdlocked0 toc 6;
    \lsdsemihidden1 \lsdunhideused1 \lsdpriority39 \lsdlocked0 toc 7;\lsdsemihidden1 \lsdunhideused1 \lsdpriority39 \lsdlocked0 toc 8;\lsdsemihidden1 \lsdunhideused1 \lsdpriority39 \lsdlocked0 toc 9;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Normal Indent;
    \lsdsemihidden1 \lsdunhideused1 \lsdlocked0 footnote text;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 annotation text;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 header;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 footer;
    \lsdsemihidden1 \lsdunhideused1 \lsdlocked0 index heading;\lsdsemihidden1 \lsdunhideused1 \lsdqformat1 \lsdpriority35 \lsdlocked0 caption;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 table of figures;
    \lsdsemihidden1 \lsdunhideused1 \lsdlocked0 envelope address;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 envelope return;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 footnote reference;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 annotation reference;
    \lsdsemihidden1 \lsdunhideused1 \lsdlocked0 line number;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 page number;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 endnote reference;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 endnote text;
    \lsdsemihidden1 \lsdunhideused1 \lsdlocked0 table of authorities;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 macro;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 toa heading;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 List;
    \lsdsemihidden1 \lsdunhideused1 \lsdlocked0 List Bullet;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 List Number;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 List 2;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 List 3;
    \lsdsemihidden1 \lsdunhideused1 \lsdlocked0 List 4;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 List 5;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 List Bullet 2;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 List Bullet 3;
    \lsdsemihidden1 \lsdunhideused1 \lsdlocked0 List Bullet 4;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 List Bullet 5;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 List Number 2;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 List Number 3;
    \lsdsemihidden1 \lsdunhideused1 \lsdlocked0 List Number 4;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 List Number 5;\lsdqformat1 \lsdpriority10 \lsdlocked0 Title;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Closing;
    \lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Signature;\lsdsemihidden1 \lsdunhideused1 \lsdpriority1 \lsdlocked0 Default Paragraph Font;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Body Text;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Body Text Indent;
    \lsdsemihidden1 \lsdunhideused1 \lsdlocked0 List Continue;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 List Continue 2;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 List Continue 3;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 List Continue 4;
    \lsdsemihidden1 \lsdunhideused1 \lsdlocked0 List Continue 5;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Message Header;\lsdqformat1 \lsdpriority11 \lsdlocked0 Subtitle;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Salutation;
    \lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Date;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Body Text First Indent;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Body Text First Indent 2;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Note Heading;
    \lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Body Text 2;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Body Text 3;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Body Text Indent 2;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Body Text Indent 3;
    \lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Block Text;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Hyperlink;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 FollowedHyperlink;\lsdqformat1 \lsdpriority22 \lsdlocked0 Strong;
    \lsdqformat1 \lsdpriority20 \lsdlocked0 Emphasis;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Document Map;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Plain Text;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 E-mail Signature;
    \lsdsemihidden1 \lsdunhideused1 \lsdlocked0 HTML Top of Form;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 HTML Bottom of Form;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Normal (Web);\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 HTML Acronym;
    \lsdsemihidden1 \lsdunhideused1 \lsdlocked0 HTML Address;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 HTML Cite;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 HTML Code;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 HTML Definition;
    \lsdsemihidden1 \lsdunhideused1 \lsdlocked0 HTML Keyboard;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 HTML Preformatted;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 HTML Sample;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 HTML Typewriter;
    \lsdsemihidden1 \lsdunhideused1 \lsdlocked0 HTML Variable;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 annotation subject;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 No List;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Outline List 1;
    \lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Outline List 2;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Outline List 3;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Balloon Text;\lsdpriority39 \lsdlocked0 Table Grid;
    \lsdsemihidden1 \lsdlocked0 Placeholder Text;\lsdqformat1 \lsdpriority1 \lsdlocked0 No Spacing;\lsdpriority60 \lsdlocked0 Light Shading;\lsdpriority61 \lsdlocked0 Light List;\lsdpriority62 \lsdlocked0 Light Grid;
    \lsdpriority63 \lsdlocked0 Medium Shading 1;\lsdpriority64 \lsdlocked0 Medium Shading 2;\lsdpriority65 \lsdlocked0 Medium List 1;\lsdpriority66 \lsdlocked0 Medium List 2;\lsdpriority67 \lsdlocked0 Medium Grid 1;\lsdpriority68 \lsdlocked0 Medium Grid 2;
    \lsdpriority69 \lsdlocked0 Medium Grid 3;\lsdpriority70 \lsdlocked0 Dark List;\lsdpriority71 \lsdlocked0 Colorful Shading;\lsdpriority72 \lsdlocked0 Colorful List;\lsdpriority73 \lsdlocked0 Colorful Grid;\lsdpriority60 \lsdlocked0 Light Shading Accent 1;
    \lsdpriority61 \lsdlocked0 Light List Accent 1;\lsdpriority62 \lsdlocked0 Light Grid Accent 1;\lsdpriority63 \lsdlocked0 Medium Shading 1 Accent 1;\lsdpriority64 \lsdlocked0 Medium Shading 2 Accent 1;\lsdpriority65 \lsdlocked0 Medium List 1 Accent 1;
    \lsdsemihidden1 \lsdlocked0 Revision;\lsdqformat1 \lsdpriority34 \lsdlocked0 List Paragraph;\lsdqformat1 \lsdpriority29 \lsdlocked0 Quote;\lsdqformat1 \lsdpriority30 \lsdlocked0 Intense Quote;\lsdpriority66 \lsdlocked0 Medium List 2 Accent 1;
    \lsdpriority67 \lsdlocked0 Medium Grid 1 Accent 1;\lsdpriority68 \lsdlocked0 Medium Grid 2 Accent 1;\lsdpriority69 \lsdlocked0 Medium Grid 3 Accent 1;\lsdpriority70 \lsdlocked0 Dark List Accent 1;\lsdpriority71 \lsdlocked0 Colorful Shading Accent 1;
    \lsdpriority72 \lsdlocked0 Colorful List Accent 1;\lsdpriority73 \lsdlocked0 Colorful Grid Accent 1;\lsdpriority60 \lsdlocked0 Light Shading Accent 2;\lsdpriority61 \lsdlocked0 Light List Accent 2;\lsdpriority62 \lsdlocked0 Light Grid Accent 2;
    \lsdpriority63 \lsdlocked0 Medium Shading 1 Accent 2;\lsdpriority64 \lsdlocked0 Medium Shading 2 Accent 2;\lsdpriority65 \lsdlocked0 Medium List 1 Accent 2;\lsdpriority66 \lsdlocked0 Medium List 2 Accent 2;
    \lsdpriority67 \lsdlocked0 Medium Grid 1 Accent 2;\lsdpriority68 \lsdlocked0 Medium Grid 2 Accent 2;\lsdpriority69 \lsdlocked0 Medium Grid 3 Accent 2;\lsdpriority70 \lsdlocked0 Dark List Accent 2;\lsdpriority71 \lsdlocked0 Colorful Shading Accent 2;
    \lsdpriority72 \lsdlocked0 Colorful List Accent 2;\lsdpriority73 \lsdlocked0 Colorful Grid Accent 2;\lsdpriority60 \lsdlocked0 Light Shading Accent 3;\lsdpriority61 \lsdlocked0 Light List Accent 3;\lsdpriority62 \lsdlocked0 Light Grid Accent 3;
    \lsdpriority63 \lsdlocked0 Medium Shading 1 Accent 3;\lsdpriority64 \lsdlocked0 Medium Shading 2 Accent 3;\lsdpriority65 \lsdlocked0 Medium List 1 Accent 3;\lsdpriority66 \lsdlocked0 Medium List 2 Accent 3;
    \lsdpriority67 \lsdlocked0 Medium Grid 1 Accent 3;\lsdpriority68 \lsdlocked0 Medium Grid 2 Accent 3;\lsdpriority69 \lsdlocked0 Medium Grid 3 Accent 3;\lsdpriority70 \lsdlocked0 Dark List Accent 3;\lsdpriority71 \lsdlocked0 Colorful Shading Accent 3;
    \lsdpriority72 \lsdlocked0 Colorful List Accent 3;\lsdpriority73 \lsdlocked0 Colorful Grid Accent 3;\lsdpriority60 \lsdlocked0 Light Shading Accent 4;\lsdpriority61 \lsdlocked0 Light List Accent 4;\lsdpriority62 \lsdlocked0 Light Grid Accent 4;
    \lsdpriority63 \lsdlocked0 Medium Shading 1 Accent 4;\lsdpriority64 \lsdlocked0 Medium Shading 2 Accent 4;\lsdpriority65 \lsdlocked0 Medium List 1 Accent 4;\lsdpriority66 \lsdlocked0 Medium List 2 Accent 4;
    \lsdpriority67 \lsdlocked0 Medium Grid 1 Accent 4;\lsdpriority68 \lsdlocked0 Medium Grid 2 Accent 4;\lsdpriority69 \lsdlocked0 Medium Grid 3 Accent 4;\lsdpriority70 \lsdlocked0 Dark List Accent 4;\lsdpriority71 \lsdlocked0 Colorful Shading Accent 4;
    \lsdpriority72 \lsdlocked0 Colorful List Accent 4;\lsdpriority73 \lsdlocked0 Colorful Grid Accent 4;\lsdpriority60 \lsdlocked0 Light Shading Accent 5;\lsdpriority61 \lsdlocked0 Light List Accent 5;\lsdpriority62 \lsdlocked0 Light Grid Accent 5;
    \lsdpriority63 \lsdlocked0 Medium Shading 1 Accent 5;\lsdpriority64 \lsdlocked0 Medium Shading 2 Accent 5;\lsdpriority65 \lsdlocked0 Medium List 1 Accent 5;\lsdpriority66 \lsdlocked0 Medium List 2 Accent 5;
    \lsdpriority67 \lsdlocked0 Medium Grid 1 Accent 5;\lsdpriority68 \lsdlocked0 Medium Grid 2 Accent 5;\lsdpriority69 \lsdlocked0 Medium Grid 3 Accent 5;\lsdpriority70 \lsdlocked0 Dark List Accent 5;\lsdpriority71 \lsdlocked0 Colorful Shading Accent 5;
    \lsdpriority72 \lsdlocked0 Colorful List Accent 5;\lsdpriority73 \lsdlocked0 Colorful Grid Accent 5;\lsdpriority60 \lsdlocked0 Light Shading Accent 6;\lsdpriority61 \lsdlocked0 Light List Accent 6;\lsdpriority62 \lsdlocked0 Light Grid Accent 6;
    \lsdpriority63 \lsdlocked0 Medium Shading 1 Accent 6;\lsdpriority64 \lsdlocked0 Medium Shading 2 Accent 6;\lsdpriority65 \lsdlocked0 Medium List 1 Accent 6;\lsdpriority66 \lsdlocked0 Medium List 2 Accent 6;
    \lsdpriority67 \lsdlocked0 Medium Grid 1 Accent 6;\lsdpriority68 \lsdlocked0 Medium Grid 2 Accent 6;\lsdpriority69 \lsdlocked0 Medium Grid 3 Accent 6;\lsdpriority70 \lsdlocked0 Dark List Accent 6;\lsdpriority71 \lsdlocked0 Colorful Shading Accent 6;
    \lsdpriority72 \lsdlocked0 Colorful List Accent 6;\lsdpriority73 \lsdlocked0 Colorful Grid Accent 6;\lsdqformat1 \lsdpriority19 \lsdlocked0 Subtle Emphasis;\lsdqformat1 \lsdpriority21 \lsdlocked0 Intense Emphasis;
    \lsdqformat1 \lsdpriority31 \lsdlocked0 Subtle Reference;\lsdqformat1 \lsdpriority32 \lsdlocked0 Intense Reference;\lsdqformat1 \lsdpriority33 \lsdlocked0 Book Title;\lsdsemihidden1 \lsdunhideused1 \lsdpriority37 \lsdlocked0 Bibliography;
    \lsdsemihidden1 \lsdunhideused1 \lsdqformat1 \lsdpriority39 \lsdlocked0 TOC Heading;\lsdpriority41 \lsdlocked0 Plain Table 1;\lsdpriority42 \lsdlocked0 Plain Table 2;\lsdpriority43 \lsdlocked0 Plain Table 3;\lsdpriority44 \lsdlocked0 Plain Table 4;
    \lsdpriority45 \lsdlocked0 Plain Table 5;\lsdpriority40 \lsdlocked0 Grid Table Light;\lsdpriority46 \lsdlocked0 Grid Table 1 Light;\lsdpriority47 \lsdlocked0 Grid Table 2;\lsdpriority48 \lsdlocked0 Grid Table 3;\lsdpriority49 \lsdlocked0 Grid Table 4;
    \lsdpriority50 \lsdlocked0 Grid Table 5 Dark;\lsdpriority51 \lsdlocked0 Grid Table 6 Colorful;\lsdpriority52 \lsdlocked0 Grid Table 7 Colorful;\lsdpriority46 \lsdlocked0 Grid Table 1 Light Accent 1;\lsdpriority47 \lsdlocked0 Grid Table 2 Accent 1;
    \lsdpriority48 \lsdlocked0 Grid Table 3 Accent 1;\lsdpriority49 \lsdlocked0 Grid Table 4 Accent 1;\lsdpriority50 \lsdlocked0 Grid Table 5 Dark Accent 1;\lsdpriority51 \lsdlocked0 Grid Table 6 Colorful Accent 1;
    \lsdpriority52 \lsdlocked0 Grid Table 7 Colorful Accent 1;\lsdpriority46 \lsdlocked0 Grid Table 1 Light Accent 2;\lsdpriority47 \lsdlocked0 Grid Table 2 Accent 2;\lsdpriority48 \lsdlocked0 Grid Table 3 Accent 2;
    \lsdpriority49 \lsdlocked0 Grid Table 4 Accent 2;\lsdpriority50 \lsdlocked0 Grid Table 5 Dark Accent 2;\lsdpriority51 \lsdlocked0 Grid Table 6 Colorful Accent 2;\lsdpriority52 \lsdlocked0 Grid Table 7 Colorful Accent 2;
    \lsdpriority46 \lsdlocked0 Grid Table 1 Light Accent 3;\lsdpriority47 \lsdlocked0 Grid Table 2 Accent 3;\lsdpriority48 \lsdlocked0 Grid Table 3 Accent 3;\lsdpriority49 \lsdlocked0 Grid Table 4 Accent 3;
    \lsdpriority50 \lsdlocked0 Grid Table 5 Dark Accent 3;\lsdpriority51 \lsdlocked0 Grid Table 6 Colorful Accent 3;\lsdpriority52 \lsdlocked0 Grid Table 7 Colorful Accent 3;\lsdpriority46 \lsdlocked0 Grid Table 1 Light Accent 4;
    \lsdpriority47 \lsdlocked0 Grid Table 2 Accent 4;\lsdpriority48 \lsdlocked0 Grid Table 3 Accent 4;\lsdpriority49 \lsdlocked0 Grid Table 4 Accent 4;\lsdpriority50 \lsdlocked0 Grid Table 5 Dark Accent 4;
    \lsdpriority51 \lsdlocked0 Grid Table 6 Colorful Accent 4;\lsdpriority52 \lsdlocked0 Grid Table 7 Colorful Accent 4;\lsdpriority46 \lsdlocked0 Grid Table 1 Light Accent 5;\lsdpriority47 \lsdlocked0 Grid Table 2 Accent 5;
    \lsdpriority48 \lsdlocked0 Grid Table 3 Accent 5;\lsdpriority49 \lsdlocked0 Grid Table 4 Accent 5;\lsdpriority50 \lsdlocked0 Grid Table 5 Dark Accent 5;\lsdpriority51 \lsdlocked0 Grid Table 6 Colorful Accent 5;
    \lsdpriority52 \lsdlocked0 Grid Table 7 Colorful Accent 5;\lsdpriority46 \lsdlocked0 Grid Table 1 Light Accent 6;\lsdpriority47 \lsdlocked0 Grid Table 2 Accent 6;\lsdpriority48 \lsdlocked0 Grid Table 3 Accent 6;
    \lsdpriority49 \lsdlocked0 Grid Table 4 Accent 6;\lsdpriority50 \lsdlocked0 Grid Table 5 Dark Accent 6;\lsdpriority51 \lsdlocked0 Grid Table 6 Colorful Accent 6;\lsdpriority52 \lsdlocked0 Grid Table 7 Colorful Accent 6;
    \lsdpriority46 \lsdlocked0 List Table 1 Light;\lsdpriority47 \lsdlocked0 List Table 2;\lsdpriority48 \lsdlocked0 List Table 3;\lsdpriority49 \lsdlocked0 List Table 4;\lsdpriority50 \lsdlocked0 List Table 5 Dark;
    \lsdpriority51 \lsdlocked0 List Table 6 Colorful;\lsdpriority52 \lsdlocked0 List Table 7 Colorful;\lsdpriority46 \lsdlocked0 List Table 1 Light Accent 1;\lsdpriority47 \lsdlocked0 List Table 2 Accent 1;\lsdpriority48 \lsdlocked0 List Table 3 Accent 1;
    \lsdpriority49 \lsdlocked0 List Table 4 Accent 1;\lsdpriority50 \lsdlocked0 List Table 5 Dark Accent 1;\lsdpriority51 \lsdlocked0 List Table 6 Colorful Accent 1;\lsdpriority52 \lsdlocked0 List Table 7 Colorful Accent 1;
    \lsdpriority46 \lsdlocked0 List Table 1 Light Accent 2;\lsdpriority47 \lsdlocked0 List Table 2 Accent 2;\lsdpriority48 \lsdlocked0 List Table 3 Accent 2;\lsdpriority49 \lsdlocked0 List Table 4 Accent 2;
    \lsdpriority50 \lsdlocked0 List Table 5 Dark Accent 2;\lsdpriority51 \lsdlocked0 List Table 6 Colorful Accent 2;\lsdpriority52 \lsdlocked0 List Table 7 Colorful Accent 2;\lsdpriority46 \lsdlocked0 List Table 1 Light Accent 3;
    \lsdpriority47 \lsdlocked0 List Table 2 Accent 3;\lsdpriority48 \lsdlocked0 List Table 3 Accent 3;\lsdpriority49 \lsdlocked0 List Table 4 Accent 3;\lsdpriority50 \lsdlocked0 List Table 5 Dark Accent 3;
    \lsdpriority51 \lsdlocked0 List Table 6 Colorful Accent 3;\lsdpriority52 \lsdlocked0 List Table 7 Colorful Accent 3;\lsdpriority46 \lsdlocked0 List Table 1 Light Accent 4;\lsdpriority47 \lsdlocked0 List Table 2 Accent 4;
    \lsdpriority48 \lsdlocked0 List Table 3 Accent 4;\lsdpriority49 \lsdlocked0 List Table 4 Accent 4;\lsdpriority50 \lsdlocked0 List Table 5 Dark Accent 4;\lsdpriority51 \lsdlocked0 List Table 6 Colorful Accent 4;
    \lsdpriority52 \lsdlocked0 List Table 7 Colorful Accent 4;\lsdpriority46 \lsdlocked0 List Table 1 Light Accent 5;\lsdpriority47 \lsdlocked0 List Table 2 Accent 5;\lsdpriority48 \lsdlocked0 List Table 3 Accent 5;
    \lsdpriority49 \lsdlocked0 List Table 4 Accent 5;\lsdpriority50 \lsdlocked0 List Table 5 Dark Accent 5;\lsdpriority51 \lsdlocked0 List Table 6 Colorful Accent 5;\lsdpriority52 \lsdlocked0 List Table 7 Colorful Accent 5;
    \lsdpriority46 \lsdlocked0 List Table 1 Light Accent 6;\lsdpriority47 \lsdlocked0 List Table 2 Accent 6;\lsdpriority48 \lsdlocked0 List Table 3 Accent 6;\lsdpriority49 \lsdlocked0 List Table 4 Accent 6;
    \lsdpriority50 \lsdlocked0 List Table 5 Dark Accent 6;\lsdpriority51 \lsdlocked0 List Table 6 Colorful Accent 6;\lsdpriority52 \lsdlocked0 List Table 7 Colorful Accent 6;}}{\*\datastore 010500000200000018000000
    4d73786d6c322e534158584d4c5265616465722e362e3000000000000000000000060000
    d0cf11e0a1b11ae1000000000000000000000000000000003e000300feff090006000000000000000000000001000000010000000000000000100000feffffff00000000feffffff0000000000000000ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff
    ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff
    ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff
    ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff
    fffffffffffffffffdfffffffeffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff
    ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff
    ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff
    ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff
    ffffffffffffffffffffffffffffffff52006f006f007400200045006e00740072007900000000000000000000000000000000000000000000000000000000000000000000000000000000000000000016000500ffffffffffffffffffffffff0c6ad98892f1d411a65f0040963251e50000000000000000000000005016
    16170f44d601feffffff00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ffffffffffffffffffffffff00000000000000000000000000000000000000000000000000000000
    00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ffffffffffffffffffffffff0000000000000000000000000000000000000000000000000000
    000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ffffffffffffffffffffffff000000000000000000000000000000000000000000000000
    0000000000000000000000000000000000000000000000000105000000000000}}

    Equipment

    Name Visible Cost [deci-credits] Tech-Level
    Korshkov Fuel Sample yes 100000 3+
    **NWE SECURITY RESTRICTED" yes 0 3+

    Ships

    Name
    Navigation Buoy
    Ad Buoy
    Anarchist Python
    Ball Turret
    Defence Cannon
    Defence Cannon
    Defence Cannon
    Defence Cannon
    Major Cherkasova
    unknown mass
    Soviet Military Ray
    Escape Capsule (damaged)
    SDF Courier (disabled)
    Armoured Transport (disabled)
    Armoured Escort
    Fuel Sample
    Fuel Sample
    IR-fuel-waste
    Soviet Giant Ray
    Adder Mk2
    Pieter Kinnaird
    Navigation Buoy
    Krait
    IR-luft-dock
    IR-luft-panels
    IR-luft-rotating
    Luftslotte 6
    Task Force Juliet
    Navigation Buoy
    Anarchist Enforcer
    PleasureWorld Worm Shuttle
    QuiCo Transporter
    QuiCo Viper
    Navigation Buoy
    Electronic Warfare Pod
    SDF Asp
    SDF Courier
    SDF Imperator
    dock
    Ball Turrett
    SDF Cruiser
    SDF Assault Lander
    Sirius Tanker
    Soviet Starstrike
    Target Drone
    Mamba
    Armoured Transport
    Armoured Transport
    Escape Capsule
    Navigation Buoy
    Fuel Reprocessing Facility
    blue tank
    Fuel Sample (irradiated)
    red tank
    SS wings
    SS wings

    Models

    This expansion declares no models. This may be related to warnings.

    Scripts

    Path
    Scripts/IR-SDF.js
    this.name = "IR-SDF.js";
    this.author = "Ramirez";
    this.copyright = "February 2010";
    this.description = "Script for maintaining status of IR SDF thread";
    this.version = "1.0";
    
    
    player.incrementSDFStatus = this.incrementSDFStatus = function()
    
    {	
    ++missionVariables.IR_SDF_status_no	
    mission.setInstructionsKey("IR_SDF_brief_"+[missionVariables.IR_SDF_status_no],"IR-SDF.js")
    	
    	
    }
    
    
    player.clearSDFStatus = this.clearSDFStatus = function()
    
    {
    	mission.setInstructionsKey(null, "IR-SDF.js")
    	
    }
    
    
    
    player.setSDFStatus = this.setSDFStatus = function()
    
    {	
    
    mission.setInstructionsKey("IR_SDF_brief_"+[missionVariables.IR_SDF_status_no],"IR-SDF.js")
    	
    	
    }
    	
    	
    
    Scripts/IR-anarchist.js
    this.name = "IR-anarchist.js";
    this.author = "Ramirez";
    this.copyright = "November 2010";
    this.description = "Ship script for anarchist targets";
    this.version = "1.0";
    
    
    
    this.shipDied = function()
    {	if(this.ship.primaryRole == "IR-anarchypython")
    	{++missionVariables.IR_pythonCount
    	player.commsMessage("Anarchist ships destroyed: "+[missionVariables.IR_pythonCount], 6)
    		if(missionVariables.IR_pythonCount == 10)
    	{player.commsMessage("Major Cherkasova: This is Zarya-1. All pythons have been destroyed.  Regroup in Arenxeon", 6)
    	mission.setInstructionsKey("IR_LOA_brief_3", "IR-main-script.js")
    	missionVariables.IR_status = "IR_LOA_3"}
    	}
    }
    
    
    this.shipLaunchedFromStation = function()
    {if(this.ship.primaryRole == "police" || this.ship.primaryRole == "defence_ship")
    {this.ship.setAI("IR-piratepatrolAI.plist")}
    }
    
    		
    		
    
    
    
    
    
    	
    	
    
    Scripts/IR-cherkasova.js
    this.name = "IR-cherkasova.js";
    this.author = "Ramirez";
    this.copyright = "November 2010";
    this.description = "Script for Major cherkasova";
    this.version = "1.0";
    
    
    this.shipSpawned = function()
    {
    	if(missionVariables.IR_status == "IR_IBANEZ_5")
    		{if(this.ship.displayName == this.ship.name)
    			{this.ship.displayName = "Starstrike"}
    	}
    	
    	
    
    }
    
    this.sendWarning = function()
    {
    player.commsMessage("Starstrike: Commander, please return to the station immediately.  I have disabled your witchdrive - please do not attempt to leave the system.",8)}
    
    	
    this.shipTargetDestroyed = function()
    {this.ship.commsMessage("Yeah, got one!")}
    
    
    this.shipEnergyIsLow = function()
    {	
    	this.ship.energy = 20000
    }
    
    
    
    
    //the following functions are taken from Hired Guns OXP
    
    this.locatePlayer = function()
    	{
    	this.playerArray = system.shipsWithPrimaryRole("player");
    	if(this.playerArray.length > 0)
    		{
    		this.ship.target = this.playerArray[0];
    		this.ship.reactToAIMessage("PLAYER_FOUND");
    		}
    	}
    
    this.checkPlayerDistance = function()
    	{
    	if(!player.ship)
    		{
    		return;	
    		}
    else 
    	this.playerDistance = this.ship.position.distanceTo(player.ship.position);
    	if(this.playerDistance > 51200) // if the escort is more than 2 scanner ranges from the player, move it just off-scanner
    		{
    		let playerDirection = player.ship.position.subtract(this.ship.position).direction(); 
    		let newPosition = player.ship.position.subtract(playerDirection.multiply(30000));
    		if (oolite.compareVersion('1.73') <= 0) 
    			{
    			this.ship.position = newPosition;
    			}
    		else 
    			{
    			this.ship.setPosition(newPosition);
    			}
    		this.ship.reactToAIMessage("PLAYER_MID");
    		return;
    		}
    
    	if(this.playerDistance < 25600)
    		{
    		this.ship.reactToAIMessage("PLAYER_NEAR");
    		}
    	else
    		{
    		if(this.playerDistance > 38400 || player.ship.speed > 2000)
    			{
    			this.ship.reactToAIMessage("PLAYER_FAR");
    			}
    		else
    			{
    			this.ship.reactToAIMessage("PLAYER_MID");
    			}
    		}
    	}
    
    this.combatCheck = function()
    	{
    	if(this.ship.target && this.ship.target.isDerelict)
    		{
    		this.ship.target = null;
    		this.ship.reactToAIMessage("TARGET_EJECTED");
    		}
    		
    	this.playerDistance = this.ship.position.distanceTo(player.ship.position);
    	if(this.playerDistance > 51200) // if the escort is more than 2 scanner ranges from the player, break off combat
    		{
    		this.ship.AIState = "LOCATE_PLAYER";
    		}
    	else
    		{
    		this.ship.reactToAIMessage("ENEMY_FIRE");
    		}
    	}
    
    this.findPlayerHostiles = function()
    	{
    	function isHostileToPlayer(entity) 
    		{ 
    		return (entity.isThargoid || (entity.isShip && entity.target && entity.target == player.ship && entity.hasHostileTarget && !entity.isDerelict));
    		}
    	
    		{
    		var targets = system.filteredEntities(this, isHostileToPlayer, this.ship, this.ship.scannerRange);
    		if(targets.length > 0)
    			{
    			this.ship.target = targets[0];
    			this.ship.reactToAIMessage("HOSTILE_FOUND");
    			}
    		else
    			{
    			this.ship.reactToAIMessage("NO_HOSTILE_FOUND");
    			}
    		}
    	}
    
    this.fireCheck = function()
    	{
    	if(player.ship.target == this.ship && this.ship.target.isPlayer)
    		{
    		this.ship.reactToAIMessage("FRIENDLY_FIRE");
    		}
    	else
    		{
    		this.ship.reactToAIMessage("ENEMY_FIRE");
    		}
    	}
    
    
    
    
    
    Scripts/IR-damaged-escape-pod.js
    this.name = "IR-damaged-escape-pod.js";
    this.author = "Ramirez";
    this.copyright = "August 2010";
    this.description = "Iron Raven Krait escape pod script";
    this.version = "1.0";
    
    
    this.shipWasScooped = function(whom)
    
    
    {if(whom == player.ship)
    	{
    		missionVariables.IR_SDF_quest = "POD_SCOOPED"
    			}
    }
    
    
    
    
    Scripts/IR-defences.js
    this.name = "IR-defences.js";
    this.author = "Ramirez";
    this.copyright = "August 2010";
    this.description = "Script for maintaining status of IR defences thread";
    this.version = "1.0";
    
    
    player.incrementDefencesStatus = this.incrementDefencesStatus = function()
    
    {	
    ++missionVariables.IR_defences_status_no	
    mission.setInstructionsKey("IR_defences_brief_"+[missionVariables.IR_defences_status_no],"IR-defences.js")	
    }
    
    
    player.clearDefencesStatus = this.clearDefencesStatus = function()
    
    {
    	mission.setInstructionsKey(null, "IR-defences.js")
    	
    }
    
    
    
    player.setDefencesStatus = this.setDefencesStatus = function()
    
    {	
    mission.setInstructionsKey("IR_defences_brief_"+[missionVariables.IR_defences_status_no],"IR-defences.js")	
    }	
    	
    
    Scripts/IR-finance.js
    this.name = "IR-finance.js";
    this.author = "Ramirez";
    this.copyright = "February 2010";
    this.description = "Script for maintaining status of IR finance thread";
    this.version = "1.0";
    
    
    player.incrementFinanceStatus = this.incrementFinanceStatus = function()
    
    {	
    	++missionVariables.IR_finance_status_no
    	mission.setInstructionsKey("IR_finance_brief_"+[missionVariables.IR_finance_status_no],"IR-finance.js")
    	
    	
    }
    
    
    player.clearFinanceStatus = this.clearFinanceStatus = function()
    
    {
    	mission.setInstructionsKey(null, "IR-finance.js")
    	
    }
    
    
    player.setFinanceStatus = this.setFinanceStatus = function()
    
    {	
    		mission.setInstructionsKey("IR_finance_brief_"+[missionVariables.IR_finance_status_no],"IR-finance.js")
    	
    	
    }
    
    	
    	
    
    Scripts/IR-fuel-sample.js
    this.name = "IR_fuel_sample.js";
    this.author = "Ramirez";
    this.copyright = "April 2011";
    this.description = "Iron Raven fuel sample script";
    this.version = "2.0";
    
    this.shipSpawned = function()
    
    {	
    	if(this.ship.primaryRole == "EQ_IR_FUEL_SAMPLE_MINE")
    	
    	{	if(missionVariables.IR_finance_quest == "IRRADIATE")
    	
    			{this.ship.spawn("IR-fuel-sample", 1)
    			this.ship.remove()}
    			
    		if(missionVariables.IR_finance_quest == "IRRADIATE_SUCCESS")
    		   {if(system.countShipsWithRole("IR-fuelprocessor") == 1)
    		   {var fuelprocessor = system.shipsWithRole("IR-fuelprocessor")[0]
    		this.ship.target = fuelprocessor
    			}}
    	}	
    }
    
    this.shipDied = function()
    
    {
    	if(this.ship.primaryRole == "EQ_IR_FUEL_SAMPLE_MINE")
    		{if(missionVariables.IR_finance_quest == "IRRADIATE_SUCCESS")
    			{	
    			if(system.countShipsWithRole("IR-fuelprocessor") == 1)
    		   		{var fuelprocessor = system.shipsWithRole("IR-fuelprocessor")[0]
    				this.ship.target = fuelprocessor
    				if(this.ship.position.distanceTo(this.ship.target.position) < 250)
    				{this.reprocessFuel()}
    				else return
    			}}
    }}
    
    
    this.shipWasScooped = function(whom)
    
    
    {
    	if(this.ship.primaryRole == "IR-fuel-sample" && whom == player.ship)
    	{player.ship.awardEquipment("EQ_IR_FUEL_SAMPLE_MINE")}
    	
    	if(this.ship.primaryRole == "IR-fuel-sample-irradiated" && whom == player.ship)
    	{player.ship.awardEquipment("EQ_IR_FUEL_SAMPLE_MINE")
    	missionVariables.IR_finance_quest = "IRRADIATE_SUCCESS"
    	}			
    }
    
    
    
    this.reprocessFuel = function()
    
    {
    	player.commsMessage("Fuel waste collected.  Thank you for using Releleat Reprocessing Services.")
    	missionVariables.IR_finance_quest = "REPROCESSED"
    	missionVariables.IR_KORSHKOV_deadline = clock.days + 20
    	player.incrementFinanceStatus()
    }
    
    this.checkTemperature = function()
    
    {
    
    	if(this.ship.temperature >= 0.7)
    		{this.ship.reactToAIMessage("TEMPERATURE_HIGH")}
    		
    }
    
    
    
    
    Scripts/IR-fuel-waste.js
    this.name = "IR_fuel_waste.js";
    this.author = "Ramirez";
    this.copyright = "August 2010";
    this.description = "Iron Raven fuel waste script";
    this.version = "1.0";
    
    
    this.shipWasScooped = function(whom)
    
    
    {
    	
    	
    	if(whom == player.ship)
    	{
    	
    	if(missionVariables.IR_SDF_quest != "CONTAMINATED")
    		
    		{player.consoleMessage("WARNING: Radiation detected in cargo hold")
    		missionVariables.IR_SDF_quest = "CONTAMINATED"
    	
    	if(system.shipsWithRole("IR-krait") != 0)
    	{var krait = system.shipsWithRole("IR-krait")[0]
    		this.playerDistance = krait.position.distanceTo(player.ship.position);
    		if(this.playerDistance > 25000) // if Krait is out of scanner range
    			{let playerDirection = player.ship.position.subtract(krait.position).direction();
    			let newKraitPosition = krait.position = player.ship.position.subtract(playerDirection.multiply(25000));
    			//log('krait moved towards player')
    			krait.reactToAIMessage("ATTACK_PLAYER")}
    			else
    			//log('in range')
    			krait.reactToAIMessage("ATTACK_PLAYER")
    			return;
    			}
    	}
    	
    	
    	
    	
    	}
    }
    
    
    
    Scripts/IR-isabella.js
    this.name = "IR_isabella.js";
    this.author = "Ramirez";
    this.copyright = "July 2010";
    this.description = "Ship script for Isabella King";
    this.version = "1.0";
    
    
    
    
    this.shipWillDockWithStation = function(station)
    {
        //log('isabella has docked')
    	if(missionVariables.IR_finance_quest == "WIFE_IDENTIFIED")
    	missionVariables.IR_finance_quest = "WIFE_DOCKED"
    	
    }
    
    	
    	
    
    Scripts/IR-juliet-leader.js
    this.name = "IR-juliet-leader.js";
    this.author = "Ramirez";
    this.copyright = "November 2010";
    this.description = "Script for Task Force Juliet ships";
    this.version = "1.0";
    
    this.shipSpawned = function()
    
    {	
    	player.commsMessage("Juliet 1-0 calling Sunray.  Do you read, over?", 8)
    	var sdf = system.shipsWithRole("IR-sdf-imperator")[0]
    	this.ship.target = sdf
    	this.ship.setAI("interceptAI.plist")
    }
    
    
    
    
    	
    	
    
    Scripts/IR-krait.js
    this.name = "IR_krait.js";
    this.author = "Ramirez";
    this.copyright = "February 2010";
    this.description = "Iron Raven convo test";
    this.version = "1.0";
    
    this.shipSpawned = function()
    
    {	
    	missionVariables.IR_cargoCount = 10
    	
    	if(missionVariables.IR_SDF_quest == "JUMPED")
    	{	missionVariables.IR_cargoCount = 10}
    }
    
    this.shipDied = function()
    {
    		
    		if(missionVariables.IR_SDF_quest == "CONTAMINATED")
    		this.ship.spawn("IR-damaged-escape-pod", 1)
    }
    
    
    this.performJump = function()
    
    {missionVariables.IR_SDF_quest = "JUMPED"}
    
    
    
    this.ejectCargo = function()
    
    {	
    	
    	if(missionVariables.IR_cargoCount > 1)
    	{this.ship.ejectItem("IR-fuel-waste")
    	--missionVariables.IR_cargoCount
    	//this.ship.commsMessage("count is "+[missionVariables.cargoCount])
    	this.ship.reactToAIMessage("ENTER")}	
    	
    	if(missionVariables.IR_cargoCount == 1)
    	{
    	//this.ship.commsMessage("count is "+[missionVariables.cargoCount])
    	this.ship.reactToAIMessage("EJECTION_COMPLETE")
    	player.commsMessage("Hmm, better take a look at that cargo.", 6)}
    }
    
    
    
    
    
    	
    	
    
    Scripts/IR-main-script.js
    this.name = "IR-main-script.js";
    this.author = "Ramirez";
    this.copyright = "February 2014";
    this.description = "Iron Raven main world script";
    this.version = "1.4.2.1";
    
    this.startUp = function()
    
    {this.addIRinterface();
    
    if(!missionVariables.IR_screen_log)
    missionVariables.IR_screen_log = ""
    if(!missionVariables.IR_screen_location)
    missionVariables.IR_screen_location = ""}
    
    
    this.addIRinterface = function()
    
    {		
    		player.ship.dockedStation.setInterface("IR_log",{
    		title: "Iron Raven - Mission Log",
    		category: "Mission",
    		summary: "Use this to access previous conversations relating to the Iron Raven mission.",
    		callback: this.showIRlog.bind(this)});
    
            if(missionVariables.IR_status == "IR_IBANEZ_4")
    		{player.ship.dockedStation.setInterface("IR_questions",{
    		title: "Iron Raven - Questions",
    		category: "Mission",
    		summary: "Use this to interrogate contacts to aid your investigation.",
    		callback: this.questionScreens.bind(this)});}
    
    }
    
    
    this.questionScreens = function()
    {
    	if(system.ID == 23) // Maenes
    			{	if(missionVariables.IR_status == "IR_IBANEZ_4")
    				{this._runScreen({title: "QuiCo Pharmaceuticals", background: "IR_quico_logo.png", messageKey: "IR_MAENES_intro", choicesKey: "IR_questions"}, this.choiceEvaluation);
    				missionVariables.IR_offer = "IR_MAENES_QUESTIONS"}
    			}
    			
    	if(system.ID == 171) // Yokohama
    		
    			{	if(missionVariables.IR_status == "IR_IBANEZ_4")
    				{this._runScreen({title: "Yokohama Exports", background: "IR_yk_logo.png", messageKey: "IR_YOKOHAMA_intro", choicesKey: "IR_questions"}, this.choiceEvaluation);
    				missionVariables.IR_offer = "IR_YOKOHAMA_QUESTIONS"}
    			}
    
    	if(system.ID == 232)  //Janes
    
    			{	if(missionVariables.IR_status == "IR_IBANEZ_4")
    				{this._runScreen({title: "Janes's Shipyard Intelligence", background: "IR_janes_logo.png", messageKey: "IR_JANES_intro", choicesKey: "IR_questions"}, this.choiceEvaluation);
    				missionVariables.IR_offer = "IR_JANES_QUESTIONS"}		
    			}
    
    	if(system.ID == 240) // Pirate Cove
    		
    			{	if(missionVariables.IR_status == "IR_IBANEZ_4")
    				{	if(!missionVariables.IR_alsto)
    					{this._runScreen({title: " ", messageKey: "IR_PIRATE_intro", choicesKey: "IR_questions"}, this.choiceEvaluation);
    					missionVariables.IR_offer = "IR_PIRATE_QUESTIONS"
    					missionVariables.IR_alsto = "MET"}
    					else
    					{this._runScreen({title: " ", messageKey: "IR_PIRATE_intro_alt", choicesKey: "IR_questions"}, this.choiceEvaluation);
    					missionVariables.IR_offer = "IR_PIRATE_QUESTIONS"}
    				}
    			}
    
    	if(system.ID == 119) // PleasureWorld
    		
    			{	if(missionVariables.IR_status == "IR_IBANEZ_4")
    				{this._runScreen({title: "PleasureWorld", background: "IR_pw_logo.png", messageKey: "IR_PW_intro", choicesKey: "IR_questions"}, this.choiceEvaluation);
    				missionVariables.IR_offer = "IR_PW_QUESTIONS"}
    			}
    
    	if(system.ID == 180) // NWE
    		
    			{	if(missionVariables.IR_status == "IR_IBANEZ_4")
    				{this._runScreen({title: "Naval Weapons Establishment", background: "IR_NWE_logo.png", messageKey: "IR_NWE_intro", choicesKey: "IR_questions"}, this.choiceEvaluation);
    				missionVariables.IR_offer = "IR_NWE_QUESTIONS"}
    			}
    
    	if(system.ID == 219) // GSE
    		
    			{	if(missionVariables.IR_status == "IR_IBANEZ_4")
    				{this._runScreen({title: "Galactic Stock Exchange", background: "IR_GSE_logo.png", messageKey: "IR_GSE_intro", choicesKey: "IR_questions"}, this.choiceEvaluation);
    				missionVariables.IR_offer = "IR_GSE_QUESTIONS"}
    			}
    
    	if(system.ID == 31) // KORSHKOV
    		
    			{	if(missionVariables.IR_status == "IR_IBANEZ_4")
    				{this._runScreen({title: "OKB Korshkov", background: "IR_korshlogo.png", messageKey: "IR_KORSHKOV_intro", choicesKey: "IR_questions"}, this.choiceEvaluation);
    				missionVariables.IR_offer = "IR_KORSHKOV_QUESTIONS"}
    			}
    }
    	
    this.showIRlog = function()
    {   
    
    //need to do length - 2 to get the number of the latest array element, as first element is actually [0] and the last element is a blank 
    	this.IRlogArray = missionVariables.IR_screen_log.split(",")
    	this.IRlocationArray = missionVariables.IR_screen_location.split(",")
    	this.IRlogArrayTotal = this.IRlogArray.length - 1
    	this.logCounter = this.IRlogArray.length - 1
    	
    	mission.runScreen({title: "Location: "+this.IRlocationArray[this.logCounter-1] + "                         Entry "+this.logCounter+" of "+this.IRlogArrayTotal, messageKey: this.IRlogArray[this.logCounter-1], choicesKey: "IR_log_choices"}, this.logChoices);
    }
    
    
    this.logChoices = function(choice)
    {
    	
    	if(choice == 1)
    	{
    		
    		if(this.logCounter != 1)
    		{--this.logCounter}
    	
    	mission.runScreen({title: "Location: "+this.IRlocationArray[this.logCounter-1] + "                         Entry "+this.logCounter+" of "+this.IRlogArrayTotal, messageKey: this.IRlogArray[this.logCounter-1], choicesKey: "IR_log_choices"}, this.logChoices);
    		
    	}
    	
    	if(choice == 2)
    	{
    		
    		if(this.logCounter != this.IRlogArray.length - 1)
    		{++this.logCounter}
    		mission.runScreen({title: "Location: "+this.IRlocationArray[this.logCounter-1] + "                         Entry "+this.logCounter+" of "+this.IRlogArrayTotal, messageKey: this.IRlogArray[this.logCounter-1], choicesKey: "IR_log_choices"}, this.logChoices);
    		
    	}
    	
    	if(choice == 3)
    	{return;}
    }
    
    this._runScreen = function(params, callback)
    {
    	
    	if(callback)
    	mission.runScreen(params, callback);
    		
    	else
    	mission.runScreen(params);
    	
    	if(params.messageKey == "IR_negative_answer" || params.messageKey == "IR_no_more_answer")
    	return;
    	
    	if(params.messageKey.indexOf("intro") != -1)
    	return;
    	
    	
    	//log(params.messageKey)
    	missionVariables.IR_screen_log = missionVariables.IR_screen_log + params.messageKey + ","
    	missionVariables.IR_screen_location = missionVariables.IR_screen_location + system.name +","}
    	
    
    this.shipWillDockWithStation = function(station)
    {
        if(missionVariables.offering) missionVariables.offering = null;
    }
    
    this.shipDockedWithStation = function(station)
    
    {	this.addIRinterface()
    	
    	
    	if(missionVariables.IR_status == "IR_epilogue" && clock.days > missionVariables.IR_epilogue_deadline)
    			{this._runScreen({messageKey: "IR_final", choicesKey: "IR_continue"}, function(choice)
    			{if(choice == 1)
    						{this._runScreen({background: "IR_title.png", messageKey: "IR_theend"});
    						missionVariables.IR_status = "IR_completed"
    						mission.setInstructionsKey(null)
                           	missionVariables.IR_epilogue_deadline = null
                            missionVariables.IR_shipment_quest = null
                            missionVariables.IR_SDF_quest = null
    						missionVariables.IR_SDF_question_no = null
    						missionVariables.IR_SDF_question_key = null
    						missionVariables.IR_SDF_question_string = null
                           	missionVariables.IR_defences_quest = null
                            missionVariables.IR_defences_question_no = null
    						missionVariables.IR_defences_question_key = null
    						missionVariables.IR_defences_question_string = null
    						missionVariables.IR_finance_quest = null
    						missionVariables.IR_finance_question_no = null
    						missionVariables.IR_finance_question_key = null
    						missionVariables.IR_finance_question_string = null
    						missionVariables.IR_shipment_quest_method = null
    						missionVariables.IR_shipment_question_no = null
    						missionVariables.IR_shipment_question_key = null
    						missionVariables.IR_shipment_question_string = null
    						missionVariables.IR_GSE_loan = null
    						missionVariables.IR_wife_status = null
    						missionVariables.IR_alsto = null
    						missionVariables.IR_count = null
    						missionVariables.IR_defences_kill_count = null
    						missionVariables.IR_SDF_quest_location = null
    						missionVariables.IR_SDF_quest_location_name = null
    						missionVariables.IR_KORSHKOV_deadline = null
    						missionVariables.IR_asked_question = null
    						missionVariables.IR_question_settings = null
    						missionVariables.IR_screen_log = null
    						missionVariables.IR_screen_location = null}
    						});
            }
    	
    	
    	
    	if(player.ship.docked && galaxyNumber == 7) 
    	this.missionScreens();
    }
    
    this.missionScreens = function()
    
    {	
    	if(guiScreen == "GUI_SCREEN_MISSION" || !player.ship.docked)
    	return;
    
    	if(player.ship.dockedStation.hasRole("IR-luft-core"))
    	
    	{
    		if(missionVariables.IR_SDF_quest == "JACOB" || missionVariables.IR_SDF_quest == "LUFTSLOTTE")
    		
    		{this._runScreen({title: "Luftslotte 6", messageKey: "IR_SDF_quest_4"})
    		missionVariables.IR_SDF_quest = "KRAIT"}
    			
    	}
    	
    	if(player.ship.dockedStation.isMainStation && missionVariables.IR_offer == null)
    	
    	{
    		
    		if(missionVariables.IR_status == null)
    				{this._runScreen({background: "IR_title.png", choicesKey: "IR_continue"}, function(choice)
    					{if(choice == 1)
    						{this._runScreen({messageKey: "IR_IBANEZ_1"});
    						mission.setInstructionsKey("IR_IBANEZ_INFO")
    						missionVariables.IR_status = "IR_IBANEZ_1"}});
                            }
    						
    		if(missionVariables.IR_finance_quest == "REPROCESSED" && clock.days >= missionVariables.IR_KORSHKOV_deadline) //this is 20 days
    		   
    			{this._runScreen({title: "Jane's Shipyard Intelligence", messageKey: "IR_finance_quest_4"});
    			missionVariables.IR_finance_quest = "JANES_NEWS"
    			missionVariables.IR_KORSHKOV_deadline = null
    			player.incrementFinanceStatus()}
    			
    		if(missionVariables.IR_SDF_quest == "ADDRESS" && clock.days >= missionVariables.IR_SDF_deadline)
    		
    			{this._runScreen({messageKey: "IR_SDF_quest_2"});
    			missionVariables.IR_SDF_quest = "JACOB"
    			player.incrementSDFStatus()}
    		
    		if(missionVariables.IR_SDF_quest == "POD_SCOOPED")
    		
    			{this._runScreen({messageKey: "IR_SDF_quest_5"});
    			player.ship.useSpecialCargo("WARNING: Radiation detected in cargo hold")
    			missionVariables.IR_SDF_quest = "KORSHKOV"
    			player.incrementSDFStatus()}
    			
    		if(missionVariables.IR_SDF_quest == "PHOTO" && clock.days >= missionVariables.IR_SDF_deadline)
    
    			{this._runScreen({messageKey: "IR_SDF_quest_8a", background: "IR_kinnaird.png", choicesKey: "IR_continue"}, function(choice)
    					{if(choice == 1)
    					this._runScreen({messageKey: "IR_SDF_quest_8b", background: "IR_match.png", choicesKey: "IR_continue"}, function(choice)
    						{if(choice == 1)
    						{this._runScreen({messageKey: "IR_SDF_quest_8c"});
    						missionVariables.IR_SDF_quest = "COMPLETED"
    						player.clearSDFStatus()
    						missionVariables.IR_SDF_status_no = null
    						missionVariables.IR_SDF_deadline = null
    						++missionVariables.IR_quest_count}
    						});
    					});
    				}	
    			
    		if(missionVariables.IR_finance_quest == "WAIT3" && clock.days >= missionVariables.IR_KORSHKOV_deadline)
    				{this._runScreen({title: " ", background: "IR_bloomberg.png", messageKey: "IR_finance_quest_10"});
    				missionVariables.IR_KORSHKOV_deadline = null
    				player.clearFinanceStatus()
    				missionVariables.IR_finance_status_no = null
    				missionVariables.IR_finance_quest = "COMPLETED"
    				++missionVariables.IR_quest_count
    				}
    		
    		if(missionVariables.IR_shipment_quest == "SUCCESS")
    				{this._runScreen({messageKey: "IR_shipment_success"});	
    				player.clearShipmentStatus()
    				missionVariables.IR_shipment_status_no = null
    				missionVariables.IR_shipment_quest = "COMPLETED"
    				missionVariables.IR_YOKOHAMA_deadline = null
    				++missionVariables.IR_quest_count
    				missionVariables.IR_tipoff_deadline = clock.days + 10
    				}
    				
    		if(missionVariables.IR_shipment_quest == "DISPATCHED")
    				{this._runScreen({messageKey: "IR_shipment_failure"});	
    				player.clearShipmentStatus()
    				missionVariables.IR_shipment_status_no = null
    				missionVariables.IR_shipment_quest = "FAILED"
    				++missionVariables.IR_quest_count
    				missionVariables.IR_YOKOHAMA_deadline = null}
    				
    		if(missionVariables.IR_shipment_quest == "COMPLETED")
    			{if(clock.days >= missionVariables.IR_tipoff_deadline)
    				{this._runScreen({messageKey: "IR_tipoff"});
    				missionVariables.IR_tipoff_deadline = null
    				missionVariables.IR_shipment_quest = "TIPPEDOFF"
    				}
    			}
    		
    		if(missionVariables.IR_loan_deadline)
    			{if(clock.days >= missionVariables.IR_loan_deadline)
    				{this._runScreen({title: "First Galactic Bank", messageKey: "IR_GSE_loan_warning"});	
    				mission.setInstructionsKey(null)
    				missionVariables.IR_loan_deadline = null
    				missionVariables.IR_load_remaining = null
    				player.credits -= 550000
    				missionVariables.IR_GSE_loan = "DEFAULTED"
    				}
    		}
    		
    		if(missionVariables.IR_defences_quest == "DEMO_6" && clock.days > missionVariables.IR_defences_quest_deadline)
    		{this._runScreen({messageKey: "IR_defences_quest_6"});
    		++missionVariables.IR_quest_count
    		missionVariables.IR_defences_quest = "COMPLETED"
    		missionVariables.IR_defences_quest_deadline = null
    		missionVariables.IR_defences_status_no = null
    		player.clearDefencesStatus()}
    		
    		if(missionVariables.IR_status == "IR_KINNAIRD_2")
    		{this._runScreen({messageKey: "IR_kinnaird_3alt"});}
    		
    		
    		if(missionVariables.IR_status == "IR_LEXICON_1" && clock.days > missionVariables.IR_LEXICON_deadline)
    		{this._runScreen({messageKey: "IR_LEXICON_2"});
    		missionVariables.IR_status = "IR_LEXICON_2"
    		mission.setInstructionsKey("IR_LEXICON_brief_2")
    		missionVariables.IR_LEXICON_deadline = null}
    		
    		
    		if(missionVariables.IR_status == "IR_CHERKASOVA_1")  // briefing with Cherkasova
    				{	this._runScreen({messageKey: "IR_CHERKASOVA_1a", background: "IR_KSR_logo.png", choicesKey: "IR_continue"}, function(choice)
    					{if(choice == 1)
    					this._runScreen({messageKey: "IR_CHERKASOVA_1b", background: "IR_KSR_logo.png", choicesKey: "IR_continue"}, function(choice)
    						{if(choice == 1)
    						this._runScreen({messageKey: "IR_CHERKASOVA_1c", background: "IR_KSR_logo.png", choicesKey: "IR_continue"}, function(choice)
    								{if(choice == 1)
    										this._runScreen({messageKey: "IR_CHERKASOVA_1d", background: "IR_KSR_logo.png", choicesKey: "IR_cherkasova_choices"}, function(choice)
    											{if(choice == 1)
    												{this._runScreen({messageKey: "IR_LOA_1", background: "IR_KSR_logo.png"})
    												mission.setInstructionsKey("IR_LOA_brief_1")
    												missionVariables.IR_status = "IR_LOA_1"
    												mission.setInstructionsKey("IR_LOA_brief_1")
    												missionVariables.IR_cherkasova_deadline = null
    												}
    											if(choice == 2)
    												{this._runScreen({messageKey: "IR_sources_1", background: "IR_KSR_logo.png"}) //screen fails to run
    												mission.setInstructionsKey("IR_LEXICON_brief_1")
    												missionVariables.IR_status = "IR_sources_1"
    												missionVariables.IR_cherkasova_deadline = null
    												mission.setInstructionsKey("IR_LEXICON_brief_1")
    												missionVariables.IR_sources_deadline = clock.days + 15}
    									});	
    							});
    						});
    					});
    				}
    		
    		if(missionVariables.IR_status == "IR_sources_1" && clock.days > missionVariables.IR_sources_deadline)
    			{this._runScreen({messageKey: "IR_sources_2"});
    			missionVariables.IR_status = "IR_sources_2"
    			mission.setInstructionsKey("IR_waitforinfo_brief")
    			missionVariables.IR_sources_deadline = clock.days + 7}
    		
    		if(missionVariables.IR_status == "IR_sources_2" && clock.days > missionVariables.IR_sources_deadline)
    			{this._runScreen({messageKey: "IR_sources_3"});
    			missionVariables.IR_status = "IR_sources_3"
    			missionVariables.IR_sources_deadline = null
    			mission.setInstructionsKey("IR_sources_brief_1")}
    			
    		if(missionVariables.IR_status == "IR_LOA_4" && clock.days > missionVariables.IR_attack_deadline)
    			{this._runScreen({messageKey: "IR_LOA_5"});
    			missionVariables.IR_status = "IR_LOA_5"
    			missionVariables.IR_attack_deadline = null
    			mission.setInstructionsKey("IR_LOA_brief_4")}
                            
                            
    		if(missionVariables.IR_status == "IR_LOA_7" && clock.days > missionVariables.IR_epilogue_deadline)
    			{this._runScreen({messageKey: "IR_LOA_7"});
    			missionVariables.IR_status = "IR_LOA_8"
    			missionVariables.IR_epilogue_deadline = clock.days + 10}
                            
                            
            if(missionVariables.IR_status == "IR_LOA_8" && clock.days > missionVariables.IR_epilogue_deadline)
    			{this._runScreen({messageKey: "IR_LOA_8"});
    			missionVariables.IR_status = "IR_LOA_9"
                missionVariables.IR_epilogue_deadline = clock.days + 7}
                            
            if(missionVariables.IR_status == "IR_LOA_9" && clock.days > missionVariables.IR_epilogue_deadline)
    			{this._runScreen({messageKey: "IR_invite"});
    			missionVariables.IR_status = "IR_invite"
                            mission.setInstructionsKey("IR_invite_brief")
                            missionVariables.IR_epilogue_deadline = null} 
                            
    		
            if(missionVariables.IR_status == "IR_sources_6" && clock.days > missionVariables.IR_epilogue_deadline)
    			{this._runScreen({messageKey: "IR_sources_6"});
    			missionVariables.IR_status = "IR_sources_7"
    			missionVariables.IR_epilogue_deadline = clock.days + 15}
                            
            if(missionVariables.IR_status == "IR_sources_7" && clock.days > missionVariables.IR_epilogue_deadline)
    			{this._runScreen({messageKey: "IR_invite"});
    			missionVariables.IR_status = "IR_invite"
    			mission.setInstructionsKey("IR_invite_brief")
                missionVariables.IR_epilogue_deadline = null}
    		
            
    		
    		//Location Specific
    		
    		
    		if(system.ID == 7) //Vegedius
    	
    		{	if(missionVariables.IR_status == "IR_IBANEZ_1")
    				{this._runScreen({title: "GalCop High Command", messageKey: "IR_IBANEZ_2a", choicesKey: "IR_continue"}, function(choice)
    					{if(choice == 1)
    					this._runScreen({title: "GalCop High Command", messageKey: "IR_IBANEZ_2b", choicesKey: "IR_continue"}, function(choice)
    						{if(choice == 1)
    						{this._runScreen({title: "GalCop High Command", messageKey: "IR_IBANEZ_2c"});
    						missionVariables.IR_status = "IR_IBANEZ_2"
    						mission.setInstructionsKey("IR_RAAED_INFO")}
    						});
    					});
    				}
    				
    			if(missionVariables.IR_status == "IR_RAAED_1") //return to Ibanez
    				{this._runScreen({title: "Galcop High Command", messageKey: "IR_IBANEZ_3"}) 
    				missionVariables.IR_status = "IR_IBANEZ_3"
    				mission.setInstructionsKey("IR_JANES_INFO")}
                                    	
    			
    			if(missionVariables.IR_status == "IR_JANES_1")  // return to Ibanez for big briefing
    				{this._runScreen({title: "GalCop High Command", messageKey: "IR_IBANEZ_4a", choicesKey: "IR_continue"}, function(choice)
    					{if(choice == 1)
    					this._runScreen({title: "GalCop High Command", messageKey: "IR_IBANEZ_4b", choicesKey: "IR_continue"}, function(choice)
    						{if(choice == 1)
    						this._runScreen({title: "GalCop High Command", messageKey: "IR_IBANEZ_4c", choicesKey: "IR_continue"}, function(choice)
    								{if(choice == 1)
    										{this._runScreen({title: "GalCop High Command", messageKey: "IR_IBANEZ_4d"});
    										missionVariables.IR_status = "IR_IBANEZ_4"
    										mission.setInstructionsKey(null)
    										this.setupQuestions()
    										this.setupStatus()
    										missionVariables.IR_quest_count = 0
    										this.addIRinterface();}
    										});
    						});
    					});
    				}
    				
    			if(missionVariables.IR_status == "IR_IBANEZ_4" && missionVariables.IR_quest_count == 4)
    			
    				{	missionVariables.IR_quest_count = null
    				
    				
    				if(missionVariables.IR_shipment_quest_method == "YOKOHAMA_AMBUSH")
    				{this._runScreen({messageKey: "IR_IBANEZ_5a", choicesKey: "IR_continue"}, function(choice)
    					{if(choice == 1)
    						{this._runScreen({background: "IR_title.png", messageKey: "IR_theend"});
    						missionVariables.IR_status = "IR_completed"
    						mission.setInstructionsKey(null)
                            missionVariables.IR_epilogue_deadline = null
                            missionVariables.IR_shipment_quest = null
                            missionVariables.IR_SDF_quest = null
                            missionVariables.IR_defences_quest = null
                            missionVariables.IR_finance_quest = null
    						missionVariables.IR_shipment_quest_method = null}
    						});
                            }
    						
    				if(missionVariables.IR_shipment_quest == "FAILED")
    				{this._runScreen({messageKey: "IR_IBANEZ_5b", choicesKey: "IR_continue"}, function(choice)
    					{if(choice == 1)
    						{this._runScreen({background: "IR_title.png", messageKey: "IR_theend"});
    						missionVariables.IR_status = "IR_completed"
    						mission.setInstructionsKey(null)
                            missionVariables.IR_epilogue_deadline = null
                            missionVariables.IR_shipment_quest = null
                            missionVariables.IR_SDF_quest = null
                            missionVariables.IR_defences_quest = null
                            missionVariables.IR_finance_quest = null
    						missionVariables.IR_shipment_quest_method = null}
    						});
                            }
    					
    					else
    						
    					
    					this._runScreen({title: "GalCop High Command", messageKey: "IR_IBANEZ_5", choicesKey: "IR_IBANEZ_choices"}, function(choice)
    					{if(choice == "IR_IBANEZ_A_weiss")
    						{this._runScreen({title: "GalCop High Command", messageKey: "IR_weiss_1"});
    						missionVariables.IR_status = "IR_WEISS_1"
    						mission.setInstructionsKey("IR_weiss_brief_1")}
    					if(choice == "IR_IBANEZ_B_kinnaird")
    						{this._runScreen({title: "GalCop High Command", messageKey: "IR_kinnaird_1"});
    						missionVariables.IR_status = "IR_KINNAIRD_1"
    						mission.setInstructionsKey("IR_kinnaird_brief_1")}
    					if(choice == "IR_IBANEZ_C_moreinfo")
    						{this._runScreen({title: "GalCop High Command", messageKey: "IR_LEXICON_1"});
    						missionVariables.IR_status = "IR_LEXICON_1"
    						mission.setInstructionsKey("IR_LEXICON_1")
    						missionVariables.IR_LEXICON_deadline = clock.days + 15}
    					});
    				}
    					
                    if(missionVariables.IR_status == "IR_WEISS_4" || missionVariables.IR_status == "IR_KINNAIRD_4" )
    				{this._runScreen({title: "Galcop High Command", messageKey: "IR_IBANEZ_5_debrief"}) 
    				missionVariables.IR_status = "IR_IBANEZ_5"
    				mission.setInstructionsKey("IR_waitforinfo_brief")
    				missionVariables.IR_cherkasova_deadline = clock.days + 20}
                                    
                            if(missionVariables.IR_status == "IR_invite" && clock.days > missionVariables.IR_epilogue_deadline)
    				{this._runScreen({messageKey: "IR_reward_a", choicesKey: "IR_continue"}, function(choice)     
                                    {if(choice == 1)
                                    this._runScreen({messageKey: "IR_reward_b", choicesKey: "IR_continue"}, function(choice)			
    							{if(choice == 1)
    								this._runScreen({messageKey: "IR_reward_c", choicesKey: "IR_continue", background: "IR_maenesmedal.png"}, function(choice)
    									{if(choice == 1)
    										this._runScreen({messageKey: "IR_reward_d", choicesKey: "IR_continue"}, function(choice)
    											{if(choice == 1)
    												{this._runScreen({messageKey: "IR_reward_e"});
    												missionVariables.IR_status = "IR_epilogue"
    												missionVariables.IR_epilogue_deadline = clock.days + 5
                                                    player.credits += 50000
    												mission.setInstructionsKey(null)}
    											});
    									});
    							});
                            });
    			}        
                                    
                                    
                           
    		}
    		
    		if(system.ID == 230) // RAAED
    		
    		{	if(missionVariables.IR_status == "IR_IBANEZ_2")
    				{this._runScreen({messageKey: "IR_RAAED_1a", background: "IR_forest.png", choicesKey: "IR_continue"}, function(choice)     
                            {if(choice == 1)
                            this._runScreen({background: "IR_invoice.png", choicesKey: "IR_continue"}, function(choice)			
    							{if(choice == 1)
    								this._runScreen({messageKey: "IR_RAAED_1c", background: "IR_forest.png", choicesKey: "IR_continue"}, function(choice)
    									{if(choice == 1)
    										this._runScreen({messageKey: "IR_RAAED_1d", choicesKey: "IR_continue", background: "IR_forest.png"}, function(choice)
    											{if(choice == 1)
    												{this._runScreen({messageKey: "IR_RAAED_1e", background: "IR_forest.png"});
    												missionVariables.IR_status = "IR_RAAED_1"
    												mission.setInstructionsKey("IR_IBANEZ_INFO")}
    											});
    									});
    							});
                            });
    			}
    		}		
    				
    		if(system.ID == 232)  // Janes
    		
    		{	if(missionVariables.IR_status == "IR_IBANEZ_3")  // quick visit to Janes
    				{this._runScreen({messageKey: "IR_JANES_1a", choicesKey: "IR_continue"}, function(choice)
    						{if(choice == 1)
    							this._runScreen({messageKey: "IR_JANES_1b", choicesKey: "IR_continue"}, function(choice)
    								{if(choice == 1)
    										{this._runScreen({messageKey: "IR_JANES_1c"});
    										missionVariables.IR_status = "IR_JANES_1"
    										mission.setInstructionsKey("IR_IBANEZ_INFO")}
    								});
    						});
    				}
    				
    		if(missionVariables.IR_status == "IR_IBANEZ_4")
    				{this._runScreen({title: "Janes's Shipyard Intelligence", background: "IR_janes_logo.png", messageKey: "IR_JANES_intro", choicesKey: "IR_questions"}, this.choiceEvaluation);
    				missionVariables.IR_offer = "IR_JANES_QUESTIONS"}		
    		}
    		
    		if(system.ID == 171) // Yokohama
    		
    			{if(missionVariables.IR_status == "IR_IBANEZ_4")
    				{this._runScreen({title: "Yokohama Exports", background: "IR_yk_logo.png", messageKey: "IR_YOKOHAMA_intro", choicesKey: "IR_questions"}, this.choiceEvaluation);
    				missionVariables.IR_offer = "IR_YOKOHAMA_QUESTIONS"}
    			}
    			
    			if(missionVariables.IR_convoy_exited == "TRUE" && missionVariables.IR_alsto == "HELP_ACCEPTED")
    			{this._runScreen({messageKey: "IR_shipment_contact_report"});
    			player.incrementShipmentStatus()
    			missionVariables.IR_alsto = "INFORMED"
    			missionVariables.IR_convoy_exited = null}
    			
    		if(system.ID == 240) // Pirate Cove
    		
    			{	if(missionVariables.IR_status == "IR_IBANEZ_4")
    				
    				{	if(!missionVariables.IR_alsto)
    					{this._runScreen({title: " ", messageKey: "IR_PIRATE_intro", choicesKey: "IR_questions"}, this.choiceEvaluation);
    					missionVariables.IR_offer = "IR_PIRATE_QUESTIONS"
    					missionVariables.IR_alsto = "MET"}
    					else
    					{this._runScreen({title: " ", messageKey: "IR_PIRATE_intro_alt", choicesKey: "IR_questions"}, this.choiceEvaluation);
    					missionVariables.IR_offer = "IR_PIRATE_QUESTIONS"}
    				}
    			
    			
    			if(missionVariables.IR_status == "IR_LOA_1")
    				{
    					if(missionVariables.IR_alsto)
    					missionVariables.IR_LOA_text = "known"
    					if(missionVariables.IR_alsto == "INFORMED")
    					missionVariables.IR_LOA_text = "helped"
    					if(!missionVariables.IR_alsto)
    					missionVariables.IR_LOA_text = "unknown"
    					
    					
    					this._runScreen({messageKey: "IR_LOA_"+[missionVariables.IR_LOA_text]+"_2a", choicesKey: "IR_continue"}, function(choice)     
                            {if(choice == 1)
                            this._runScreen({messageKey: "IR_LOA_"+[missionVariables.IR_LOA_text]+"_2b", choicesKey: "IR_continue", choicesKey: "IR_continue"}, function(choice)			
    							{if(choice == 1)
    								this._runScreen({messageKey: "IR_LOA_2c", choicesKey: "IR_continue"}, function(choice)
    									{if(choice == 1)
    										{this._runScreen({messageKey: "IR_LOA_2d"})
    										missionVariables.IR_status = "IR_LOA_2"
    										mission.setInstructionsKey("IR_LOA_brief_2")
    										missionVariables.IR_alsto = null
    										missionVariables.IR_LOA_text = null
    										}								
    									});
    							});
                            });
    			}	}
    			
    		if(system.ID == 119) // PleasureWorld
    		
    			{if(missionVariables.IR_status == "IR_IBANEZ_4")
    				{this._runScreen({title: "PleasureWorld", background: "IR_pw_logo.png", messageKey: "IR_PW_intro", choicesKey: "IR_questions"}, this.choiceEvaluation);
    				missionVariables.IR_offer = "IR_PW_QUESTIONS"}
    				
    			if(missionVariables.IR_status == "IR_WEISS_3")
    				{this._runScreen({title: "PleasureWord", background: "IR_pw_logo.png", messageKey: "IR_weiss_3a", choicesKey: "IR_continue"}, function(choice)
    						{if(choice == 1)
    							this._runScreen({background: "IR_pw_logo.png", messageKey: "IR_weiss_3b"})
    							missionVariables.IR_status = "IR_WEISS_4"
    							mission.setInstructionsKey("IR_weiss_brief_3")
    								});	
    				}
    				
    			if(missionVariables.IR_status == "IR_KINNAIRD_3") 
    				{this._runScreen({title: "PleasureWord", background: "IR_pw_logo.png", messageKey: "IR_kinnaird_4a", choicesKey: "IR_continue"}, function(choice)
    						{if(choice == 1)
    							this._runScreen({messageKey: "IR_kinnaird_4b"})
    							missionVariables.IR_status = "IR_KINNAIRD_4"
    							mission.setInstructionsKey("IR_kinnaird_brief_4")
    								});
    				}
    			
    			if(missionVariables.IR_status == "IR_LEXICON_2")
    				{this._runScreen({messageKey: "IR_LEXICON_3a", background: "IR_nightclub.png", choicesKey: "IR_continue"}, function(choice)
    						{if(choice == 1)
    							this._runScreen({messageKey: "IR_LEXICON_3b", background: "IR_nightclub.png", choicesKey: "IR_launch_choice"}, function(choice)
    								{if(choice == 1)
    									{missionVariables.IR_status = "IR_LEXICON_4"
    									player.ship.launch()}
    								});
    						});
    				}
    			
    			
    			if(missionVariables.IR_status == "IR_weiss_scooped") 
    				{this._runScreen({messageKey: "IR_LEXICON_4a", choicesKey: "IR_continue"}, function(choice)
    						{if(choice == 1)
    							this._runScreen({messageKey: "IR_LEXICON_4b"})
    							missionVariables.IR_status = "IR_IBANEZ_5"
    							mission.setInstructionsKey("IR_waitforinfo_brief")
    							missionVariables.IR_cherkasova_deadline = clock.days + 20
    						});
    				}
    				
    			}			
    			
    			
    		if(system.ID == 180) // NWE
    		
    			{if(missionVariables.IR_status == "IR_IBANEZ_4")
    				{this._runScreen({title: "Naval Weapons Establishment", background: "IR_NWE_logo.png", messageKey: "IR_NWE_intro", choicesKey: "IR_questions"}, this.choiceEvaluation);
    				missionVariables.IR_offer = "IR_NWE_QUESTIONS"}
    			
    			
    			if(missionVariables.IR_defences_quest == "DEMO_2")
    			{this._runScreen({title: "Naval Weapons Establishment", background: "IR_NWE_logo.png", messageKey: "IR_defences_quest_2a", choicesKey: "IR_continue"}, function(choice)
    				{if(choice == 1)
    						{this._runScreen({title: "Naval Weapons Establishment", background: "IR_NWE_logo.png", messageKey: "IR_defences_quest_2b"});
    						missionVariables.IR_defences_quest_deadline = clock.days + 7
    						missionVariables.IR_defences_quest = "DEMO_3"
    						player.incrementDefencesStatus()}
    					});}
    			
    			if(missionVariables.IR_defences_quest == "DEMO_3" && clock.days > missionVariables.IR_defences_quest_deadline)
    				{this._runScreen({title: "Naval Weapons Establishment", background: "IR_NWE_logo.png", messageKey: "IR_defences_quest_3"});
    				missionVariables.IR_defences_quest_deadline = null
    				missionVariables.IR_defences_quest = "DEMO_4"
    				player.incrementDefencesStatus()
    				}
    			
    				
    			}	
    			
    		if(system.ID == 82) // Inorle
    		
    			{if(missionVariables.IR_SDF_quest == "JACOB")
    				{this._runScreen({messageKey: "IR_SDF_quest_3"})
    				missionVariables.IR_SDF_quest = "LUFTSLOTTE"}
    			}	
    					
    		if(system.ID == 219) // GSE
    		
    		{	if(missionVariables.IR_status == "IR_IBANEZ_4")
    				{this._runScreen({title: "Galactic Stock Exchange", background: "IR_GSE_logo.png", messageKey: "IR_GSE_intro", choicesKey: "IR_questions"}, this.choiceEvaluation);
    				missionVariables.IR_offer = "IR_GSE_QUESTIONS"}
    				
    					
    			if(missionVariables.IR_finance_quest == "JANES_NEWS")
    			
    				{this._runScreen({title: "Galactic Stock Exchange", background: "IR_GSE_logo.png", messageKey: "IR_finance_quest_6a", choicesKey: "IR_continue"}, function(choice)	
    					{if(choice == 1)
    						{this._runScreen({title: "Galactic Stock Exchange", background: "IR_GSE_logo.png", messageKey: "IR_finance_quest_6b"});
    						player.incrementFinanceStatus()
    						missionVariables.IR_offer = null
    						missionVariables.IR_finance_quest = "WIFE"}
    					});
    				}
    			
    			if(missionVariables.IR_finance_quest == "WIFE_MET")
    			
    				{this._runScreen({title: "Galactic Stock Exchange", background: "IR_GSE_logo.png", messageKey: "IR_finance_quest_8", choicesKey: "IR_wife_choices"}, function(choice)
    					{if(choice == "IR_wife_yes")
    						{this._runScreen({title: "Galactic Stock Exchange", background: "IR_GSE_logo.png", messageKey: "IR_finance_quest_9_confirm"});
    						missionVariables.IR_wife_status = "AFFAIR_CONFIRMED"}
    						
    					if(choice == "IR_wife_no")
    						{this._runScreen({title: "Galactic Stock Exchange", background: "IR_GSE_logo.png", messageKey: "IR_finance_quest_9_deny"});
    						missionVariables.IR_wife_status = "AFFAIR_DENIED"}
    				
    				
    				player.incrementFinanceStatus()
    				missionVariables.IR_finance_quest = "WAIT3"
    				missionVariables.IR_KORSHKOV_deadline = clock.days + 10
    				missionVariables.IR_offer = null		
    				});
    				}		
    		}
    				
    		if(system.ID == 31) // KORSHKOV
    		
    		{   if(missionVariables.IR_finance_quest == "WAIT" && clock.days >= missionVariables.IR_KORSHKOV_deadline)
    			
    				{this._runScreen({title: "OKB Korshkov", background: "IR_korshlogo.png", messageKey: "IR_finance_quest_1"});
    				player.incrementFinanceStatus()
    				missionVariables.IR_finance_quest = "COLLECTION"
    				missionVariables.IR_KORSHKOV_deadline = null
    				return;}
    			
    				
    			if(missionVariables.IR_finance_quest == "COLLECTION")
    			
    				{
    					this.checkManifest()
    				
    					if(missionVariables.IR_manifestOK == "TRUE")
    				
    					{this._runScreen({title: "OKB Korshkov", background: "IR_korshlogo.png", messageKey: "IR_finance_quest_2"});
    					player.incrementFinanceStatus()
    					missionVariables.IR_KORSHKOV_deadline = clock.days + 10
    					missionVariables.IR_finance_quest = "WAIT2"
    					player.ship.manifest.radioactives -= 10
    					player.ship.manifest.alloys =-5
    					player.ship.manifest.minerals -=2
    					player.ship.manifest.alienItems -=2
    					player.ship.manifest.platinum -=1
    					missionVariables.IR_manifestOK = null
    					return;}
    				
    					if(missionVariables.IR_manifestOK != "TRUE")
    					this._runScreen({title: "OKB Korshkov", background: "IR_korshlogo.png", messageKey: "IR_finance_quest_3alt"});
    					
    					else return;
    					
    				}
    				
    			if(missionVariables.IR_finance_quest == "WAIT2" && clock.days >= missionVariables.IR_KORSHKOV_deadline)
    				
    			{	
    				this._runScreen({title: "OKB Korshkov", background: "IR_korshlogo.png", messageKey: "IR_finance_quest_3"});
    				player.incrementFinanceStatus()
    				missionVariables.IR_KORSHKOV_deadline = null
    				missionVariables.IR_finance_quest = "IRRADIATE"
    				return;
    			}
    			
    			if(missionVariables.IR_SDF_quest == "KORSHKOV")
    			
    				{this._runScreen({title: "OKB Korshkov", background: "IR_korshlogo.png", messageKey: "IR_SDF_quest_6"});
    				player.incrementSDFStatus()
    				missionVariables.IR_SDF_deadline = clock.days + 10
    				missionVariables.IR_SDF_quest = "ANALYSIS"
    				player.ship.removeAllCargo()
    				missionVariables.IR_cargoCount = null
    				return;}
    			   
    			if(missionVariables.IR_SDF_quest == "ANALYSIS" && clock.days >= missionVariables.IR_SDF_deadline)
    			
    				{this._runScreen({title: "OKB Korshkov", background: "IR_korshlogo.png", messageKey: "IR_SDF_quest_7a", choicesKey: "IR_continue"}, function(choice)
    					{if(choice == 1)
    						{this._runScreen({messageKey: "IR_SDF_quest_7b"});
    						missionVariables.IR_SDF_quest = "DATA"
    						player.incrementSDFStatus()
    						this.incrementSDFQuestion()
    						missionVariables.IR_SDF_location = null
    						missionVariables.IR_SDF_location_name = null}
    					});				
    				return;}   	
    		
    		if(missionVariables.IR_status == "IR_IBANEZ_4")
    				{this._runScreen({title: "OKB Korshkov", background: "IR_korshlogo.png", messageKey: "IR_KORSHKOV_intro", choicesKey: "IR_questions"}, this.choiceEvaluation);
    				missionVariables.IR_offer = "IR_KORSHKOV_QUESTIONS"
    				return;}
    		
    		
    		}
    		
    		if(system.ID == 142) // Tibiri bar
    			{	if(missionVariables.IR_finance_quest == "WIFE_DOCKED")
    					{this._runScreen({messageKey: "IR_finance_quest_7a", choicesKey: "IR_continue"}, function(choice)
    							{if(choice == 1)			   
    							{this._runScreen({messageKey: "IR_finance_quest_7b"});
    							player.incrementFinanceStatus()
    							player.credits += 1000
    							missionVariables.IR_offer = null
    							missionVariables.IR_finance_quest = "WIFE_MET"}
    						});
    					}
    				if(missionVariables.IR_finance_quest == "WIFE" || missionVariables.IR_finance_quest == "WIFE_IDENTIFIED")
    				this._runScreen({messageKey: "IR_finance_quest_7alt"})
    						
    			}
    		
    		if(system.ID == 23) // Maenes
    			{	
    				if(missionVariables.IR_defences_question_no == 3 && !missionVariables.IR_defences_quest)
    				{
    				if(!missionVariables.IR_Maenes_visit)
    					{this._runScreen({title: "QuiCo Pharmaceuticals", background: "IR_quico_logo.png", messageKey: "IR_defences_quest_1_alt"});
    					missionVariables.IR_defences_quest = "DEMO_1"}	
    				if(missionVariables.IR_Maenes_visit == "TRUE")
    					{this._runScreen({title: "QuiCo Pharmaceuticals", background: "IR_quico_logo.png", messageKey: "IR_defences_quest_1"});
    					missionVariables.IR_defences_quest = "DEMO_1"
    					missionVariables.IR_Maenes_visit = null}
    				
    				}
    				if(missionVariables.IR_defences_quest == "DEMO_4")
    				{this._runScreen({title: "QuiCo Pharmaceuticals", background: "IR_quico_logo.png", messageKey: "IR_defences_quest_4"});
    				missionVariables.IR_defences_quest = "DEMO_5"}
    				
    				if(missionVariables.IR_defences_quest == "SABOTAGED")
    				{this._runScreen({title: "QuiCo Pharmaceuticals", background: "IR_quico_logo.png", messageKey: "IR_defences_quest_5a", choicesKey: "IR_continue"}, function(choice)
    					{if(choice == 1)			   
    					{this._runScreen({messageKey: "IR_defences_quest_5b"});
    							player.incrementDefencesStatus()
    							missionVariables.IR_defences_quest = "DEMO_6"
    							missionVariables.IR_defences_quest_deadline = clock.days + 15}
    						});
    					
    				}
                                    
                                    
                    if(missionVariables.IR_status == "IR_sources_5")
    				{this._runScreen({title: "QuiCo Pharmaceuticals", background: "IR_quico_logo.png", messageKey: "IR_sources_5a", choicesKey: "IR_continue"}, function(choice)
    					{if(choice == 1)			   
    					{this._runScreen({messageKey: "IR_sources_5b"});
    							mission.setInstructionsKey("IR_waitforinfo_brief")
    							missionVariables.IR_status = "IR_sources_6"
    							missionVariables.IR_epilogue_deadline = clock.days + 10}
    						});
    					
    				}
                                    
                    if(missionVariables.IR_status == "IR_LOA_6")
    				{this._runScreen({title: "QuiCo Pharmaceuticals", background: "IR_quico_logo.png", messageKey: "IR_LOA_6"});
                    mission.setInstructionsKey("IR_waitforinfo_brief")
    				missionVariables.IR_status = "IR_LOA_7"
    				missionVariables.IR_epilogue_deadline = clock.days + 10}
                                                        
    			}
    		
    		if(system.ID == 35 && missionVariables.IR_status == "IR_KINNAIRD_1")  //Atanon
    			{this._runScreen({messageKey: "IR_kinnaird_2"});
    				missionVariables.IR_status = "IR_KINNAIRD_2"}
    				
    				
    		if(system.ID == 41 && missionVariables.IR_status == "IR_KINNAIRD_2")  //Orlaroor
    			{this._runScreen({messageKey: "IR_kinnaird_3"});
    				missionVariables.IR_status = "IR_KINNAIRD_3"
    				mission.setInstructionsKey("IR_kinnaird_brief_3")}		
    			
    			
    					
    		if(system.ID == 149 && missionVariables.IR_status == "IR_LOA_3")  //Arenxeon
    			{this._runScreen({messageKey: "IR_LOA_4a", choicesKey: "IR_continue"}, function(choice)
    					{if(choice == 1)			   
    					{this._runScreen({messageKey: "IR_LOA_4b"});
    					missionVariables.IR_status = "IR_LOA_4"
    					missionVariables.IR_attack_deadline = clock.days + 10
    					mission.setInstructionsKey("IR_waitforinfo_brief")}
    						});
    					
    				}		
    				
    		if(system.ID == 63 && missionVariables.IR_status == "IR_sources_3")  //Edsoan
    				
    				{this._runScreen({messageKey: "IR_sources_4a", choicesKey: "IR_continue"}, function(choice)
    					{if(choice == 1)			   
    					{this._runScreen({messageKey: "IR_sources_4b"});
    					missionVariables.IR_status = "IR_sources_4"
    					mission.setInstructionsKey("IR_sources_brief_2")}
    						});
    				}	
    	
    			
    		//keep brackets	
    	}
    	
    }
    
    this.checkManifest = function()
    
    {	
    var radioactivesAmount=player.ship.manifest.radioactives;
    var alloysAmount=player.ship.manifest.alloys;
    var mineralsAmount=player.ship.manifest.minerals;
    var alienItemsAmount=player.ship.manifest.alien_items; // 16.06.2020 Milo: changed from alienItems because Oolite v1.82 removed that alias
    var platinumAmount=player.ship.manifest.platinum;
    //log('manifest checked')
    
    if(alloysAmount >= 5 && mineralsAmount >=2 && alienItemsAmount >= 2 && radioactivesAmount >=10 && platinumAmount >=1)
    	missionVariables.IR_manifestOK = "TRUE"
    }
    
    this.choiceEvaluation = function(choice)
    
    {	
    	switch(missionVariables.IR_offer)
    	
    	{	case "IR_GSE_QUESTIONS":
    	
    		{	if(choice == "IR_B_finance_question_key")
    			
    				{	if(missionVariables.IR_finance_question_no == 1)
    					{this._runScreen({title: "Galactic Stock Exchange", background: "IR_GSE_logo.png", messageKey: "IR_GSE_finance_answer_1a", choicesKey: "IR_continue"}, function(choice)
    						{if(choice == 1)
    						{this.incrementFinanceQuestion()
    						this._runScreen({title: "Galactic Stock Exchange", background: "IR_GSE_logo.png", messageKey: "IR_GSE_finance_answer_1b", choicesKey: "IR_questions"},this.choiceEvaluation);
    						missionVariables.IR_offer = "IR_GSE_QUESTIONS"}
    						});
    						break;}
    				
    					if(missionVariables.IR_finance_question_no > 1)
    					{	missionVariables.IR_asked_question = missionVariables.IR_finance_question_string
    						this._runScreen({title: "Galactic Stock Exchange", background: "IR_GSE_logo.png", messageKey: "IR_no_more_answer", 
    						choicesKey: "IR_questions"}, this.choiceEvaluation);
    						break;}
    				}
    				
    			
    			if(choice == "IR_A_shipment_question_key")
    				{	if(missionVariables.IR_shipment_question_no == 2 && !missionVariables.IR_GSE_loan)
    					{this._runScreen({title: "Galactic Stock Exchange", background: "IR_GSE_logo.png", messageKey: "IR_GSE_loan_offer", choicesKey: "IR_loan_choices"}, function(choice)
    						{if(choice == "IR_loan_yes")
    						{this._runScreen({title: "Galactic Stock Exchange", background: "IR_GSE_logo.png", messageKey: "IR_GSE_loan_agreed"});
    						missionVariables.IR_GSE_loan = "ACCEPTED"
    						player.credits += 500000
    						missionVariables.IR_loan_deadline = clock.days + 60
    						missionVariables.IR_loan_remaining = missionVariables.IR_loan_deadline - clock.days
    						mission.setInstructionsKey("IR_loan_amount")
    						missionVariables.IR_offer = null}
    						if(choice == "IR_loan_no")
    						{this._runScreen({title: "Galactic Stock Exchange", background: "IR_GSE_logo.png", messageKey: "IR_GSE_loan_rejected", choicesKey: "IR_questions"},this.choiceEvaluation);
    						missionVariables.IR_offer = null
    						missionVariables.IR_GSE_loan = "REJECTED"}
    						if(choice == "IR_loan_defer")
    						{this._runScreen({title: "Galactic Stock Exchange", background: "IR_GSE_logo.png", messageKey: "IR_GSE_loan_deferred", choicesKey: "IR_questions"},this.choiceEvaluation);
    						missionVariables.IR_offer = "IR_GSE_QUESTIONS"
    						missionVariables.IR_GSE_loan = "DEFERRED"}
    						});
    						break;}
    				
    					if(missionVariables.IR_GSE_loan == "DEFERRED")
    					{this._runScreen({title: "Galactic Stock Exchange", background: "IR_GSE_logo.png", messageKey: "IR_GSE_loan_repeat_offer", choicesKey: "IR_loan_choices"}, function(choice)
    						{if(choice == "IR_loan_yes")
    						{this._runScreen({title: "Galactic Stock Exchange", background: "IR_GSE_logo.png", messageKey: "IR_GSE_loan_agreed"});
    						missionVariables.IR_GSE_loan = "ACCEPTED"
    						player.credits += 500000
    						missionVariables.IR_loan_deadline = clock.days + 60
    						missionVariables.IR_loan_remaining = missionVariables.IR_loan_deadline - clock.days
    						mission.setInstructionsKey("IR_loan_amount")
    						missionVariables.IR_offer = null}
    						if(choice == "IR_loan_no")
    						{this._runScreen({title: "Galactic Stock Exchange", background: "IR_GSE_logo.png", messageKey: "IR_GSE_loan_rejected", choicesKey: "IR_questions"},this.choiceEvaluation);
    						missionVariables.IR_offer = "IR_GSE_QUESTIONS"
    						missionVariables.IR_GSE_loan = "REJECTED"}
    						if(choice == "IR_loan_defer")
    						{this._runScreen({title: "Galactic Stock Exchange", background: "IR_GSE_logo.png", messageKey: "IR_GSE_loan_deferred", choicesKey: "IR_questions"},this.choiceEvaluation);
    						missionVariables.IR_offer = "IR_GSE_QUESTIONS"
    						missionVariables.IR_GSE_loan = "DEFERRED"}
    						});
    						break;}
    					
    					if(missionVariables.IR_GSE_loan == "ACCEPTED")
    					{this._runScreen({title: "Galactic Stock Exchange", background: "IR_GSE_logo.png", messageKey: "IR_GSE_loan_demand", choicesKey: "IR_pay_choices"}, function(choice)
    						{if(choice == "IR_pay_yes")
    						{this._runScreen({title: "Galactic Stock Exchange", background: "IR_GSE_logo.png", messageKey: "IR_GSE_pay_accepted", choicesKey: "IR_questions"}, this.choiceEvaluation);
    						missionVariables.IR_GSE_loan = "PAID"
    						player.credits -= 550000
    						missionVariables.IR_loan_deadline = null
    						missionVariables.IR_loan_remaining = null
    						mission.setInstructionsKey(null)
    						missionVariables.IR_offer = "IR_GSE_QUESTIONS"}
    						if(choice == "IR_pay_no")
    						{this._runScreen({title: "Galactic Stock Exchange", background: "IR_GSE_logo.png", messageKey: "IR_GSE_pay_deferred", choicesKey: "IR_questions"}, this.choiceEvaluation);
    						missionVariables.IR_offer = "IR_GSE_QUESTIONS"}
    						});
    						break;}
    					
    					
    				}	
    			
    			
    			if(choice == "IR_E_exit_question_key")
    			return;
    			
    			else
    					this._runScreen({title: "Galactic Stock Exchange", background: "IR_GSE_logo.png", messageKey: "IR_negative_answer", 
    					choicesKey: "IR_questions"}, this.choiceEvaluation);
    					missionVariables.IR_offer = "IR_GSE_QUESTIONS"
    					break;
    		}	
    			
    			
    		case "IR_KORSHKOV_QUESTIONS":
    			
    		{	if(choice == "IR_B_finance_question_key")
    		
    			{	if(missionVariables.IR_finance_question_no == 2)
    					{this._runScreen({title: "OKB Korshkov", background: "IR_korshlogo.png", messageKey: "IR_KORSHKOV_finance_answer_1a", choicesKey: "IR_continue"}, function(choice)
    						{if(choice == 1)
    						{this.incrementFinanceQuestion()
    						this._runScreen({title: "OKB Korshkov", background: "IR_korshlogo.png", messageKey: "IR_KORSHKOV_finance_answer_1b"});
    						missionVariables.IR_offer = "IR_KORSHKOV_QUESTIONS"
    						missionVariables.IR_KORSHKOV_deadline = clock.days + 5
    						player.incrementFinanceStatus()
    						missionVariables.IR_offer = null
    						missionVariables.IR_finance_quest = "WAIT"}
    						});	
    					break;
    					}
    						
    				if(missionVariables.IR_finance_question_no > 2)
    				
    				{	missionVariables.IR_asked_question = missionVariables.IR_finance_question_string
    					this._runScreen({title: "OKB Korshkov", background: "IR_korshlogo.png", messageKey: "IR_no_more_answer", 
    					choicesKey: "IR_questions"}, this.choiceEvaluation);
    					break;
    				}
    			}
    			
    			
    			if(choice == "IR_E_exit_question_key")
    			{
    			return;}
    					
    			else
    					this._runScreen({title: "OKB Korshkov", background: "IR_korshlogo.png", messageKey: "IR_negative_answer", 
    					choicesKey: "IR_questions"}, this.choiceEvaluation);
    					missionVariables.IR_offer = "IR_KORSHKOV_QUESTIONS"
    					break;
    		}
    		
    		
    		case "IR_JANES_QUESTIONS":
    			
    		{	if(choice == "IR_A_shipment_question_key")
    				   
    				   {this._runScreen({title: "Jane's Shipyard Intelligence", background: "IR_janes_logo.png", messageKey: "IR_no_more_answer", 
    					choicesKey: "IR_questions"}, this.choiceEvaluation);
    					break;}
    			
    			
    			
    			if(choice == "IR_C_SDF_question_key")
    				   
    				{
    					if(missionVariables.IR_SDF_question_no == 1)
    					{this.incrementSDFQuestion()
    					this._runScreen({title: "Jane's Shipyard Intelligence", background: "IR_janes_logo.png", messageKey: "IR_JANES_SDF_answer", 
    					choicesKey: "IR_questions"}, this.choiceEvaluation);
    					break;}
    				
    					if(missionVariables.IR_SDF_question_no > 1)
    					{this._runScreen({title: "Jane's Shipyard Intelligence", background: "IR_janes_logo.png", messageKey: "IR_no_more_answer", 
    					choicesKey: "IR_questions"}, this.choiceEvaluation);
    					break;}
    				}
    			
    			if(choice == "IR_D_defences_question_key")
    				   
    				   {this._runScreen({title: "Jane's Shipyard Intelligence", background: "IR_janes_logo.png", messageKey: "IR_JANES_defences_answer", 
    					choicesKey: "IR_questions"}, this.choiceEvaluation);
    					break;}	
    			
    			if(choice == "IR_E_exit_question_key")
    			return;
    						
    			else
    					this._runScreen({title: "Jane's Shipyard Intelligence", messageKey: "IR_negative_answer", 
    					choicesKey: "IR_questions"}, this.choiceEvaluation);
    					missionVariables.IR_offer = "IR_JANES_QUESTIONS"
    					break;
    		}
    		
    		case "IR_PIRATE_QUESTIONS":
    			
    		{	if(choice == "IR_A_shipment_question_key")	   
    				{
    						
    				
    					if(missionVariables.IR_shipment_question_no == 2 && missionVariables.IR_shipment_quest == "SET")
    					{	this._runScreen({title: " ", messageKey: "IR_PIRATE_shipment_answer", choicesKey: "IR_continue"}, function(choice)
    						{if(choice == 1)
    						this._runScreen({title: " ", messageKey: "IR_PIRATE_shipment_offer", choicesKey: "IR_pirate_choices"}, function(choice)
    										  
    							{if(choice == "IR_pirate_yes")
    								{this._runScreen({title: " ", messageKey: "IR_PIRATE_shipment_accepted"});
    								missionVariables.IR_alsto = "HELP_ACCEPTED"
    								player.credits -= 250000
    								player.incrementShipmentStatus()
    								missionVariables.IR_offer = null
    								}
    							if(choice == "IR_pirate_no")
    								{this._runScreen({title: " ", messageKey: "IR_PIRATE_shipment_declined"});
    								missionVariables.IR_offer = null
    								missionVariables.IR_alsto = "HELP_DECLINED"
    								}		
    							});
    						});
    					break;}
    					
    				
    				if(missionVariables.IR_shipment_question_no == 1)
    					{this._runScreen({title: " ", messageKey: "IR_negative_answer", choicesKey: "IR_questions"}, this.choiceEvaluation);
    						missionVariables.IR_offer = "IR_PIRATE_QUESTIONS"
    						break;}
    					
    					
    				if(missionVariables.IR_shipment_question_no == 2 && missionVariables.IR_alsto == "HELP_ACCEPTED")
    				this._runScreen({title: " ", messageKey: "IR_PIRATE_shipment_confirm_help"});
    								  
    								  	
    				if(missionVariables.IR_shipment_question_no == 2 && missionVariables.IR_alsto == "HELP_DECLINED")
    				{this._runScreen({title: " ", messageKey: "IR_PIRATE_shipment_deferred_help", choicesKey: "IR_pirate_choices"}, function(choice)
    					  
    							{if(choice == "IR_pirate_yes")
    								{this._runScreen({title: " ", messageKey: "IR_PIRATE_shipment_accepted"});
    								missionVariables.IR_alsto = "HELP_ACCEPTED"
    								player.credits -= 250000
    								player.incrementShipmentStatus()
    								missionVariables.IR_offer = null
    								}
    							if(choice == "IR_pirate_no")
    								{this._runScreen({title: " ", messageKey: "IR_PIRATE_shipment_declined"});
    								missionVariables.IR_offer = null
    								missionVariables.IR_alsto = "HELP_DECLINED"
    								}		
    							
    						});
    							
    					if(missionVariables.IR_shipment_question_no == 2 && missionVariables.IR_shipment_quest != "SET")
    						{missionVariables.IR_asked_question = missionVariables.IR_shipment_question_string
    						this._runScreen({title: " ", messageKey: "IR_no_more_answer", 
    						choicesKey: "IR_questions"}, this.choiceEvaluation);
    						break;}
    				}
    				
    				
    				
    				}
    				
    				
    				
    				
    			if(choice == "IR_C_SDF_question_key")	   
    				{
    					if(missionVariables.IR_SDF_question_no < 2)
    					this._runScreen({title: " ", messageKey: "IR_PIRATE_SDF_answer_1", choicesKey: "IR_questions"}, this.choiceEvaluation);
    					
    					if(missionVariables.IR_SDF_question_no == 2)
    					this._runScreen({title: " ", messageKey: "IR_PIRATE_SDF_answer_2", choicesKey: "IR_questions"}, this.choiceEvaluation);
    					
    					if(missionVariables.IR_SDF_question_no > 2)
    					{this._runScreen({title: " ", messageKey: "IR_no_more_answer", 
    					choicesKey: "IR_questions"}, this.choiceEvaluation);}		
    		
    					break;
    				}
    			
    			if(choice == "IR_E_exit_question_key")
    			return;
    			
    			else
    					this._runScreen({title: " ", messageKey: "IR_negative_answer", 
    					choicesKey: "IR_questions"}, this.choiceEvaluation);
    					missionVariables.IR_offer = "IR_PIRATE_QUESTIONS"
    					break;
    		}	
    			
    			
    		case "IR_YOKOHAMA_QUESTIONS":
    			
    			
    		{	if(choice == "IR_A_shipment_question_key")
    		
    			{	if(missionVariables.IR_shipment_question_no == 1)
    					{
    					this.incrementShipmentQuestion()
    					this._runScreen({title: "Yokohama Exports", background: "IR_yk_logo.png", messageKey: "IR_YOKOHAMA_shipment_answer_1"});
    					missionVariables.IR_YOKOHAMA_deadline = clock.days + 30
    					missionVariables.IR_shipment_quest = "SET"
    					missionVariables.IR_offer = null
    					player.incrementShipmentStatus()
    					break;
    					}
    					
    				if(missionVariables.IR_shipment_question_no == 2 && clock.days < missionVariables.IR_YOKOHAMA_deadline)
    					
    					{
    						this._runScreen({title: "Yokohama Exports", background: "IR_yk_logo.png", messageKey: "IR_YOKOHAMA_shipment_answer_2", choicesKey: "IR_YOKOHAMA_choices"}, function(choice)
    						{if(choice == "IR_YOKOHAMA_yes")
    						{	if(player.credits >= 1000000)
    							{this._runScreen({title: "Yokohama Exports", background: "IR_yk_logo.png", messageKey: "IR_YOKOHAMA_shipment_agreed"});
    							missionVariables.IR_shipment_quest = "SUCCESS"
    							missionVariables.IR_shipment_quest_method = "PURCHASED"
    							missionVariables.IR_YOKOHAMA_deadline = null
    							++missionVariables.IR_quest_count
    							this.incrementShipmentQuestion()
    							player.clearShipmentStatus()
    							missionVariables.IR_offer = null
    							player.credits -= 1000000}
    								
    							else
    							{this._runScreen({title: "Yokohama Exports", background: "IR_yk_logo.png", messageKey: "IR_YOKOHAMA_shipment_nomoney"});
    							missionVariables.IR_offer = null}		
    						}
    						
    						if(choice == "IR_YOKOHAMA_no")
    							{this._runScreen({title: "Yokohama Exports", background: "IR_yk_logo.png", messageKey: "IR_YOKOHAMA_shipment_declined"});
    							missionVariables.IR_shipment_quest = "ENROUTE"
    							this.incrementShipmentQuestion()
    							missionVariables.IR_offer = null
    							if(missionVariables.IR_alsto)
    							   {player.incrementShipmentStatus()}	
    							}
    						
    						if(choice == "IR_YOKOHAMA_defer")
    							{this._runScreen({title: "Yokohama Exports", background: "IR_yk_logo.png", messageKey: "IR_YOKOHAMA_shipment_defer"});
    							missionVariables.IR_offer = null}
    						
    						});
    					
    				break;}
    				
    				if(missionVariables.IR_shipment_question_no == 2 && clock.days > missionVariables.IR_YOKOHAMA_deadline)
    					
    					{this._runScreen({title: "Yokohama Exports", background: "IR_yk_logo.png", messageKey: "IR_YOKOHAMA_shipment_toolate"});
    					missionVariables.IR_shipment_quest = "DISPATCHED"
    					player.clearShipmentStatus()
    					missionVariables.IR_offer = null				   
    					break;}	
    					
    				if(missionVariables.IR_shipment_question_no > 2)  
    				   {
    				   missionVariables.IR_asked_question = missionVariables.IR_shipment_question_string
    					this._runScreen({title: "Yokohama Exports", background: "IR_yk_logo.png", messageKey: "IR_no_more_answer", 
    					choicesKey: "IR_questions"}, this.choiceEvaluation);
    					break;}
    			}
    			
    			
    			if(choice == "IR_E_exit_question_key")
    			return;
    		
    		else
    			this._runScreen({title: "Yokohama Exports", background: "IR_yk_logo.png", messageKey: "IR_negative_answer", 
    			choicesKey: "IR_questions"}, this.choiceEvaluation);
    			missionVariables.IR_offer = "IR_YOKOHAMA_QUESTIONS"
    			break;
    			
    		}
    		
    		
    		case "IR_PW_QUESTIONS":
    			
    		{	
    			if(choice == "IR_C_SDF_question_key")
    				   
    				{
    					if(missionVariables.IR_SDF_question_no == 2)
    					{this._runScreen({title: "PleasureWorld", background: "IR_pw_logo.png", messageKey: "IR_PW_SDF_answer_1", choicesKey: "IR_continue"}, function(choice)
    						{if(choice == 1)
    						{this.incrementSDFQuestion()
    						this._runScreen({title: " ", messageKey: "IR_SDF_quest_1"});
    						missionVariables.IR_SDF_quest = "ADDRESS"
    						missionVariables.IR_SDF_deadline = clock.days + 10}
    						});	
    					break;}
    					
    					
    					if(missionVariables.IR_SDF_question_no == 3)
    					{this._runScreen({title: "PleasureWorld", background: "IR_pw_logo.png", messageKey: "IR_no_more_answer", 
    					choicesKey: "IR_questions"}, this.choiceEvaluation);
    					break;}
    					
    					if(missionVariables.IR_SDF_question_no == 5)
    					{this._runScreen({title: "PleasureWorld", background: "IR_devries.png", messageKey: "IR_PW_SDF_answer_2"});
    					this.incrementSDFQuestion()
    					missionVariables.IR_SDF_quest = "PHOTO"
    					missionVariables.IR_SDF_deadline = clock.days + 35
    					}
    					
    					
    					else
    					
    					{this._runScreen({title: "PleasureWorld", background: "IR_pw_logo.png", messageKey: "IR_negative_answer", 
    					choicesKey: "IR_questions"}, this.choiceEvaluation);}
    					
    	
    				break;}
    			
    				
    			
    			
    			if(choice == "IR_E_exit_question_key")
    			{missionVariables.IR_offer = "IR_ASKED"
    			return;}
    			
    			
    			else
    					this._runScreen({title: "PleasureWorld", background: "IR_pw_logo.png", messageKey: "IR_negative_answer", 
    					choicesKey: "IR_questions"}, this.choiceEvaluation);
    					missionVariables.IR_offer = "IR_PW_QUESTIONS"
    					break;
    		}
    		
    		
    		
    		case "IR_NWE_QUESTIONS":
    			
    		{	
    			if(choice == "IR_C_SDF_question_key")
    				   
    				{
    					if(missionVariables.IR_SDF_question_no == 4)
    					{this._runScreen({title: "Naval Weapons Establishment", background: "IR_NWE_logo.png", messageKey: "IR_NWE_SDF_answer_1a", choicesKey: "IR_continue"}, function(choice)
    						{if(choice == 1)
    						{this.incrementSDFQuestion()
    						this._runScreen({title: " ", background: "IR_NWE_logo.png", messageKey: "IR_NWE_SDF_answer_1b"});}
    						missionVariables.IR_offer = null});			
    					}
    					
    					if(missionVariables.IR_SDF_question_no < 4 || missionVariables.IR_SDF_question_no > 4)
    					
    					{this._runScreen({title: "Naval Weapons Establishment", background: "IR_NWE_logo.png", messageKey: "IR_negative_answer", 
    					choicesKey: "IR_questions"}, this.choiceEvaluation);}		
    	
    				break;}
    			
    			if(choice == "IR_D_defences_question_key")
    			
    				{	if(missionVariables.IR_defences_question_no < 3)  
    					  {this._runScreen({title: "Naval Weapons Establishment", background: "IR_NWE_logo.png",  messageKey: "IR_NWE_defences_answer_1"});
    						missionVariables.IR_defences_question_no = 3
    						missionVariables.IR_offer = null
    						player.incrementDefencesStatus()
    						break;}
    					
    					if(missionVariables.IR_defences_question_no == 3)
    					{this._runScreen({title: "Naval Weapons Establishment", background: "IR_NWE_logo.png", messageKey: "IR_no_more_answer", 
    					choicesKey: "IR_questions"}, this.choiceEvaluation);
    					break;}
    				}
    		
    			
    			if(choice == "IR_E_exit_question_key")
    			return;
    				
    			else
    					this._runScreen({title: "Naval Weapons Establishment", messageKey: "IR_negative_answer", 
    					choicesKey: "IR_questions"}, this.choiceEvaluation);
    					missionVariables.IR_offer = "IR_NWE_QUESTIONS"
    					break;
    		}
    		
    		
    		
    		case "IR_MAENES_QUESTIONS":
    			
    		{	
    			if(choice == "IR_D_defences_question_key")
    				   
    				{
    					if(missionVariables.IR_defences_question_no == 1)
    					{this._runScreen({title: "QuiCo Pharmaceuticals", background: "IR_quico_logo.png", messageKey: "IR_MAENES_defences_answer_1"});
    					this.incrementDefencesQuestion()
    					missionVariables.IR_offer = null
    					missionVariables.IR_Maenes_visit = "TRUE"
    					break;}
    					
    					
    					if(missionVariables.IR_defences_question_no >= 2)
    					{this._runScreen({title: "QuiCo Pharmaceuticals", background: "IR_quico_logo.png", messageKey: "IR_no_more_answer", 
    					choicesKey: "IR_questions"}, this.choiceEvaluation);
    					break;}	
    				}
    			
    			if(choice == "IR_E_exit_question_key")
    			return;
    				
    			else
    					this._runScreen({title: "QuiCo Pharmaceuticals", background: "IR_quico_logo.png", messageKey: "IR_negative_answer", 
    					choicesKey: "IR_questions"}, this.choiceEvaluation);
    					missionVariables.IR_offer = "IR_MAENES_QUESTIONS"
    					break;
    		}
    				
    	}	
    		
    }
    
    
    
    this.setupQuestions = function()
    
    {	missionVariables.IR_shipment_question_no = 1
    	missionVariables.IR_shipment_question_key = "shipment_question_"+[missionVariables.IR_shipment_question_no]
    	missionVariables.IR_shipment_question_string = expandDescription("[shipment_question_string_"+[missionVariables.IR_shipment_question_no]+"]")
    
    	missionVariables.IR_SDF_question_no = 1
    	missionVariables.IR_SDF_question_key = "SDF_question_"+[missionVariables.IR_SDF_question_no]
    	missionVariables.IR_SDF_question_string = expandDescription("[SDF_question_string_"+[missionVariables.IR_SDF_question_no]+"]")
    
    
    	missionVariables.IR_finance_question_no = 1
    	missionVariables.IR_finance_question_key = "finance_question_"+[missionVariables.IR_finance_question_no]
    	missionVariables.IR_finance_question_string = expandDescription("[finance_question_string_"+[missionVariables.IR_finance_question_no]+"]")
    
    
    	missionVariables.IR_defences_question_no = 1
    	missionVariables.IR_defences_question_key = "defences_question_"+[missionVariables.IR_defences_question_no]
    	missionVariables.IR_defences_question_string = expandDescription("[defences_question_string_"+[missionVariables.IR_defences_question_no]+"]")
    	
    	
    	missionVariables.IR_question_settings = "SET"
    	
    }
    
    this.setupStatus = function()
    
    {	missionVariables.IR_shipment_status_no = 0	
    	missionVariables.IR_finance_status_no = 0
    	missionVariables.IR_SDF_status_no = 0
    	missionVariables.IR_defences_status_no = 0
    	player.setShipmentStatus()
    	player.setSDFStatus()
    	player.setFinanceStatus()
    	player.setDefencesStatus()}
    	
    this.incrementShipmentQuestion = function()
    
    {	++missionVariables.IR_shipment_question_no
    	missionVariables.IR_shipment_question_key = "shipment_question_"+[missionVariables.IR_shipment_question_no]
    	missionVariables.IR_shipment_question_string = expandDescription("[shipment_question_string_"+[missionVariables.IR_shipment_question_no]+"]")
    }
    
    this.incrementFinanceQuestion = function()
    
    {	++missionVariables.IR_finance_question_no
    	missionVariables.IR_finance_question_key = "finance_question_"+[missionVariables.IR_finance_question_no]
    	missionVariables.IR_finance_question_string = expandDescription("[finance_question_string_"+[missionVariables.IR_finance_question_no]+"]")
    }
    
    this.incrementSDFQuestion = function()
    
    {	++missionVariables.IR_SDF_question_no
    	missionVariables.IR_SDF_question_key = "SDF_question_"+[missionVariables.IR_SDF_question_no]
    	missionVariables.IR_SDF_question_string = expandDescription("[SDF_question_string_"+[missionVariables.IR_SDF_question_no]+"]")
    }
    
    this.incrementDefencesQuestion = function()
    
    {	++missionVariables.IR_defences_question_no
    	missionVariables.IR_defences_question_key = "defences_question_"+[missionVariables.IR_Defences_question_no]
    	missionVariables.IR_defences_question_string = expandDescription("[defences_question_string_"+[missionVariables.IR_defences_question_no]+"]")
    }
    
    
    this.shipTargetAcquired = function (target) 
    { 	
    		if(missionVariables.IR_finance_quest == "WIFE")
    		{
    		var isabella = system.shipsWithRole("IR-isabella")[0]
    		if(player.ship.target == isabella)
    			{player.commsMessage("That must be Isabella King's ship.  It looks like she's planning to dock at the station.")
    			missionVariables.IR_finance_quest = "WIFE_IDENTIFIED"}
    		}
    		
    		
    		if(missionVariables.IR_shipment_quest == "ENROUTE" && missionVariables.IR_alsto == "HELP_ACCEPTED")
    		
    		{	var transport = system.shipsWithRole("IR-transport")[0]
    			if(player.ship.target == transport && !missionVariables.IR_comms)
    			{player.commsMessage("OK, that's one of the transports.  I need shadow the convoy as it leaves the system.", 6)
    			missionVariables.IR_comms = "TRUE"}			
    		}
    		
    		if(missionVariables.IR_shipment_quest == "AMBUSH")
    		
    		{	var transport = system.shipsWithRole("IR-transport-alternate")[0]
    				if(player.ship.target == transport && !missionVariables.IR_comms)
    				{		missionVariables.IR_comms = "TRUE"
    						
    						if(missionVariables.IR_alsto == "INFORMED")
    						player.commsMessage("Alsto Abonlo: It looks like the convoy's picked up more escorts.  You'll need all the help you can get!", 6)
    						
    						else
    						player.commsMessage("Oh no, it looks like the convoy's picked up even more escorts.  This is going to be tough!", 6)
    				}		
    		}
    		
    		var krait = system.shipsWithRole("IR-krait")[0]
    		if(player.ship.target == krait && !missionVariables.IR_comms)
    		
    		{	if(missionVariables.IR_SDF_quest == "KRAIT")
    		
    				{player.commsMessage("That's strange, what's a renegade Krait doing around here?", 6)
    				krait.reactToAIMessage("PREPARE_JUMP")
    				missionVariables.IR_comms = "TRUE"}	  
    			
    			if(missionVariables.IR_SDF_quest == "JUMPED")
    		
    				{player.commsMessage("There's the Krait again.  Better follow him and see what he does next.", 6)
    				krait.reactToAIMessage("PREPARE_EJECT")
    				missionVariables.IR_SDF_quest_location = system.ID
    				missionVariables.IR_SDF_quest_location_name = System.infoForSystem(7,[missionVariables.IR_SDF_quest_location]).name  
    				missionVariables.IR_comms = "TRUE"}
    		}
    		
    		var weiss = system.shipsWithRole("IR-quico-transporter")[0]
    		if(player.ship.target == weiss && !missionVariables.IR_comms)
    		{if(missionVariables.IR_status == "IR_WEISS_1")
    			{player.commsMessage("Weiss is probably on board that transport; I'll need to follow it.", 6)
    			weiss.reactToAIMessage("HEAD_FOR_AEGIS")
    			missionVariables.IR_comms = "TRUE"}	
    		}
    				
    }
    
    this.shipBeingAttacked = function()
    {
    if(missionVariables.IR_defences_quest == "DEPLOYED")	
    	{if(!this.DefencesTimer)
    		{player.ship.fuelLeakRate = 15
    		player.commsMessage("Help!  I'm under attack!", 6)
    		missionVariables.IR_count = 70
    		this.DefencesTimer = new Timer(this, this.DefencesReply, null, 1);}
    		else
    		{this.DefencesTimer.start();}
    	}
    }
    
    this.DefencesReply = function()
    {
    	--missionVariables.IR_count
    	
    	if(missionVariables.IR_count == 80)
    	{player.commsMessage("Colonel Ruiz: What's happening, Commander?  The defence cannons have targetted your ship!  Can you hold on while we try to shut them down?", 6)}
    	
    	if(missionVariables.IR_count == 70)
    	{player.commsMessage("Colonel, I've suffered system damage and I've lost my fuel reserves.  Hurry up!", 6)}
    	
    	if(missionVariables.IR_count == 45)
    	{player.commsMessage("Colonel Ruiz: We're trying to access the shutdown veto - the system's gone into self-defence mode.  Hold on!", 6)}
    	
    	if(missionVariables.IR_count == 20)
    	{player.commsMessage("Colonel Ruiz: OK, we're ready to initiate the shutdown veto.  It shouldn't be long now.", 6)}
    	
    	if(missionVariables.IR_count <= 10)
    	{player.consoleMessage("Maenes Defence Control: System shutdown in "+missionVariables.IR_count+" seconds", 1)}
    	
    	if(missionVariables.IR_count == 0)
    	{player.consoleMessage("Maenes Defence Control: System shutdown complete", 6)
    	this.DefencesTimer.stop()
    	delete this.DefencesTimer;
    	missionVariables.IR_count = null
    	missionVariables.IR_defences_quest = "SABOTAGED"
    	var cannons = system.shipsWithRole("IR-cannon-core")
    	for (var i=0; i<cannons.length; i++)
    	{cannons[i].setAI("dumbAI.plist")}}
    	
    }
    
    
    // ship encounters
    
    this.shipWillLaunchFromStation = function()
    
    {	missionVariables.IR_offer = null
    
    	
    	if(galaxyNumber == 7)
    	{
    
    
    	if(missionVariables.IR_status == "IR_IBANEZ_5" && clock.days > missionVariables.IR_cherkasova_deadline)
    		{if(system.countShipsWithRole("IR-cherkasova-alt") == 0)
    			{system.legacy_addSystemShips("IR-cherkasova-alt", 1, 1.0)}
    		}
    		
    		
    	
    	
    	if(system.ID == 171) // Aletius
    	{
    		if(missionVariables.IR_shipment_quest == "ENROUTE")
    			{if(system.countShipsWithRole("IR-transport") == 0)
    				{system.legacy_addSystemShips("IR-transport", 4, 1.0)
    				player.commsMessage("Aletius Control: Transport ATC-43 you are cleared to proceed.  Have a nice trip!", 6)
    				missionVariables.IR_transport_kill_count = 0}
    			}
    	}
    	
    	if(system.ID == 114) //Releleat
    	{
    		if(system.countShipsWithRole("IR-fuelprocessor") == 0)
    				{system.legacy_addSystemShips("IR-fuelprocessor", 1, 0.75)}
    
    		
    	}
    	
    	if(system.ID == 82) //Inorle
    	{
    		if(system.countShipsWithRole("IR-luft-core") == 0)
    				{system.legacy_addShipsAtPrecisely("IR-luft-core", 1, "pwm", [104399.93, 209.23, -11641.69])}
    				
    		if(missionVariables.IR_SDF_quest == "KRAIT")
    			{if(system.countShipsWithRole("IR-krait") == 0)
    			{system.legacy_addShipsWithinRadius("IR-krait", 1, "pwm", [104399.93, 209.23, -11641.69], 25000)}
    			}					
    	}
    	
    	if(system.ID == 23) //Maenes
    	{	if(system.countShipsWithRole("IR-cannon-core") == 0)
    		{system.legacy_addShipsWithinRadius("IR-cannon-core", 40, "pwm", [23038, -39901, 102398], 20000)
    		system.legacy_addShipsWithinRadius("IR-cannon-core", 10, "pwm", [23038, -39901, 102398], 10000)
    		}
    		
    		if(missionVariables.IR_defences_quest == "DEMO_1")
    		{
    		    
                if(system.countShipsWithRole("IR-target-drone") == 0)
    			{system.legacy_addShipsAtPrecisely("IR-target-drone", 10, "pwm", [52000, -35898, 84329])
    			player.commsMessage("Colonel Ruiz: Commander, a group of ten Gecko target drones will approach the from the direction of the sun.")
    			missionVariables.IR_defences_kill_count = 0
    			player.incrementDefencesStatus()}
    		}
    		
    		if(missionVariables.IR_defences_quest == "DEMO_5")
                        {if(system.countShipsWithRole("IR-target-drone") == 0)
    			{system.legacy_addShipsAtPrecisely("IR-target-drone", 10, "pwm", [52000, -35898, 84329])
    			player.commsMessage("Colonel Ruiz: Commander, another group of ten Gecko target drones has been launched.")}
                        }
    		
                    if(missionVariables.IR_status == "IR_LOA_5")
                    {if(system.countShipsWithRole("IR-cherkasova") == 0)
                        {system.legacy_addSystemShips("IR-cherkasova", 1, 1.0)
                        system.legacy_addSystemShips("IR-sdf-imperator", 1, 0.9)
                        system.legacy_addSystemShips("IR-sdf-transporter", 8, 0.9)
                        missionVariables.IR_lander_kill_count = 0
                       var cannons = system.shipsWithRole("IR-cannon-core")
                        for (var i=0; i<cannons.length; i++)
                       {cannons[i].setAI("IR-dumb-cannonAI.plist")}
                        
                        
                        
                            if(!this.MaenesTimer)
                            {		
                            missionVariables.IR_count = 0
                            this.MaenesTimer = new Timer(this, this.MaenesReply, null, 1);}
                            else
                            {this.MaenesTimer.start();} 
                        }
                        
                        }
                    
    	}
    	
    	if(system.ID == 119) //Laxesori
    	{
    		if(missionVariables.IR_status == "IR_LEXICON_4")
    			{if(system.countShipsWithRole("IR-weiss-shuttle") == 0)
    				{system.legacy_addSystemShips("IR-weiss-shuttle", 1, 1.0)
    				system.legacy_addSystemShips("IR-kinnaird", 1, 1.0)
    				system.legacy_addSystemShips("police", 5, 1.0)
    				system.legacy_addSystemShips("pirate", 10, 1.0)}		
    			}
    	}
    	
    	
    	
    	
    	if(system.ID == 240) //Pirate cove
    	{
    		if(missionVariables.IR_status == "IR_LOA_2")
    			{if(system.countShipsWithRole("IR-starstrike") == 0)
    				{system.legacy_addSystemShips("IR-starstrike", 5, 1.0)
    				system.legacy_addSystemShips("IR-anarchypython", 10, 1.0)
    				system.legacy_addSystemShips("IR-cherkasova", 1, 1.0)
    				system.legacy_addSystemShips("IR-comray", 10, 1.0)
    				system.legacy_addSystemShips("IR-giantray", 1, 1.0)
    				player.commsMessage("Major Cherkasova: This is Zarya-1.  The anarchists have 10 python cruisers; they must all be destroyed.")
    				system.legacy_addSystemShips("pirate", 10, 1.0)
    				
    				var pirates = system.shipsWithRole("pirate")
    				for (var i=0; i<pirates.length; i++)
    					{pirates[i].setAI("IR-piratepatrolAI.plist")
    					pirates[i].bounty = 100}
    				}		
    			}
    	}	
        }
    			
    }
    
    
    
    this.shipExitedWitchspace = function()
    {
    	missionVariables.IR_comms = null
    	
    	if(galaxyNumber == 7)
    	{
    		
    	if(missionVariables.IR_finance_quest == "WIFE_IDENTIFIED")
    		missionVariables.IR_finance_quest = "WIFE"
    		
    	if(system.ID == 142)
    	{if(missionVariables.IR_finance_quest == "WIFE")
    		system.legacy_addSystemShips("IR-isabella", 1, 0.8)}
    	
    	
    	
    	if(missionVariables.IR_shipment_quest == "ENROUTE")
    	{missionVariables.IR_shipment_quest = "AMBUSH"
    	missionVariables.IR_convoy_exited = null
    	missionVariables.IR_transport_kill_count = 0}
    		
    		
    		
    	if(missionVariables.IR_shipment_quest == "AMBUSH" && !missionVariables.IR_alsto)
    	{++missionVariables.IR_jumpcount
    		if(missionVariables.IR_jumpcount > 1)
    		{missionVariables.IR_shipment_quest = "DISPATCHED"
    		missionVariables.IR_jumpcount = null}
    	}
    	
    	if(missionVariables.IR_shipment_quest == "ATMALA")
    	missionVariables.IR_shipment_quest = "DISPATCHED"
    	
    	if(missionVariables.IR_loan_deadline)
    	{if(missionVariables.IR_loan_deadline > clock.days)
    		{missionVariables.IR_loan_remaining = missionVariables.IR_loan_deadline - clock.days
    		mission.setInstructionsKey("IR_loan_amount")}
    	else
    	mission.setInstructionsKey("IR_loan_due")
    	
    	}
    	
    	
    	
    	
    	
    	
    	
    	if(system.ID == 112) //Atmala
    	{if(missionVariables.IR_shipment_quest == "AMBUSH")
    		{
    		system.legacy_addShipsAt("IR-transport-alternate", 4, "wpu", [0, 0, 0.1])
    		system.legacy_addShipsAt("IR-sdf-asp", 4, "wpu", [0, 0, 0.1])
    		missionVariables.IR_transport_kill_count = 0
    		missionVariables.IR_comms = null
    		missionVariables.IR_shipment_quest = "ATMALA"
    		
    			if(missionVariables.IR_alsto == "INFORMED")
    			{player.commsMessage("Alsto Abonlo: Commander, our fleet has taken up position across the main space lane.  Get ready to ambush the convoy.", 6)
    			system.legacy_addShipsAt("pirate", 40, "wpu", [0, 0, 0.6])
    		
    			var pirates = system.shipsWithRole("pirate")
    				for (var i=0; i<40; i++)
    					 {pirates[i].setAI("IR-pirateAI.plist")}}
    						
    		}
    		
    	}
    	
    	if(system.ID == 114) //Releleat
    	{system.legacy_addSystemShips("IR-fuelprocessor", 1, 0.75)}
    	
    	if(missionVariables.IR_shipment_quest == "COMPLETED" || missionVariables.IR_shipment_quest == "TIPPEDOFF")
    	{	var randomNumber = (Math.random())
    		if(randomNumber < 0.5)
    		{system.legacy_addSystemShips("IR-sdf-asp", 3, 0.1)
    			var sdf = system.shipsWithRole("IR-sdf-asp")
    				for (var i=0; i<sdf.length; i++)
    					 {sdf[i].setAI("pirateAI.plist")}
    					 }
    		}
    	
    	
    	
    	
    	if(system.ID == 82) //Inorle
    	{
    		if(system.countShipsWithRole("IR-luft-core") == 0)
    			{system.legacy_addShipsAtPrecisely("IR-luft-core", 1, "pwm", [104399.93, 209.23, -11641.69])}
    		if(missionVariables.IR_SDF_quest == "JUMPED" || missionVariables.IR_SDF_quest == "CONTAMINATED")
    			{if(system.countShipsWithRole("IR-krait") == 0)
    			{system.legacy_addShipsWithinRadius("IR-krait", 1, "pwm", [104399.93, 209.23, -11641.69], 25000)}}
    	}
    	
    	if(system.ID == 23) //Maenes
    	{	if(system.countShipsWithRole("IR-scannon-core") == 0)
    		{system.legacy_addShipsWithinRadius("IR-cannon-core", 40, "pwm", [23038, -39901, 102398], 20000)}	
    	
    		if(missionVariables.IR_status == "IR_LOA_5")
                    {if(system.countShipsWithRole("IR-cherkasova") == 0)
                        {system.legacy_addSystemShips("IR-cherkasova", 1, 0.85)
                        system.legacy_addSystemShips("IR-sdf-imperator", 1, 0.85)
                        system.legacy_addSystemShips("IR-sdf-transporter", 8, 0.85)
                        missionVariables.IR_lander_kill_count = 0
                       var cannons = system.shipsWithRole("IR-cannon-core")
                        for (var i=0; i<cannons.length; i++)
                       {cannons[i].setAI("IR-dumb-cannonAI.plist")}           
                        
                            if(!this.MaenesTimer)
                            {		
                            missionVariables.IR_count = 0
                            this.MaenesTimer = new Timer(this, this.MaenesReply, null, 1);}
                            else
                            {this.MaenesTimer.start();} 
                        }
                        
                        }
    	
    	}
    	
    	
    	
    	if(missionVariables.IR_status == "IR_WEISS_2a")
    	{missionVariables.IR_status = "IR_WEISS_2b"}
    	
    	
    	
    	
    	if(system.ID == 175) //Reenated
    	{	if(missionVariables.IR_status == "IR_WEISS_2b")
    		{var weiss = system.shipsWithRole("IR-quico-transporter")[0]
    		weiss.remove()
    		player.ship.spawn("IR-quico-transporter", 1)}	
    	}
    	
    	
    	if(system.ID == 119) //Laxesori
    	{	if(missionVariables.IR_status == "IR_WEISS_3")
    		{var weiss = system.shipsWithRole("IR-quico-transporter")[0]
    		weiss.remove()
    		
    		if(!this.LaxesoriTimer)
    				{
    				this.LaxesoriTimer = new Timer(this, this.LaxesoriReply, 10, -1);
    				}
    	else
    	{this.LaxesoriTimer.start();}
    		
    		
    		}	
    	}
    	
    	
    	if(system.ID == 240) //Pirate Cove
    	{	system.legacy_addSystemShips("IR-anarchypython", 10, 1.0)}
    	
    	if(system.ID == 130 && missionVariables.IR_status == "IR_sources_4") //Tiatza
    	{	missionVariables.IR_tanker_kill_count = 0
    		player.ship.spawn("IR-cherkasova", 1)
                   
                    
                    if(!this.JulietTimer)
    		{		
    		missionVariables.IR_count = 0
    		this.JulietTimer = new Timer(this, this.JulietReply, null, 1);}
    		else
    		{this.JulietTimer.start();}
    		
    	}
    	
        }
    }
    
    this.shipEnteredStationAegis = function()
    
    {	if(system.ID == 31 && missionVariables.IR_SDF_quest == "KORSHKOV" && galaxyNumber == 7)
    	{	player.commsMessage("Calling Aarzari Station: Have sustained major radiation damage, requesting immediate assistance, over!", 6)
    		if(!this.KorshkovTimer)
    				{
    				this.KorshkovTimer = new Timer(this, this.KorshkovReply, null, 10);
    				}
    	else
    	{this.KorshkovTimer.start();}
    	}
    	
    	
    	if(system.ID == 23 && missionVariables.IR_status == "IR_WEISS_1" && galaxyNumber == 7)
    	{if(system.countShipsWithRole("IR-quico-transporter") == 0)
    		{system.legacy_addSystemShips("IR-quico-transporter", 1, 1.0)
    		player.commsMessage("Quico Transporter: Flight QC272, setting course for departure...")
    }
    	}
    }
    
    
    
    
    this.LaxesoriReply = function()
    {
    	this.LaxesoriTimer.stop();
    	delete this.LaxesoriTimer;
    	player.commsMessage("No sign of the transport - maybe it's gone on ahead to Laxesori Station.", 6);
    }
    
    this.KorshkovReply = function()
    {
    	this.KorshkovTimer.stop();
    	delete this.KorshkovTimer;
    	player.commsMessage("Aarzari Station: Message received and understood.  Emergency facilities are on standby.  Proceed when ready.", 6);
    }
    	
    this.playerBoughtNewShip = function()
    {
    	if(missionVariables.IR_shipment_quest == "TIPPEDOFF")
    	missionVariables.IR_shipment_quest = null
    }
    
    
    this.playerJumpFailed = function()
    {	if(missionVariables.IR_status == "IR_IBANEZ_5")
    		{if(system.shipsWithRole("IR-cherkasova-alt") != 0)
    			{
    			var cherkasova = system.shipsWithRole("IR-cherkasova-alt")[0]
    			cherkasova.setAI("IR-cherkasova-enterAI.plist")
    			missionVariables.IR_status = "IR_CHERKASOVA_1"
    			
    }	
    		}
    }
    
    
    this.shipWillDockWithStation = function()
    {
    	
    	if(missionVariables.IR_status == "IR_CHERKASOVA_1")
    	{if(system.shipsWithRole("IR-cherkasova-alt") != 0)
    			{
    			var cherkasova = system.shipsWithRole("IR-cherkasova-alt")[0]
    			cherkasova.remove()}
    			}
    }
    
    //ingame conversations
    
    this.JulietReply = function()
    {
    	++missionVariables.IR_count
    	 var cherkasova = system.shipsWithRole("IR-cherkasova")[0]
            
    	if(missionVariables.IR_status == "IR_sources_4")
    	{
    		
    	
    	if(missionVariables.IR_count == 5)
    	{cherkasova.commsMessage("This is Zarya-1 checking in.")}
    	
    	if(missionVariables.IR_count == 12)
    	{player.commsMessage("Copy that, Zarya-1.  Run a long range scan - let's see if anyone's here.", 6)}
    	
    	if(missionVariables.IR_count == 22)
    	{cherkasova.commsMessage("Nothing - no sign of the SDF yet.  What about the Task Force?")}
    	
    	if(missionVariables.IR_count == 30)
    	{player.commsMessage("Hold on, I'll check what's happening.", 6)}
    	
    	if(missionVariables.IR_count == 40)
    	{player.commsMessage("This is Sunray calling Juliet 1-0.  Come in, over.", 8)}
    	
    	if(missionVariables.IR_count == 50)
    	{player.commsMessage("Repeat, Sunray calling Juliet 1-0.  Come in, over.", 8)}
    	
    	if(missionVariables.IR_count == 65)
    	{player.commsMessage("Damn, it looks like they're running late.", 6)}
    	
    	if(missionVariables.IR_count == 78)
    	{cherkasova.commsMessage("Hold on, Commander.  I'm picking up an energy distortion near the witchspace beacon.  Get ready")}
    	
    	if(missionVariables.IR_count == 90)
    	{system.addShipsToRoute("IR-sdf-imperator", 1, 0.01, "wp")}
    	
    	if(missionVariables.IR_count == 98)
    	{system.addShipsToRoute("IR-sirius-tanker", 6, 0.01, "wp")}
    	
            if(missionVariables.IR_count == 98)
    	{system.addShipsToRoute("IR-sdf-transporter", 8, 0.01, "wp")}
            
            if(missionVariables.IR_count == 110)
    	{player.commsMessage("So that's the SDF fleet.  Looks like they mean business.", 8)}
    	
    	if(missionVariables.IR_count == 122)
    	{cherkasova.commsMessage("Commander, we're no match for them alone.  Suggest we shadow the fleet until the navy arrives.")}
    	
    	if(missionVariables.IR_count == 130)
    	{player.commsMessage("Roger that, Zarya-1.")}
    	
    	if(missionVariables.IR_count == 150)
    	{var leader = system.shipsWithRole("IR-sdf-imperator")[0]
    	
    		{leader.setAI("route1traderAI.plist")
                    leader.commsMessage("Sections Echo and Delta, begin fuel transfer.  Fleet will hyperspace in t-10 minutes.")}
    	}
    	
    	if(missionVariables.IR_count == 160)
    	{cherkasova.commsMessage("Did you hear that?  We only have ten minutes before the fleet leaves for Maenes.  We need to hold them here until backup arrives.")}
    	
    	if(missionVariables.IR_count == 170)
    	{player.commsMessage("We don't have the firepower to engage the whole fleet.  What do you suggest?", 8)}
    	
    	if(missionVariables.IR_count == 180)
    	{cherkasova.commsMessage("Concentrate on the tankers - they're unarmed and the fleet won't be able to hyperspace without refuelling.  I'll draw fire away from the capital ships.")
    	var leader = system.shipsWithRole("IR-sdf-imperator")[0]
            cherkasova.target = leader
    	cherkasova.AIState = "ATTACK_SHIP"}
    	
    	if(missionVariables.IR_count == 190)
    	{player.commsMessage("Are you sure?", 6)}
    	
    	if(missionVariables.IR_count == 200)
    	{cherkasova.commsMessage("Got any better ideas?  Come on, let's go!")}
    	
    	if(missionVariables.IR_count == 800)
    	{leader.commsMessage("SDF Flagship: Engaging hyperspace...")
    	var leader = system.shipsWithRole("IR-sdf-imperator")[0]
    	
    		{leader.exitSystem()
    		missionVariables.IR_status = "IR_interceptionfail_A"}
    	}
    	
    	
    	}
    	
    	if(missionVariables.IR_status == "IR_interceptionfail_A")
    	{missionVariables.IR_count = 0
    	missionVariables.IR_status = "IR_interceptionfail_B"
    	return;}
    	
    	if(missionVariables.IR_status == "IR_interceptionfail_B")
    	{
    	if(missionVariables.IR_count == 15)
    	{player.commsMessage("The SDF Flagship has left the system - we've blown our chance to intercept the fleet before it reaches Maenes!", 8)}
    	}
    	
    	
    	if(missionVariables.IR_status == "IR_tankers")
    	{missionVariables.IR_count = 0
    	missionVariables.IR_status = "IR_tankers_B"
    	return;}
    	
    	if(missionVariables.IR_status == "IR_tankers_B")
    	{
    	if(missionVariables.IR_count == 15)
    	{player.commsMessage("Major Cherkasova: Good work, Commander.  Now we just need to stay alive until backup arrives!", 8)}
    	
    	if(missionVariables.IR_count == 25)
    	system.legacy_addSystemShips("IR-navy-frigate", 5, 0.0)
    	
    	if(missionVariables.IR_count == 40)
    	player.commsMessage("Juliet 1-0, this is Sunray.  What took you so long? We need immediate assistance!", 8)
    	
    	if(missionVariables.IR_count == 50)
    	player.commsMessage("Juliet Leader: Understood, Sunray.  We're engaging the enemy now.", 8)
    	}
    	
    	if(missionVariables.IR_status == "IR_imperator")
    	{missionVariables.IR_count = 0
    	missionVariables.IR_status = "IR_imperator_B"
    	return;}
    
    	if(missionVariables.IR_status == "IR_imperator_B")
    	{if(missionVariables.IR_count == 10)
    		player.commsMessage("Major Cherkasova: Quick, someone's trying to escape from the wreckage - we think it's Kinnaird.  Stop him!", 8)
    		
    	}
    	
    	if(missionVariables.IR_status == "IR_courier")
    	{missionVariables.IR_count = 0
    	missionVariables.IR_status = "IR_courier_B"
    	return;}
    
    	if(missionVariables.IR_status == "IR_courier_B")
    	{if(missionVariables.IR_count == 5)
    		{player.commsMessage("Major Cherkasova: OK, Kinnaird's ship has been disabled - we'll leave him to the navy.  Let's meet up at Maenes Station!", 8)
    		mission.setInstructionsKey("IR_sources_brief_3")
                    missionVariables.IR_status = "IR_sources_5"}
    	}
    }
    
    
    this.MaenesReply = function()
    {
    	++missionVariables.IR_count
    	var cherkasova = system.shipsWithRole("IR-cherkasova")[0]
            
    	if(missionVariables.IR_status == "IR_LOA_5")
    	{
    		
    	
    	if(missionVariables.IR_count == 10)
    	{player.commsMessage("Zarya-1, this is Sunray.  Do you read, over?", 8)}
            
            if(missionVariables.IR_count == 20)
    	{player.commsMessage("Major Cherkasova: Copy that Sunray, this is Zarya-1.  The attack's already in progress - we need your help!", 8)}
            
            if(missionVariables.IR_count == 30)
    	{player.commsMessage("What happened to the navy?  Are they on their way?", 8)}
            
            if(missionVariables.IR_count == 40)
    	{player.commsMessage("Major Cherkasova:  I don't know!  We have a mass of hostile ships and the Maenes defence grid is out of action.  They're completely overwhemled!", 8)}
            
            if(missionVariables.IR_count == 50)
    	{player.commsMessage("Hold on, Zarya-1, I'm on my way.", 8)}
            
             if(missionVariables.IR_count == 80)
    	{player.commsMessage("Major Cherkasova: Concentrate on the enemy transporters.  They've been tasked to assault Maenes Station.", 8)}
            
            if(missionVariables.IR_count == 90)
    	{player.commsMessage("Roger that.  Maenes Station, this is the police.  Patch me through to Colonez Ruiz immediately!", 8)}
            
            if(missionVariables.IR_count == 105)
    	{player.commsMessage("Colonel Ruiz: Help us, Commander.  Our systems have been sabotaged - we can't defend ourselves.", 8)}
            
            if(missionVariables.IR_count == 115)
    	{player.commsMessage("Can you bring the defence system back on-line?", 8)}
            
            if(missionVariables.IR_count == 125)
    	{player.commsMessage("Colonel Ruiz: We're trying!  We have the targets on our radar but we can't get the cannons to engage.", 8)}
            
            if(missionVariables.IR_count == 135)
    	{player.commsMessage("We have to get them firing if we're to defend Maenes!", 8)}
    	
    	if(missionVariables.IR_count == 255)
    	{player.commsMessage("Colonel Ruiz: We think we've regained control of the cannons - hold on!")}
    	
    	if(missionVariables.IR_count == 285)
    	{player.commsMessage("Colonel Ruiz: We've managed to get the defence systems back on-line.  Watch out for cannon fire!")
    	missionVariables.IR_maenes_cannon = "TRUE"
    	var cannons = system.shipsWithRole("IR-cannon-core")
                        for (var i=0; i<cannons.length; i++)
                       {cannons[i].setAI("IR-cannonAI.plist")}}
            
            }
            
            if(missionVariables.IR_status == "IR_landers")  
            {
                missionVariables.IR_count = 0
                missionVariables.IR_status = "IR_landers_B"
                return;
            }
            
            if(missionVariables.IR_status == "IR_landers_B")
            {
                if(missionVariables.IR_count == 15)
                {player.commsMessage("Major Cherkasova: Good work, Commander.  Now let's finish off the rest of the SDF fleet.")}
    			
    			
    			if(missionVariables.IR_count == 65 && missionVariables.IR_maenes_cannon != "TRUE")
    			{player.commsMessage("Colonel Ruiz: We think we've regained control of the cannons - hold on!")}
                
                if(missionVariables.IR_count == 120 && missionVariables.IR_maenes_cannon != "TRUE")
                {player.commsMessage("Colonel Ruiz: We've managed to get the defence systems back on-line.  Watch out for cannon fire!")
                var cannons = system.shipsWithRole("IR-cannon-core")
                        for (var i=0; i<cannons.length; i++)
                       {cannons[i].setAI("IR-cannonAI.plist")}}
                
            }
            
            if(missionVariables.IR_status == "IR_imperator_alt")
                {missionVariables.IR_count = 0
                missionVariables.IR_status = "IR_imperator_alt_B"
                return;}
    
    	if(missionVariables.IR_status == "IR_imperator_alt_B")
                {if(missionVariables.IR_count == 10)
    			{player.commsMessage("Major Cherkasova: Well done, we've destroyed the SDF's flagship.  Let's meet back at Maenes Station.", 8)
                    mission.setInstructionsKey("IR_sources_brief_3")
                    missionVariables.IR_status = "IR_LOA_6"}
                }
    	}
            
    Scripts/IR-sabotage-mine.js
    this.name = "IR-sabotage-mine.js";
    this.author = "Ramirez";
    this.copyright = "August 2010";
    this.description = "Script for sabotage mine";
    this.version = "1.0";
    
    this.sabotageDefences = function()
    {
      var cannons = system.shipsWithRole("IR-cannon-core")
      for (var i=0; i<cannons.length; i++)
      {cannons[i].setAI("IR-targetplayerAI.plist")
      missionVariables.IR_defences_quest = "DEPLOYED"}
    }
    
    
    
    Scripts/IR-sdf-courier.js
    this.name = "IR-sdf-courier.js";
    this.author = "Ramirez";
    this.copyright = "December 2010";
    this.description = "Script for SDF courier";
    this.version = "1.0";
    
    this.shipDied = function()
    
    {	
    	this.ship.spawn("IR-disabled-sdf-courier", 1)
    	if(missionVariables.IR_status == "IR_imperator_B")
    	missionVariables.IR_status = "IR_courier"
    }
    
    
    
    
    
    	
    	
    
    Scripts/IR-sdf-leader.js
    this.name = "IR-sdf-leader.js";
    this.author = "Ramirez";
    this.copyright = "November 2010";
    this.description = "Script for SDF leader";
    this.version = "1.0";
    
    
    this.shipEnergyIsLow = function()
    {	if(missionVariables.IR_status == "IR_sources_4" || missionVariables.IR_status == "IR_LOA_5")
    	this.ship.energy = 5000
    }
    
    this.shipDied = function()
    
    {	
    	if(missionVariables.IR_status == "IR_tankers_B")
    	{this.ship.spawn("IR-sdf-courier", 1)
    	missionVariables.IR_status = "IR_imperator"}
    	
    	if(missionVariables.IR_status == "IR_landers_B")
    	{missionVariables.IR_status = "IR_imperator_alt"}
    }
    
    
    this.deployTransports = function()
    
    {
    	
    if(system.shipsWithRole("IR-sdf-transporter") != 0)
    
    	{var coriolis = system.shipsWithRole("coriolis")[0]
    	var transporter = system.shipsWithRole("IR-sdf-transporter")
    	for (var i=0; i<transporter.length; i++)
    	{transporter[i].setAI("IR-sdf-transporterattackAI.plist")}
    	}
    }
    
    
    
    
    	
    	
    
    Scripts/IR-sdf-transporter.js
    this.name = "IR-sdf-transporter.js";
    this.author = "Ramirez";
    this.copyright = "November 2010";
    this.description = "Ship script for transporters";
    this.version = "1.0";
    
    
    this.shipSpawned = function()
    
    {
    	
    
    }
    
    
    
    this.shipDied = function()
    
    {	
    		if(missionVariables.IR_status == "IR_LOA_5")
    		{
    		++missionVariables.IR_lander_kill_count
    		
    		if(missionVariables.IR_lander_kill_count == 8)
    		{player.commsMessage("Zarya-1, this is Sunray.  All assault landers have been destroyed.", 8)
    		missionVariables.IR_lander_kill_count = null
    		missionVariables.IR_status = "IR_landers"}
    		}
    }
    
    
    
    this.locateLeader = function()
    	{
    	this.leaderArray = system.shipsWithRole("IR-sdf-imperator");
    	if(this.leaderArray.length > 0)
    		{
    		this.ship.target = this.leaderArray[0];
    		this.ship.reactToAIMessage("LEADER_FOUND");
    		}
    	}
    
    this.checkLeaderDistance = function()
    	{
    	
    
    	var leader = system.shipsWithPrimaryRole("IR-sdf-imperator")[0];
    	this.leaderDistance = this.ship.position.distanceTo(leader.position);
    	if(this.leaderDistance > 51200) // if the escort is more than 2 scanner ranges from the player, move it just off-scanner
    		{
    		let leaderDirection = leader.position.subtract(this.ship.position).direction(); 
    		let newPosition = leader.position.subtract(leaderDirection.multiply(20000));
    		if (oolite.compareVersion('1.73') <= 0) 
    			{
    			this.ship.position = newPosition;
    			}
    		else 
    			{
    			this.ship.setPosition(newPosition);
    			}
    		this.ship.reactToAIMessage("LEADER_MID");
    		return;
    		}
    
    	if(this.leaderDistance < 25600)
    		{
    		this.ship.reactToAIMessage("LEADER_NEAR");
    		}
    	else
    		{
    		if(this.leaderDistance > 38400 || leader.speed > 2000)
    			{
    			this.ship.reactToAIMessage("LEADER_FAR");
    			}
    		else
    			{
    			this.ship.reactToAIMessage("LEADER_MID");
    			}
    		}
    	}
    
    Scripts/IR-shipment.js
    this.name = "IR-shipment.js";
    this.author = "Ramirez";
    this.copyright = "February 2010";
    this.description = "Script for maintaining status of IR shipment thread";
    this.version = "1.0";
    
    
    player.incrementShipmentStatus = this.incrementShipmentStatus = function()
    
    {	
    ++missionVariables.IR_shipment_status_no	
    mission.setInstructionsKey("IR_shipment_brief_"+[missionVariables.IR_shipment_status_no],"IR-shipment.js")	
    }
    
    
    player.clearShipmentStatus = this.clearShipmentStatus = function()
    
    {
    	mission.setInstructionsKey(null, "IR-shipment.js")
    	
    }
    
    
    
    player.setShipmentStatus = this.setShipmentStatus = function()
    
    {	
    mission.setInstructionsKey("IR_shipment_brief_"+[missionVariables.IR_shipment_status_no],"IR-shipment.js")	
    }	
    	
    
    Scripts/IR-sirius-tanker.js
    this.name = "IR-sirius-tanker.js";
    this.author = "Ramirez";
    this.copyright = "November 2010";
    this.description = "Ship script for tankers";
    this.version = "1.0";
    
    
    this.shipSpawned = function()
    
    {
    	
    
    }
    
    
    
    
    this.shipDied = function()
    
    {	
    		++missionVariables.IR_tanker_kill_count
    		
    		if(missionVariables.IR_tanker_kill_count == 6)
    		{player.commsMessage("Zarya-1, this is Sunray.  All tankers have been destroyed.", 8)
    		missionVariables.IR_tanker_kill_count = null
    		missionVariables.IR_status = "IR_tankers"}
    	
    }
    
    
    
    
    this.locateLeader = function()
    	{
    	this.leaderArray = system.shipsWithPrimaryRole("IR-sdf-imperator");
    	if(this.leaderArray.length > 0)
    		{
    		this.ship.target = this.leaderArray[0];
    		this.ship.reactToAIMessage("LEADER_FOUND");
    		}
    	}
    
    this.checkLeaderDistance = function()
    	{
    	
    
    	var leader = system.shipsWithPrimaryRole("IR-sdf-imperator")[0];
    	this.leaderDistance = this.ship.position.distanceTo(leader.position);
    	if(this.leaderDistance > 51200) // if the escort is more than 2 scanner ranges from the player, move it just off-scanner
    		{
    		let leaderDirection = leader.position.subtract(this.ship.position).direction(); 
    		let newPosition = leader.position.subtract(leaderDirection.multiply(20000));
    		if (oolite.compareVersion('1.73') <= 0) 
    			{
    			this.ship.position = newPosition;
    			}
    		else 
    			{
    			this.ship.setPosition(newPosition);
    			}
    		this.ship.reactToAIMessage("LEADER_MID");
    		return;
    		}
    
    	if(this.leaderDistance < 25600)
    		{
    		this.ship.reactToAIMessage("LEADER_NEAR");
    		}
    	else
    		{
    		if(this.leaderDistance > 38400 || leader.speed > 2000)
    			{
    			this.ship.reactToAIMessage("LEADER_FAR");
    			}
    		else
    			{
    			this.ship.reactToAIMessage("LEADER_MID");
    			}
    		}
    	}
    
    Scripts/IR-target-drone.js
    this.name = "IR-target-drone.js";
    this.author = "Ramirez";
    this.copyright = "August 2010";
    this.description = "Script for target drone";
    this.version = "1.0";
    
    this.shipDied = function()
    {
    		if(missionVariables.IR_defences_quest == "DEMO_1")
    		{++missionVariables.IR_defences_kill_count
    		if(missionVariables.IR_defences_kill_count == 10)
    		{player.commsMessage("Colonel Ruiz: All the target drones have been destroyed.  As you can see, it was a successful test.")
    		missionVariables.IR_defences_quest = "DEMO_2"}}
    }
    
    
    	
    	
    
    Scripts/IR-transport.js
    this.name = "IR-transport.js";
    this.author = "Ramirez";
    this.copyright = "July 2010";
    this.description = "Ship script for armoured transports";
    this.version = "1.0";
    
    
    this.shipSpawned = function()
    
    {
    	
    	if(missionVariables.IR_shipment_quest == "ENROUTE")
    	this.ship.setAI("IR-transport-exitAI.plist")
    	
    	if(missionVariables.IR_shipment_quest == "AMBUSH")
    	this.ship.setAI("route1TraderAI.plist")
    	
    
    
    }
    
    
    
    this.leaveSystem = function()
    
    {	if(missionVariables.IR_shipment_quest == "ENROUTE" && !missionVariables.IR_convoy_exited)
    	{	
    		
    		if(missionVariables.IR_alsto == "HELP_ACCEPTED")
    		{player.commsMessage("OK, the convoy's leaving the system.  I need to get back to the station and report to Abonlo.")
    		missionVariables.IR_convoy_exited = "TRUE"}
    	}	
    }
    	
    
    
    this.shipDied = function()
    
    {	if(this.ship.primaryRole == "IR-transport-alternate")
    	{	this.ship.spawn("IR-disabled-transport", 1)
    		++missionVariables.IR_transport_kill_count
    		player.consoleMessage("Transports disabled: "+missionVariables.IR_transport_kill_count, 6)
    		
    		if(missionVariables.IR_transport_kill_count == 4)
    		{missionVariables.IR_transport_kill_count = null
    		missionVariables.IR_transport_exit_count = null
    		missionVariables.IR_shipment_quest = "SUCCESS"
    		
    			if(missionVariables.IR_alsto == "INFORMED")
    			{missionVariables.IR_shipment_quest_method = "PIRATE_AMBUSH"
    			player.commsMessage("Alsto Abonlo: Good work.  We've disabled all the transports so the shipment's ours!")}
    		
    			else
    			{missionVariables.IR_shipment_quest_method = "SOLO_AMBUSH"
    			player.commsMessage("That's all the transports taken care of.  Sirius won't be taking delivery of its shipment after all.")}
    		
    		}
    	}
    	
    	if(this.ship.primaryRole == "IR-transport")
    	{++missionVariables.IR_transport_kill_count
    	if(missionVariables.IR_transport_kill_count == 4)
    		{missionVariables.IR_shipment_quest = "SUCCESS"
    		player.commsMessage("That's the transports taken care of.  Sirius won't be taking delivery of its shipment after all.")
    			if(missionVariables.IR_shipment_quest == "ENROUTE")
    			{missionVariables.IR_shipment_quest_method = "YOKOHAMA_AMBUSH"}
    		}
    	}
    }
    
    
    
    
    Scripts/IR-weiss.js
    this.name = "IR-weiss.js";
    this.author = "Ramirez";
    this.copyright = "November 2010";
    this.description = "Script for Weiss' ships";
    this.version = "1.0";
    
    
    this.shipExitedWitchspace = function()
    {this.ship.setAI("IR-weiss2AI.plist")}
    
    this.shipSpawned = function()
    {
    	if(missionVariables.IR_status == "IR_WEISS_1")
    		{this.ship.commsMessage("This is Flight QC272, setting course for departure...")
    		this.ship.setAI("IR-weiss1AI.plist")}
    	if(missionVariables.IR_status == "IR_WEISS_2b")
    		{this.ship.setAI("IR-weiss2AI.plist")}
    }
    
    this.performJump = function()
    
    {	
    	this.ship.fuel = 10.0
    	if(missionVariables.IR_status == "IR_WEISS_1")
    		{this.ship.exitSystem(175)
    		missionVariables.IR_status = "IR_WEISS_2a"}
    	if(missionVariables.IR_status == "IR_WEISS_2b")
    		{this.ship.exitSystem(119)
    		missionVariables.IR_status = "IR_WEISS_3"}		
    }
    
    
    this.shipDied = function()
    
    {	if(this.ship.primaryRole == "IR-weiss-shuttle")
    	{this.ship.spawn("IR-weiss-pod")}
    }
    
    this.shipWasScooped = function(whom)
    
    {	if(this.ship.primaryRole == "IR-weiss-pod")
    		{if(whom == player.ship)
    			{missionVariables.IR_status = "IR_weiss_scooped"
    			player.commsMessage("Reinhardt Weiss captured.  Please return to Laxesori Station.", 8)
    			}
    		}
    }