Back to Index Page generated: Dec 20, 2024, 7:22:09 AM

Expansion Extracts from the Tre Clan

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 Adds the 'Extracts from the Tre Clan Addresses on Interplanetary Life' book to your ship's library, containing selected lectures from an experienced trader. Adds the 'Extracts from the Tre Clan Addresses on Interplanetary Life' book to your ship's library, containing selected lectures from an experienced trader.
Identifier oolite.oxp.cim.extracts-tre-clan oolite.oxp.cim.extracts-tre-clan
Title Extracts from the Tre Clan Extracts from the Tre Clan
Category Equipment Equipment
Author cim cim
Version 1.2 1.2
Tags
Required Oolite Version
Maximum Oolite Version
Required Expansions
  • oolite.oxp.cim.ships-library:0.6
  • oolite.oxp.cim.ships-library:0.6
  • Optional Expansions
    Conflict Expansions
    Information URL n/a
    Download URL https://cim.sotl.org.uk/games/files/oolite/Library_Extracts_1.2.oxz http://compsoc.dur.ac.uk/~cim/oolite/Library_Extracts_1.2.oxz
    License CC-BY-SA 3.0 CC-BY-SA 3.0
    File Size n/a
    Upload date 1389545723

    Documentation

    Also read http://wiki.alioth.net/index.php/Extracts%20from%20the%20Tre%20Clan

    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
    Scripts/efttcaoil.js
    this.author      = "cim"; 
    this.copyright   = "� 2011-2014 cim."; 
    this.licence = "CC-BY-SA 3.0";
    this.version     = "1.2"; 
    this.name = "Library book: EFTTCAOIL";
    this.description = "Extracts from the Tre Clan Addresses on Interplanetary Life";
    
    
    this.startUp = function() {
    		if (!worldScripts["Ships Library"]) {
    				log(this.name,"Ships Library OXP is not installed and this OXP requires it.");
    				return;
    		}
    		if (worldScripts["Ships Library"].startUp) {
    				// force initialisation
    				worldScripts["Ships Library"].startUp();
    		}
    		// first param: unique key for this book
    		// second param: title
    		// third param: contents list
    		worldScripts["Ships Library"]._registerBook("efttcaoil",expandMissionText("efttcaoil-title"),this._efttcaoil());
    } 
    
    this._efttcaoil = function() {
    		return [
    				{level: 0, key: "efttcaoil-frontpage"},
    				{level: 0, key: "efttcaoil-youdontwant"},
    				{level: 0, key: "efttcaoil-primeobjective"},
    				{level: 0, key: "efttcaoil-sevenlights"},
    				{level: 0, key: "efttcaoil-friendsenemies"},
    				{level: 0, key: "efttcaoil-theelite"}
    		];
    }