public void JumpGateOptions(PlayerCharacter player, Planet planet, Travel travel, SolarSystem solarSystem, SpacePort spacePort, JumpGate jumpGate)
        {
            string playerSelection;

            Console.WriteLine("You are in " + jumpGate.Name);
            Console.WriteLine("0) Travel to JumpGate in another SolarSystem (Not yet implimented)");
            Console.WriteLine("1) Travel to Planet in this SolarSystem (Not yet implimented)");

            playerSelection = Console.ReadLine();

            switch (playerSelection)
            {
            case "0":
                // TravelToJumpGate method here
                travel.TravelToJumpGate(player, solarSystem, jumpGate, planet, travel, spacePort);
                Console.WriteLine("Travel to JumpGate (not really)");
                break;

            case "1":
                // TravelToSpacePort method here
                travel.TravelToSpacePort(player, spacePort, travel, solarSystem, planet, jumpGate);
                Console.WriteLine("Game Loaded (not really)");
                break;
            }
        }
示例#2
0
        public void TheBegining01(PlayerCharacter player, Inventory playerInventory, WeaponMaker weaponMaker, PlayerMap playerMap, Map alphaMap, Travel travel, SpacePort spacePort, SolarSystem solarSystem, Planet planet, JumpGate jumpGate)
        {
            // need to fix the formating of all this text
            Console.WriteLine("After a childhood of loving protection, and peace, an evil race of Space Sharks have/n shown up at your home planet of" +
                              "Fae.  In their invasion they have decapitated your parents, disembowled your siblings, and stolen everything you ever had.  You are" +
                              "left to torment, and starvation in a blood bath.");

            Console.WriteLine("Return to continue...");
            Console.ReadLine();

            Console.WriteLine("After the carnage, a pilot shows up to find you.  He shepards you onto his spaceship " +
                              "and flies you to the Capital, Brettopia, where you are presented to the Space King of Knowledge.");

            Console.WriteLine("Return to continue...");
            Console.ReadLine();

            Console.WriteLine($"SPACE KING BRETT: Young { player.Name} I have heard the tale of your strife at the hand of " +
                              "the Space Sharks.  I weep for your misfortune.  I would avenge your family for you, but our vast " +
                              "library, The Great Database, does not have the knowledge needed to combat the cruel and ruthless " +
                              "Space Sharks.  I task you to become a noble Space Knight of Knowledge, and seek the data we need " +
                              "to combat this oppressive enemy.  To help you on your travels, I shall grant you 3 things...First " +
                              "I will give you a DiamondDrive in which you will collect as much Data as you can find.  Second I will give " +
                              "you a space map of our SolarSytem so you may navigate on your quest for Data.  And finally I shall send " +
                              "with you my most trusted advisor... Mr. Piddles.  Go forth, collect the data, and find a way to defeat " +
                              "the cruel Space Sharks!\n");

            Console.WriteLine("Return to continue...");
            Console.ReadLine();

            Console.WriteLine("You gratefully accept your quest, thank the king, and begin to leave with Mr. Piddles.  " +
                              "when you are almost to the door the pilot who found you stops you.\n");

            Console.WriteLine("Return to continue...");
            Console.ReadLine();

            Console.WriteLine($"PILOT:  {player.Name} you will need 3 more things on your journey.  Here take my Blaster to " +
                              $"protect yourself and smite your enemies.  You will also need some Credits and a Map if you are going to venture " +
                              $"across the stars\n");

            Console.WriteLine(@"Hey thanks for the Cash, Map and Gun man!");


            // Weapon Made/Received
            weaponMaker.CreateWeaponBlaster(playerInventory);

            // Map Received
            playerMap.PlayerMaps.Add(alphaMap);


            if (player.Credits < 100)
            {
                player.Credits += 100;
            }

            Console.WriteLine($"{player.Name} has {player.Credits} Credits\n");
            Console.WriteLine($"{player.Name} has received the map for Alpha solar system");
            Console.WriteLine("Return to continue...");
            Console.ReadLine();

            Console.WriteLine($"{player.Name.ToUpper()}: Come on Mr. Piddles, Let's go Shark hunting!");
            Console.WriteLine("Return to continue...");
            Console.ReadLine();

            Console.WriteLine("MR. PIDDLES: Meow meow meow, meow meow meow meow!\n");
            Console.WriteLine("Return to continue...");
            Console.ReadLine();

            travel.TravelToSpacePort(player, spacePort, travel, solarSystem, planet, jumpGate);
        }
示例#3
0
        public void SpacePortOptions(PlayerCharacter player, Planet planet, Travel travel, SolarSystem solarSystem, SpacePort spacePort, JumpGate jumpGate)
        {
            string playerSelection;

            Console.WriteLine("You are in " + spacePort.Name);
            Console.WriteLine("0) Save Game (Not yet implimented)");
            Console.WriteLine("1) Load Game (Not yet implimented)");
            Console.WriteLine("2) Quit Game (Not yet impliment)");
            Console.WriteLine("3) Buy Consumable (Not yet implimented)");
            Console.WriteLine("4) Repair (Not yet implimented)");
            Console.WriteLine("5) Go to instance01 (Not yet implimented)");
            Console.WriteLine("6) Go to instance02 (Not yet implimented)");
            Console.WriteLine("7) Go to instance03 (Not yet implimented)");
            Console.WriteLine("8) Travel to SpacePort in solar system (Not yet implimented)");
            Console.WriteLine("9) Travel to JumpGate in solar system (Not yet implimented)");
            Console.WriteLine();
            Console.WriteLine("Please enter your selection");

            playerSelection = Console.ReadLine();

            switch (playerSelection)
            {
            case "0":
                // save game method here
                Console.WriteLine("Game Saved (not really)");
                break;

            case "1":
                // load game method here
                Console.WriteLine("Game Loaded (not really)");
                break;

            case "2":
                // quit game method here
                Console.WriteLine("Game Quit (not really)");
                break;

            case "3":
                // open store method here
                Console.WriteLine("Store Loaded (not really)");
                break;

            case "4":
                // repair method here
                Console.WriteLine("Stuff Repaired (not really)");
                break;

            case "5":
                // TravelToInstance method here
                Console.WriteLine("Instance01 Loaded (not really)");
                break;

            case "6":
                // TravelToInstance method here
                Console.WriteLine("Instance02 Loaded (not really)");
                break;

            case "7":
                // TravelToInstance method here
                Console.WriteLine("Instance03 Loaded (not really)");
                break;

            case "8":
                // TravelToSpacePorts method here (this line will be the caller)

                travel.TravelToSpacePort(player, spacePort, travel, solarSystem, planet, jumpGate);
                Console.WriteLine("Travel to JumpGate (not really)");
                break;

            case "9":
                // TravelToJumpGate method here
                travel.TravelToJumpGate(player, solarSystem, jumpGate, planet, travel, spacePort);
                Console.WriteLine("Travel to JumpGate (not really)");
                break;
            }
        }