Difference between revisions of "Display reputation OXP"

From Elite Wiki
(Updating BB links)
(Added in Wildeblood's tweak (awaiting his BB response for tweaks))
 
Line 1: Line 1:
== Introduction ==
+
Displays on your Ship's Manifest Screen your current reputations in the passenger ferrying, the parcel delivery, and the cargo contract market.
 
 
This [[OXP]] lets you know your current reputations in the passenger ferrying, the parcel delivery, and the cargo contract market.
 
  
 +
[[File:F5F5 screen (Vanilla game).png|thumb|400px|right|Ship's Manifest Screen (F5F5 - from the Vanilla game)]]
 
== Overview ==
 
== Overview ==
 
After each jump your current reputations as a passenger ferrier, a parcel deliverer, and a contract cargo carrier are displayed as a human readable string on your ship's manifest screen. Just go to that screen (F5-F5) in order to see what you're worth, and how you climb the ladder until becoming the galaxy's most renowned passenger, parcel or cargo carrier.
 
After each jump your current reputations as a passenger ferrier, a parcel deliverer, and a contract cargo carrier are displayed as a human readable string on your ship's manifest screen. Just go to that screen (F5-F5) in order to see what you're worth, and how you climb the ladder until becoming the galaxy's most renowned passenger, parcel or cargo carrier.
Line 24: Line 23:
  
 
Manual way for the OXP version: move or copy the folder or file display_reputation1.2.oxp from its download folder into your AddOns folder. Where that resides depends on your installation. Make sure do move any previous versions of the OXP to the trash. Restart Oolite.
 
Manual way for the OXP version: move or copy the folder or file display_reputation1.2.oxp from its download folder into your AddOns folder. Where that resides depends on your installation. Make sure do move any previous versions of the OXP to the trash. Restart Oolite.
 +
 +
== Tweaks ==
 +
=== Adding in Explorer's Club "reputation" ===
 +
Just open up the oxz, dig out the older "version = 1.3" script.js file, and paste ''this'' over it:
 +
 +
"use strict";
 +
 +
this.name    = "display_reputations";
 +
this.version = "1.4";
 +
 +
this.startUpComplete = this.shipExitedWitchspace = this.reportScreenEnded = function () {
 +
    this._setReputations();
 +
}
 +
 +
this._setReputations = function () {
 +
    let title = expandMissionText("display_reputation_title_word");
 +
    if (player.passengerReputation >= 0) {
 +
        let passenger = expandMissionText("display_reputation_passenger_" + player.passengerReputation);
 +
    } else {
 +
        let passenger = expandMissionText("display_reputation_passenger_minus");
 +
    }
 +
    if (player.contractReputation >= 0) {
 +
        let contract = expandMissionText("display_reputation_contract_" + player.contractReputation);
 +
    } else {
 +
        let contract = expandMissionText("display_reputation_contract_minus");
 +
    }
 +
    if (player.parcelReputation >= 0) {
 +
        let parcel = expandMissionText("display_reputation_parcel_" + player.parcelReputation);
 +
    } else {
 +
        let parcel = expandMissionText("display_reputation_parcel_minus");
 +
    }
 +
    let ws = worldScripts["Explorers Club"];
 +
    if (ws) {
 +
        let explorer = ws._playerRank();
 +
        mission.setInstructions([title, passenger, parcel, contract, explorer]);
 +
    } else {
 +
        mission.setInstructions([title, passenger, parcel, contract]);
 +
    }
 +
}
 +
[[User:Wildeblood|Wildeblood]], 2024 (source is [https://bb.oolite.space/viewtopic.php?p=297073#p297073 here])
 +
 +
== Alternatives ==
 +
*[[Useful MFDs]] gives one's "parcel-carrying" reputation on the first MFD (can be pushed off it by the Solar Wind Flux rating)
  
 
== Links ==
 
== Links ==

Latest revision as of 06:37, 19 July 2024

Displays on your Ship's Manifest Screen your current reputations in the passenger ferrying, the parcel delivery, and the cargo contract market.

Ship's Manifest Screen (F5F5 - from the Vanilla game)

Overview

After each jump your current reputations as a passenger ferrier, a parcel deliverer, and a contract cargo carrier are displayed as a human readable string on your ship's manifest screen. Just go to that screen (F5-F5) in order to see what you're worth, and how you climb the ladder until becoming the galaxy's most renowned passenger, parcel or cargo carrier.

It is a nice-to-have addition for those in pursuit of a passenger ferrying, parcel delivery, or cargo contract delivery career. But it is by no means a must.

If you remove the OXP, the information on the manifest screen will be gone.

Minimum Requirements

Requires at least Oolite 1.77.

Download Location

Old version

  • Display Reputation v1.2 in OXP form is available for download via box.com.

Installation

The OXZ version is installable within the game in the Expansions Manager.

Manual way for the OXP version: move or copy the folder or file display_reputation1.2.oxp from its download folder into your AddOns folder. Where that resides depends on your installation. Make sure do move any previous versions of the OXP to the trash. Restart Oolite.

Tweaks

Adding in Explorer's Club "reputation"

Just open up the oxz, dig out the older "version = 1.3" script.js file, and paste this over it:

"use strict";

this.name    = "display_reputations";
this.version = "1.4";

this.startUpComplete = this.shipExitedWitchspace = this.reportScreenEnded = function () {
   this._setReputations();
}

this._setReputations = function () {
   let title = expandMissionText("display_reputation_title_word");
   if (player.passengerReputation >= 0) {
       let passenger = expandMissionText("display_reputation_passenger_" + player.passengerReputation);
   } else {
       let passenger = expandMissionText("display_reputation_passenger_minus");
   }
   if (player.contractReputation >= 0) {
       let contract = expandMissionText("display_reputation_contract_" + player.contractReputation);
   } else {
       let contract = expandMissionText("display_reputation_contract_minus");
   }
   if (player.parcelReputation >= 0) {
       let parcel = expandMissionText("display_reputation_parcel_" + player.parcelReputation);
   } else {
       let parcel = expandMissionText("display_reputation_parcel_minus");
   }
   let ws = worldScripts["Explorers Club"];
   if (ws) {
       let explorer = ws._playerRank();
       mission.setInstructions([title, passenger, parcel, contract, explorer]);
   } else {
       mission.setInstructions([title, passenger, parcel, contract]);
   }
}

Wildeblood, 2024 (source is here)

Alternatives

  • Useful MFDs gives one's "parcel-carrying" reputation on the first MFD (can be pushed off it by the Solar Wind Flux rating)

Links