Advertisement
3of4

char prompter

Apr 16th, 2016
97
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.91 KB | None | 0 0
  1. import random
  2. import string
  3.  
  4. output = ""
  5. sex = random.randint(-3,3) # Determines gender.
  6. kin = random.randint(-1,7) # Determines sexuality.
  7. rom = random.randint(0,10) # Determines romance
  8.  
  9. random.seed()
  10.  
  11. if sex <= -1: # -1 and below = Female
  12. output += "You are female"
  13. elif sex == 0: # 0 = gender queer. So we still have to decide *physical* gender.
  14. sex2 = random.randint(0,1) # Physical Gender
  15. if sex2 == 0: # 0 = Female
  16. output += "You are a biologically female gender-queer"
  17. else: # 1 = Male
  18. output += "You are a biologically male gender-queer"
  19. else: # since all other options are out, 1 and above = Male
  20. output += "You are male"
  21.  
  22. output += ", "
  23.  
  24. if kin == -1: # -1 = No Sexuality.
  25. output += "you are asexual"
  26. elif kin == 7: # 7 = Pansexual/Omnisexual
  27. output += "you have the sexuality 'Captain Jack fucking Harkness' "
  28. else: # For simplicities sake, we go with the Kinsey Scale for the rest.
  29. output += "you are Kinsey " + str(kin)
  30.  
  31. output += " and"
  32.  
  33. if rom == 0: # 0 = Aromantic
  34. output += " you are aromantic."
  35. elif (rom >= 1) and (rom <= 5): #Basic romance, check Kinsey score to proceed.
  36. if kin == 6:
  37. output += " you are homoromantic."
  38. elif kin == 0:
  39. output += " you are heteroromantic."
  40. elif kin == 1:
  41. rom2 = random.randint(0,5)
  42. if rom2 == 5:
  43. output += " you are heteroromantic."
  44. else:
  45. output += " you are homoromantic."
  46. elif kin == 5:
  47. rom2 = random.randint(0,5)
  48. if rom2 == 0:
  49. output += " you are heteroromantic."
  50. else:
  51. output += " you are homoromantic."
  52. else:
  53. rom2 = random.randint(0,5)
  54. if rom2 <= 2:
  55. output += " you are heteroaromantic."
  56. else:
  57. output += " you are homoaromantic."
  58. elif rom == 6:
  59. output += " you are demiromantic."
  60. elif rom == 7:
  61. output += " you are panromantic."
  62. elif rom == 8:
  63. output += " you are polyromantic."
  64. else:
  65. output += " you are biromantic."
  66.  
  67.  
  68. #print sex
  69. #print kin
  70. print output
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement