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

Expansion Jane's Galactic Shipset

Content

Warnings

  1. 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 Resizes and reattributes core shipset based on primary Elite sources. In many cases changes one or more of mass, speed, energy, recharge, missiles, cargo, pitch and roll statistics. Resizes and reattributes core shipset based on primary Elite sources. In many cases changes one or more of mass, speed, energy, recharge, missiles, cargo, pitch and roll statistics.
Identifier oolie.oxp.redspear.janes_galactic_shipset oolie.oxp.redspear.janes_galactic_shipset
Title Jane's Galactic Shipset Jane's Galactic Shipset
Category Ships Ships
Author Redspear Redspear
Version 1.2 1.2
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/e/ed/Oolite.oxp.redspear.janes_galactic_shipset.oxz n/a
License CC-BY-NC-SA 4.0 CC-BY-NC-SA 4.0
File Size n/a
Upload date 1708296642

Documentation

Also read http://wiki.alioth.net/index.php/Jane's%20Galactic%20Shipset

Equipment

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

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
Config/script.js
this.name = "Jane's Galactic Shipset";
this.author = "Redspear";
this.copyright = "2022 Redspear";
this.description = "Manage speed re installation of large cargo bay";
this.licence = "CC BY-NC-SA 4.0";

"use strict";

this.startUp = function ()
{
    if (player.ship.equipmentStatus("EQ_CARGO_BAY") === "EQUIPMENT_OK") {
		player.ship.maxSpeed = player.ship.maxSpeed - 70;
	}
}

this.equipmentAdded = function (eqKey)
{
	if (eqKey !=("EQ_CARGO_BAY")) {
		return;
	} else {
	//	log(this.name, "Cargo Bay pre: " + player.ship.maxSpeed);
		player.ship.maxSpeed = player.ship.maxSpeed - 70;
	//	log(this.name, "Cargo Bay post: " + player.ship.maxSpeed);
	}
}

this.equipmentRemoved = function (eqKey)
{
	if (eqKey !=("EQ_CARGO_BAY")) {
		return;
	} else {
		player.ship.maxSpeed = player.ship.maxSpeed + 70;
	}
}