# Player will set up their company, picking difficulty and insurance.
# Player will set up their company, picking difficulty and insurance.
# After they will pick the contracts and start playing.
# After they will pick the contracts and start playing.
...
@@ -86,6 +100,8 @@ print("Captain " + playername + ", I like it!\n")
...
@@ -86,6 +100,8 @@ print("Captain " + playername + ", I like it!\n")
companyName = input("What is your company called?\n")
companyName = input("What is your company called?\n")
print("Okay, I am registering " + companyName + ".\nIn order for your to get on your feet, we will give you a ship for free.\n ")
print("Okay, I am registering " + companyName + ".\nIn order for your to get on your feet, we will give you a ship for free.\n ")
print("Your starting ship:\n BIRMINGHAM CLASS FREIGHTER\n Length: 300ft\n Cargo: 50,000 tons\n Operating Cost: 10,000 per day\n\n")
# shipname
# shipname
shipname = input("What will you call it?\n")
shipname = input("What will you call it?\n")
...
@@ -227,6 +243,8 @@ while date < 32:
...
@@ -227,6 +243,8 @@ while date < 32:
elif (Outcomes[outcome][1] == 3):
elif (Outcomes[outcome][1] == 3):
print("Dave: I\'m suprised we are still alive, unfortunatly we have lost £", Outcomes[outcome][5], " worth of cargo. I don\'t know how you\'re going to explain this.")
print("Dave: I\'m suprised we are still alive, unfortunatly we have lost £", Outcomes[outcome][5], " worth of cargo. I don\'t know how you\'re going to explain this.")
bankbal = bankbal - Ships[shipno][5]
input("Press 'Enter' to continue")
input("Press 'Enter' to continue")
clear()
clear()
...
@@ -243,6 +261,33 @@ while date < 32:
...
@@ -243,6 +261,33 @@ while date < 32:
print("----------------------------------------------\nCurrent Location: " + Routes[contract][2] + "\nContract payout: ", Routes[contract][4], "\nPenalties: ", payoutloss, "\nTotal Income from Haul: ", income)
print("----------------------------------------------\nCurrent Location: " + Routes[contract][2] + "\nContract payout: ", Routes[contract][4], "\nPenalties: ", payoutloss, "\nTotal Income from Haul: ", income)
bankbal = bankbal + income
bankbal = bankbal + income
print("")
print("")
shipmarket = ""
shipmarket = input("Would you like to purchase a new ship yes/no?")
while shipmarket.lower() in yes_no:
if shipmarket.lower() == "no":
break
if shipmarket.lower() == "yes":
print ("Welcome to the ship market. Your current ship is " + shipname + " " + Ships[shipno][0] + " class\n\n")