def search(self): raw_input('\nYou see many orphaned mine carts along the tracks. > ') search = raw_input('\nSearch the mine carts? > ').lower() if search == 'yes': if Room2.possible_loot: if main.loot_chance(): raw_input('You scour each mine cart, at last discovering some ' 'treasure!') main.loot() Room2.possible_loot = False else: raw_input('You find only ore dust and ruined mining ' 'equipment. > ') Room2.possible_loot = False else: raw_input('You find only ore dust and ruined mining ' 'equipment. > ')
def search(self): raw_input('\nYou see many orphaned mine carts along the tracks. > ') search = raw_input('\nSearch the mine carts? > ').lower() if search == 'yes': if Room2.possible_loot: if main.loot_chance(): raw_input( 'You scour each mine cart, at last discovering some ' 'treasure!') main.loot() Room2.possible_loot = False else: raw_input('You find only ore dust and ruined mining ' 'equipment. > ') Room2.possible_loot = False else: raw_input('You find only ore dust and ruined mining ' 'equipment. > ')
def search(self): raw_input(''' You spot a pile of skeletal remains in the room's far corner. As you approach the pile it becomes clear the remains belonged to an orc clan, presumably living somewhere in the mine. The bodies were piled carelessly and much of their clothing looks relatively intact. > ''') search = raw_input('\nSearch the remains? > ').lower() if search == 'yes': if Room1.possible_loot: if main.loot_chance(): raw_input('You sift through the remains and uncover some treasure!') main.loot() Room1.possible_loot = False else: raw_input('You find nothing of value amongst the remains. > ') Room1.possible_loot = False else: raw_input('You find nothing of value amongst the remains. > ')
def search(self): raw_input(''' You notice several pillars lining the upper-level of the bowl. Many of these pillars look to have some portion of their stonework hollowed out and a few seem to contain various items hidden within. > ''') search = raw_input('\nSearch the stone pillars? > ').lower() if search == 'yes': if Room3.possible_loot: if main.loot_chance(): raw_input('You comb through the hollow pillars,' ' finally discovering some treasure! > ') main.loot() Room3.possible_loot = False else: raw_input('You find only bits of stone and ruined ' 'paper. > ') Room3.possible_loot = False else: raw_input('You find only bits of stone and ruined ' 'paper. > ')
def search(self): raw_input(''' You spot a pile of skeletal remains in the room's far corner. As you approach the pile it becomes clear the remains belonged to an orc clan, presumably living somewhere in the mine. The bodies were piled carelessly and much of their clothing looks relatively intact. > ''') search = raw_input('\nSearch the remains? > ').lower() if search == 'yes': if Room1.possible_loot: if main.loot_chance(): raw_input( 'You sift through the remains and uncover some treasure!' ) main.loot() Room1.possible_loot = False else: raw_input( 'You find nothing of value amongst the remains. > ') Room1.possible_loot = False else: raw_input('You find nothing of value amongst the remains. > ')