Back to Index Page generated: May 8, 2024, 6:16:03 AM

Expansion Auxiliary Pylon

Content

Warnings

  1. http://wiki.alioth.net/index.php/Auxiliary%20Pylon -> 404 Not Found
  2. Information URL mismatch between OXP Manifest and Expansion Manager string length at character position 0

Manifest

from Expansion Manager's OXP list from Expansion Manifest
Description FE Shipyards will modify your vessel's underbelly for an additional pylon. This auxiliary pylon is not for a missile, but for a special cargo pod. Cargo pods in the 10-50 TC range will be buyable on the Equipment interface once the pylon has been fitted. FE Shipyards will modify your vessel's underbelly for an additional pylon. This auxiliary pylon is not for a missile, but for a special cargo pod. Cargo pods in the 10-50 TC range will be buyable on the Equipment interface once the pylon has been fitted.
Identifier oolite.oxp.Reval.Auxiliary_Pylon oolite.oxp.Reval.Auxiliary_Pylon
Title Auxiliary Pylon Auxiliary Pylon
Category Equipment Equipment
Author Reval Reval
Version 1.0 1.0
Tags
Required Oolite Version
Maximum Oolite Version
Required Expansions
Optional Expansions
Conflict Expansions
Information URL n/a
Download URL https://wiki.alioth.net/img_auth.php/2/26/Auxiliary_Pylon.oxz n/a
License CC-BY-NC-SA 4.0 CC-BY-NC-SA 4.0
File Size n/a
Upload date 1669807921

Documentation

Equipment

Name Visible Cost [deci-credits] Tech-Level
Auxiliary Pylon yes 150000 5+

Ships

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

Models

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

Scripts

Path
Scripts/ap_conditions.js
// conditions for award of Auxiliary Pylon
"use strict";
this.name = "AP Conditions";
this.author = "Reval";
this.licence = "CC BY-NC-SA 4.0";
this.version = "1.0";

this.allowAwardEquipment = function(equipment, ship, context) {
	
	if (equipment == "EQ_AUX_PYLON") return true;
	return true;
}
Scripts/ap_script.js
"use strict";
this.name = "Auxiliary Pylon";
this.author = "Reval";
this.licence = "CC BY-NC-SA 4.0";
this.version = "1.0";


this.playerBoughtEquipment = function(equipment, paid) {
	var pc = player.consoleMessage;
	if (equipment == "EQ_AUX_PYLON") {
			pc("Modifying underbelly for pylon attachment.",9);
			pc("Fitting one Auxiliary Pylon.",9);
	}	
}


this.equipmentRemoved = function(equipmentKey) {
    var pc=player.consoleMessage;
	if (equipmentKey == "EQ_AUX_PYLON") {
		pc("Auxiliary Pylon cannot be removed.",7);
	}
}


this.startUp = function() {
    log(this.name, "Initialising OXP " + this.name);
}