Advertisement
Guest User

Untitled

a guest
Nov 12th, 2019
93
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.08 KB | None | 0 0
  1. from colorama import Fore, Back, Style
  2. import random
  3. import time
  4. print('Belfry Gargoyles attack!')
  5. short_sword_equip_status = ('(Equipped)')
  6. longsword_equip_status = (' ')
  7. shortsword_damage = (7, 8, 9, 10, 15)
  8. longsword_damage = (0, 10, 11, 12, 13, 17, 25)
  9. observe = False
  10. estus = 2
  11. Belfry = 100
  12. Human = 50
  13. while True:
  14. print('--------------------------------------')
  15. print('Fight')
  16. print('Flee')
  17. print('Item')
  18. print('Observe')
  19. shortsword_damage = (7, 8, 9, 10, 15)
  20. longsword_damage = (0, 10, 11, 12, 13, 17, 25)
  21. attack = input('What do you do?')
  22. if attack == 'Fight' or attack == 'fight':
  23. if short_sword_equip_status == '(Equipped)':
  24. print('----------------------------')
  25. print('You take a swing at the gargoyles with your short sword!')
  26. time.sleep(1)
  27. shortsword_damage = random.choice(shortsword_damage)
  28. if shortsword_damage == 15:
  29. print(Fore.BLUE+('CRITICAL HIT')+Fore.RESET)
  30. print('The attack does '+str(shortsword_damage)+' damage!')
  31. Belfry = (Belfry - (shortsword_damage))
  32. print('Human Health: '+str(Human))
  33. if observe == True:
  34. print('Boss Health Remaining: '+str(Belfry))
  35. if longsword_equip_status == '(Equipped)':
  36. print('-------------------------------------')
  37. print('You wind up your longsword and take a swing!')
  38. time.sleep(1)
  39. longsword_damage = random.choice(longsword_damage)
  40. if longsword_damage == 25:
  41. print(Fore.BLUE+'CRITICAL HIT'+Fore.RESET)
  42. print('The attack does '+str(longsword_damage)+' damage!')
  43. if longsword_damage == 0:
  44. print(Fore.RED+'MISS'+Fore.RESET)
  45. Belfry = (Belfry - (longsword_damage))
  46. print('Human Health: '+str(Human))
  47. if observe == True:
  48. print('Boss Health: '+str(Belfry))
  49. if attack == 'Flee' or attack == 'flee':
  50. print('--------------------------------')
  51. print('The Belfry Gargoyles are a Boss! You may not flee!')
  52. print('Human Health: '+str(Human))
  53. if observe == True:
  54. print('Boss Health Remaining: '+str(Belfry))
  55. if attack == 'Observe' or attack == 'observe':
  56. if observe == True:
  57. print('----------------------------------')
  58. print('You have already done this, but you look deep into the gargoyles eyes anyway')
  59. print('Human Health: '+str(Human))
  60. print('Boss Health: '+str(Belfry))
  61. else:
  62. print('---------------------------------------')
  63. print('You stare at the Belfry Gargoyles, Menacingly')
  64. print('Boss Health Has Now Been Revealed!')
  65. observe = True
  66. print('Human Health: '+str(Human))
  67. print('Boss Health:'+str(Belfry))
  68. if attack == 'Item' or attack == 'item':
  69. print('-----------------------------')
  70. print('You take a look inside your item pouch...')
  71. time.sleep(1)
  72. while True:
  73. print('-----------------------------')
  74. print('Estus (Quantity: '+str(estus)+')')
  75. print('Silver Talisman')
  76. print('Longsword'+longsword_equip_status)
  77. print('Short Sword '+short_sword_equip_status)
  78. item = input('What item Do you use?')
  79. if item == 'Longsword' or item == 'longsword' or item == 'Long Sword' or item == 'long sword' or item == 'Long sword' or item == 'long Sword' or item == 'longSword':
  80. if longsword_equip_status == ('(Equipped)'):
  81. print('------------------------------------')
  82. print('You already have this item equipped!')
  83. print('Human Health: '+str(Human))
  84. if observe == True:
  85. print('Boss Health: '+str(Belfry))
  86. else:
  87. print('------------------------------------')
  88. print('You equipped your heavy damage dealing longsword')
  89. longsword_equip_status = ('(Equipped)')
  90. short_sword_equip_status = (' ')
  91. print('Human Health: '+str(Human))
  92. if observe == True:
  93. print('Boss Health: '+str(Belfry))
  94. break
  95. if item == 'Estus' or item == 'estus':
  96. if estus == 0:
  97. print('---------------------------------')
  98. print("As you pick up the estus flask and put it to your lips, you realize there's none left... What are you going to do?")
  99. print('Human Health: '+str(Human))
  100. if observe == True:
  101. print('Boss Health'+str(Belfry))
  102. else:
  103. print('----------------------------')
  104. print('You put the estus flask to your lips and gulp down the substance inside...')
  105. time.sleep(1)
  106. print('You have gained 20 health!')
  107. estus = (estus - 1)
  108. Human = (Human + 20)
  109. print('Number of Estus Remaining: '+str(estus))
  110. print('Human Health: '+str(Human))
  111. if observe == True:
  112. print('Boss Health: '+str(Belfry))
  113. break
  114. if item == 'Short Sword' or item == 'Short sword' or item == 'short sword' or item == 'short Sword' or item == 'shortsword' or item == 'ShortSword' or item == 'Shortsword' or item == 'shortSword':
  115. if short_sword_equip_status == ('(Equipped)'):
  116. print('--------------------------------------')
  117. print('You already have the Short Sword equipped!')
  118. print('Human Health: '+str(Human))
  119. if observe == True:
  120. print('Boss Health: '+str(Belfry))
  121. if short_sword_equip_status == (' '):
  122. print('--------------------------------------')
  123. print('You sheathe your longsword and put the shortsword into your hands')
  124. short_sword_equip_status = ('(Equipped)')
  125. longsword_equip_status = (' ')
  126. print('Human Health: '+str(Human))
  127. if observe == True:
  128. print('Boss Health: '+str(Belfry))
  129. if Belfry < 1:
  130. print('The gargoyles stumble back and screech in pain before attempting to kill you once more')
  131. time.sleep(2)
  132. print('As they come at you they start to slow down, and eventually collapse to the ground with no kind of movement...')
  133. time.sleep(3)
  134. print(Fore.GREEN+'VICTORY ACHIEVED!, 75 EXPERIENCE POINTS ACQUIRED!'+Fore.RESET)
  135. break
  136. time.sleep(3)
  137. print('You may now leave the roof!')
  138. quit()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement