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

Expansion phkb's Factory Paint Jobs: Adder

Content

Warnings

  1. http://wiki.alioth.net/index.php/phkb's%20Factory%20Paint%20Jobs:%20Adder -> 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 This bundle adds 27 new paint jobs for the Adder. This bundle adds 27 new paint jobs for the Adder.
Identifier oolite.oxp.phkb.FactoryPaintJobs_Adder oolite.oxp.phkb.FactoryPaintJobs_Adder
Title phkb's Factory Paint Jobs: Adder phkb's Factory Paint Jobs: Adder
Category Retextures Retextures
Author phkb phkb
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/c/cf/FactoryPaintJobs_Adder.oxz n/a
License CC-BY-SA-NC 4.0 CC-BY-SA-NC 4.0
File Size n/a
Upload date 1656895174

Documentation

readme.txt

phkb's Adder Factory Paint Jobs
===============================

This pack adds 27 different textures for the standard Adder (NPC and player variants).

Licence
=======
This work is licensed under the Creative Commons Attribution-Noncommercial-Share Alike 4.0 Unported License. To view a copy of this license, visit http://creativecommons.org/licenses/by-nc-sa/4.0/

Original diffuse, effects and normal maps from Griff's Adder.

Version History
===============
1.0
- Initial release.

Equipment

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

Ships

Name
phkb_adder_1
phkb_adder_10
phkb_adder_10_player
phkb_adder_11
phkb_adder_11_player
phkb_adder_12
phkb_adder_12_player
phkb_adder_13
phkb_adder_13_player
phkb_adder_14
phkb_adder_14_player
phkb_adder_15
phkb_adder_15_player
phkb_adder_16
phkb_adder_16_player
phkb_adder_17
phkb_adder_17_player
phkb_adder_18
phkb_adder_18_player
phkb_adder_19
phkb_adder_19_player
phkb_adder_1_player
phkb_adder_2
phkb_adder_20
phkb_adder_20_player
phkb_adder_21
phkb_adder_21_player
phkb_adder_22
phkb_adder_22_player
phkb_adder_23
phkb_adder_23_player
phkb_adder_24
phkb_adder_24_player
phkb_adder_25
phkb_adder_25_player
phkb_adder_26
phkb_adder_26_player
phkb_adder_27
phkb_adder_27_player
phkb_adder_2_player
phkb_adder_3
phkb_adder_3_player
phkb_adder_4
phkb_adder_4_player
phkb_adder_5
phkb_adder_5_player
phkb_adder_6
phkb_adder_6_player
phkb_adder_7
phkb_adder_7_player
phkb_adder_8
phkb_adder_8_player
phkb_adder_9
phkb_adder_9_player

Models

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

Scripts

Path
Scripts/phkb_adder_conditions.js
"use strict";
this.name = "phkb_adder_conditions_script";
this.author = "phkb";
this.copyright = "2021 phkb";
this.license = "CC BY-NC-SA 4.0";

this.allowOfferShip = function(shipKey) {
    // only offer certain styles/colours on a regular basis
    var keys = {
        0: [1,2,3,4,5,6,7,8,9],
        1: [10,11,12,13,14,15,16,17,18],
        2: [19,20,21,22,23,24,25,26,27]
    }
    var week = parseInt(clock.daysComponent / 7) % 4;  // will be 0-3
    var qtr = parseInt(clock.daysComponent / 30) % 3;  // will be 0-2
    var keylist = keys[qtr];
    var avail = [];
    switch (week) {
        case 0: 
            avail.push(keylist[1]);
            avail.push(keylist[5]);
            break;
        case 1:
            avail.push(keylist[2]);
            avail.push(keylist[6]);
            break;
        case 2:
            avail.push(keylist[3]);
            avail.push(keylist[7]);
            avail.push(keylist[4]);
            break;
        case 3:
            avail.push(keylist[8]);
            avail.push(keylist[0]);
            break;
    }
    for (var i = 0; i < avail.length; i++) {
        if ((shipKey + "E").indexOf("_" + avail[i] + "E") >= 0) return true;
    }
    return false;
}