I seem to be earning a lot of credits so wanted some way of addressing the balance so thought I would have station charge docking fees.
The script I use informs me of the docking charge when I leave the station which is not very satisfactory. I thought I saw a method where additional information could be entered onto the first screen (I think its the status screen) seen when docked at a station - perhaps I was dreaming
I thought it would be neat to have the docking charge displayed on the status screen rather than on exit fro the station.
I added:
this.shipDockedWithStation = function()
{
if(player.score > 6399) {player.credits -= 2000}
else
if(player.score > 16) {player.credits -= 200}
if(player.credits < 0) {player.credits = 0}
if(player.credits < 1 && player.score > 16)
{player.ship.launch()}
this.shipLaunchedFromStation = function()
{
if(player.credits < 1 && player.score > 16)
{
player.commsMessage("Station: Docking refused! - Insufficient credits", 10)
}
else
{
player.commsMessage("Station: Docking fee paid", 10)
}