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

Expansion Tionisla Orbital Graveyard - Memorials

Content

Warnings

  1. Description mismatch between OXP Manifest and Expansion Manager string length at character position 0
  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
Identifier oolite.oxp.phkb.TionislaOrbitalGraveyard_Memorials oolite.oxp.phkb.TionislaOrbitalGraveyard_Memorials
Title Tionisla Orbital Graveyard - Memorials Tionisla Orbital Graveyard - Memorials
Category Ambience Ambience
Author smivs, Selezen, phkb smivs, Selezen, phkb
Version 2.0 2.0
Tags
Required Oolite Version
Maximum Oolite Version
Required Expansions
  • oolite.oxp.phkb.TionislaOrbitalGraveyard:2.0
  • oolite.oxp.phkb.TionislaOrbitalGraveyard:2.0
  • Optional Expansions
    Conflict Expansions
    Information URL n/a
    Download URL https://wiki.alioth.net/img_auth.php/a/ae/TionislaOrbitalGraveyard_Memorials.oxz n/a
    License CC-BY-NC-SA 3.0 CC-BY-NC-SA 3.0
    File Size n/a
    Upload date 1691551416

    Documentation

    Also read http://wiki.alioth.net/index.php/Tionisla%20Orbital%20Graveyard%20-%20Memorials

    readme.txt

    TOGY Memorials v2.0 OXP
    
    TOGY Memorials is a plug-in for the Tionisla Orbital Graveyard OXP which adds memorials to deceased Commanders within the monument field at Tionisla.
    
    Credits:-
    OXP and Texturing by Smivs.
    'Starbird' model by Selezen.
    This OXP draws on resources from TOGY ( Selezen and Eric Walch.)
    
    Licence:- 
    Creative Commons Attribution - Non-Commercial - Share Alike 3.0 license
    
    Version requirements:- 
    Requires Oolite v1.80, and Tionisla Orbital Graveyard OXP.
    
    TOGY Memorials is dedicated to the memory of John Tugwell (Commander Ironfist), and Olli Krienke, ('Svengali')
    

    Equipment

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

    Ships

    Name
    Ironfist Memorial
    Svengali Memorial
    Memorial

    Models

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

    Scripts

    Path
    Config/script.js
    "use strict";
    this.name        = "TOGY_Memorials";
    this.author      = "phkb, smivs";
    this.copyright   = "2017 phkb";
    this.description = "Controls the creation of the TOGY memorials.";
    this.licence     = "CC BY-NC-SA 3.0";
    
    this.systemWillRepopulate = function() {
        var togy = worldScripts.TOGY_Main;
        if (togy) {
            var togypos = togy._pos;
            if (((galaxyNumber === 0 && system.ID === 124) || togy._debug === true) && system.countShipsWithRole("togy_station") != 0) {
                var pos = Vector3D(togypos.x + 350, togypos.y + 3000, togypos.z - 350).fromCoordinateSystem("psm");
                var sr = 1000;
                var bcc = worldScripts.BroadcastCommsMFD;
                var iron = system.addShips("memorial_ironfist", 1, pos, sr);
                if (iron.length > 0) {
                    if (bcc) {
                        iron[0].script._togy_info = "In memory of Commander John Tugwell, aka 'Ironfist', d 2013. A friendly, helpful test of others' work, and author of the Dwarven OXP.";
                        bcc.$createMessage({
                            messageName:"togy_memorial_reply_1", 
                            displayText:"[Query monument info]", 
                            messageText:"",
                            ship:iron[0],
                            transmissionType:"target", 
                            callbackFunction:togy.$transmitMonumentInfo,
                            deleteOnTransmit:false, 
                            delayCallback:1, 
                            hideOnConditionRed:false}
                        );
                    }
                }
                var sven = system.addShips("memorial_svengali", 1, pos, sr);
                if (sven.length > 0) {
                    if (bcc) {
                        sven[0].script._togy_info = "In memory of Commander Olli Krienke, aka 'Svengali', d 2021. One of our talented musician oxp-ers with a knack for getting Oolite to jump through hoops! Author of several vital OXP's including CCL, BGS and Library.";
                        bcc.$createMessage({
                            messageName:"togy_memorial_reply_2", 
                            displayText:"[Query monument info]", 
                            messageText:"",
                            ship:sven[0],
                            transmissionType:"target", 
                            callbackFunction:togy.$transmitMonumentInfo,
                            deleteOnTransmit:false, 
                            delayCallback:1, 
                            hideOnConditionRed:false}
                        );
                    }
                } else {
                    log("testing", "svengali memorial not created!");
                }
            } else {
                log(this.name, "mismatch on system/galaxy id - ie not Tionisla or togy_station not present.")
            }
        } else {
            log(this.name, "did not find togy main script");
        }
        // we only want to do this once
        delete this.systemWillRepopulate;
    }