| Back to Index | Page generated: Nov 24, 2025, 1:21:31 AM |
| from Expansion Manager's OXP list | from Expansion Manifest | |
|---|---|---|
| Description | This bundle adds 36 new paint jobs for the Boa Mk2. | This bundle adds 36 new paint jobs for the Boa Mk2. |
| Identifier | oolite.oxp.phkb.FactoryPaintJobs_BoaMk2 | oolite.oxp.phkb.FactoryPaintJobs_BoaMk2 |
| Title | phkb's Factory Paint Jobs: Boa Mk2 | phkb's Factory Paint Jobs: Boa Mk2 |
| Category | Retextures | Retextures |
| Author | phkb | phkb |
| Version | 1.2 | 1.2 |
| Tags | ||
| Required Oolite Version | ||
| Maximum Oolite Version | ||
| Required Expansions | ||
| Optional Expansions | ||
| Conflict Expansions | ||
| Information URL | https://wiki.alioth.net/index.php/Factory_Paint_Jobs | n/a |
| Download URL | https://wiki.alioth.net/img_auth.php/7/77/FactoryPaintJobs_BoaMk2_1.2.oxz | n/a |
| License | CC-BY-SA-NC 4.0 | CC-BY-SA-NC 4.0 |
| File Size | n/a | |
| Upload date | 1700192243 |
Also read http://wiki.alioth.net/index.php/phkb's%20Factory%20Paint%20Jobs:%20Boa%20Mk2
phkb's Boa MK2 Factory Paint Jobs ================================= This pack adds 36 different textures for the standard Boa MK2 (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 Boa MK2. Version History =============== 1.2 - Removed incorrect data key from materials. 1.1 - Switched to different version of normal and effect maps. 1.0 - Initial release.
| Path | |
|---|---|
| Scripts/phkb_boamk2_conditions.js | "use strict";
this.name = "phkb_boamk2_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],
3: [28,29,30,31,32,33,34,35,36]
}
var week = parseInt(clock.daysComponent / 7) % 4; // will be 0-3
var qtr = parseInt(clock.daysComponent / 30) % 4; // will be 0-3
var keylist = keys[qtr];
var avail = [];
switch (week) {
case 0:
avail.push(keylist[2]);
avail.push(keylist[3]);
break;
case 1:
avail.push(keylist[4]);
avail.push(keylist[5]);
break;
case 2:
avail.push(keylist[6]);
avail.push(keylist[7]);
avail.push(keylist[8]);
break;
case 3:
avail.push(keylist[0]);
avail.push(keylist[1]);
break;
}
for (var i = 0; i < avail.length; i++) {
if ((shipKey + "E").indexOf("_" + avail[i] + "E") >= 0) return true;
}
return false;
} |