Documentation
Also read http://wiki.alioth.net/index.php/Display%20reputation
readMe.rtf
{\rtf1\ansi\ansicpg1252\cocoartf1038\cocoasubrtf360
\readonlydoc1{\fonttbl\f0\fswiss\fcharset0 Helvetica;}
{\colortbl;\red255\green255\blue255;}
\paperw11905\paperh16837\margl1440\margr1440\vieww12720\viewh8880\viewkind0
\pard\tx566\tx1133\tx1700\tx2267\tx2834\tx3401\tx3968\tx4535\tx5102\tx5669\tx6236\tx6803\qc\pardirnatural
\f0\b\fs26 \cf0 \ul \ulc0 display_reputation v 1.2
\b0 \ulnone \
\
by "Commander McLane"\
\
\
an Expansion Pack for Oolite by Giles Williams\
\
based on "Elite" by Ian Bell and David Braben\
\pard\tx566\tx1133\tx1700\tx2267\tx2834\tx3401\tx3968\tx4535\tx5102\tx5669\tx6236\tx6803\ql\qnatural\pardirnatural
\cf0 \
\
\ul Introduction\ulnone \
\
This OXP lets you know your current reputations in the passenger ferrying, the parcel delivery, and the cargo contract market.\
\
\ul Overview\ulnone \
\
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.\
\
\ul Minimum Requirements\ulnone \
\
display_reputation1.2.oxp requires at least Oolite 1.77.\
\
\ul Download Location\ulnone \
\
This OXP is available for download via the {\field{\*\fldinst{HYPERLINK "http://wiki.alioth.net/index.php/Display_reputation_OXP"}}{\fldrslt Elite Wiki}}.\
\
\ul Installation\ulnone \
\
Move or copy the file display_reputation1.2.oxp from this folder into your AddOns folder. Where that resides depends on your installation. Make sure to move any previous versions of the OXP to the trash. Restart Oolite.\
\
\ul License\ulnone \
\
This work is licensed under the Creative\'a0Commons Attribution-NonCommercial-ShareAlike License version 3.0. For more information see the ReadMe of Oolite or the {\field{\*\fldinst{HYPERLINK "http://creativecommons.org/licenses/by-nc-sa/3.0/"}}{\fldrslt Creative Commons' website}}.\
\
Practically this means that you may rip it apart and use whatever seems useful to you, as long as you credit the original author. It would be nice\'97although by no means necessary\'97to give me a note, if you intend to use parts of it.\
\
\ul History\ulnone \
\
version 1.2 (August 27th, 2013)\
- reputation display extended to parcel delivery (thanks, Norby!)\
- removed no-longer-in-use event from scripts\
- requires Oolite 1.77\
\
version 1.1 (March 27th, 2010)\
- will now also display your correct reputation, right after you missed a deadline (thanks, Eric!)\
\
version 1.0 (January 27th, 2010)\
- fully functional version\
- requires Oolite 1.72\
}
Path |
Scripts/display-reputation-contract.js |
/*
display-reputation-contract.js
Script to display your contract reputation on the manifest screen.
Oolite
Copyright © 2003-2013 Giles C Williams and contributors
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
MA 02110-1301, USA.
display_reputation.oxp
Copyright © 2010-2013 "Commander McLane"
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/ or send a letter
to Creative Commons, 171 Second Street, Suite 300, San Francisco,
California, 94105, USA.
*/
this.name = "display-reputation-contract";
this.author = "Commander McLane";
this.copyright = "© 2013 Commander McLane";
this.license = "CC-by-nc-sa 3.0";
this.description = "Script for displaying the player's contract reputation on the manifest screen";
this.version = "1.2";
this.startUp = this.shipExitedWitchspace = this.reportScreenEnded = function()
{
if(player.contractReputation >= 0)
mission.setInstructionsKey(expandDescription("display_reputation_contract_" + player.contractReputation));
else
mission.setInstructionsKey(expandDescription("display_reputation_contract_minus"));
}
|
Scripts/display-reputation-parcel.js |
/*
display-reputation-parcel.js
Script to display your parcel reputation on the manifest screen.
Oolite
Copyright © 2003-2013 Giles C Williams and contributors
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
MA 02110-1301, USA.
display_reputation.oxp
Copyright © 2010-2013 "Commander McLane"
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/ or send a letter
to Creative Commons, 171 Second Street, Suite 300, San Francisco,
California, 94105, USA.
*/
this.name = "display-reputation-parcel";
this.author = "Commander McLane";
this.copyright = "© 2013 Commander McLane";
this.license = "CC-by-nc-sa 3.0";
this.description = "Script for displaying the player's parcel reputation on the manifest screen";
this.version = "1.2";
this.startUp = this.shipExitedWitchspace = this.reportScreenEnded = function()
{
if(player.parcelReputation >= 0)
mission.setInstructionsKey(expandDescription("display_reputation_parcel_" + player.parcelReputation));
else
mission.setInstructionsKey(expandDescription("display_reputation_parcel_minus"));
}
|
Scripts/display-reputation-passenger.js |
/*
display-reputation-passenger.js
Script to display your passenger reputation on the manifest screen.
Oolite
Copyright © 2003-2013 Giles C Williams and contributors
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
MA 02110-1301, USA.
display_reputation.oxp
Copyright © 2010-2013 "Commander McLane"
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/ or send a letter
to Creative Commons, 171 Second Street, Suite 300, San Francisco,
California, 94105, USA.
*/
this.name = "display-reputation-passenger";
this.author = "Commander McLane";
this.copyright = "© 2013 Commander McLane";
this.license = "CC-by-nc-sa 3.0";
this.description = "Script for displaying the player's passenger reputation on the manifest screen";
this.version = "1.2";
this.startUp = this.shipExitedWitchspace = this.reportScreenEnded = function()
{
if(player.passengerReputation >= 0)
mission.setInstructionsKey(expandDescription("display_reputation_passenger_" + player.passengerReputation));
else
mission.setInstructionsKey(expandDescription("display_reputation_passenger_minus"));
}
|