예제 #1
0
 public static void Alternate2(Player player, Shop shop, List <Landmarks> listOfLandmarks)
 {
     Console.Clear();
     Console.WriteLine("The trail divides here. You may:");
     Console.WriteLine("");
     Console.WriteLine("1. head for Fort Walla Walla");
     Console.WriteLine("2. head for The Dalles");
     Console.WriteLine("3. see the map");
     Console.WriteLine("");
     Console.WriteLine("What is your choice?");
     InputDetection.DetectGameMenuInputOneTwoOrThree(player);
     if (player.gameMenuInput == "D1")
     {
         //DoNothing
         player.alternateRoute = true;
         player.fortWallaWalla = true;
     }
     if (player.gameMenuInput == "D2")
     {
         //index for landmarks +1
         player.fortWallaWalla = false;
         player.theDalles      = true;
     }
     if (player.gameMenuInput == "D3")
     {
         Map(player);//TODO
     }
 }
예제 #2
0
        public static void ChangeFoodRations(Player player)
        {
            string rations = "unknown prob in debug1";

            if (player.rations == 3)
            {
                rations = "filling";
            }
            if (player.rations == 2)
            {
                rations = "meager";
            }
            if (player.rations == 1)
            {
                rations = "bare bones";
            }

            Console.Clear();
            Console.WriteLine("Change food rations");
            Console.WriteLine("(currently \"{0}\"", rations);
            Console.WriteLine("");
            Console.WriteLine("The amount of food the people in");
            Console.WriteLine("your party eat each day can");
            Console.WriteLine("change. These amounts are:");
            Console.WriteLine("");
            Console.WriteLine("1. filling - meals are large and");
            Console.WriteLine("generous.");
            Console.WriteLine("");
            Console.WriteLine("2. meager - meals are small, but");
            Console.WriteLine("adequate.");
            Console.WriteLine("");
            Console.WriteLine("3. bare bones - meals are very");
            Console.WriteLine("small; everyone stays hungry.");
            Console.WriteLine("");
            Console.WriteLine("what is your chooise?");

            InputDetection.DetectGameMenuInputOneTwoOrThree(player);
            if (player.gameMenuInput == "D1")
            {
                player.rations = 3; //at best
            }
            if (player.gameMenuInput == "D2")
            {
                player.rations = 2;
            }
            if (player.gameMenuInput == "D3")
            {
                player.rations = 1;
            }
        }