Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import console
- import time
- console.set_font('<System>')
- console.set_color(0,1,0)
- #The start of it, before was setting up the vars
- print('hello there VAULT DWELLER!')
- time.sleep(1)
- print('just to verify, what is your name?')
- time.sleep(1)
- name = input('my name is.. ')
- print('Yes, we have that')
- time.sleep(1)
- print('now lets see what makes YOU S.P.E.C.I.A.L')
- time.sleep(1)
- print('Total points: 28')
- time.sleep(0.1)
- #set the special points
- def setpoints():
- global points
- global strength
- global perception
- global endurance
- global charisma
- global intelligence
- global agility
- global luck
- points = int(28)
- time.sleep(0.2)
- strength = int(input('strength: '))
- if strength > points:
- print('over points.. restarting')
- setpoints()
- points = points - strength
- print('remaining points: ',points)
- time.sleep(0.1)
- perception = int(input('perception: '))
- if perception > points:
- print('over points.. restarting')
- setpoints()
- points = points - perception
- print('remaining points: ',points)
- time.sleep(0.1)
- endurance = int(input('endurance: '))
- if endurance > points:
- print('over points.. restarting')
- setpoints()
- points = points - endurance
- print('remaining points: ',points)
- time.sleep(0.1)
- charisma = int(input('charisma: '))
- if charisma > points:
- print('over points.. restarting')
- setpoints
- points = points - charisma
- print('remaining points: ',points)
- time.sleep(0.1)
- intelligence = int(input('intelligence: '))
- if intelligence > points:
- print('over points.. restarting')
- setpoints()
- points = points - intelligence
- print('remaining points: ',points)
- time.sleep(0.1)
- agility = int(input('agility: '))
- if agility > points:
- print('over points.. restarting')
- setpoints()
- points = points - agility
- print('remaining points: ',points)
- time.sleep(0.1)
- luck = int(input('luck: '))
- if agility > points:
- print('over points.. restarting')
- setpoints()
- points = points - agility
- print('remaining points: ',points)
- setpoints()
- print('alright lets see..')
- time.sleep(0.1)
- if points == 0:
- print('you still have',points,'remaining!'
- print ('k')
- # wat = input('j')
- # if wat == 'k':
- # wat = input()
- # if wat == 'k':
- # print('going back')
- # setpoints()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement