Beispiel #1
0
        public static void ExploreZoo(McClane newHero)
        {
            Console.WriteLine("--------------------------------");
            Console.WriteLine("Great idea, " + newHero.Name + "! What part of the zoo do you want to explore?");
            Console.WriteLine("1. Big Cat Exhibit");
            Console.WriteLine("2. Food Court");
            Console.WriteLine("3. Gift Shop");
            Console.WriteLine("4. Aquarium");
            Console.WriteLine("5. Atrium");
            Console.WriteLine("6. Return To Main Menu");
            Console.WriteLine("--------------------------------");
            string zooExplore = Console.ReadLine();

            if (zooExplore == "1")
            {
                if (newHero.RemainingAnimals.Contains("Leroy The Lion"))
                {
                    Console.WriteLine("--------------------------------");
                    Console.WriteLine("**You and John make your way towards the Big Cat Exhibit. The main entrance glass is shattered and covers the floor.**");
                    Console.WriteLine("MCCLANE: Glad I wore my shoes today.");
                    Console.WriteLine("**You and John navigate through the glass. You notice the interior walls of the exhibit are covered in claw marks.**");
                    Console.WriteLine("MCCLANE: SHIT THOSE ARE SOME BIG KITTENS! I'D BE LION IF I SAID I WASN'T A LITTLE NERVOUS " + newHero.Name + "!");
                    McClane.ExploreBigCat(newHero);
                }
                else
                {
                    Console.WriteLine("MCCLANE: Nothing Left to do there " + newHero.Name + "! Let's look somewhere else.");
                    McClane.ExploreZoo(newHero);
                }
            }
            else if (zooExplore == "2")
            {
                Console.WriteLine("--------------------------------");
                Console.WriteLine("**You run towards the Food Court. As you enter, you see John duck in front of you. Before you can react, Todd the Giant Todd has latched onto your face, spraying you with his toady venom. (-20 Health)**");
                Console.WriteLine("**Todd the Giant Toad has been added to your Backpack.**");
                newHero.Items.Add("Todd The Giant Toad");
                Console.WriteLine("**Todd the Giant Toad has been added to your Found Animals list.**");
                newHero.RemainingAnimals.Remove("Todd The Giant Toad");

                McClane.ExploreFoodCourt(newHero);
            }
            else if (zooExplore == "3")
            {
                // McClane.ExploreGiftShop(newHero);
            }
            else if (zooExplore == "4")
            {
                // McClane.ExploreAquarium(newHero);
            }
            else if (zooExplore == "5")
            {
                // McClane.ExploreAtrium(newHero);
            }
            else if (zooExplore == "6")
            {
                McClane.Navigation(newHero);
            }
            else
            {
                Console.WriteLine("MCCLANE: Quit wasting time " + newHero.Name + "! Enter a valid number!");
                McClane.ExploreZoo(newHero);
            }
        }
Beispiel #2
0
        public static void ExploreFoodCourt(McClane newHero)
        {
            Console.WriteLine("MCCLANE: What should we do?");
            Console.WriteLine("--------------------------------");
            Console.WriteLine("1. Use an Item");
            Console.WriteLine("2. Inspect the Panda Express Stall");
            Console.WriteLine("3. Inspect the Sbarro's Stall");
            Console.WriteLine("4. Leave Food Court");
            Console.WriteLine("--------------------------------");
            string input = Console.ReadLine();

            if (input == "1")
            {
                string useItem = Item.UseItem(newHero);

                if (useItem == "Energy Bar")
                {
                    newHero.HealthUp(newHero);
                    Console.WriteLine("--------------------------------");
                    Console.WriteLine("Energy bar restores health by 20 points.");
                    Console.WriteLine("Health: " + newHero.Health);
                    Console.WriteLine("--------------------------------");
                    newHero.Items.Remove("Can of Cat Food");
                    McClane.ExploreFoodCourt(newHero);
                }

                else if (useItem == "Todd The Giant Toad")
                {
                    Console.WriteLine("**You throw Todd The Giant Toad at Henry The Hippo. Being a zoo hippo, Henry gobbles whatever tasty morsel is thrown at him with no regard. Henry promptly passes out from Todd's Toady Venom. John grabs a hefty hippo hoof and hauls Henry hurriedly back to his hippo home.**");
                    Console.WriteLine("Henry The Hippo has been removed from your Remaining Animals List. Todd The Giant Toad has been removed from your backpack.");
                    newHero.Items.Remove("Todd The Giant Toad");
                    newHero.RemainingAnimals.Remove("Henry The Hippo");
                    McClane.ExploreZoo(newHero);
                }
                else
                {
                    Console.WriteLine("**Item uneffective in this situation.**");
                    McClane.ExploreFoodCourt(newHero);
                }
            }
            else if (input == "2")
            {
                Console.WriteLine("**You go rooting around for some tasty grub. You find some Orange Chicken but it doesn't look suitable for human consumption.**");
                Console.WriteLine("**Orange Chicken has been added to your backpack.**");
                newHero.Items.Add("Orange Chicken");
                McClane.ExploreFoodCourt(newHero);
            }
            else if (input == "3")
            {
                Console.WriteLine("**You and John enter the restaurant. There's two slices of delicious pepperoni pizza sitting under the heat lamp. What do you want to do?**");
                Console.WriteLine("1. Kick back with John and eat some Za.");
                Console.WriteLine("2. Return to the Food Court.");
                string pizzaInput = Console.ReadLine();
                if (pizzaInput == "1")
                {
                    Console.WriteLine("Don't trust Sbarro's pizza. You and John get food poisoning. (-20 Health)");
                    newHero.HealthDown(newHero);
                    Console.WriteLine("Health: " + newHero.Health);
                    McClane.ExploreFoodCourt(newHero);
                }
                else if (pizzaInput == "2")
                {
                    McClane.ExploreFoodCourt(newHero);
                }
                else
                {
                    Console.WriteLine("MCCLANE: Quit wasting time " + newHero.Name + "! Enter a valid number!");
                    McClane.ExploreFoodCourt(newHero);
                }
            }
            else if (input == "4")
            {
                McClane.ExploreZoo(newHero);
            }
            else
            {
                Console.WriteLine("MCCLANE: Quit wasting time " + newHero.Name + "! Enter a valid number!");
                McClane.ExploreFoodCourt(newHero);
            }
        }