Beispiel #1
0
        public static GunPulled PullLegendaryGuns(player newPlayer)
        {
            GunPulled Gun = new GunPulled();

            Random rand          = new Random();
            int    legendaryPull = rand.Next(69);

            if (legendaryPull == 0)
            {
                GunPulled Clanker = new GunPulled("MarsWares", "Minigun", "Clanker", 6, 52, 65, 3, 5);
                Gun = Clanker;
            }
            else if (legendaryPull == 1)
            {
                GunPulled DeathRay = new GunPulled("Ultra", "Laser Ray Series", "Death Ray", 3, 50, 87, 50, 3);
                Gun = DeathRay;
            }
            else if (legendaryPull == 2)
            {
                GunPulled ForceBlaster = new GunPulled("Ultra", "Laser Ray Series", "Force Blaster", 27, 3, 90, 30, 3);
                Gun = ForceBlaster;
            }
            else if (legendaryPull == 3)
            {
                GunPulled ColtOcto = new GunPulled("Inum", "Pistol", "Colt Octo", 8, 8, 88, 88, 8);
                Gun = ColtOcto;
            }
            else if (legendaryPull == 4)
            {
                GunPulled Missfire = new GunPulled("JelTech", "Assault Rifle", "Missfire", 15, 17, 45, 45, 4);
                Gun = Missfire;
            }
            else if (legendaryPull == 5)
            {
                GunPulled PlasmaImploder = new GunPulled("Ultra", "Plasma Series", "Plasma Imploder", 30, 3, 83, 10, 10);
                Gun = PlasmaImploder;
            }
            else if (legendaryPull == 6)
            {
                GunPulled MasterBlaster = new GunPulled("TopNotch", "RPG", "Master Blaster", 40, 1, 85, 10, 5);
                Gun = MasterBlaster;
            }
            else if (legendaryPull == 7)
            {
                GunPulled ColtOcto = new GunPulled("TopNotch", "Doom Series Shotgun", "Hell Shotgun", 27, 4, 84, 5, 5);
                Gun = ColtOcto;
            }
            else if (legendaryPull == 8)
            {
                GunPulled PlasmaCannon = new GunPulled("TopNotch", "Doom Series Cannon", "Plasma Cannon", 45, 1, 81, 10, 2);
                Gun = PlasmaCannon;
            }
            else if (legendaryPull == 9)
            {
                GunPulled BigGun = new GunPulled("BoomCo", "RPG", "Big Gun", 70, .1, 45, 11, 2);
                Gun = BigGun;
            }
            else if (legendaryPull == 10)
            {
                GunPulled RocketGun = new GunPulled("BoomCo", "Pistol", "Rocket Gun", 20, 6, 77, 7, 4);
                Gun = RocketGun;
            }
            else if (legendaryPull == 11)
            {
                GunPulled MRE = new GunPulled("BoomCo", "RPG", "Missile Rocket Explosioneer", 105, .0001, 95, 20, 2);
                Gun = MRE;
            }
            else if (legendaryPull == 12)
            {
                GunPulled DeathActivist = new GunPulled("JelTech", "Assault Rifle", "Death Activist", 9, 12, 88, 17, 4);
                Gun = DeathActivist;
            }
            else if (legendaryPull == 13)
            {
                GunPulled CrossFire = new GunPulled("Inum", "SMG", "CrossFire!", 4, 77, 50, 10, 12);
                Gun = CrossFire;
            }
            else if (legendaryPull == 14)
            {
                GunPulled Pepsifier = new GunPulled("PepsiCo", "Pistol", "Pepsifier", 1, 1000, 99, 2, 1000);
                Gun = Pepsifier;
            }
            else if (legendaryPull == 15)
            {
                GunPulled DigiHom = new GunPulled("STUDIO Homicide", "Pistol", "Digital Suicide", 3, 5, 83, 50, 666);
                Gun = DigiHom;
            }
            else if (legendaryPull == 16)
            {
                GunPulled DigiHom = new GunPulled("JelTech", "Assault Rifle", "Polybius", 21, 7, 80, 3, 10);
                Gun = DigiHom;
            }
            else if (legendaryPull == 17)
            {
                GunPulled DigiHom = new GunPulled("MarsWares", "Pistol", "Treasure Master", 6, 14, 78, 25, 25);
                Gun = DigiHom;
            }
            else if (legendaryPull == 18)
            {
                GunPulled SHS = new GunPulled("TopNotch", "SMG", "Super Hyper Scanner", 5, 65, 83, 15, 12);
                Gun = SHS;
            }
            else if (legendaryPull == 19)
            {
                GunPulled ALF = new GunPulled("Ultra", "SMG", "Alpha Loop Fighter", 10, 25, 87, 3, 6);
                Gun = ALF;
            }
            else if (legendaryPull == 20)
            {
                GunPulled BigRig = new GunPulled("JelTech", "Melee", "Biggest Rig", 46, 1, 83, 3, 66);
                Gun = BigRig;
            }
            else if (legendaryPull == 21)
            {
                GunPulled BubbleWand = new GunPulled("MarsWares", "Melee", "Bubble Wand", 3, 1, 25, 75, 1000);
                Gun = BubbleWand;
            }
            else if (legendaryPull == 22)
            {
                GunPulled DigiHom = new GunPulled("MarsWares", "Pistol", "Plankton's Chum Ray", 21, 12, 83, 15, 7);
                Gun = DigiHom;
            }
            else if (legendaryPull == 23)
            {
                GunPulled SSOL = new GunPulled("Ultra", "Melee", "Supreme Lance Of Light", 40, 1, 87, 20, 2);
                Gun = SSOL;
            }
            else if (legendaryPull == 24)
            {
                GunPulled WOG = new GunPulled("CDI Incorporated", "Melee", "Wand of Gamelon", 14, 1, 50, 50, 9);
                Gun = WOG;
            }
            else if (legendaryPull == 25)
            {
                GunPulled BOK = new GunPulled("CDI Incorporated", "Melee", "Book of Koridai", 1, 1, 1, 100, 9999);
                Gun = BOK;
            }
            else if (legendaryPull == 26)
            {
                GunPulled MasterChu = new GunPulled("Inum", "Assault Rifle", "Master Chu", 25, 5, 80, 5, 2);
                Gun = MasterChu;
            }
            else if (legendaryPull == 27)
            {
                GunPulled Bimmy = new GunPulled("MarsWares", "Pistol", "Bimmy Device", 9, 22, 67, 10, 3);
                Gun = Bimmy;
            }
            else if (legendaryPull == 28)
            {
                GunPulled Jimmy = new GunPulled("MarsWares", "Pistol", "Jimmy Device", 10, 21, 70, 5, 6);
                Gun = Jimmy;
            }
            else if (legendaryPull == 29)
            {
                GunPulled Freedom = new GunPulled("JelTech", "Shotgun", "Freedom", 13, 50, 50, 50, 2);
                Gun = Freedom;
            }
            else if (legendaryPull == 30)
            {
                GunPulled GalaxyRevolver = new GunPulled("TopNotch", "Galaxy Series - Pistol", "Galaxy Revolver", 23, 6, 98, 25, 3);
                Gun = GalaxyRevolver;
            }
            else if (legendaryPull == 31)
            {
                GunPulled GalaxyBoomStick = new GunPulled("TopNotch", "Galaxy Series - Shotgun", "Galaxy BoomStick", 36, 2, 97, 35, 2);
                Gun = GalaxyBoomStick;
            }
            else if (legendaryPull == 32)
            {
                GunPulled GalaxyAR = new GunPulled("TopNotch", "Galaxy Series - Assault Rifle", "Galaxy AR", 10, 13, 97, 20, 3);
                Gun = GalaxyAR;
            }
            else if (legendaryPull == 33)
            {
                GunPulled GalaxyLauncher = new GunPulled("TopNotch", "Galaxy Series - RPG", "Galaxy Launcher", 42, 1, 95, 45, 6);
                Gun = GalaxyLauncher;
            }
            else if (legendaryPull == 34)
            {
                GunPulled GalaxySMG = new GunPulled("TopNotch", "Galaxy Series - SMG", "Galaxy SMG", 8, 24, 98, 15, 4);
                Gun = GalaxySMG;
            }
            else if (legendaryPull == 35)
            {
                GunPulled ManRay = new GunPulled("Ultra", "Laser Ray Series", "Man Ray", 2, 999, 45, 50, 2);
                Gun = ManRay;
            }
            else if (legendaryPull == 36)
            {
                GunPulled UDDER = new GunPulled("ULTIMATE", "ULTIMATE Single - Shotgun", "Ultimate Death Device Enticer Revamped - UDDER", 1, 10, 2, 100, 99999);
                Gun = UDDER;
            }
            else if (legendaryPull == 37)
            {
                GunPulled DMO = new GunPulled("ULTIMATE", "ULTIMATE Single - RPG", "Death Machina Omega - Alpha Version", 999, 1, 50, 95, 0);
                Gun = DMO;
            }
            else if (legendaryPull == 38)
            {
                GunPulled Bloxor = new GunPulled("Inum", "Assault Rifle", "Bloxor", 21, 6, 87, 10, 2);
                Gun = Bloxor;
            }
            else if (legendaryPull == 39)
            {
                GunPulled ChainsawRifle = new GunPulled("MarsWares", "Chainsaw Rifle", "Lancer", 12, 22, 86, 1, 2);
                Gun = ChainsawRifle;
            }
            else if (legendaryPull == 40)
            {
                GunPulled KinglyHook = new GunPulled("Ultra", "Melee", "Kingly Hook", 65, .0001, 90, 1, 20);
                Gun = KinglyHook;
            }
            else if (legendaryPull == 41)
            {
                GunPulled GlitchGun = new GunPulled("Binary Systems", "P1st01", "Gl1tch Gun", 10, 10, 32, 32, 101);
                Gun = GlitchGun;
            }
            else if (legendaryPull == 42)
            {
                GunPulled GlitchGun2 = new GunPulled("Binary Systems", "Assault R1fle", "Gl1tch Gun Version 000010", 25, 2, 86, 32, 4);
                Gun = GlitchGun2;
            }
            else if (legendaryPull == 43)
            {
                GunPulled GlitchGun3 = new GunPulled("Binary Systems", "Sh0tgun", "Gl1tch Gun Vers1on 000011", 32, 1, 86, 32, 4);
                Gun = GlitchGun3;
            }
            else if (legendaryPull == 44)
            {
                GunPulled GlitchBoom = new GunPulled("Binary Systems", "RPG", "Gl1tch B00m", 50, 2, 101, 15, 5);
                Gun = GlitchBoom;
            }
            else if (legendaryPull == 45)
            {
                GunPulled MeatWagon = new GunPulled("Unknown Brand", "Minigun", "Meat Wagon", 11, 202, 44, 2, 4);
                Gun = MeatWagon;
            }
            else if (legendaryPull == 46)
            {
                GunPulled TheApple = new GunPulled("JelTech", "Launcher", "The Apple", 37, 2, 70, 5, 5);
                Gun = TheApple;
            }
            else if (legendaryPull == 47)
            {
                GunPulled PeaShooter = new GunPulled("JelTech", "Pistol", "The Pea Shooter", 12, 17, 100, 3, 3);
                Gun = PeaShooter;
            }
            else if (legendaryPull == 48)
            {
                GunPulled MasterCrossbow = new GunPulled("Inum", "Crossbow", "Master Crossbow", 24, 1, 75, 40, 3);
                Gun = MasterCrossbow;
            }
            else if (legendaryPull == 49)
            {
                GunPulled CriticalCrossbow = new GunPulled("Inum", "Crossbow", "Critical Crossbow", 13, 3, 75, 95, 5);
                Gun = CriticalCrossbow;
            }
            else if (legendaryPull == 50)
            {
                GunPulled RapidCrossbow = new GunPulled("Inum", "Crossbow", "Rapid Crossbow", 5, 65, 50, 25, 2);
                Gun = RapidCrossbow;
            }
            else if (legendaryPull == 51)
            {
                GunPulled CriticalConferenceCall = new GunPulled("TopNotch", "Shotgun", "Critical Conference Call", 24, 8, 84, 20, 4);
                Gun = CriticalConferenceCall;
            }
            else if (legendaryPull == 52)
            {
                GunPulled GaussRifle = new GunPulled("Ultra", "Rifle", "Gauss Rifle", 40, 2, 90, 80, 2);
                Gun = GaussRifle;
            }
            else if (legendaryPull == 53)
            {
                GunPulled Maria = new GunPulled("MarsWares", "Pistol", "Maria", 16, 13, 82, 8, 3);
                Gun = Maria;
            }
            else if (legendaryPull == 54)
            {
                GunPulled Supernova = new GunPulled("BoomCo", "RPG", "Supernova", 65, 1, 95, 50, 2);
                Gun = Supernova;
            }
            else if (legendaryPull == 55)
            {
                GunPulled Hypernova = new GunPulled("BoomCo", "RPG", "Hypernova", 95, .01, 90, 10, 3);
                Gun = Hypernova;
            }
            else if (legendaryPull == 56)
            {
                GunPulled Nova = new GunPulled("BoomCo", "RPG", "Nova", 48, 3, 97, 25, 2);
                Gun = Nova;
            }
            else if (legendaryPull == 57)
            {
                GunPulled KitchenGun = new GunPulled("Baum LTD", "Pistol", "Kitchen Gun!", 10, 3, 95, 52, 15);
                Gun = KitchenGun;
            }
            else if (legendaryPull == 58)
            {
                GunPulled GalacticConsequences = new GunPulled("Unknown Brand", "RPG", "Galactic Consequences", 30, 10, 75, 60, 2);
                Gun = GalacticConsequences;
            }
            else if (legendaryPull == 59)
            {
                GunPulled DeadlySins = new GunPulled("Ultra", "Pistol", "7 Sins", 7, 7, 100, 95, 7);
                Gun = DeadlySins;
            }
            else if (legendaryPull == 60)
            {
                GunPulled Plague = new GunPulled("JelTech", "Shotgun", "Plague", 4, 300, 80, 1, 2);
                Gun = Plague;
            }
            else if (legendaryPull == 61)
            {
                GunPulled DPFD = new GunPulled("Ultra", "Laser Ray Series", "Directed Particle Fusion Device", 200, .000000001, 5, 100, 500);
                Gun = DPFD;
            }
            else if (legendaryPull == 62)
            {
                GunPulled Stardust = new GunPulled("JelTech", "Assault Rifle", "Stardust", 15, 8, 85, 10, 2);
                Gun = Stardust;
            }
            else if (legendaryPull == 63)
            {
                GunPulled Darkspawn = new GunPulled("Inum", "SMG", "Darkspawn", 12, 20, 80, 5, 5);
                Gun = Darkspawn;
            }
            else if (legendaryPull == 64)
            {
                GunPulled Nebulae = new GunPulled("TopNotch", "SMG", "Nebulae", 10, 15, 75, 30, 5);
                Gun = Nebulae;
            }
            else if (legendaryPull == 65)
            {
                GunPulled BlackHole = new GunPulled("TopNotch", "Shotgun", "Black Hole", 80, 3, 50, 15, 0);
                Gun = BlackHole;
            }
            else if (legendaryPull == 66)
            {
                GunPulled SpaceTime = new GunPulled("Inum", "SMG", "Space-Time", 5, 100, 80, 90, 5);
                Gun = SpaceTime;
            }
            else if (legendaryPull == 67)
            {
                GunPulled Revolution = new GunPulled("MarsWares", "Assault Rifle", "Revolution", 11, 23, 60, 4, 2);
                Gun = Revolution;
            }
            else if (legendaryPull == 68)
            {
                GunPulled SmartShopper = new GunPulled("S-Mart", "Boomstick", "The Smart Shopper", 53, 2, 80, 4, 5);
                Gun = SmartShopper;
            }
            else if (legendaryPull == 69)
            {
                GunPulled NuclearOption = new GunPulled("BoomCo", "MiniNuker", "The Nuclear Option", 90, .0001, 99, 100, 2);
                Gun = NuclearOption;
            }
            else if (legendaryPull == 70)
            {
                GunPulled DynaSpatula = new GunPulled("JelTech", "Melee", "Hydro-Dynamic Spatula with Port and Starboard Attachments and TurboDrive", 9, 27, 91, 3, 2);
                Gun = DynaSpatula;
            }


            Gun.weaponDam *= (Gun.weaponDam * newPlayer.level);


            return(Gun);
        }
Beispiel #2
0
        public static void GetWeapon(player newPlayer)
        {
            Random rand = new Random();
            //initializes the struct to be returned, Gun
            GunPulled Gun = new GunPulled();
            int       rng = rand.Next(100);

            if (rng > 93)
            {
                Gun = LegendaryDrops.PullLegendaryGuns(newPlayer);
                Console.Write("LEGENDARY " + Gun.weaponName + " ");
            }
            else
            {
                //Calls each method to get all the factors of the gun struct
                Gun.weaponType           = TypeMethod.PullType();
                Gun.weaponBrand          = BrandMethod.PullBrand();
                Gun.weaponDam            = DamCalc.PullDam(Gun.weaponType, Gun.weaponBrand, newPlayer.level);
                Gun.weaponAcc            = AccCalc.PullAcc(Gun.weaponType, Gun.weaponBrand);
                Gun.weaponFR             = FireRateCalc.PullFR(Gun.weaponType, Gun.weaponBrand);
                Gun.weaponName           = "";
                Gun.weaponCritPercent    = 5;
                Gun.weaponCritMultiplier = 2;
            }
            Console.WriteLine("Damage: " + Gun.weaponDam + " Acc: " + Gun.weaponAcc + " FR: " + Gun.weaponFR + " " + Gun.weaponBrand + " " + Gun.weaponType);

            bool choicePicked = false;

            while (!choicePicked)
            {
                Console.WriteLine("Would you like to equip this to (p)rimary, (s)econdary, or (t)rash it?");
                string gunChoice = Console.ReadLine();
                string clarificationVariable;
                if (gunChoice.ToLower() == "p")
                {
                    GetWeaponStats.ShowWeaponStats(newPlayer.gunPrimary);


                    Console.WriteLine("Are you sure about this?");
                    clarificationVariable = Console.ReadLine();
                    if (clarificationVariable.ToLower() == "yes")
                    {
                        newPlayer.gunPrimary = Gun;
                        newPlayer.gunEquip   = Gun;
                        Console.WriteLine("The " + Gun.weaponName + " " + Gun.weaponType + " was equipped in your primary holster.");
                        choicePicked = true;
                    }
                }
                else if (gunChoice.ToLower() == "s")
                {
                    GetWeaponStats.ShowWeaponStats(newPlayer.gunSecondary);
                    Console.WriteLine("Are you sure about this?");

                    clarificationVariable = Console.ReadLine();
                    if (clarificationVariable.ToLower() == "yes")
                    {
                        newPlayer.gunSecondary = Gun;
                        newPlayer.gunEquip     = Gun;
                        Console.WriteLine("The " + Gun.weaponName + " " + Gun.weaponType + " was equipped in your secondary holster.");
                        choicePicked = true;
                    }
                }
                else if (gunChoice.ToLower() == "t")
                {
                    Console.WriteLine("You threw away the weapon.");
                    choicePicked = true;
                }
            }
            Console.ReadLine();
            Console.Clear();
        }
Beispiel #3
0
        public static void chapterOne(player newPlayer)
        {
            partyMembers member  = new partyMembers();
            bool         isAlive = true;
            enemies      Enemy   = new enemies();

            Console.WriteLine("A pale blue dot in a sun beam.");
            Console.WriteLine("A cold, red planet millions of miles away.");
            Console.WriteLine("A young boy is looking towards the pale blue dot. He can just barely glimpse it through Mars' nonexistent atmosphere.");
            Console.WriteLine("Little does it matter. Life is a fickle thing. One second its there, one second its ceases to be.");
            Console.WriteLine("Same goes for the pale blue dot. As the dot fades into obscurity, tears fall in remembrance of what once was, and what now remains.");
            Console.WriteLine("Where once was life now remains darkness. Its almost as if nothing ever existed there at all.");
            Console.WriteLine("Questions linger, as to the meaning of it all.");
            Console.WriteLine("But the boy will have to find answers for himself.");
            Console.ReadLine();
            Console.WriteLine("16 YEARS LATER...");
            Console.ReadLine();
            Console.WriteLine("RAHL: Okay. So you're telling me you don't have any money? At all?");
            Console.WriteLine("RAHL: What if I told you that if you don't pay up I'll just take it off your corpse?");
            Console.WriteLine("STU: I, I mean, i'm not interested in that deal.");
            Console.WriteLine("STU: Hey, you! What's your name, pal?");
            Console.WriteLine("Enter your name: ");
            newPlayer.name = Console.ReadLine();
            Console.WriteLine("STU: " + newPlayer.name + ", huh? Pleased to meet ya, now, could you help me deal with this guy? Here's some weapons for ya.");
            GunPulled Chub = new GunPulled("MarsWares", "Pistol", "Chub", Math.Pow(7, 2) * newPlayer.level, 9, 70, 20, 2);

            newPlayer.gunPrimary = Chub;
            newPlayer.gunEquip   = newPlayer.gunPrimary;

            GunPulled Dagger = new GunPulled("MarsWares", "Melee", "Dagger", Math.Pow(14, 2) * newPlayer.level, 3, 80, 20, 3);

            newPlayer.gunSecondary = Dagger;
            isAlive = Combat.combat(Enemy.Rahl, newPlayer, 1);
            Console.WriteLine("STU: Whew, you saved my hide there.");
            Console.WriteLine("STU: Hey, what're you doing here anyways?");
            Console.ReadLine();
            Console.WriteLine("STU: This seems like an odd place for a gunslinger to hang out, you know.");
            Console.WriteLine("STU: I just came here to have some booze and forget about, you know... whatever.");
            Console.WriteLine("(1): I'm just passing through.");
            Console.WriteLine("(2): None of your business.");
            Console.WriteLine("(3): I'm just wandering aimlessly, to be honest.");
            Console.WriteLine("(4): If I knew where I was going I wouldn't be caught dead here, I'll tell you that much.");
            Console.WriteLine("(5): I dunno. Where are we, anyways?");
            int choice;

            int.TryParse(Console.ReadLine(), out choice);
            switch (choice)
            {
            case 1:
                Console.WriteLine("STU: That's it, huh? Nowhere specific in mind? I'd be keen on getting down to Cratertown, myself.\nSTU: If I had the means, anyway.");
                break;

            case 2:
                Console.WriteLine("STU: Hey, I was just askin'. No need to get worked up.");
                break;

            case 3:
                Console.WriteLine("STU: Nothing wrong with that. Troubled times as of the moment, not surprised you're so effective with a firearm.\nSTU: If'n you got the means, might as well ya head down to Cratertown. Safest place you'll find this side a'Mars.");
                break;

            case 4:
                Console.WriteLine("STU: Ha. Fair, fair. If I were you I'd head straight for Cratertown, leave this dump.");
                break;

            case 5:
                Console.WriteLine("STU: Why this is the Red Sands Bar, dump side of the Red Sands region.");
                Console.WriteLine("STU: If you were looking for a slum, you just found it here.");
                break;

            default:
                Console.WriteLine("STU: Quiet guy, huh? Why is this damn neighborhood full of weirdos?");
                break;
            }
            Console.WriteLine("STU: Alright, I'll tell you what. As thanks for saving my hide, I'll escort you to Cratertown. Free of charge.");
            Console.WriteLine("STU: Also, it'll help get me out of this dump, so there's that.");
            Console.WriteLine("STU: You'll let me tag along, right?");
            Console.WriteLine("Yes or No?");
            string stringInput = Console.ReadLine();

            if (stringInput.ToLower() == "yes")
            {
                Console.WriteLine("STU: Excellent. Let's get the hell out of here.");
            }
            else
            {
                Console.WriteLine("STU: I insist, you can't just leave me here! No, no, I'm coming with you.");
            }
            Console.ReadLine();
            Console.WriteLine("Stu has joined your party!");
            Console.ReadLine();
            Console.WriteLine("You have gained a party member! Some party members will do different things for you during combat.");
            Console.WriteLine("Stu will sometimes stun the enemies with a handmade flash grenade, forcing them to skip their turn.");
            Console.WriteLine("Sometimes a party member's ability won't be so obvious, so you'll have to keep an eye out.");
            Console.ReadLine();


            Console.WriteLine("With Stu's guidance, you head out of the dank bar and into the streets of Red Sands grotto.");
            Console.WriteLine("The buildings are all run down and decrepit. A huge glass dome surrounds you.");
            Console.ReadLine();
            Console.WriteLine("STU: If we just head north, we can go towards the north gate and into the Green Dome\nFrom there if we continue west we'll find the Cratertown gate.");
            Console.WriteLine("You head north, up the streets. You pass several shady looking people sitting by oil fires.");
            Console.ReadLine();
            Console.WriteLine("STU: Watch out through here. Some people will just up and kill ya if they think you've got anything that can pay for dinner.");
            Console.WriteLine("STU: Ah, here come some dumpfolk. Great, just what we needed right now.");
            Console.ReadLine();
            Console.WriteLine("THUG: Hey you, give us yer valuables or else... I, I'll pierce ya through meself!");
            Console.ReadLine();
            isAlive = Combat.combat(Enemy.Thug, newPlayer, 2);
            Console.WriteLine("STU: Damn, you're not bad. Two people at once? I'm glad you're on my side, pal.");
            Console.WriteLine("(1): I'm not bad.");
            Console.WriteLine("(2): Why are you even here? I hope you aren't planning on being a freeloader.");
            Console.WriteLine("(3): Thanks, glad to have you here, Stu.");
            Console.WriteLine("(4): I've noticed your flash grenades, where'd you get them from?");
            int.TryParse(Console.ReadLine(), out choice);
            switch (choice)
            {
            case 1:
                Console.WriteLine("STU: Not bad? I guess that's one way to put it.\nSTU: You're a real killer, " + newPlayer.name + ". I'd better not tick you off.");
                break;

            case 2:
                Console.WriteLine("STU: I already told you, I'm trying to get out of the Red Sands region. It's god awful there.");
                break;

            case 3:
                Console.WriteLine("STU: Thanks, " + newPlayer.name + ".\nSTU: Hopefully we can get into the Cratertown Dome with no hassle, I'd sooner sleep in a beef beast nest than Red Sands bar. I'd probably be safer.");
                break;

            case 4:
                Console.WriteLine("STU: I handcraft them. I was once an explosives engineer, but... things have changed.\nSTU: I've been working on something special also. I might try it out sometime, but uh... I don't have many, so I'll likely hold off.");
                break;

            default:
                Console.WriteLine("STU: Nothing to say? Is that modesty, or..? Well, you do you I suppose.");
                break;
            }
            Console.WriteLine("STU: Well, let's just keep moving. We need to keep north for now.");
            Console.WriteLine("STU: We'll be walking for probably another hour or so. Then we'll reach the Green Dome gate.");
            Console.ReadLine();
            Console.WriteLine("You walk along the road, leaving Red Sands grotto behind you.");
            Console.WriteLine("You are now on open highway, your left and right both containing vast expanses of red sand.");
            Console.WriteLine("Ahead of you on your right is a rover station, with a bill board posted outside of it.");
            Console.WriteLine("The billboard reads \"Don't just drink smart... Drink Ultra Smart! Your Ultra source of nutrients and bullet mending technology!\"");
            Console.ReadLine();
            Console.WriteLine("STU: Shockingly, that stuff actually works. I don't know how many years its taken off my life at this point, but at least its kept me from bein' dead more times than I can count.");
            Console.WriteLine("STU: Let's check this rover station. Maybe he's got some deals for us in there.");
            Console.ReadLine();
            Console.WriteLine("You walk into the rover station, whose slogan reads \"Where rovers refill for a voyage beyond the stars!\"");
            Console.WriteLine("You walk into the station building itself, a small building with some windows. It's lined with shelves of general purpose stuff, like sugar drinks and booze.");
            Console.WriteLine("The man behind the cash register looks up at you, seemingly surprised at having anyone enter his shop.");
            Console.ReadLine();
            Console.WriteLine("MAN: Why hello, isn't it a beautiful day today under these martian skies? A wonderful day for some Ultra Smart, for certain!");
            Console.WriteLine("STU: Don't you think you're laying it on a bit thick? We're heading to the Green Dome, and were looking to pick up some supplies.");
            Console.ReadLine();
            Console.WriteLine("MAN: Thick?! Whatever could you... oh screw it. Ultra Corp is really pressuring me to sell this stuff, alright? If I don't sell enough of it, they're putting me out of business!");
            Console.WriteLine("MAN: Could you just buy some of this stuff? Please? In fact, they're just pressuring me to get it off the shelves, so I'll sell a bunch of it to you for dirt cheap. Just take some, please?");
            Console.ReadLine();
            Console.WriteLine("STU: Uh, ok. I'll take however many you want to sell me.");
            Console.WriteLine("STU: Oh, and, " + newPlayer.name + ", don't worry about it. These are on me.");
            Console.ReadLine();
            Console.WriteLine("MAN: Oh, thank you so much. If I don't sell enough of these this month I'll be put out of damn business.");
            Console.WriteLine("You have received 8 Ultra Smart drinks.");
            newPlayer.ultraSmartDrinks += 8;
            Console.WriteLine("You now have some Ultra Smart drinks!\nDon't think too hard about what negative consequences this might have on your body,");
            Console.WriteLine("rather you should be thinking about how alive you'll be when you use it! - sponsored by Ultra Corp TM");
            Console.WriteLine("Use this in battle by using the 'h' option, and you'll be healed for half of your max hp.");
            Console.ReadLine();
            Console.WriteLine("STU: Here ya go, pal. These should help out in a pinch.");
            Console.WriteLine("MAN: Uh, so I wouldn't recommend you drink too many of those at once. You, know, its, uh, it wouldn't be good for you. Lot of sugar, right? Haha, ha.");
            Console.ReadLine();
            Console.WriteLine("STU: Thanks for the advice? We'll take our leave now, thanks.");
            Console.WriteLine("You head out of the rover station, and back under the huge Red Sands dome. Some people are walking down the road, armed with rocket launchers.");
            Console.ReadLine();
            Console.WriteLine("STU: Uh, let's go hide inside for now.");
            Console.WriteLine("As you head back towards the station, you notice that the man has locked the door and is nowhere to be seen.");
            Console.ReadLine();
            Console.WriteLine("STU: Well, this isn't how I planned today to go. Three gunfights in one day? What a miraculous turn of events.");
            Console.WriteLine("STU: Look, maybe we can avoid a fight. These guys are raiders, they roam the open areas in the domes and kill anyone who might have anything of value to them.");
            Console.WriteLine("STU: Just don't make eye contact.");
            Console.ReadLine();
            Console.WriteLine("The raiders notice you, however. They walk straight up to you, rpg's out.");
            Console.WriteLine("RAIDER: Isn't it your lucky day? I'll take everything you've got. Also, make it quick. I've gotta go take a leak.");
            Console.ReadLine();
            Console.WriteLine("STU: We don't have nuthin', I'm sorry to say.");
            Console.ReadLine();
            Console.WriteLine("RAIDER: Is that right? These fellas sound like they're putting up a fight, would you agree Sai?");
            Console.WriteLine("SAI: Hmph.");
            Console.WriteLine("STU: So much for not having to fight...");
            Console.ReadLine();
            isAlive = Combat.combat(Enemy.raiderRPG, newPlayer, 2);
            Console.WriteLine("STU: Huh, guys had a lot of gusto for being such weaklings. And you, Sai was it?");
            Console.WriteLine("STU: You weren't fighting with them. Who are you?");
            Console.ReadLine();
            Console.WriteLine("SAI: Please don't kill me. They dragged me along with them because I'm a medic. Otherwise, they would have killed me by now.");
            Console.WriteLine("SAI: Look, if you don't kill me I can join you. I'll provide medic capabilities in combat.");
            Console.ReadLine();
            Console.WriteLine("STU: Well, " + newPlayer.name + ", I think we should give him a chance. What say you?");
            Console.WriteLine("Yes or No?");
            string option = Console.ReadLine();

            if (option.ToLower() == "yes")
            {
                Console.WriteLine("STU: I agree. Alright Sai, you're coming with us.");
            }
            else
            {
                Console.WriteLine("STU: Don't you think that's a bit harsh?\nSTU: This isn't a democracy, I'm just gonna pretend you said yes. No need to be a jerk.");
            }
            Console.ReadLine();
            Console.WriteLine("Sai has joined your party!");
            member.Sai.inParty = true;
            Console.ReadLine();
            Console.WriteLine("SAI: Alright, thanks for having me. I swear I'll make this up to you, I might even save your life at some point!");
            Console.WriteLine("STU: We're going to Cratertown. Heard only nice things about it.");
            Console.ReadLine();
            Console.WriteLine("SAI: I used to live there at one point. It's actually patrolled by the Mars Police Force, so its not quite as lawless as Red Sands.");
            Console.WriteLine("STU: That sounds like what I've 'erd. We're almost to Green Dome gate now, so let's hit the road.");
            Console.WriteLine("SAI: Got it. Let's go, then.");
            Console.ReadLine();

            Console.WriteLine("END OF CHAPTER 1");
            Console.ReadLine();
            Console.Clear();
        }
Beispiel #4
0
 public static void ShowWeaponStats(GunPulled gun)
 {
     Console.WriteLine("Name: " + gun.weaponName + "\nBrand: " + gun.weaponBrand + "\nType: " + gun.weaponType);
     Console.WriteLine("\nDamage: " + gun.weaponDam + "\nAccuracy: " + gun.weaponAcc + "\nFireRate: " + gun.weaponFR + "\n");
 }