Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- from colorama import Fore, Back, Style
- import random
- import time
- print('Belfry Gargoyles attack!')
- short_sword_equip_status = ('(Equipped)')
- longsword_equip_status = (' ')
- shortsword_damage = (7, 8, 9, 10, 15)
- longsword_damage = (0, 10, 11, 12, 13, 17, 25)
- observe = False
- estus = 2
- Belfry = 100
- Human = 50
- while True:
- print('--------------------------------------')
- print('Fight')
- print('Flee')
- print('Item')
- print('Observe')
- shortsword_damage = (7, 8, 9, 10, 15)
- longsword_damage = (0, 10, 11, 12, 13, 17, 25)
- attack = input('What do you do?')
- if attack == 'Fight' or attack == 'fight':
- if short_sword_equip_status == '(Equipped)':
- print('----------------------------')
- print('You take a swing at the gargoyles with your short sword!')
- time.sleep(1)
- shortsword_damage = random.choice(shortsword_damage)
- if shortsword_damage == 15:
- print(Fore.BLUE+('CRITICAL HIT')+Fore.RESET)
- print('The attack does '+str(shortsword_damage)+' damage!')
- Belfry = (Belfry - (shortsword_damage))
- print('Human Health: '+str(Human))
- if observe == True:
- print('Boss Health Remaining: '+str(Belfry))
- if longsword_equip_status == '(Equipped)':
- print('-------------------------------------')
- print('You wind up your longsword and take a swing!')
- time.sleep(1)
- longsword_damage = random.choice(longsword_damage)
- if longsword_damage == 25:
- print(Fore.BLUE+'CRITICAL HIT'+Fore.RESET)
- print('The attack does '+str(longsword_damage)+' damage!')
- if longsword_damage == 0:
- print(Fore.RED+'MISS'+Fore.RESET)
- Belfry = (Belfry - (longsword_damage))
- print('Human Health: '+str(Human))
- if observe == True:
- print('Boss Health: '+str(Belfry))
- if attack == 'Flee' or attack == 'flee':
- print('--------------------------------')
- print('The Belfry Gargoyles are a Boss! You may not flee!')
- print('Human Health: '+str(Human))
- if observe == True:
- print('Boss Health Remaining: '+str(Belfry))
- if attack == 'Observe' or attack == 'observe':
- if observe == True:
- print('----------------------------------')
- print('You have already done this, but you look deep into the gargoyles eyes anyway')
- print('Human Health: '+str(Human))
- print('Boss Health: '+str(Belfry))
- else:
- print('---------------------------------------')
- print('You stare at the Belfry Gargoyles, Menacingly')
- print('Boss Health Has Now Been Revealed!')
- observe = True
- print('Human Health: '+str(Human))
- print('Boss Health:'+str(Belfry))
- if attack == 'Item' or attack == 'item':
- print('-----------------------------')
- print('You take a look inside your item pouch...')
- time.sleep(1)
- while True:
- print('-----------------------------')
- print('Estus (Quantity: '+str(estus)+')')
- print('Silver Talisman')
- print('Longsword'+longsword_equip_status)
- print('Short Sword '+short_sword_equip_status)
- item = input('What item Do you use?')
- 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':
- if longsword_equip_status == ('(Equipped)'):
- print('------------------------------------')
- print('You already have this item equipped!')
- print('Human Health: '+str(Human))
- if observe == True:
- print('Boss Health: '+str(Belfry))
- else:
- print('------------------------------------')
- print('You equipped your heavy damage dealing longsword')
- longsword_equip_status = ('(Equipped)')
- short_sword_equip_status = (' ')
- print('Human Health: '+str(Human))
- if observe == True:
- print('Boss Health: '+str(Belfry))
- break
- if item == 'Estus' or item == 'estus':
- if estus == 0:
- print('---------------------------------')
- 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?")
- print('Human Health: '+str(Human))
- if observe == True:
- print('Boss Health'+str(Belfry))
- else:
- print('----------------------------')
- print('You put the estus flask to your lips and gulp down the substance inside...')
- time.sleep(1)
- print('You have gained 20 health!')
- estus = (estus - 1)
- Human = (Human + 20)
- print('Number of Estus Remaining: '+str(estus))
- print('Human Health: '+str(Human))
- if observe == True:
- print('Boss Health: '+str(Belfry))
- break
- 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':
- if short_sword_equip_status == ('(Equipped)'):
- print('--------------------------------------')
- print('You already have the Short Sword equipped!')
- print('Human Health: '+str(Human))
- if observe == True:
- print('Boss Health: '+str(Belfry))
- if short_sword_equip_status == (' '):
- print('--------------------------------------')
- print('You sheathe your longsword and put the shortsword into your hands')
- short_sword_equip_status = ('(Equipped)')
- longsword_equip_status = (' ')
- print('Human Health: '+str(Human))
- if observe == True:
- print('Boss Health: '+str(Belfry))
- if Belfry < 1:
- print('The gargoyles stumble back and screech in pain before attempting to kill you once more')
- time.sleep(2)
- print('As they come at you they start to slow down, and eventually collapse to the ground with no kind of movement...')
- time.sleep(3)
- print(Fore.GREEN+'VICTORY ACHIEVED!, 75 EXPERIENCE POINTS ACQUIRED!'+Fore.RESET)
- break
- time.sleep(3)
- print('You may now leave the roof!')
- quit()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement