"use strict";
this.name = "IR-SDF.js";
this.author = "Ramirez";
this.copyright = "February 2010";
this.description = "Script for maintaining status of IR SDF thread";
this.version = "2.0";

//-------------------------------------------------------------------------------------------------------------
this.incrementSDFStatus = function () {
	++missionVariables.IR_SDF_status_no;
	if (missionVariables.IR_SDF_status_no == 1) mission.markSystem({name:"IR-main-script.js", system:82});
	if (missionVariables.IR_SDF_status_no == 2) mission.markSystem({name:"IR-main-script.js", system:31});
	worldScripts["IR-main-script.js"]._setInstructionsKey("IR_SDF_brief_" + [missionVariables.IR_SDF_status_no], "IR-SDF.js");
}

//-------------------------------------------------------------------------------------------------------------
this.clearSDFStatus = function () {
	worldScripts["IR-main-script.js"]._setInstructionsKey(null, "IR-SDF.js");
}

//-------------------------------------------------------------------------------------------------------------
this.setSDFStatus = function () {
	worldScripts["IR-main-script.js"]._setInstructionsKey("IR_SDF_brief_" + [missionVariables.IR_SDF_status_no], "IR-SDF.js");
}