Пример #1
0
 static void DampCellar()
 {
     while (true)
     {
         if (dampcellarskeleton)
         {
             Console.Clear();
             Console.WriteLine("As you take the last step of the stairwell and enter the damp cellar, you hear the rattling of bones.\n" +
                               "A menacing Skeleton soldier stands in your way. It holds a large spiked club in its hands.\n" +
                               "Before you get a chance to react it charges you. Prepare to fight!");
             CombatSystem.Combat(player, new Enemy(EnemyType.Skeleton));
             dampcellarskeleton = false;
             controls();
         }
         else if (!dampcellarskeleton)
         {
             Console.Clear();
             Console.WriteLine("As you return to the damp cellar, you feel like leaving as soon as possible. The smell is horrendous.\n" +
                               "You quickly dart your eyes around the room, you see nothing that stands out.");
             controls();
             if (move == "WEST" || move == "W")
             {
                 Console.Clear();
                 Console.WriteLine("You ascend the stairwell. You instantly feel better.");
                 Console.WriteLine("Press Enter to continue.");
                 Console.ReadLine();
                 SouthWing3WayRoom();
             }
             else if (move == "NORTH" || move == "N")
             {
                 Console.Clear();
                 Console.WriteLine("You could swear you saw something moving in the corner of your eye.\n" +
                                   "The skittering of what you can only assume is rats silently echoes across the damp cellar.");
                 Console.WriteLine("Press Enter to continue.");
                 Console.ReadLine();
             }
             else if (move == "SOUTH" || move == "S")
             {
                 Console.Clear();
                 Console.WriteLine("Through the open door to the south, you see a very brightly lit room, you decide to investigate.");
                 Console.WriteLine("Press Enter to continue.");
                 Console.ReadLine();
                 HallOfTorches();
             }
             else if (move == "EAST" || move == "E")
             {
                 Console.Clear();
                 Console.WriteLine("Pools of knee high water fills the east part of the cellar.\n" +
                                   "Your nose catches a whiff of what can only be described as putrid corpses.");
                 Console.WriteLine("Press Enter to continue.");
                 Console.ReadLine();
             }
         }
     }
 }
Пример #2
0
 static void SouthWingStairwell()
 {
     while (true)
     {
         if (southwingskeleton)
         {
             Console.Clear();
             Console.WriteLine("You find yourself in a short corridor, but before you have time to look around you notice a Skeleton in front of you.\n" +
                               "The skull cap on its head is rusted. It has an axe and a wooden shield in its hands.\n" +
                               "It turns around and looks at you through empty eye sockets.\n" +
                               "Suddenly it starts moving towards you - Prepare for battle!");
             CombatSystem.Combat(player, new Enemy(EnemyType.Skeleton));
             southwingskeleton = false;
             controls();
         }
         else if (!southwingskeleton)
         {
             Console.Clear();
             Console.WriteLine("You stand in a short corridor. There are sconces on the walls, lighting up the area.\n" +
                               "A moldy red carpet leads between the two doors.\n" +
                               "The remains of the Skeleton you fought lie in a pile on the floor. There is an eerie calm in this room now.");
             controls();
             if (move == "NORTH" || move == "N")
             {
                 Console.Clear();
                 Console.WriteLine("There is nothing of interest.");
                 Console.WriteLine("Press Enter to continue.");
                 Console.ReadLine();
             }
             else if (move == "WEST" || move == "W")
             {
                 Console.Clear();
                 Console.WriteLine("You inspect the sturdy wall. This is some fine stone masonry.");
                 Console.WriteLine("Press Enter to continue.");
                 Console.ReadLine();
             }
             else if (move == "SOUTH" || move == "S")
             {
                 Console.Clear();
                 Console.WriteLine("You leave the short corridor and enter the hallway.");
                 Console.WriteLine("Press Enter to continue.");
                 Console.ReadLine();
                 Hallway();
             }
             else if (move == "EAST" || move == "E")
             {
                 Console.Clear();
                 Console.WriteLine("You see an open door, leading to a stairwell going up.\nYou ascend.");
                 Console.WriteLine("Press Enter to continue.");
                 Console.ReadLine();
                 SouthWingLanding();
             }
         }
     }
 }
Пример #3
0
        static void NorthStairwell() //ADD TEXT
        {
            while (true)
            {
                if (northstairwellskeleton)
                {
                    Console.Clear();
                    Console.WriteLine("Prepare for battle!");
                    CombatSystem.Combat(player, new Enemy(EnemyType.Skeleton));
                    northstairwellskeleton = false;
                    controls();
                }
                else if (!northstairwellskeleton)
                {
                    Console.Clear();
                    Console.WriteLine("Room description.");
                    controls();

                    if (move == "WEST" || move == "W")
                    {
                        Console.Clear();
                        Console.WriteLine("Go to NorthWingLanding.");
                        Console.WriteLine("Press Enter to continue.");
                        Console.ReadLine();
                        NorthWingLanding();
                    }
                    else if (move == "NORTH" || move == "N")
                    {
                        Console.Clear();
                        Console.WriteLine("Nothing.");
                        Console.WriteLine("Press Enter to continue.");
                        Console.ReadLine();
                    }
                    else if (move == "SOUTH" || move == "S")
                    {
                        Console.Clear();
                        Console.WriteLine("Go to EastWingLanding.");
                        Console.WriteLine("Press Enter to continue.");
                        Console.ReadLine();
                        EastWingLanding();
                    }
                    else if (move == "EAST" || move == "E")
                    {
                        Console.Clear();
                        Console.WriteLine("Nothing.");
                        Console.WriteLine("Press Enter to continue.");
                        Console.ReadLine();
                    }
                }
            }
        }