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

Expansion Captain Solo's Good Fortune

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 very short 'Captain Solo's Good Fortune' book to your ship's library, how he won big playing poker the foolhardy way. Adds the very short 'Captain Solo's Good Fortune' book to your ship's library, how he won big playing poker the foolhardy way.
Identifier oolite.oxp.captsolo.solos-good-fortune oolite.oxp.captsolo.solos-good-fortune
Title Captain Solo's Good Fortune Captain Solo's Good Fortune
Category Equipment Equipment
Author CaptSolo CaptSolo
Version 1.05 1.05
Tags
Required Oolite Version
Maximum Oolite Version
Required Expansions
  • oolite.oxp.cim.ships-library:0.8
  • oolite.oxp.cim.ships-library:0.8
  • Optional Expansions
    Conflict Expansions
    Information URL n/a
    Download URL https://wiki.alioth.net/img_auth.php/e/e7/CaptSolos-GoodFortune.oxz n/a
    License CC-BY-SA 3.0 CC-BY-SA 3.0
    File Size n/a
    Upload date 1610873503

    Documentation

    Also read http://wiki.alioth.net/index.php/Captain%20Solo's%20Good%20Fortune

    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/captsolo.js
    this.author      = "CaptSolo"; 
    this.copyright   = "� 2011-2014 cim."; 
    this.licence = "CC-BY-SA 3.0";
    this.version     = "1.0"; 
    this.name = "Library book: CAPTSOLO";
    this.description = "Captain Solo's Good Fortune";
    
    
    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("captsolo",expandMissionText("captsolo-title"),this._captsolo());
    } 
    
    this._captsolo = function() 
    {
    		return [
    				{level: 0, key: "captsolo-frontpage"},
    				{level: 0, key: "captsolo-goodfortune"}
    		];
    }