Example #1
0
        public static Craft CopperSword()
        {
            var CopperSword = new Craft()
            {
                Name            = "Copper Sword",
                StartMessage    = "You put all your copper ore into the furnace",
                FailureMessages = new List <CraftFailMessage>()
                {
                    new CraftFailMessage()
                    {
                        Message       = "You accidently drop the copper ore inside the furnace.",
                        BreakMaterial = true
                    },
                    new CraftFailMessage()
                    {
                        Message = "You miss the cast and pour molten hot metal on the floor.",
                    }
                },
                SuccessMessage     = "You have forged a copper long sword.",
                Description        = "To forge a copper long sword you need to be at a furnace",
                CraftCommand       = CraftType.Forge,
                CraftAppearsInRoom = false,
                CraftingEmotes     = new List <string>()
                {
                    "The copper ore begins to melt down.",
                    "You take out the melted metal and pour it into a cast.",
                    "The casts begin to cool down.",
                    "The metal in the casts go hard.",
                    "You crack the cast open."
                },
                Materials = new List <CraftMaterials>()
                {
                    new CraftMaterials()
                    {
                        Name  = "Copper Ore",
                        Count = 2
                    }
                },
                CreatesItem = LongSwordBasic.CopperSword(),

                MoveCost = 20
            };

            return(CopperSword);
        }
Example #2
0
        public static PlayerSetup.Player MetalMedleyBlacksmith()
        {
            #region NPC setup
            var ferron = new PlayerSetup.Player
            {
                NPCId         = Guid.NewGuid(),
                Name          = "Ferron",
                NPCLongName   = "Ferron",
                KnownByName   = true,
                Type          = PlayerSetup.Player.PlayerTypes.Mob,
                Description   = "The black smith",
                Strength      = 80,
                Dexterity     = 60,
                Constitution  = 60,
                Intelligence  = 60,
                Wisdom        = 60,
                Charisma      = 60,
                MaxHitPoints  = 2250,
                HitPoints     = 2250,
                Level         = 51,
                Status        = PlayerSetup.Player.PlayerStatus.Standing,
                Skills        = new List <Skill>(),
                Inventory     = new ItemContainer(),
                Trainer       = false,
                Greet         = true,
                Shop          = true,
                itemsToSell   = new List <Item.Item>(),
                sellerMessage = "Why of course, here is what I can sell you.",
                GreetMessage  = "Hello there!",
                DialogueTree  = new List <DialogTree>()
                {
                    new DialogTree()
                    {
                        Id               = "Ferron1",
                        Message          = "Horik Broke his axe again! What has he done this time?",
                        ShowIfOnQuest    = "Repair Horik's Axe",
                        PossibleResponse = new List <Responses>()
                        {
                            new Responses()
                            {
                                QuestionId = "Ferron1a",
                                AnswerId   = "Ferron1a",
                                Response   = "Yes, this is the axe. Is it fixable?",
                                DoEmote    = "You show Ferron the broken axe."
                            }
                        },
                    },
                    new DialogTree()
                    {
                        Id               = "Ferron1a",
                        Message          = "Ah, this is an easy fix.",
                        MatchPhrase      = "Yes, this is the axe. Is it fixable?",
                        PossibleResponse = new List <Responses>(),
                        GiveItem         = Items.MiscEQ.Held.Held.RepairHammer(),
                        GiveItemEmote    = "Ferron hands you a hammer. This is a repair hammer, hit the axe here, here and here says ferron jabbing his finger at the axe. <p> Now i've helped you, you can help me. I'm having issues with some of my raw material shipments. I suspect bandits. You should check back again soon incase one goes missing as I will need someone to try and track down these Bandit theieves.</p>" +
                                           "<p>Hint: use repair axe to fix the broken axe. Then head back to Horick",
                        GiveSkill = Repair.RepairAb()
                    },
                },
                Dialogue = new List <Responses>(),
            };

            #endregion

            #region 4sale
            for (int i = 0; i < 20; i++)
            {
                ferron.itemsToSell.Add(ShortSwordBasic.Saber());
                ferron.itemsToSell.Add(LongSwordBasic.BastardSword());
                ferron.itemsToSell.Add(SpearBasic.BoarSpear());
                ferron.itemsToSell.Add(AxeBasic.DoubleAxe());
                ferron.itemsToSell.Add(HammerBasic.GreatHammer());
                ferron.itemsToSell.Add(LongSwordBasic.Katana());
                ferron.itemsToSell.Add(DaggerBasic.HuntingKnife());
                ferron.itemsToSell.Add(DaggerBasic.HiddenBlade());

                //armor scale mail

                ferron.itemsToSell.Add(ScalemailHead.ScalemailHelm());
                ferron.itemsToSell.Add(ScalemailBody.ScalemailBreastPlate());
                ferron.itemsToSell.Add(ScalemailArms.ScalemailSleeves());
                ferron.itemsToSell.Add(ScalemailLegs.ScalemailGreaves());
                ferron.itemsToSell.Add(ScalemailHands.ScalemailGauntlets());
                ferron.itemsToSell.Add(ScalemailFeet.ScalemailBoots());

                //armour bronze - bronze has crappy stats, make better?
                ferron.itemsToSell.Add(FullPlateHelm.BronzeHelm());
                ferron.itemsToSell.Add(FullPlateBody.BronzeBreastPlate());
                ferron.itemsToSell.Add(FullPlateSleeves.BronzeSleeves());
                ferron.itemsToSell.Add(FullPlateGreaves.BronzeGreaves());
                ferron.itemsToSell.Add(FullPlateGauntlet.BronzeGauntlets());
                ferron.itemsToSell.Add(FullPlateBoots.BronzeBoots());
                ferron.itemsToSell.Add(Materials.CopperOre());
            }

            #endregion


            #region Dialogue



            #endregion



            return(ferron);
        }
Example #3
0
        public static PlayerSetup.Player OddsNSodsShopKeeper()
        {
            #region NPC setup
            var Anika = new PlayerSetup.Player
            {
                NPCId         = Guid.NewGuid(),
                Name          = "Anika",
                NPCLongName   = "Anika",
                KnownByName   = true,
                Type          = PlayerSetup.Player.PlayerTypes.Mob,
                Description   = "The shop keeper",
                Strength      = 15,
                Dexterity     = 16,
                Constitution  = 16,
                Intelligence  = 12,
                Wisdom        = 16,
                Charisma      = 18,
                MaxHitPoints  = 350,
                HitPoints     = 350,
                Level         = 20,
                Status        = PlayerSetup.Player.PlayerStatus.Standing,
                Skills        = new List <Skill>(),
                Inventory     = new List <Item.Item>(),
                Trainer       = false,
                Greet         = true,
                Shop          = true,
                itemsToSell   = new List <Item.Item>(),
                sellerMessage = "Why of course, here is what I can sell you.",
                GreetMessage  = "Hello there!",
                DialogueTree  = new List <DialogTree>(),
                Dialogue      = new List <Responses>(),
                Quest         = new List <Quest>()
            };


            var backpack = new Item.Item
            {
                name          = "Leather Backpack",
                container     = true,
                containerSize = 30,
                Weight        = 1,
                count         = 10,
                equipable     = false,
                location      = Item.Item.ItemLocation.Inventory,
                canOpen       = true,
                Gold          = 25
            };

            Anika.itemsToSell.Add(ShortSwordBasic.ShortIronSword());
            Anika.itemsToSell.Add(DaggerBasic.IronDagger());
            Anika.itemsToSell.Add(LongSwordBasic.LongIronSword());
            Anika.itemsToSell.Add(StaffBasic.WoodenQuarterstaff());
            Anika.itemsToSell.Add(AxeBasic.IronHatchet());
            Anika.itemsToSell.Add(MaceBasic.IronMace());
            Anika.itemsToSell.Add(PaddedBodyBasic.PaddedBreastPlate());
            Anika.itemsToSell.Add(PaddedSleeves.PaddedSleeve());
            Anika.itemsToSell.Add(PaddedHandsBasic.PaddedGloves());
            Anika.itemsToSell.Add(PaddedLegsBasic.PaddedGreaves());
            Anika.itemsToSell.Add(LeatherBootBasic.WornLeatherBoots());
            Anika.itemsToSell.Add(Light.WoodenTorch());
            Anika.itemsToSell.Add(drink.WaterSkin());
            Anika.itemsToSell.Add(Food.Cheese());
            Anika.itemsToSell.Add(backpack);
            #endregion



            return(Anika);
        }
Example #4
0
        /// <summary>

        /// </summary>
        /// <returns></returns>
        public static PlayerSetup.Player AnkerGuardNpc()
        {
            var Guard = new PlayerSetup.Player
            {
                NPCId        = Guid.NewGuid(),
                Name         = "Lara, the Anker guard",
                NPCLongName  = "Lara the guard stands here keeping watch",
                KnownByName  = true,
                Type         = PlayerSetup.Player.PlayerTypes.Mob,
                Description  = "Dark chain mail armour covers the guard head to toe. A long sword is sheathed at her waist",
                Strength     = 70,
                Dexterity    = 72,
                Constitution = 60,
                Intelligence = 60,
                Wisdom       = 60,
                Charisma     = 60,
                MaxHitPoints = 722,
                HitPoints    = 722,
                Level        = 23,
                Status       = PlayerSetup.Player.PlayerStatus.Standing,
                Skills       = new List <Skill>()
                {
                    Dodge.DodgeAb(),
                ShieldBlock.ShieldBlockAb(),
                Parry.ParryAb(),
                SecondAttack.SecondAttackAb(),
                LongBlades.LongBladesAb(),
                },
                Inventory     = new ItemContainer(),
                Trainer       = false,
                Greet         = true,
                Shop          = false,
                GreetMessage  = "Hello there!",
                DialogueTree  = new List <DialogTree>(),
                Dialogue      = new List <Responses>(),
                Quest         = new List <Quest>(),
                Region        = "Anker",
                Area          = "Anker",
                AreaId        = 37,
                Gender        = "Female",
                SelectedClass = "Fighter",
                ArmorRating   = 280,
                Recall        = new Recall()
                {
                    Region = "Anker",
                    Area   = "Anker",
                    AreaId = 37
                },
                Guard = true,

                PathList = new List <string>()
                {
                    "e",
                    "e",
                    "e",
                    "e",
                    "e",
                    "e",
                    "e",
                    //reverse
                    "w",
                    "w",
                    "w",
                    "w",
                    "w",
                    "w",
                    "w"
                }
            };

            var sword = LongSwordBasic.LongIronSword();

            sword.stats = new Stats()
            {
                damMin = 1,
                damMax = 20
            };
            Guard.Equipment.Wielded = sword.name;
            sword.location          = Item.Item.ItemLocation.Wield;
            Guard.Inventory.Add(sword);


            return(Guard);
        }
Example #5
0
        public static PlayerSetup.Player MetalMedleyBlacksmith()
        {
            #region NPC setup
            var ferron = new PlayerSetup.Player
            {
                NPCId         = Guid.NewGuid(),
                Name          = "Ferron",
                KnownByName   = true,
                Type          = PlayerSetup.Player.PlayerTypes.Mob,
                Description   = "The black smith",
                Strength      = 15,
                Dexterity     = 16,
                Constitution  = 16,
                Intelligence  = 12,
                Wisdom        = 16,
                Charisma      = 18,
                MaxHitPoints  = 350,
                HitPoints     = 350,
                Level         = 20,
                Status        = PlayerSetup.Player.PlayerStatus.Standing,
                Skills        = new List <Skill>(),
                Inventory     = new List <Item.Item>(),
                Trainer       = false,
                Greet         = true,
                Shop          = true,
                itemsToSell   = new List <Item.Item>(),
                sellerMessage = "Why of course, here is what I can sell you.",
                GreetMessage  = "Hello there!",
                DialogueTree  = new List <DialogTree>(),
                Dialogue      = new List <Responses>(),
                Quest         = new List <Quest>()
            };

            #endregion

            ferron.itemsToSell.Add(ShortSwordBasic.Saber());
            ferron.itemsToSell.Add(LongSwordBasic.BastardSword());
            ferron.itemsToSell.Add(SpearBasic.BoarSpear());
            ferron.itemsToSell.Add(AxeBasic.DoubleAxe());
            ferron.itemsToSell.Add(HammerBasic.GreatHammer());
            ferron.itemsToSell.Add(LongSwordBasic.Katana());
            ferron.itemsToSell.Add(DaggerBasic.HuntingKnife());
            ferron.itemsToSell.Add(DaggerBasic.HiddenBlade());

            //armor scale mail

            ferron.itemsToSell.Add(ScalemailHead.ScalemailHelm());
            ferron.itemsToSell.Add(ScalemailBody.ScalemailBreastPlate());
            ferron.itemsToSell.Add(ScalemailArms.ScalemailSleeves());
            ferron.itemsToSell.Add(ScalemailLegs.ScalemailGreaves());
            ferron.itemsToSell.Add(ScalemailHands.ScalemailGauntlets());
            ferron.itemsToSell.Add(ScalemailFeet.ScalemailBoots());

            //armour bronze - bronze has crappy stats, make better?
            ferron.itemsToSell.Add(FullPlateHelm.BronzeHelm());
            ferron.itemsToSell.Add(FullPlateBody.BronzeBreastPlate());
            ferron.itemsToSell.Add(FullPlateSleeves.BronzeSleeves());
            ferron.itemsToSell.Add(FullPlateGreaves.BronzeGreaves());
            ferron.itemsToSell.Add(FullPlateGauntlet.BronzeGauntlets());
            ferron.itemsToSell.Add(FullPlateBoots.BronzeBoots());

            return(ferron);
        }
Example #6
0
        /// <summary>

        /// </summary>
        /// <returns></returns>
        public static PlayerSetup.Player AnkerGuardNpc()
        {
            var Guard = new PlayerSetup.Player
            {
                NPCId        = Guid.NewGuid(),
                Name         = "Lara, the Anker guard",
                NPCLongName  = "Lara the guard stands here keeping watch",
                KnownByName  = true,
                Type         = PlayerSetup.Player.PlayerTypes.Mob,
                Description  = "Dark chain mail armour covers the guard head to toe. A long sword is sheathed at her waist",
                Strength     = 17,
                Dexterity    = 16,
                Constitution = 16,
                Intelligence = 12,
                Wisdom       = 16,
                Charisma     = 16,
                MaxHitPoints = 522,
                HitPoints    = 522,
                Level        = 18,
                Status       = PlayerSetup.Player.PlayerStatus.Standing,
                Skills       = new List <Skill>(),
                Inventory    = new List <Item.Item>(),
                Trainer      = false,
                Greet        = true,
                Shop         = false,
                GreetMessage = "Hello there!",
                DialogueTree = new List <DialogTree>(),
                Dialogue     = new List <Responses>(),
                Quest        = new List <Quest>(),
                Region       = "Anker",
                Area         = "Anker",
                AreaId       = 37,
                Gender       = "Female",
                Recall       = new Recall()
                {
                    Region = "Anker",
                    Area   = "Anker",
                    AreaId = 37
                },
                Guard    = true,
                PathList = new List <string>()
                {
                    "e",
                    "e",
                    "e",
                    "e",
                    "e",
                    "e",
                    "e",
                    //reverse
                    "w",
                    "w",
                    "w",
                    "w",
                    "w",
                    "w",
                    "w"
                }
            };

            var sword = LongSwordBasic.LongIronSword();

            sword.location = Item.Item.ItemLocation.Inventory;
            Guard.Inventory.Add(sword);



            return(Guard);
        }