Fluffyofqweam

Untitled

May 9th, 2018
73
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. import console
  2. import time
  3. console.set_font('<System>')
  4. console.set_color(0,1,0)
  5. #The start of it, before was setting up the vars
  6. print('hello there VAULT DWELLER!')
  7. time.sleep(1)
  8. print('just to verify, what is your name?')
  9. time.sleep(1)
  10. name = input('my name is.. ')
  11. print('Yes, we have that')
  12. time.sleep(1)
  13. print('now lets see what makes YOU S.P.E.C.I.A.L')
  14. time.sleep(1)
  15. print('Total points: 28')
  16. time.sleep(0.1)
  17. #set the special points
  18. def setpoints():
  19. global points
  20. global strength
  21. global perception
  22. global endurance
  23. global charisma
  24. global intelligence
  25. global agility
  26. global luck
  27. points = int(28)
  28. time.sleep(0.2)
  29. strength = int(input('strength: '))
  30. if strength > points:
  31. print('over points.. restarting')
  32. setpoints()
  33. points = points - strength
  34. print('remaining points: ',points)
  35. time.sleep(0.1)
  36. perception = int(input('perception: '))
  37. if perception > points:
  38. print('over points.. restarting')
  39. setpoints()
  40. points = points - perception
  41. print('remaining points: ',points)
  42. time.sleep(0.1)
  43. endurance = int(input('endurance: '))
  44. if endurance > points:
  45. print('over points.. restarting')
  46. setpoints()
  47. points = points - endurance
  48. print('remaining points: ',points)
  49. time.sleep(0.1)
  50. charisma = int(input('charisma: '))
  51. if charisma > points:
  52. print('over points.. restarting')
  53. setpoints
  54. points = points - charisma
  55. print('remaining points: ',points)
  56. time.sleep(0.1)
  57. intelligence = int(input('intelligence: '))
  58. if intelligence > points:
  59. print('over points.. restarting')
  60. setpoints()
  61. points = points - intelligence
  62. print('remaining points: ',points)
  63. time.sleep(0.1)
  64. agility = int(input('agility: '))
  65. if agility > points:
  66. print('over points.. restarting')
  67. setpoints()
  68. points = points - agility
  69. print('remaining points: ',points)
  70. time.sleep(0.1)
  71. luck = int(input('luck: '))
  72. if agility > points:
  73. print('over points.. restarting')
  74. setpoints()
  75. points = points - agility
  76. print('remaining points: ',points)
  77. setpoints()
  78. print('alright lets see..')
  79. time.sleep(0.1)
  80. if points == 0:
  81. print('you still have',points,'remaining!'
  82. print ('k')
  83. # wat = input('j')
  84. # if wat == 'k':
  85. # wat = input()
  86. # if wat == 'k':
  87. # print('going back')
  88. # setpoints()
RAW Paste Data