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"));
}
|