Esempio n. 1
0
        public static void Bill(PictureBox pic, Label des, Button right, Button Left, Characters player)
        {
            Location wellHouse = new WeapLoc(globalVar.locations[2], globalVar.weapons[4], 35, globalVar.enemies[0], 20, 30, 1, globalVar.npcs[6]);

            Inventory.addItem(wellHouse.getItem(), player);
            string desc = Logic.description.describeObj(5, 2, 14, 0, 1);

            playerChoices.addToList(desc);

            pic.Image     = Image.FromFile("FBill.jpg");
            des.Text      = desc + "OH NO! Pennywise has kidnapped Bill! \n Apparently, he'll let you all go if you let \n him take Bill. What do you do?";
            right.Text    = "Abandon Bill and save myself";
            Left.Text     = "Fight for Bill";
            right.Visible = true;
            Left.Visible  = true;
            right.Click  += (sender, args) =>
            {
                Game_Over.GO(pic, des, right, Left);
            };
            Left.Click += (sender, args) =>
            {
                globalVar.courage += 1;
                player.attack(wellHouse.getEnemy(), player.ownedWeapons[0]);
                Inventory.removeItem(player.ownedWeapons[0], player);
                End5.Fight(pic, des, right, Left, player);
            };
        }
Esempio n. 2
0
        public static void Gor(PictureBox pic, Label des, Button right, Button Left, Characters player)
        {
            Location wellHouse = new WeapLoc(globalVar.locations[2], globalVar.weapons[5], 40, globalVar.enemies[0], 70, 30, 1, globalVar.npcs[2]);

            Inventory.addItem(wellHouse.getItem(), player);
            string desc = Logic.description.describeObj(3, 2, 10, 0, 1);

            playerChoices.addToList(desc);

            pic.Image = Image.FromFile("FGe.png");
            des.Text  = desc + "Pennywise dodges your attack and leaves. \n When you turn around, your realize that Georgie is \n there telling you:" +
                        " You've beaten Pennywise, and I never died.\n This is a happy moment for you. What do you do?";
            right.Text    = "Attack Georgie";
            Left.Text     = "Trust Georgie";
            right.Visible = true;
            Left.Visible  = true;
            right.Click  += (sender, args) =>
            {
                //Quitar vida IT
                globalVar.courage += 1;

                player.attack(wellHouse.getEnemy(), player.ownedWeapons[0]);
                Inventory.removeItem(player.ownedWeapons[0], player);
                End3.ATck(pic, des, right, Left, player);
            };
            Left.Click += (sender, args) =>
            {
                Game_Over.GO(pic, des, right, Left);
            };
        }
Esempio n. 3
0
        public static void AtBow(PictureBox pic, Label tit, Label des, Button right, Button Left, Characters player)
        {
            Location wellHouse = new WeapLoc(globalVar.locations[2], globalVar.weapons[2], 30, globalVar.enemies[0], 110, 30, 1, globalVar.npcs[1]);

            Inventory.addItem(wellHouse.getItem(), player);
            string desc = Logic.description.describeObj(1, 2, 12, 0, 1);

            playerChoices.addToList(desc);

            // if no tienes arma sera Game Over
            //pic.Image = Image.FromFile(@"\\Mac\Home\Desktop\Media\F1.jpg");
            pic.Image     = Image.FromFile("F2.jpg");
            des.Text      = desc + "You managed to beat Bowers. \n You keep going down the sewers and stumble upon \n the final boss PENNYWISE!\n Who has kidnapped Beverly! What do you do?";
            right.Text    = "Not help and run";
            Left.Text     = "Attack him";
            right.Visible = true;
            Left.Visible  = true;
            right.Click  += (sender, args) =>
            {
                Game_Over.GO(pic, des, right, Left);
            };
            Left.Click += (sender, args) =>
            {
                // Coraje++
                globalVar.courage += 1;

                player.attack(wellHouse.getEnemy(), player.ownedWeapons[0]);
                Inventory.removeItem(player.ownedWeapons[0], player);
                End2.Gor(pic, des, right, Left, player);
            };
        }