Back to Index Page generated: Dec 20, 2024, 7:22:10 AM

Expansion Equipment Aide

Content

Manifest

from Expansion Manager's OXP list from Expansion Manifest
Description Buying equipment costs credits and time. Too bad you don't know how long the service is going to take. This oxp overlays the purchase screen with a list of equipment prices and estimated times to give you some clue of the time cost. Buying equipment costs credits and time. Too bad you don't know how long the service is going to take. This oxp overlays the purchase screen with a list of equipment prices and estimated times to give you some clue of the time cost.
Identifier oolite.oxp.spara.eq_aide oolite.oxp.spara.eq_aide
Title Equipment Aide Equipment Aide
Category Equipment Equipment
Author spara spara
Version 1.3 1.3
Tags
Required Oolite Version
Maximum Oolite Version
Required Expansions
Optional Expansions
Conflict Expansions
Information URL http://aegidian.org/bb/viewtopic.php?f=4&t=16616 n/a
Download URL https://wiki.alioth.net/img_auth.php/f/f1/Eq_aide_1.3.oxz n/a
License CC-BY-NC-SA 3.0 CC-BY-NC-SA 3.0
File Size n/a
Upload date 1610873511

Documentation

Also read http://wiki.alioth.net/index.php/Equipment%20Aide

readme_&_license.txt

Eq aide OXP ver 1.3 (2.7.2014)

Author: spara (Mika Spåra)

This is a very simple oxp that overlays the equipment screen with time estimates

------

Install the OXP by copying eq_aide.oxp to your AddOns-folder.

------

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

Equipment

This expansion declares no equipment.

Ships

This expansion declares no ships.

Models

This expansion declares no models.

Scripts

Path
Config/script.js
"use strict";
this.name        = "eq_aide"; 
this.author      = "spara"; 
this.copyright   = "2014 Mika Spara";
this.licence     = "CC BY-NC-SA 3.0"; 
this.description = "Overlay eq shop with estimated times"; 
this.version     = "1.1";

this.guiScreenChanged = function(to, from) {
	if (to == "GUI_SCREEN_EQUIP_SHIP") {
		this.$eqFrameCallback = addFrameCallback(this.$eqOverlay.bind(this));
	}
}

this.$eqOverlay = function(delta) {
	if (guiScreen != "GUI_SCREEN_EQUIP_SHIP") {
		removeFrameCallback(this.$eqFrameCallback);
		delete this.$eqFrameCallback;
		return;
	}
	setScreenOverlay('eq_aide.png');
}