Thanks! looking into functions is my next objective, i've just beefed out the menu a bit more, added in practicing and the original Mercury/Vostok crew rosters and their starting skill levels, these need modifying greatly. I imported them directly from BARIS and the system i'm using uses higher numbers. I'll probably just double everyones base skills.
Next I will take a long look at functions and try to use them (will be testing the things people suggested).
import random
import time
start = ''
print 'hello what is your name?'
name = raw_input()
time.sleep(1)
print 'your name is ' + name
while start > 5:
time.sleep(2)
print 'would you like to be a Cosmonaut or Astronaut?'
nationchoice = raw_input()
if nationchoice == 'Cosmonaut':
start = 1
elif nationchoice == 'Astronaut':
start = 1
else:
start = 10
print 'Choose Cosmonaut or Astronaut please.'
cosmonautmoney = 75
astronautmoney = 100
cosmonautstageone = 'Vostok'
astronautstageone = 'Mercury'
##BEGINNING OF ROSTERS##
##mercury 7##
Shirra = [2, 1 , 1, 1, 1, 100]
Glenn = [1, 1, 1, 0, 1, 100]
Grissom = [3, 1, 1, 1, 1, 100]
Cooper = [2, 1, 1, 1, 3, 100]
Shepard = [1, 1 ,1 ,1 ,2 , 100]
Slayton = [4, 1, 1, 0, 1, 100]
Carpenter = [1, 0, 1, 0, 2, 100]
Astronauts = [Shirra, Glenn, Grissom, Cooper, Shepard, Slayton, Carpenter] + [name]
##Vostok crew##
Gagarin = []
Titov = []
Nikolayev = []
Popovich = []
Bykovsky = []
Tereshkova = []
Cosmonauts = [Gagarin, Titov, Nikolayev, Popovich, Bykovsky, Tereshkova]
##END OF ROSTERS##
intro = 1
c = ''
l = ''
e = ''
d = ''
en = ''
m = ''
if nationchoice == 'Cosmonaut':
campaign = 1
date = 1957
if nationchoice == 'Astronaut':
campaign = 2
date = 1957
while intro == 1:
print 'you are a ' + nationchoice + '.'
time.sleep(2)
print 'The date is ' + str(date)
time.sleep(2)
print 'Your goal is to have a successful career in the space program, good luck!'
time.sleep(2)
##generation##
c = random.randint(0, 10)
l = random.randint(0, 5)
e = random.randint(0, 5)
d = random.randint(0, 5)
en = random.randint(0, 5)
m = random.randint(0, 100)
vis = 5
intro = 0
##menu##
choice = '0'
alive = 1
while alive == 1:
while choice != 5:
print 'What would you like to do?\n'
time.sleep(2)
print 'You can:\n1.REST\n2.PRACTICE\n3.SOCIALISE\n4.VIEW SKILLS\n10.NEXT TURN'
time.sleep(1)
print 'Enter your choice.'
choice = raw_input()
##viewskills##
if choice == str(4):
print 'Your skills are\n'
print 'Cap: ' + str(c)
print 'LEM: ' + str(l)
print 'EVA: ' + str(e)
print 'Doc: ' + str(d)
print 'End: ' + str(en)
print 'Mor: ' + str(m)
raw_input('Press ENTER to close')
##rest##
if choice == str(1):
increase = random.randint(0, 5)
print 'moral increased by ' + str(increase) + ' to ' + str(m)
time.sleep(2)
choice = 5
##Socialise##
if choice == str(3):
increase = random.randint (0, 5)
print 'You go to a local party, increasing your visibility to the elite by ' + str(increase) + ' making it ' + str(vis)
time.sleep(2)
choice = 5
##practice##
if choice == str(2):
choice = '5'
pchoice = ''
while pchoice != 'o':
print 'What would you like to practice?'
print '[C]apsule\n[L]EM\n[E]VA\n[D]ocking\nE[n]durance\nN[o]ne'
pchoice = raw_input()
if pchoice == 'c':
c = c + random.randint(0, 5)
print 'your practice increased your Capsule skill to ' + str(c)
pchoice = 'o'
choice = 5
if pchoice == 'l':
l = l + random.randint(0, 5)
print 'your practice increased your LEM skill to ' + str(l)
pchoice = 'o'
choice = 5
if pchoice == 'e':
e = e + random.randint(0, 5)
print 'your practice increased your EVA skill to ' + str(e)
pchoice = 'o'
choice = 5
if pchoice == 'd':
d = d + random.randint(0, 5)
print 'your practice increased your Docking skill to ' + str(d)
pchoice = 'o'
choice = 5
if pchoice == 'n':
n = c + random.randint(0, 5)
print 'your practice increased your Endurance skill to ' + str(n)
pchoice = 'o'
choice = 5
time.sleep(1)
print 'Your skills are\n'
print 'Cap: ' + str(c)
print 'LEM: ' + str(l)
print 'EVA: ' + str(e)
print 'Doc: ' + str(d)
print 'End: ' + str(en)
print 'Mor: ' + str(m)
raw_input('Press ENTER to close')
##working - next to do - end turn calc/competition astronauts + space program progression##
##revise skill increase to include the incriment in which it increased by##