| Back to Index | Page generated: Nov 24, 2025, 1:21:31 AM |
| from Expansion Manager's OXP list | from Expansion Manifest | |
|---|---|---|
| Description | Buy Trail Detector to see engine trails of other ships up to a bit over scanner range. Requires Trails OXP. | Buy Trail Detector to see engine trails of other ships up to a bit over scanner range. Requires Trails OXP. |
| Identifier | oolite.oxp.Norby.Trail_Detector | oolite.oxp.Norby.Trail_Detector |
| Title | Trail Detector | Trail Detector |
| Category | Equipment | Equipment |
| Author | Norby | Norby |
| Version | 1.0 | 1.0 |
| Tags | uber | uber |
| Required Oolite Version | ||
| Maximum Oolite Version | ||
| Required Expansions |
|
|
| Optional Expansions | ||
| Conflict Expansions | ||
| Information URL | http://wiki.alioth.net/index.php/Trails | n/a |
| Download URL | https://wiki.alioth.net/img_auth.php/d/d6/Trail_Detector_1.0.oxz | n/a |
| License | CC BY-NC-SA 4 | CC BY-NC-SA 4 |
| File Size | n/a | |
| Upload date | 1610873479 |
Also read http://wiki.alioth.net/index.php/Trail%20Detector
| Name | Visible | Cost [deci-credits] | Tech-Level |
|---|---|---|---|
| Remove Trail Detector | yes | 0 | 5+ |
| Trail Detector | yes | 1000 | 5+ |
| Path | |
|---|---|
| Config/script.js | "use strict";
this.name = "traildetector";
this.author = "Norby";
this.copyright = "2016 Norby";
this.description = "Display engine trails of other ships up to a bit over scanner range";
this.licence = "CC BY-NC-SA 4.0";
this.startUpComplete = function() {
var w = worldScripts.trails;
if( w && player.ship.equipmentStatus( "EQ_TRAIL_DETECTOR" ) == "EQUIPMENT_OK" )
w.$Zoom = true;
else w.$Zoom = false;
}
this.playerBoughtEquipment = function(equipment) {
if(equipment === "EQ_TRAIL_DETECTOR") {
var w = worldScripts.trails;
if( w ) w.$Zoom = true;
}
if(equipment === "EQ_REMOVE_TRAIL_DETECTOR") {
player.ship.removeEquipment( "EQ_TRAIL_DETECTOR" );
player.ship.removeEquipment( equipment );
}
}
this.equipmentDamaged = this.equipmentRemoved = function(equipment) {
if(equipment === "EQ_TRAIL_DETECTOR") {
var w = worldScripts.trails;
if( w ) w.$Zoom = false;
}
}
this.equipmentRepaired = function(equipment) {
if(equipment === "EQ_TRAIL_DETECTOR") {
var w = worldScripts.trails;
if( w ) w.$Zoom = true;
}
}
|