def enter(self): main.player.room = mine_entrance raw_input(''' You turn to leave the smithy. The closing door behind you muffles the sound of Fenton losing a struggle to contain his thunderous laughter. > ''') raw_input(''' \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n You journey south and eventually come upon the dismal looking mine. A flash of lightning many miles away briefly illuminates the mine's entrance in the valley below. The mine's neglected state strongly suggests that it has been abandoned by humans for some time, though there are ominous signs of more recent inhabitants. \nA cold rain begins to drizzle. > ''') raw_input('\nYou grit your teeth and begin the descent. > ') if main.monster_chance(): raw_input(''' You carefully make your way down the rotting stairs to the mine's entrance. The distant scuttle of a frightened mouse sounds as you approach the pitch black opening. > ''') raw_input('\nYou light a torch --') i = main.random.choice(main.random_monsters) raw_input(''' The sudden flame illuminates %s just ahead! The creature snarls and rushes toward you! > ''' % i.name) main.combat(main.player, i) print '\n%s\'s corpse falls at the foot of the mine\'s door.' % i.name agency() else: print ''' You carefully make your way down the rotting stairs to the mine's entrance. The distant scuttle of a frightened mouse sounds as you approach the pitch black opening. You light a torch and extend your sight into the unknown dark a short ways. You finally glimpse the door to the mine.''' agency()
def enter(self): main.player.room = room4 if main.monster_chance(): main.random_monster() print '''\n\n\n\n\n You find yourself in a dark and cluttered room. The faint sound of dripping water echoes in the darkness.''' agency()
def enter(self): main.player.room = room2 if main.monster_chance(): main.random_monster() print '''\n\n\n\n\n You have entered a large open chamber. Iron tracks lead down three separate tunnels, each blocked by a hastily constructed door. A distant mechanical CLANK momentarily disturbs the total silence.''' agency()
def enter(self): main.player.room = room3 if main.monster_chance(): main.random_monster() print '''\n\n\n\n\n You find yourself in a short hallway connected to a large open chamber. The chamber itself is shaped like a great stone bowl, and as you approach the end of the hallway you can see the floor down a thirty foot stairway below. At the center of the bowl is an ancient looking tree reaching nearly forty feet upwards to meet the ceiling. The tree is seemingly giving off its own curious light, dimly illuminating the room. On the other side of the great bowl are two stairways leading to two more doors.''' agency()
def enter(self): """The line below changes the 'room' attribute of main.player, so it can be used in the agency() function to call the right [Search] and [Proceed] functions. """ main.player.room = room1 if main.monster_chance(): main.random_monster() print '''\n\n\n\n\n The room is dimly lit by clumps of luminescent fungi growing in the cracks of the stone walls.''' else: print ''' You open the door to a room dimly lit by clumps of luminescent fungi growing in the cracks of the stone walls.''' agency()