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

//-------------------------------------------------------------------------------------------------------------
this.incrementShipmentStatus = function () {
	++missionVariables.IR_shipment_status_no;
	if (missionVariables.IR_shipment_status_no == 2) mission.markSystem({name:"IR-main-script.js", system:171});
	if (missionVariables.IR_shipment_status_no == 3) mission.markSystem({name:"IR-main-script.js", system:112});
	
	worldScripts["IR-main-script.js"]._setInstructionsKey("IR_shipment_brief_" + [missionVariables.IR_shipment_status_no], "IR-shipment.js");
}

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

//-------------------------------------------------------------------------------------------------------------
this.setShipmentStatus = function () {
	worldScripts["IR-main-script.js"]._setInstructionsKey("IR_shipment_brief_" + [missionVariables.IR_shipment_status_no], "IR-shipment.js");
}