def proceed(self): print ''' The way forward is marked by two doors. One made of [steel] and one of [wood].''' while True: choice = raw_input('\nWhich do you choose? > ') if choice == 'steel' or choice == 'wood': main.room_selector() else: print '\nChoose a door to continue.' continue
def proceed(self): print ''' You are faced with two paths, a rusted [iron] door directly ahead and a simple copper door down a [hallway] to your left.''' while True: choice = raw_input('\nWhich do you choose? > ') if choice == 'iron': if main.player.player_class == 'thief': raw_input('The door is locked! Attempt to unlock? > ') raw_input('You successfully unlock the door!') main.player.xp += 3 raw_input('\nYou gain 3 experience!') if main.player.xp > 9: main.player.levelup() main.room_selector() else: raw_input('The door is locked!') elif choice == 'hallway': main.room_selector() else: print '\nChoose a door to continue.' continue
def proceed(self): raw_input('\nYou grasp the doorknob. > ') main.room_selector()
def proceed(self): raw_input(''' Sneezlebrixx shows you to the shop's exit: a squat wooden door clearly designed for smaller creatures such as kobolds or halflings. The goblin waves as you bend down to open the tiny door. > ''') main.room_selector()
def proceed(self): print ''' As you make your way down the many steps ahead you are suddenly aware of a low hum, gradually increasing in volume to eventually reverberate across the entire chamber and become a powerful roar of vibration.''' raw_input('\nYou involuntarily clasp your hands to your ears. > ') print ''' In an instant the clamor dissipates, returning the chamber to utter silence. As you regain your composure you are addressed by a voice in the darkness.''' raw_input('\n"Traveler...what purpose have you in this place?" > ') while True: choice1 = raw_input(''' [Who] are you?" To [destroy] the evil within this mine." To [plunder] the mine's lost treasures." > ''').lower() if choice1 == 'who': raw_input(''' As the words leave your mouth the ancient tree before you vibrates softly. Two large yellow eyes materialize in the bark and fix themselves upon you. > ''') print ''' "I have no name, and your kind has no words for my being. My very existence is beyond anything in your experience - you will never fully understand my true essence. Be content to perceive me as your kind often does - simply a benevolent nature spirit."''' while True: choice2 = raw_input(''' [What] do you want?" "You're a [talking] tree!" > ''').lower() if choice2 == 'what': raw_input(''' "My influence has been usurped by a nefarious sorcerer seeking to enter the upper planes by way of my own deep connection with them. It is this corruption that is responsible for the evil recently pouring forth from this mine. Find the sorcerer deeper inside and destroy him." > ''') raw_input(''' "If you refuse to help or fail in this task my connection with the planes will be severed and I will slowly wither into nonexistence. The evil lurking in this region will gradually increase in ferocity and your civilization will be overrun. However, the higher order of the universe is not concerned with such trivial matters, so your choice is ultimately meaningless." \n"I leave you now." > ''') raw_input(''' The large yellow eyes disappear and the ancient tree gradually ceases its vibration. The room is returned to stillness once more. > ''') break elif choice2 == 'talking': raw_input(''' "Yes. I can see your intellect is not evolved enough to truly comprehend my plight. Our interaction will not be fruitful. I leave you now to your simplistic awe." > ''') raw_input(''' The large yellow eyes disappear and the ancient tree gradually ceases its vibration. The room is returned to stillness once more. > ''') break else: print '\nChoose an option to continue.' continue elif choice1 == 'destroy': raw_input(''' As the words leave your mouth the ancient tree before you vibrates softly. Two large yellow eyes materialize in the bark and fix themselves upon you. > ''' ) raw_input(''' "You are near the end of that particular quest, traveler. I am known to your kind as...a benevolent spirit, of a sort. My influence has been usurped by a nefarious sorcerer seeking to enter the upper planes by way of my own deep connection with them. It is this corruption that is responsible for the evil recently pouring forth from this mine. Find the sorcerer deeper in the mines and destroy him." > ''') raw_input(''' "If you refuse to help or fail in this task my connection with the planes will be severed and I will slowly wither into nonexistence. The evil lurking in this region will gradually increase in ferocity and your civilization will be overrun. However, the higher order of the universe is not concerned with such trivial matters so your choice is ultimately meaningless." \n"I will leave you now." > ''') raw_input(''' The large yellow eyes disappear and the ancient tree gradually ceases its vibration. The room is returned to stillness once more. > ''') break elif choice1 == 'plunder': raw_input(''' As the words leave your mouth the ancient tree before you vibrates softly. Two large yellow eyes materialize in the bark and fix themselves upon you. > ''' ) raw_input(''' "Simple creature! Concerned only with earthly wealth and materials! You are no true champion. Seek your plunder, mortal, your nonexistence draws near." > ''' ) raw_input(''' The large yellow eyes disappear and the ancient tree gradually ceases its vibration. The room is returned to stillness once more. > ''') break else: print '\nChoose an option to continue.' continue break print ''' Ahead of you lie two stone stairways winding up the sides of the bowl structure. At their termination are two doors: one a dark [blue] color and the other a soft [green].''' while True: choice3 = raw_input('\nWhich do you choose? > ').lower() if choice3 == 'blue' or choice3 == 'green': main.room_selector() else: print '\nChoose a door to continue' continue
def proceed(self): print ''' As you make your way down the many steps ahead you are suddenly aware of a low hum, gradually increasing in volume to eventually reverberate across the entire chamber and become a powerful roar of vibration.''' raw_input('\nYou involuntarily clasp your hands to your ears. > ') print ''' In an instant the clamor dissipates, returning the chamber to utter silence. As you regain your composure you are addressed by a voice in the darkness.''' raw_input('\n"Traveler...what purpose have you in this place?" > ') while True: choice1 = raw_input(''' [Who] are you?" To [destroy] the evil within this mine." To [plunder] the mine's lost treasures." > ''').lower() if choice1 == 'who': raw_input(''' As the words leave your mouth the ancient tree before you vibrates softly. Two large yellow eyes materialize in the bark and fix themselves upon you. > ''') print''' "I have no name, and your kind has no words for my being. My very existence is beyond anything in your experience - you will never fully understand my true essence. Be content to perceive me as your kind often does - simply a benevolent nature spirit."''' while True: choice2 = raw_input(''' [What] do you want?" "You're a [talking] tree!" > ''').lower() if choice2 == 'what': raw_input(''' "My influence has been usurped by a nefarious sorcerer seeking to enter the upper planes by way of my own deep connection with them. It is this corruption that is responsible for the evil recently pouring forth from this mine. Find the sorcerer deeper inside and destroy him." > ''') raw_input(''' "If you refuse to help or fail in this task my connection with the planes will be severed and I will slowly wither into nonexistence. The evil lurking in this region will gradually increase in ferocity and your civilization will be overrun. However, the higher order of the universe is not concerned with such trivial matters, so your choice is ultimately meaningless." \n"I leave you now." > ''') raw_input(''' The large yellow eyes disappear and the ancient tree gradually ceases its vibration. The room is returned to stillness once more. > ''') break elif choice2 == 'talking': raw_input(''' "Yes. I can see your intellect is not evolved enough to truly comprehend my plight. Our interaction will not be fruitful. I leave you now to your simplistic awe." > ''') raw_input(''' The large yellow eyes disappear and the ancient tree gradually ceases its vibration. The room is returned to stillness once more. > ''') break else: print '\nChoose an option to continue.' continue elif choice1 == 'destroy': raw_input(''' As the words leave your mouth the ancient tree before you vibrates softly. Two large yellow eyes materialize in the bark and fix themselves upon you. > ''') raw_input(''' "You are near the end of that particular quest, traveler. I am known to your kind as...a benevolent spirit, of a sort. My influence has been usurped by a nefarious sorcerer seeking to enter the upper planes by way of my own deep connection with them. It is this corruption that is responsible for the evil recently pouring forth from this mine. Find the sorcerer deeper in the mines and destroy him." > ''') raw_input(''' "If you refuse to help or fail in this task my connection with the planes will be severed and I will slowly wither into nonexistence. The evil lurking in this region will gradually increase in ferocity and your civilization will be overrun. However, the higher order of the universe is not concerned with such trivial matters so your choice is ultimately meaningless." \n"I will leave you now." > ''') raw_input(''' The large yellow eyes disappear and the ancient tree gradually ceases its vibration. The room is returned to stillness once more. > ''') break elif choice1 == 'plunder': raw_input(''' As the words leave your mouth the ancient tree before you vibrates softly. Two large yellow eyes materialize in the bark and fix themselves upon you. > ''') raw_input(''' "Simple creature! Concerned only with earthly wealth and materials! You are no true champion. Seek your plunder, mortal, your nonexistence draws near." > ''') raw_input(''' The large yellow eyes disappear and the ancient tree gradually ceases its vibration. The room is returned to stillness once more. > ''') break else: print '\nChoose an option to continue.' continue break print ''' Ahead of you lie two stone stairways winding up the sides of the bowl structure. At their termination are two doors: one a dark [blue] color and the other a soft [green].''' while True: choice3 = raw_input('\nWhich do you choose? > ').lower() if choice3 == 'blue' or choice3 == 'green': main.room_selector() else: print '\nChoose a door to continue' continue