Example #1
0
        public static void GiveSeeds(Mobile from)
        {
            var box = new WoodenBox
            {
                Hue  = 578,
                Name = "Box of Seeds"
            };

            box.DropItem(new FertileDirt(5000));
            box.DropItem(new GreenThorns(15));

            Container bag = new Bag();

            for (int i = 0; i < 10; i++)
            {
                bag.DropItem(new Seed(PlantType.CocoaTree, PlantHue.Plain, false));
            }

            PlaceItemIn(box, 47, 83, bag);

            bag = new Bag();

            for (int i = 0; i < 10; i++)
            {
                bag.DropItem(Seed.RandomPeculiarSeed(Utility.Random(3)));
            }

            PlaceItemIn(box, 78, 83, bag);

            bag = new Bag();

            for (int i = 0; i < 5; i++)
            {
                bag.DropItem(new Seed(PlantTypeInfo.RandomFirstGeneration(), PlantHue.White, false));
            }

            for (int i = 0; i < 5; i++)
            {
                bag.DropItem(new Seed(PlantTypeInfo.RandomFirstGeneration(), PlantHue.Black, false));
            }

            for (int i = 0; i < 5; i++)
            {
                bag.DropItem(new Seed(PlantTypeInfo.RandomFirstGeneration(), PlantHue.FireRed, false));
            }

            // TODO: Plant Spawners

            PlaceItemIn(box, 109, 83, bag);

            PlaceItemIn(from.BankBox, 83, 106, box);
        }
Example #2
0
            public InternalSellInfo()
            {
                Add(typeof(Lockpick), Lockpick.GetSBSellValue());
                Add(typeof(Dagger), Dagger.GetSBSellValue());

                Add(typeof(Lantern), Lantern.GetSBSellValue());
                Add(typeof(Torch), Torch.GetSBSellValue());
                Add(typeof(Candle), Candle.GetSBSellValue());
                Add(typeof(Bedroll), Bedroll.GetSBSellValue());
                Add(typeof(Backpack), Backpack.GetSBSellValue());
                Add(typeof(Bag), Bag.GetSBSellValue());
                Add(typeof(Pouch), Pouch.GetSBSellValue());
                Add(typeof(WoodenBox), WoodenBox.GetSBSellValue());

                Add(typeof(HairDye), HairDye.GetSBSellValue());
            }
Example #3
0
            public InternalBuyInfo()
            {
                Add(new GenericBuyInfo("Lockpick", typeof(Lockpick), Lockpick.GetSBPurchaseValue(), 100, 0x14FC, 0));
                Add(new GenericBuyInfo("Dagger", typeof(Dagger), Dagger.GetSBPurchaseValue(), 25, 0xF52, 0));

                Add(new GenericBuyInfo("Lantern", typeof(Lantern), Lantern.GetSBPurchaseValue(), 25, 0xA25, 0));
                Add(new GenericBuyInfo("Torch", typeof(Torch), Torch.GetSBPurchaseValue(), 25, 0xF6B, 0));
                Add(new GenericBuyInfo("Candle", typeof(Candle), Candle.GetSBPurchaseValue(), 25, 0xA28, 0));
                Add(new GenericBuyInfo("Bedroll", typeof(Bedroll), Bedroll.GetSBPurchaseValue(), 25, 0xA57, 0));
                Add(new GenericBuyInfo("Backpack", typeof(Backpack), Backpack.GetSBPurchaseValue(), 25, 0x9B2, 0));
                Add(new GenericBuyInfo("Bag", typeof(Bag), Bag.GetSBPurchaseValue(), 25, 0xE76, 0));
                Add(new GenericBuyInfo("Pouch", typeof(Pouch), Pouch.GetSBPurchaseValue(), 25, 0xE79, 0));
                Add(new GenericBuyInfo("Wooden Box", typeof(WoodenBox), WoodenBox.GetSBPurchaseValue(), 25, 0xE7D, 0));

                Add(new GenericBuyInfo("Hair Dye", typeof(HairDye), HairDye.GetSBPurchaseValue(), 10, 0xEFF, 0));
            }
Example #4
0
        public override void OnResponse(NetState sender, RelayInfo info)
        {
            if (info.ButtonID == 1)
            {
                Mobile m    = sender.Mobile;
                Item   item = null;

                item = new WoodenBox();

                Container c = item as Container;
                c.Hue  = 232;
                c.Name = "Evil Home D�cor Collection";

                c.DropItem(new BedOfNailsDeed());
                c.DropItem(new BoneTableDeed());
                c.DropItem(new CreepyPortraitDeed());
                c.DropItem(new HauntedMirrorDeed());
                c.DropItem(new MountedPixieGreenDeed());
                c.DropItem(new MountedPixieOrangeDeed());
                c.DropItem(new SacrificialAltarDeed());
                c.DropItem(new BoneCouchDeed());
                c.DropItem(new BoneThroneDeed());
                c.DropItem(new DisturbingPortraitDeed());
                c.DropItem(new MountedPixieBlueDeed());
                c.DropItem(new MountedPixieLimeDeed());
                c.DropItem(new MountedPixieWhiteDeed());
                c.DropItem(new UnsettlingPortraitDeed());

                if (item != null && m_Token != null)
                {
                    if (!m.AddToBackpack(item))
                    {
                        if (m.BankBox.TryDropItem(m, item, false))
                        {
                            item.MoveToWorld(m.Location, m.Map);
                        }
                    }

                    m_Token.Delete();
                }
            }
        }
Example #5
0
        public override void OnResponse(NetState sender, RelayInfo info)
        {
            if (info.ButtonID == 1)
            {
                Mobile m    = sender.Mobile;
                Item   item = null;

                item = new WoodenBox();

                Container c = item as Container;
                c.Hue  = 1173;
                c.Name = "A Broken Furniture Set";

                c.DropItem(new BrokenBedDeed());
                c.DropItem(new BrokenChestOfDrawersDeed());
                c.DropItem(new BrokenFallenChairDeed());
                c.DropItem(new StandingBrokenChairDeed());
                c.DropItem(new BrokenArmoireDeed());
                c.DropItem(new BrokenBookcaseDeed());
                c.DropItem(new BrokenCoveredChairDeed());
                c.DropItem(new BrokenVanityDeed());


                if (item != null && m_Token != null)
                {
                    if (!m.AddToBackpack(item))
                    {
                        if (m.BankBox.TryDropItem(m, item, false))
                        {
                            item.MoveToWorld(m.Location, m.Map);
                        }
                    }

                    m_Token.Delete();
                }
            }
        }
            public InternalSellInfo()
            {
                Add(typeof(Arrow), Arrow.GetSBSellValue());
                Add(typeof(Bolt), Bolt.GetSBSellValue());
                Add(typeof(Bandage), Bandage.GetSBSellValue());

                Add(typeof(Scissors), Scissors.GetSBSellValue());
                Add(typeof(SewingKit), SewingKit.GetSBSellValue());
                Add(typeof(Dyes), Dyes.GetSBSellValue());
                Add(typeof(DyeTub), DyeTub.GetSBSellValue());

                Add(typeof(Lockpick), Lockpick.GetSBSellValue());
                Add(typeof(Skillet), Skillet.GetSBSellValue());
                Add(typeof(Dagger), Dagger.GetSBSellValue());

                Add(typeof(Lantern), Lantern.GetSBSellValue());
                Add(typeof(Torch), Torch.GetSBSellValue());
                Add(typeof(Candle), Candle.GetSBSellValue());
                Add(typeof(Bedroll), Bedroll.GetSBSellValue());
                Add(typeof(Backpack), Backpack.GetSBSellValue());
                Add(typeof(Bag), Bag.GetSBSellValue());
                Add(typeof(Pouch), Pouch.GetSBSellValue());
                Add(typeof(WoodenBox), WoodenBox.GetSBSellValue());
            }
            public InternalBuyInfo()
            {
                Add(new GenericBuyInfo("Arrow", typeof(Arrow), Arrow.GetSBPurchaseValue(), 500, 0xF3F, 0));
                Add(new GenericBuyInfo("Bolt", typeof(Bolt), Bolt.GetSBPurchaseValue(), 500, 0x1BFB, 0));
                Add(new GenericBuyInfo("Bandage", typeof(Bandage), Bandage.GetSBPurchaseValue(), 250, 0xE21, 0));

                Add(new GenericBuyInfo("Scissors", typeof(Scissors), Scissors.GetSBPurchaseValue(), 25, 0xF9F, 0));
                Add(new GenericBuyInfo("Sewing Kit", typeof(SewingKit), SewingKit.GetSBPurchaseValue(), 50, 0xF9D, 0));
                Add(new GenericBuyInfo("Dyes", typeof(Dyes), Dyes.GetSBPurchaseValue(), 25, 0xFA9, 0));
                Add(new GenericBuyInfo("Dye Tub", typeof(DyeTub), DyeTub.GetSBPurchaseValue(), 25, 0xFAB, 0));

                Add(new GenericBuyInfo("Lockpick", typeof(Lockpick), Lockpick.GetSBPurchaseValue(), 100, 0x14FC, 0));
                Add(new GenericBuyInfo("Skillet", typeof(Skillet), Skillet.GetSBPurchaseValue(), 50, 0x97F, 0));
                Add(new GenericBuyInfo("Dagger", typeof(Dagger), Dagger.GetSBPurchaseValue(), 25, 0xF52, 0));

                Add(new GenericBuyInfo("Lantern", typeof(Lantern), Lantern.GetSBPurchaseValue(), 25, 0xA25, 0));
                Add(new GenericBuyInfo("Torch", typeof(Torch), Torch.GetSBPurchaseValue(), 25, 0xF6B, 0));
                Add(new GenericBuyInfo("Candle", typeof(Candle), Candle.GetSBPurchaseValue(), 25, 0xA28, 0));
                Add(new GenericBuyInfo("Bedroll", typeof(Bedroll), Bedroll.GetSBPurchaseValue(), 25, 0xA57, 0));
                Add(new GenericBuyInfo("Backpack", typeof(Backpack), Backpack.GetSBPurchaseValue(), 25, 0x9B2, 0));
                Add(new GenericBuyInfo("Bag", typeof(Bag), Bag.GetSBPurchaseValue(), 25, 0xE76, 0));
                Add(new GenericBuyInfo("Pouch", typeof(Pouch), Pouch.GetSBPurchaseValue(), 25, 0xE79, 0));
                Add(new GenericBuyInfo("Wooden Box", typeof(WoodenBox), WoodenBox.GetSBPurchaseValue(), 25, 0xE7D, 0));
            }
Example #8
0
        // adam: not called for production servers
        private static void FillBankbox(Mobile m)
        {
            BankBox bank = m.BankBox;

            if (bank == null)
            {
                return;
            }

            Container cont;

            // Begin box of money
            cont        = new WoodenBox();
            cont.ItemID = 0xE7D;
            cont.Hue    = 0x489;

            PlaceItemIn(cont, 16, 51, new BankCheck(1000000));               //edited by sam
            PlaceItemIn(cont, 28, 51, new BankCheck(250000));                //edited by sam
            PlaceItemIn(cont, 40, 51, new BankCheck(125000));                //edited by sam
            PlaceItemIn(cont, 52, 51, new BankCheck(75000));                 //edited by sam
            PlaceItemIn(cont, 64, 51, new BankCheck(32500));                 //edited by sam

            PlaceItemIn(cont, 34, 115, MakeNewbie(new Gold(60000)));

            PlaceItemIn(bank, 18, 169, cont);
            // End box of money


            // Begin bag of potion kegs
            cont      = new Backpack();
            cont.Name = "Various Potion Kegs";

            PlaceItemIn(cont, 45, 149, MakePotionKeg(PotionEffect.CureGreater, 0x2D));
            PlaceItemIn(cont, 69, 149, MakePotionKeg(PotionEffect.HealGreater, 0x499));
            PlaceItemIn(cont, 93, 149, MakePotionKeg(PotionEffect.PoisonDeadly, 0x46));
            PlaceItemIn(cont, 117, 149, MakePotionKeg(PotionEffect.RefreshTotal, 0x21));
            PlaceItemIn(cont, 141, 149, MakePotionKeg(PotionEffect.ExplosionGreater, 0x74));

            PlaceItemIn(cont, 93, 82, MakeNewbie(new Bottle(1000)));

            PlaceItemIn(bank, 53, 169, cont);
            // End bag of potion kegs


            // Begin bag of tools
            cont      = new Bag();
            cont.Name = "Tool Bag";

            PlaceItemIn(cont, 30, 35, MakeNewbie(new TinkerTools(60000)));
            PlaceItemIn(cont, 90, 35, MakeNewbie(new DovetailSaw(60000)));
            PlaceItemIn(cont, 30, 68, MakeNewbie(new Scissors()));
            PlaceItemIn(cont, 45, 68, MakeNewbie(new MortarPestle(60000)));
            PlaceItemIn(cont, 75, 68, MakeNewbie(new ScribesPen(60000)));
            PlaceItemIn(cont, 90, 68, MakeNewbie(new SmithHammer(60000)));
            PlaceItemIn(cont, 30, 118, MakeNewbie(new TwoHandedAxe()));
            PlaceItemIn(cont, 90, 118, MakeNewbie(new SewingKit(60000)));

            PlaceItemIn(bank, 118, 169, cont);
            // End bag of tools


            // Begin bag of archery ammo
            cont      = new Bag();
            cont.Name = "Bag Of Archery Ammo";

            PlaceItemIn(cont, 48, 76, MakeNewbie(new Arrow(60000)));
            PlaceItemIn(cont, 72, 76, MakeNewbie(new Bolt(60000)));

            PlaceItemIn(bank, 118, 124, cont);
            // End bag of archery ammo


            // Begin bag of treasure maps
            cont      = new Bag();
            cont.Name = "Bag Of Treasure Maps";

            PlaceItemIn(cont, 30, 35, MakeNewbie(new TreasureMap(1, Map.Felucca)));
            PlaceItemIn(cont, 45, 35, MakeNewbie(new TreasureMap(2, Map.Felucca)));
            PlaceItemIn(cont, 60, 35, MakeNewbie(new TreasureMap(3, Map.Felucca)));
            PlaceItemIn(cont, 75, 35, MakeNewbie(new TreasureMap(4, Map.Felucca)));
            PlaceItemIn(cont, 90, 35, MakeNewbie(new TreasureMap(5, Map.Felucca)));

            PlaceItemIn(cont, 30, 50, MakeNewbie(new TreasureMap(1, Map.Felucca)));
            PlaceItemIn(cont, 45, 50, MakeNewbie(new TreasureMap(2, Map.Felucca)));
            PlaceItemIn(cont, 60, 50, MakeNewbie(new TreasureMap(3, Map.Felucca)));
            PlaceItemIn(cont, 75, 50, MakeNewbie(new TreasureMap(4, Map.Felucca)));
            PlaceItemIn(cont, 90, 50, MakeNewbie(new TreasureMap(5, Map.Felucca)));

            PlaceItemIn(cont, 55, 100, MakeNewbie(new Lockpick(60000)));
            PlaceItemIn(cont, 60, 100, MakeNewbie(new Pickaxe()));

            PlaceItemIn(bank, 98, 124, cont);
            // End bag of treasure maps


            // Begin bag of raw materials
            cont      = new Bag();
            cont.Hue  = 0x835;
            cont.Name = "Raw Materials Bag";

            PlaceItemIn(cont, 30, 35, MakeNewbie(new DullCopperIngot(60000)));
            PlaceItemIn(cont, 37, 35, MakeNewbie(new ShadowIronIngot(60000)));
            PlaceItemIn(cont, 44, 35, MakeNewbie(new CopperIngot(60000)));
            PlaceItemIn(cont, 51, 35, MakeNewbie(new BronzeIngot(60000)));
            PlaceItemIn(cont, 58, 35, MakeNewbie(new GoldIngot(60000)));
            PlaceItemIn(cont, 65, 35, MakeNewbie(new AgapiteIngot(60000)));
            PlaceItemIn(cont, 72, 35, MakeNewbie(new VeriteIngot(60000)));
            PlaceItemIn(cont, 79, 35, MakeNewbie(new ValoriteIngot(60000)));
            PlaceItemIn(cont, 86, 35, MakeNewbie(new IronIngot(60000)));

            PlaceItemIn(cont, 29, 55, MakeNewbie(new Leather(60000)));
            PlaceItemIn(cont, 44, 55, MakeNewbie(new SpinedLeather(60000)));
            PlaceItemIn(cont, 59, 55, MakeNewbie(new HornedLeather(60000)));
            PlaceItemIn(cont, 74, 55, MakeNewbie(new BarbedLeather(60000)));
            PlaceItemIn(cont, 35, 100, MakeNewbie(new Cloth(60000)));
            PlaceItemIn(cont, 67, 89, MakeNewbie(new Board(60000)));
            PlaceItemIn(cont, 88, 91, MakeNewbie(new BlankScroll(60000)));

            PlaceItemIn(bank, 98, 169, cont);
            // End bag of raw materials


            // Begin bag of spell casting stuff
            cont      = new Backpack();
            cont.Hue  = 0x480;
            cont.Name = "Spell Casting Stuff";

            PlaceItemIn(cont, 45, 105, new Spellbook(UInt64.MaxValue));

            Runebook runebook = new Runebook(10);

            runebook.CurCharges = runebook.MaxCharges;
            PlaceItemIn(cont, 105, 105, runebook);

            Item toHue = new BagOfReagents(65000);

            toHue.Hue = 0x2D;
            PlaceItemIn(cont, 45, 150, toHue);

            for (int i = 0; i < 9; ++i)
            {
                PlaceItemIn(cont, 45 + (i * 10), 75, MakeNewbie(new RecallRune()));
            }

            PlaceItemIn(bank, 78, 169, cont);
            // End bag of spell casting stuff
        }
Example #9
0
        public static void FillBank(Mobile m)
        {
            BankBox bank = m.BankBox;

            for (int i = 0; i < PowerScroll.Skills.Count; ++i)
            {
                m.Skills[PowerScroll.Skills[i]].Cap = 120.0;
            }

            m.StatCap = 250;

            var book = new Runebook(9999);

            book.CurCharges = book.MaxCharges;
            book.Entries.Add(new RunebookEntry(new Point3D(1438, 1695, 0), Map.Trammel, "Britain Bank", null));
            book.Entries.Add(new RunebookEntry(new Point3D(1821, 2821, 0), Map.Trammel, "Trinsic Bank", null));
            book.Entries.Add(new RunebookEntry(new Point3D(1492, 1628, 13), Map.Trammel, "Britain Sweet Dreams", null));
            book.Entries.Add(new RunebookEntry(new Point3D(1388, 1507, 10), Map.Trammel, "Britain Graveyard", null));
            book.Entries.Add(new RunebookEntry(new Point3D(1300, 1080, 0), Map.Trammel, "Dungeon Despise", null));
            book.Entries.Add(new RunebookEntry(new Point3D(1171, 2639, 0), Map.Trammel, "Dungeon Destard", null));
            book.Entries.Add(new RunebookEntry(new Point3D(1260, 2296, 0), Map.Trammel, "Hedge Maze", null));

            m.AddToBackpack(book);

            #region Gold
            var account = m.Account as Account;

            if (account != null && account.GetTag("TCGold") == null)
            {
                account.AddTag("TCGold", "Gold Given");

                Banker.Deposit(m, 30000000, false);
            }
            #endregion

            #region Bank Level Items
            bank.DropItem(new Robe(443));
            bank.DropItem(new Dagger());
            bank.DropItem(new Candle());
            bank.DropItem(new FireworksWand()
            {
                Name = "Mininova Fireworks Wand"
            });
            #endregion

            Container cont;

            #region TMaps
            cont      = new Bag();
            cont.Name = "Bag of Treasure Maps";

            for (int i = 0; i < 10; i++)
            {
                PlaceItemIn(cont, 30 + (i * 6), 35, new TreasureMap(Utility.Random(3), Map.Trammel));
            }

            for (int i = 0; i < 10; i++)
            {
                PlaceItemIn(cont, 30 + (i * 6), 51, new TreasureMap(Utility.Random(3), Map.Trammel));
            }

            for (int i = 0; i < 20; i++)
            {
                PlaceItemIn(cont, 76, 91, new MessageInABottle());
            }

            PlaceItemIn(cont, 22, 77, new Shovel(30000));
            PlaceItemIn(cont, 57, 97, new Lockpick(3));

            PlaceItemIn(bank, 98, 124, cont);
            #endregion

            #region Trans Powder
            cont = new Bag();

            PlaceItemIn(cont, 117, 147, new PowderOfTranslocation(100));
            PlaceItemIn(bank, 117, 147, cont);
            #endregion

            #region Magery Items
            cont      = new WoodenBox();
            cont.Hue  = 1195;
            cont.Name = "Magery Items";

            PlaceItemIn(cont, 78, 88, new CrimsonCincture()
            {
                Hue = 232
            });
            PlaceItemIn(cont, 102, 90, new CrystallineRing());

            var brac = new GoldBracelet();
            brac.Name = "Farmer's Bank of Mastery";
            brac.Attributes.CastRecovery = 3;
            brac.Attributes.CastSpeed    = 1;
            PlaceItemIn(cont, 139, 30, brac);

            Container bag = new Backpack();
            bag.Hue  = 1152;
            bag.Name = "Spell Casting Stuff";

            PlaceItemIn(bag, 45, 107, new Spellbook(UInt64.MaxValue));
            PlaceItemIn(bag, 65, 107, new NecromancerSpellbook((UInt64)0xFFFF));
            PlaceItemIn(bag, 85, 107, new BookOfChivalry((UInt64)0x3FF));
            PlaceItemIn(bag, 105, 107, new BookOfBushido());  //Default ctor = full
            PlaceItemIn(bag, 125, 107, new BookOfNinjitsu()); //Default ctor = full

            PlaceItemIn(bag, 102, 122, new SpellweavingBook((1ul << 16) - 1));
            PlaceItemIn(bag, 122, 122, new MysticBook((1ul << 16) - 1));

            Runebook runebook = new Runebook(20);
            runebook.CurCharges = runebook.MaxCharges;
            PlaceItemIn(bag, 145, 105, runebook);

            Item toHue = new BagOfReagents(5000);
            toHue.Hue = 0x2D;
            PlaceItemIn(bag, 45, 128, toHue);

            toHue     = new BagOfNecroReagents(3000);
            toHue.Hue = 0x488;
            PlaceItemIn(bag, 64, 125, toHue);

            toHue     = new BagOfMysticReagents(3000);
            toHue.Hue = 1167;
            PlaceItemIn(bag, 141, 128, toHue);

            for (int i = 0; i < 9; ++i)
            {
                PlaceItemIn(bag, 45 + (i * 10), 74, new RecallRune());
            }

            PlaceItemIn(cont, 47, 91, bag);

            bag      = new Backpack();
            bag.Name = "Various Potion Kegs";

            PlaceItemIn(bag, 45, 149, MakePotionKeg(PotionEffect.CureGreater, 0x2D));
            PlaceItemIn(bag, 69, 149, MakePotionKeg(PotionEffect.HealGreater, 0x499));
            PlaceItemIn(bag, 93, 149, MakePotionKeg(PotionEffect.PoisonDeadly, 0x46));
            PlaceItemIn(bag, 117, 149, MakePotionKeg(PotionEffect.RefreshTotal, 0x21));
            PlaceItemIn(bag, 141, 149, MakePotionKeg(PotionEffect.ExplosionGreater, 0x74));

            PlaceItemIn(bag, 93, 82, new Bottle(1000));

            PlaceItemIn(cont, 53, 169, bag);

            PlaceItemIn(bank, 63, 142, cont);
            #endregion

            #region Silver - No Mas Silver

            /*cont = new WoodenBox();
             * cont.Hue = 1161;
             *
             * PlaceItemIn(cont, 47, 91, new Silver(9000));
             * PlaceItemIn(bank, 38, 142, cont);*/
            #endregion

            #region Ethys
            cont      = new Backpack();
            cont.Hue  = 0x490;
            cont.Name = "Bag Of Ethy's!";

            PlaceItemIn(cont, 45, 66, new EtherealHorse());
            PlaceItemIn(cont, 93, 99, new EtherealLlama());
            PlaceItemIn(cont, 45, 132, new EtherealUnicorn());
            PlaceItemIn(cont, 117, 99, new EtherealBeetle());

            PlaceItemIn(bank, 38, 124, cont);
            #endregion
        }
Example #10
0
        public static void GiveArtifacts(Mobile from)
        {
            var box = new WoodenBox();

            box.Hue  = 1170;
            box.Name = "Artifacts";

            Container bag = new Bag();

            bag.Hue  = 2075;
            bag.Name = "SA Major Artifacts Human";

            bag.DropItem(new AnimatedLegsoftheInsaneTinker());
            bag.DropItem(new ResonantStaffofEnlightenment());
            bag.DropItem(new JadeWarAxe());
            bag.DropItem(new DemonHuntersStandard());
            bag.DropItem(new WallOfHungryMouths());
            bag.DropItem(new HumanSignOfChaos());
            bag.DropItem(new GargishSignOfChaos());
            bag.DropItem(new IronwoodCompositeBow());
            bag.DropItem(new ClawsOfTheBerserker());
            bag.DropItem(new StandardOfChaos());
            bag.DropItem(new DefenderOfTheMagus());
            bag.DropItem(new TheImpalersPick());
            bag.DropItem(new CavalrysFolly());
            bag.DropItem(new AxeOfAbandon());
            bag.DropItem(new ProtectoroftheBattleMage());
            bag.DropItem(new FallenMysticsSpellbook());
            bag.DropItem(new CrownOfArcaneTemperament());
            bag.DropItem(new VampiricEssence());

            PlaceItemIn(box, 17, 57, bag);

            bag      = new Bag();
            bag.Hue  = 1159;
            bag.Name = "Eodon Artifacts";

            bag.DropItem(new AnonsBoots());
            bag.DropItem(new AnonsBootsGargoyle());
            bag.DropItem(new AnonsSpellbook());
            bag.DropItem(new BalakaisShamanStaff());
            bag.DropItem(new BalakaisShamanStaffGargoyle());
            bag.DropItem(new EnchantressCameo());
            bag.DropItem(new GrugorsShield());
            bag.DropItem(new GrugorsShieldGargoyle());
            bag.DropItem(new HalawasHuntingBow());
            bag.DropItem(new HalawasHuntingBowGargoyle());
            bag.DropItem(new HawkwindsRobe());
            bag.DropItem(new JumusSacredHide());
            bag.DropItem(new JumusSacredHideGargoyle());
            bag.DropItem(new JuonarsGrimoire());
            bag.DropItem(new LereisHuntingSpear());
            bag.DropItem(new LereisHuntingSpearGargoyle());
            bag.DropItem(new MinaxsSandles());
            bag.DropItem(new MinaxsSandlesGargoyle());
            bag.DropItem(new OzymandiasObi());
            bag.DropItem(new OzymandiasObiGargoyle());
            bag.DropItem(new ShantysWaders());
            bag.DropItem(new ShantysWadersGargoyle());
            bag.DropItem(new TotemOfTheTribe());
            bag.DropItem(new WamapsBoneEarrings());
            bag.DropItem(new WamapsBoneEarringsGargoyle());
            bag.DropItem(new UnstableTimeRift());
            bag.DropItem(new MocapotlsObsidianSword());

            PlaceItemIn(box, 40, 57, bag);

            bag      = new Bag();
            bag.Hue  = 1266;
            bag.Name = "Major Artifacts";

            bag.DropItem(new TitansHammer());
            bag.DropItem(new InquisitorsResolution());
            bag.DropItem(new BladeOfTheRighteous());
            bag.DropItem(new ZyronicClaw());

            for (int i = 0; i < DoomGauntlet.DoomArtifacts.Length; i++)
            {
                bag.DropItem(Loot.Construct(DoomGauntlet.DoomArtifacts[i]));
            }

            PlaceItemIn(box, 65, 57, bag);

            bag      = new Bag();
            bag.Hue  = 1281;
            bag.Name = "Tokuno Major Artifacts";

            bag.DropItem(new SwordsOfProsperity());
            bag.DropItem(new SwordOfTheStampede());
            bag.DropItem(new WindsEdge());
            bag.DropItem(new DarkenedSky());
            bag.DropItem(new RuneBeetleCarapace());
            bag.DropItem(new KasaOfTheRajin());
            bag.DropItem(new Stormgrip());
            bag.DropItem(new TomeOfLostKnowledge());
            bag.DropItem(new PigmentsOfTokuno(PigmentType.ParagonGold));
            bag.DropItem(new PigmentsOfTokuno(PigmentType.VioletCouragePurple));
            bag.DropItem(new PigmentsOfTokuno(PigmentType.InvulnerabilityBlue));
            bag.DropItem(new PigmentsOfTokuno(PigmentType.LunaWhite));
            bag.DropItem(new PigmentsOfTokuno(PigmentType.DryadGreen));
            bag.DropItem(new PigmentsOfTokuno(PigmentType.ShadowDancerBlack));
            bag.DropItem(new PigmentsOfTokuno(PigmentType.BerserkerRed));
            bag.DropItem(new PigmentsOfTokuno(PigmentType.NoxGreen));
            bag.DropItem(new PigmentsOfTokuno(PigmentType.RumRed));
            bag.DropItem(new PigmentsOfTokuno(PigmentType.FireOrange));
            bag.DropItem(new PigmentsOfTokuno(PigmentType.FadedCoal));
            bag.DropItem(new PigmentsOfTokuno(PigmentType.Coal));
            bag.DropItem(new PigmentsOfTokuno(PigmentType.FadedGold));
            bag.DropItem(new PigmentsOfTokuno(PigmentType.StormBronze));
            bag.DropItem(new PigmentsOfTokuno(PigmentType.Rose));
            bag.DropItem(new PigmentsOfTokuno(PigmentType.MidnightCoal));
            bag.DropItem(new PigmentsOfTokuno(PigmentType.FadedBronze));
            bag.DropItem(new PigmentsOfTokuno(PigmentType.FadedRose));
            bag.DropItem(new PigmentsOfTokuno(PigmentType.DeepRose));

            PlaceItemIn(box, 115, 57, bag);

            bag      = new Bag();
            bag.Hue  = 1167;
            bag.Name = "Minor Artifacts";

            for (int i = 0; i < MondainsLegacy.Artifacts.Length; i++)
            {
                bag.DropItem(Loot.Construct(MondainsLegacy.Artifacts[i]));
            }

            PlaceItemIn(box, 90, 57, bag);

            bag      = new Bag();
            bag.Hue  = 55;
            bag.Name = "Replicas";

            bag.DropItem(new RoyalGuardInvestigatorsCloak());
            bag.DropItem(new TongueOfTheBeast());
            bag.DropItem(new TheMostKnowledgePerson());
            bag.DropItem(new ShroudOfDeceit());
            bag.DropItem(new ANecromancerShroud());
            bag.DropItem(new LightsRampart());
            bag.DropItem(new AcidProofRobe());
            bag.DropItem(new ObiDiEnse());
            bag.DropItem(new TheRobeOfBritanniaAri());
            bag.DropItem(new GauntletsOfAnger());
            bag.DropItem(new JadeArmband());
            bag.DropItem(new Subdue());
            bag.DropItem(new CrownOfTalKeesh());
            bag.DropItem(new DjinnisRing());
            bag.DropItem(new EmbroideredOakLeafCloak());
            bag.DropItem(new GladiatorsCollar());
            bag.DropItem(new LieutenantOfTheBritannianRoyalGuard());
            bag.DropItem(new CaptainJohnsHat());
            bag.DropItem(new BraveKnightOfTheBritannia());
            bag.DropItem(new Pacify());
            bag.DropItem(new OblivionsNeedle());
            bag.DropItem(new RoyalGuardSurvivalKnife());
            bag.DropItem(new Quell());
            bag.DropItem(new Calm());
            bag.DropItem(new OrcChieftainHelm());
            bag.DropItem(new FangOfRactus());
            bag.DropItem(new DetectiveBoots());

            PlaceItemIn(box, 90, 139, bag);

            bag      = new Bag();
            bag.Hue  = 2731;
            bag.Name = "Doom Upgrade Arties";

            bag.DropItem(new BritchesOfWarding());
            bag.DropItem(new BowOfTheInfiniteSwarm());
            bag.DropItem(new GlovesOfFeudalGrip());
            bag.DropItem(new Glenda());
            bag.DropItem(new CuffsOfTheArchmage());
            bag.DropItem(new TheScholarsHalo());
            bag.DropItem(new TheDeceiver());
            bag.DropItem(new BraceletOfPrimalConsumption());

            PlaceItemIn(box, 17, 83, bag);
            PlaceItemIn(from.BankBox, 63, 106, box);
        }
Example #11
0
        public PirateCaptain() : base(AIType.AI_Archer, FightMode.Closest, 15, 1, 0.2, 0.4)
        {
            SpeechHue = Utility.RandomDyedHue();
            Hue       = Utility.RandomSkinHue();

            if (this.Female = Utility.RandomBool())
            {
                Title = "Piratska Kapitanka";
                Body  = 0x191;
                Name  = NameList.RandomName("female");
                AddItem(new ThighBoots());
            }
            else
            {
                Title = "Piratsky Kapitan";
                Body  = 0x190;
                Name  = NameList.RandomName("male");
                AddItem(new ThighBoots());
            }

            SetStr(495, 500);
            SetDex(781, 895);
            SetInt(61, 75);
            SetHits(1488, 1508);

            SetDamage(40, 70);

            SetSkill(SkillName.Fencing, 86.0, 97.5);
            SetSkill(SkillName.Macing, 85.0, 87.5);
            SetSkill(SkillName.MagicResist, 55.0, 67.5);
            SetSkill(SkillName.Swords, 85.0, 87.5);
            SetSkill(SkillName.Tactics, 85.0, 87.5);
            SetSkill(SkillName.Wrestling, 35.0, 37.5);
            SetSkill(SkillName.Archery, 85.0, 87.5);

            Fame         = 5000;
            Karma        = -5000;
            VirtualArmor = 66;

            switch (Utility.Random(1))
            {
            case 0: AddItem(new LongPants(Utility.RandomRedHue())); break;

            case 1: AddItem(new ShortPants(Utility.RandomRedHue())); break;
            }
            AddItem(new FancyShirt(1153));

            AddItem(new TricorneHat(33));

            switch (Utility.Random(5))
            {
            case 0: AddItem(new Bow()); break;

            case 1: AddItem(new CompositeBow()); break;

            case 2: AddItem(new Crossbow()); break;

            case 3: AddItem(new RepeatingCrossbow()); break;

            case 4: AddItem(new HeavyCrossbow()); break;
            }

            Item hair = new Item(Utility.RandomList(0x203B, 0x2049, 0x2048, 0x204A));

            hair.Hue     = Utility.RandomNondyedHue();
            hair.Layer   = Layer.Hair;
            hair.Movable = false;
            AddItem(hair);

            Container cont = new WoodenBox();

            cont.ItemID = 0xE7D;
            cont.Hue    = 0x489;

            int count = Utility.RandomMinMax(30, 50);

            for (int i = 0; i < count; ++i)
            {
                cont.DropItem(Loot.RandomGem());
            }

            PackItem(cont);
        }
Example #12
0
        public static void FillBank(Mobile m)
        {
            BankBox bank = m.BankBox;

            for (int i = 0; i < PowerScroll.Skills.Count; ++i)
            {
                m.Skills[PowerScroll.Skills[i]].Cap = 120.0;
            }

            m.StatCap = 250;

            Container cont;

            // Begin box of money
            cont        = new WoodenBox();
            cont.ItemID = 0xE7D;
            cont.Hue    = 0x489;

            PlaceItemIn(cont, 16, 51, new BankCheck(500000));
            PlaceItemIn(cont, 28, 51, new BankCheck(250000));
            PlaceItemIn(cont, 40, 51, new BankCheck(100000));
            PlaceItemIn(cont, 52, 51, new BankCheck(100000));
            PlaceItemIn(cont, 64, 51, new BankCheck(50000));

            PlaceItemIn(cont, 34, 115, new Gold(60000));

            PlaceItemIn(bank, 18, 169, cont);
            // End box of money

            // Begin bag of potion kegs
            cont      = new Backpack();
            cont.Name = "Various Potion Kegs";

            PlaceItemIn(cont, 45, 149, MakePotionKeg(PotionEffect.CureGreater, 0x2D));
            PlaceItemIn(cont, 69, 149, MakePotionKeg(PotionEffect.HealGreater, 0x499));
            PlaceItemIn(cont, 93, 149, MakePotionKeg(PotionEffect.PoisonDeadly, 0x46));
            PlaceItemIn(cont, 117, 149, MakePotionKeg(PotionEffect.RefreshTotal, 0x21));
            PlaceItemIn(cont, 141, 149, MakePotionKeg(PotionEffect.ExplosionGreater, 0x74));

            PlaceItemIn(cont, 93, 82, new Bottle(1000));

            PlaceItemIn(bank, 53, 169, cont);
            // End bag of potion kegs

            // Begin bag of tools
            cont      = new Bag();
            cont.Name = "Tool Bag";

            PlaceItemIn(cont, 30, 35, new TinkerTools(1000));
            PlaceItemIn(cont, 60, 35, new HousePlacementTool());
            PlaceItemIn(cont, 90, 35, new DovetailSaw(1000));
            PlaceItemIn(cont, 30, 68, new Scissors());
            PlaceItemIn(cont, 45, 68, new MortarPestle(1000));
            PlaceItemIn(cont, 75, 68, new ScribesPen(1000));
            PlaceItemIn(cont, 90, 68, new SmithHammer(1000));
            PlaceItemIn(cont, 30, 118, new TwoHandedAxe());
            PlaceItemIn(cont, 60, 118, new FletcherTools(1000));
            PlaceItemIn(cont, 90, 118, new SewingKit(1000));

            PlaceItemIn(cont, 36, 51, new RunicHammer(CraftResource.DullCopper, 1000));
            PlaceItemIn(cont, 42, 51, new RunicHammer(CraftResource.ShadowIron, 1000));
            PlaceItemIn(cont, 48, 51, new RunicHammer(CraftResource.Copper, 1000));
            PlaceItemIn(cont, 54, 51, new RunicHammer(CraftResource.Bronze, 1000));
            PlaceItemIn(cont, 61, 51, new RunicHammer(CraftResource.Gold, 1000));
            PlaceItemIn(cont, 67, 51, new RunicHammer(CraftResource.Agapite, 1000));
            PlaceItemIn(cont, 73, 51, new RunicHammer(CraftResource.Verite, 1000));
            PlaceItemIn(cont, 79, 51, new RunicHammer(CraftResource.Valorite, 1000));

            PlaceItemIn(cont, 36, 55, new RunicSewingKit(CraftResource.SpinedLeather, 1000));
            PlaceItemIn(cont, 42, 55, new RunicSewingKit(CraftResource.HornedLeather, 1000));
            PlaceItemIn(cont, 48, 55, new RunicSewingKit(CraftResource.BarbedLeather, 1000));

            PlaceItemIn(bank, 118, 169, cont);
            // End bag of tools

            // Begin bag of archery ammo
            cont      = new Bag();
            cont.Name = "Bag Of Archery Ammo";

            PlaceItemIn(cont, 48, 76, new Arrow(5000));
            PlaceItemIn(cont, 72, 76, new Bolt(5000));

            PlaceItemIn(bank, 118, 124, cont);
            // End bag of archery ammo

            // Begin bag of treasure maps
            cont      = new Bag();
            cont.Name = "Bag Of Treasure Maps";

            PlaceItemIn(cont, 30, 35, new TreasureMap(1, Map.Trammel));
            PlaceItemIn(cont, 45, 35, new TreasureMap(2, Map.Trammel));
            PlaceItemIn(cont, 60, 35, new TreasureMap(3, Map.Trammel));
            PlaceItemIn(cont, 75, 35, new TreasureMap(4, Map.Trammel));
            PlaceItemIn(cont, 90, 35, new TreasureMap(5, Map.Trammel));
            PlaceItemIn(cont, 90, 35, new TreasureMap(6, Map.Trammel));

            PlaceItemIn(cont, 30, 50, new TreasureMap(1, Map.Trammel));
            PlaceItemIn(cont, 45, 50, new TreasureMap(2, Map.Trammel));
            PlaceItemIn(cont, 60, 50, new TreasureMap(3, Map.Trammel));
            PlaceItemIn(cont, 75, 50, new TreasureMap(4, Map.Trammel));
            PlaceItemIn(cont, 90, 50, new TreasureMap(5, Map.Trammel));
            PlaceItemIn(cont, 90, 50, new TreasureMap(6, Map.Trammel));

            PlaceItemIn(cont, 55, 100, new Lockpick(30));
            PlaceItemIn(cont, 60, 100, new Pickaxe());

            PlaceItemIn(bank, 98, 124, cont);
            // End bag of treasure maps

            // Begin bag of raw materials
            cont      = new Bag();
            cont.Hue  = 0x835;
            cont.Name = "Raw Materials Bag";

            PlaceItemIn(cont, 92, 60, new BarbedLeather(5000));
            PlaceItemIn(cont, 92, 68, new HornedLeather(5000));
            PlaceItemIn(cont, 92, 76, new SpinedLeather(5000));
            PlaceItemIn(cont, 92, 84, new Leather(5000));

            PlaceItemIn(cont, 30, 118, new Cloth(5000));
            PlaceItemIn(cont, 30, 84, new Board(5000));
            PlaceItemIn(cont, 57, 80, new BlankScroll(500));

            PlaceItemIn(cont, 30, 35, new DullCopperIngot(5000));
            PlaceItemIn(cont, 37, 35, new ShadowIronIngot(5000));
            PlaceItemIn(cont, 44, 35, new CopperIngot(5000));
            PlaceItemIn(cont, 51, 35, new BronzeIngot(5000));
            PlaceItemIn(cont, 58, 35, new GoldIngot(5000));
            PlaceItemIn(cont, 65, 35, new AgapiteIngot(5000));
            PlaceItemIn(cont, 72, 35, new VeriteIngot(5000));
            PlaceItemIn(cont, 79, 35, new ValoriteIngot(5000));
            PlaceItemIn(cont, 86, 35, new IronIngot(5000));

            PlaceItemIn(cont, 30, 59, new RedScales(5000));
            PlaceItemIn(cont, 36, 59, new YellowScales(5000));
            PlaceItemIn(cont, 42, 59, new BlackScales(5000));
            PlaceItemIn(cont, 48, 59, new GreenScales(5000));
            PlaceItemIn(cont, 54, 59, new WhiteScales(5000));
            PlaceItemIn(cont, 60, 59, new BlueScales(5000));

            PlaceItemIn(bank, 98, 169, cont);
            // End bag of raw materials

            // Begin bag of spell casting stuff
            cont      = new Backpack();
            cont.Hue  = 0x480;
            cont.Name = "Spell Casting Stuff";

            PlaceItemIn(cont, 45, 105, new Spellbook(UInt64.MaxValue));
            PlaceItemIn(cont, 65, 105, new NecromancerSpellbook((UInt64)0xFFFF));
            PlaceItemIn(cont, 85, 105, new BookOfChivalry((UInt64)0x3FF));
            PlaceItemIn(cont, 105, 105, new BookOfBushido());  //Default ctor = full
            PlaceItemIn(cont, 125, 105, new BookOfNinjitsu()); //Default ctor = full

            Runebook runebook = new Runebook(10);

            runebook.CurCharges = runebook.MaxCharges;
            PlaceItemIn(cont, 145, 105, runebook);

            Item toHue = new BagOfAllReagents(150);

            toHue.Hue = 0x2D;
            PlaceItemIn(cont, 45, 150, toHue);

            toHue     = new BagOfNecroReagents(150);
            toHue.Hue = 0x488;
            PlaceItemIn(cont, 65, 150, toHue);

            PlaceItemIn(cont, 140, 150, new BagOfAllReagents(500));

            for (int i = 0; i < 9; ++i)
            {
                PlaceItemIn(cont, 45 + (i * 10), 75, new RecallRune());
            }

            PlaceItemIn(cont, 141, 74, new FireHorn());

            PlaceItemIn(bank, 78, 169, cont);
            // End bag of spell casting stuff

            // Begin bag of ethereals
            cont      = new Backpack();
            cont.Hue  = 0x490;
            cont.Name = "Bag Of Ethy's!";

            PlaceItemIn(cont, 45, 66, new EtherealHorse());
            PlaceItemIn(cont, 69, 82, new EtherealOstard());
            PlaceItemIn(cont, 93, 99, new EtherealLlama());
            PlaceItemIn(cont, 117, 115, new EtherealKirin());
            PlaceItemIn(cont, 45, 132, new EtherealUnicorn());
            PlaceItemIn(cont, 69, 66, new EtherealRidgeback());
            PlaceItemIn(cont, 93, 82, new EtherealSwampDragon());
            PlaceItemIn(cont, 117, 99, new EtherealBeetle());

            PlaceItemIn(bank, 38, 124, cont);
            // End bag of ethereals

            // Begin first bag of artifacts
            cont      = new Backpack();
            cont.Hue  = 0x48F;
            cont.Name = "Bag of Artifacts";

            PlaceItemIn(cont, 45, 66, new TitansHammer());
            PlaceItemIn(cont, 69, 82, new InquisitorsResolution());
            PlaceItemIn(cont, 93, 99, new BladeOfTheRighteous());
            PlaceItemIn(cont, 117, 115, new ZyronicClaw());

            PlaceItemIn(bank, 58, 124, cont);
            // End first bag of artifacts

            // Begin second bag of artifacts
            cont      = new Backpack();
            cont.Hue  = 0x48F;
            cont.Name = "Bag of Artifacts";

            PlaceItemIn(cont, 45, 66, new GauntletsOfNobility());
            PlaceItemIn(cont, 69, 82, new MidnightBracers());
            PlaceItemIn(cont, 93, 99, new VoiceOfTheFallenKing());
            PlaceItemIn(cont, 117, 115, new OrnateCrownOfTheHarrower());
            PlaceItemIn(cont, 45, 132, new HelmOfInsight());
            PlaceItemIn(cont, 69, 66, new HolyKnightsBreastplate());
            PlaceItemIn(cont, 93, 82, new ArmorOfFortune());
            PlaceItemIn(cont, 117, 99, new TunicOfFire());
            PlaceItemIn(cont, 45, 115, new LeggingsOfBane());
            PlaceItemIn(cont, 69, 132, new ArcaneShield());
            PlaceItemIn(cont, 93, 66, new Aegis());
            PlaceItemIn(cont, 117, 82, new RingOfTheVile());
            PlaceItemIn(cont, 45, 99, new BraceletOfHealth());
            PlaceItemIn(cont, 69, 115, new RingOfTheElements());
            PlaceItemIn(cont, 93, 132, new OrnamentOfTheMagician());
            PlaceItemIn(cont, 117, 66, new DivineCountenance());
            PlaceItemIn(cont, 45, 82, new JackalsCollar());
            PlaceItemIn(cont, 69, 99, new HuntersHeaddress());
            PlaceItemIn(cont, 93, 115, new HatOfTheMagi());
            PlaceItemIn(cont, 117, 132, new ShadowDancerLeggings());
            PlaceItemIn(cont, 45, 66, new SpiritOfTheTotem());
            PlaceItemIn(cont, 69, 82, new BladeOfInsanity());
            PlaceItemIn(cont, 93, 99, new AxeOfTheHeavens());
            PlaceItemIn(cont, 117, 115, new TheBeserkersMaul());
            PlaceItemIn(cont, 45, 132, new Frostbringer());
            PlaceItemIn(cont, 69, 66, new BreathOfTheDead());
            PlaceItemIn(cont, 93, 82, new TheDragonSlayer());
            PlaceItemIn(cont, 117, 99, new BoneCrusher());
            PlaceItemIn(cont, 45, 115, new StaffOfTheMagi());
            PlaceItemIn(cont, 69, 132, new SerpentsFang());
            PlaceItemIn(cont, 93, 66, new LegacyOfTheDreadLord());
            PlaceItemIn(cont, 117, 82, new TheTaskmaster());
            PlaceItemIn(cont, 45, 99, new TheDryadBow());

            PlaceItemIn(bank, 78, 124, cont);
            // End second bag of artifacts

            // Begin bag of minor artifacts
            cont      = new Backpack();
            cont.Hue  = 0x48F;
            cont.Name = "Bag of Minor Artifacts";

            PlaceItemIn(cont, 45, 66, new LunaLance());
            PlaceItemIn(cont, 69, 82, new VioletCourage());
            PlaceItemIn(cont, 93, 99, new CavortingClub());
            PlaceItemIn(cont, 117, 115, new CaptainQuacklebushsCutlass());
            PlaceItemIn(cont, 45, 132, new NightsKiss());
            PlaceItemIn(cont, 69, 66, new ShipModelOfTheHMSCape());
            PlaceItemIn(cont, 93, 82, new AdmiralsHeartyRum());
            PlaceItemIn(cont, 117, 99, new CandelabraOfSouls());
            PlaceItemIn(cont, 45, 115, new IolosLute());
            PlaceItemIn(cont, 69, 132, new GwennosHarp());
            PlaceItemIn(cont, 93, 66, new ArcticDeathDealer());
            PlaceItemIn(cont, 117, 82, new EnchantedTitanLegBone());
            PlaceItemIn(cont, 45, 99, new NoxRangersHeavyCrossbow());
            PlaceItemIn(cont, 69, 115, new BlazeOfDeath());
            PlaceItemIn(cont, 93, 132, new DreadPirateHat());
            PlaceItemIn(cont, 117, 66, new BurglarsBandana());
            PlaceItemIn(cont, 45, 82, new GoldBricks());
            PlaceItemIn(cont, 69, 99, new AlchemistsBauble());
            PlaceItemIn(cont, 93, 115, new PhillipsWoodenSteed());
            PlaceItemIn(cont, 117, 132, new PolarBearMask());
            PlaceItemIn(cont, 45, 66, new BowOfTheJukaKing());
            PlaceItemIn(cont, 69, 82, new GlovesOfThePugilist());
            PlaceItemIn(cont, 93, 99, new OrcishVisage());
            PlaceItemIn(cont, 117, 115, new StaffOfPower());
            PlaceItemIn(cont, 45, 132, new ShieldOfInvulnerability());
            PlaceItemIn(cont, 69, 66, new HeartOfTheLion());
            PlaceItemIn(cont, 93, 82, new ColdBlood());
            PlaceItemIn(cont, 117, 99, new GhostShipAnchor());
            PlaceItemIn(cont, 45, 115, new SeahorseStatuette());
            PlaceItemIn(cont, 69, 132, new WrathOfTheDryad());
            PlaceItemIn(cont, 93, 66, new PixieSwatter());

            for (int i = 0; i < 10; i++)
            {
                PlaceItemIn(cont, 117, 128, new MessageInABottle(Utility.RandomBool() ? Map.Trammel : Map.Felucca, 4));
            }

            PlaceItemIn(bank, 18, 124, cont);

            cont      = new Bag();
            cont.Hue  = 0x501;
            cont.Name = "Tokuno Minor Artifacts";

            PlaceItemIn(cont, 42, 70, new Exiler());
            PlaceItemIn(cont, 38, 53, new HanzosBow());
            PlaceItemIn(cont, 45, 40, new TheDestroyer());
            PlaceItemIn(cont, 92, 80, new DragonNunchaku());
            PlaceItemIn(cont, 42, 56, new PeasantsBokuto());
            PlaceItemIn(cont, 44, 71, new TomeOfEnlightenment());
            PlaceItemIn(cont, 35, 35, new ChestOfHeirlooms());
            PlaceItemIn(cont, 29, 0, new HonorableSwords());
            PlaceItemIn(cont, 49, 85, new AncientUrn());
            PlaceItemIn(cont, 51, 58, new FluteOfRenewal());
            PlaceItemIn(cont, 70, 51, new PigmentsOfTokuno());
            PlaceItemIn(cont, 40, 79, new AncientSamuraiDo());
            PlaceItemIn(cont, 51, 61, new LegsOfStability());
            PlaceItemIn(cont, 88, 78, new GlovesOfTheSun());
            PlaceItemIn(cont, 55, 62, new AncientFarmersKasa());
            PlaceItemIn(cont, 55, 83, new ArmsOfTacticalExcellence());
            PlaceItemIn(cont, 50, 85, new DaimyosHelm());
            PlaceItemIn(cont, 52, 78, new BlackLotusHood());
            PlaceItemIn(cont, 52, 79, new DemonForks());
            PlaceItemIn(cont, 33, 49, new PilferedDancerFans());

            PlaceItemIn(bank, 58, 124, cont);

            cont      = new Bag();
            cont.Name = "Bag of Bows";

            PlaceItemIn(cont, 31, 84, new Bow());
            PlaceItemIn(cont, 78, 74, new CompositeBow());
            PlaceItemIn(cont, 53, 71, new Crossbow());
            PlaceItemIn(cont, 56, 39, new HeavyCrossbow());
            PlaceItemIn(cont, 82, 72, new RepeatingCrossbow());
            PlaceItemIn(cont, 49, 45, new Yumi());

            for (int i = 0; i < cont.Items.Count; i++)
            {
                BaseRanged bow = cont.Items[i] as BaseRanged;

                if (bow != null)
                {
                    bow.Attributes.WeaponSpeed  = 35;
                    bow.Attributes.WeaponDamage = 35;
                }
            }

            PlaceItemIn(bank, 108, 135, cont);
        }
        private Item CreateItem(int ItemID)         // Create the appropriate item class - Defaults to a Static Item
        {
            Item item = null;

            switch (ItemID)
            {
                #region MobileSaver
            case 0x0001:                     // Now used for Mobile Importing.
            {
                item = new Static(0x1);
                break;
            }

                #endregion
            case 0x1F19:                     // Add any unwanted items here.
            case 0x0FB7:                     // TODO: Boat parts: planks, tillerman, etc.
                break;



            case 0x0FB1:                      //forge
                item = new SmallForgeAddon();
                break;

            case 0x0FAF:                      //anvil east
                item = new AnvilEastAddon();
                break;

            case 0x0FB0:                      //anvil south
                item = new AnvilSouthAddon();
                break;

            case 0x2DD8:                     //Elven Forge
                item = new ElvenForgeAddon();
                break;

            case 0x1922:                     //FlourMill East
                item = new FlourMillEastAddon();
                break;

            case 0x1920:
            case 0x1924: break;              //Don't add those items since the addon has them.

            case 0x192E:                     //FlourMill South
                item = new FlourMillSouthAddon();
                break;

            case 0x192C:
            case 0x1930: break;              //Don't add those items since the addon has them.

            case 0x1060:                     //Loom East
                item = new LoomEastAddon();
                break;

            case 0x105F: break;              //Don't add those items since the addon has them.

            case 0x1061:                     //Loom South
                item = new LoomSouthAddon();
                break;

            case 0x1062: break;              //Don't add those items since the addon has them.

            case 0x1019:                     //Spinningwheel East
                item = new SpinningwheelEastAddon();
                break;

            case 0x1015:                     //Spinningwheel South
                item = new SpinningwheelSouthAddon();
                break;


            // Housing Metal Doors
            case 0x679:
                item = new NorthWestDoor();
                break;

            case 0x67B:
                item = new NorthEastDoor();
                break;

            case 0x675:
                item = new SouthWestDoor();
                break;

            case 0x677:
                item = new SouthEastDoor();
                break;

            case 0x683:
                item = new WestNorthDoor();
                break;

            case 0x681:
                item = new WestSouthDoor();
                break;

            case 0x67F:
                item = new EastNorthDoor();
                break;

            case 0x67D:
                item = new EastSouthDoor();
                break;

            /*
             * case 0x0675: // Metal Doors 2 NOTE: Some doors seem to open the wrong way, but there's no way to determine correct CCW/CW from the POL file.
             *      item = new MetalDoor2( DoorFacing.WestCW );
             *      break;
             * case 0x0677:
             *      item = new MetalDoor2( DoorFacing.EastCCW );
             *      break;
             * case 0x067D:
             *      item = new MetalDoor2( DoorFacing.SouthCW );
             *      break;
             * case 0x067F:
             *      item = new MetalDoor2( DoorFacing.NorthCCW );
             *      break;
             */

            case 0x0685:                     // Barred Metal Doors
                item = new BarredMetalDoor(DoorFacing.WestCW);
                break;

            case 0x0687:
                item = new BarredMetalDoor(DoorFacing.EastCCW);
                break;

            case 0x068D:
                item = new BarredMetalDoor(DoorFacing.SouthCW);
                break;

            case 0x068F:
                item = new BarredMetalDoor(DoorFacing.NorthCCW);
                break;

            case 0x0695:                     // Rattan Doors
                item = new RattanDoor(DoorFacing.WestCW);
                break;

            case 0x0697:
                item = new RattanDoor(DoorFacing.EastCCW);
                break;

            case 0x069D:
                item = new RattanDoor(DoorFacing.SouthCW);
                break;

            case 0x069F:
                item = new RattanDoor(DoorFacing.NorthCCW);
                break;

            case 0x06A5:                     // Dark Wood Doors
                item = new DarkWoodDoor(DoorFacing.WestCW);
                break;

            case 0x06A7:
                item = new DarkWoodDoor(DoorFacing.EastCCW);
                break;

            case 0x06AD:
                item = new DarkWoodDoor(DoorFacing.SouthCW);
                break;

            case 0x06AF:
                item = new DarkWoodDoor(DoorFacing.NorthCCW);
                break;

            case 0x06B5:                     // Medium Wood Doors
                item = new MediumWoodDoor(DoorFacing.WestCW);
                break;

            case 0x06B7:
                item = new MediumWoodDoor(DoorFacing.EastCCW);
                break;

            case 0x06BD:
                item = new MediumWoodDoor(DoorFacing.SouthCW);
                break;

            case 0x06BF:
                item = new MediumWoodDoor(DoorFacing.NorthCCW);
                break;

            /*
             * case 0x06C5: // Metal Doors
             *      item = new MetalDoor( DoorFacing.WestCW );
             *      break;
             * case 0x06C7:
             *      item = new MetalDoor( DoorFacing.EastCCW );
             *      break;
             * case 0x06CD:
             *      item = new MetalDoor( DoorFacing.SouthCW );
             *      break;
             * case 0x06CF:
             *      item = new MetalDoor( DoorFacing.NorthCCW );
             *      break;
             */

            case 0x06D5:                     // Light Wood Doors
                item = new LightWoodDoor(DoorFacing.WestCW);
                break;

            case 0x06D7:
                item = new LightWoodDoor(DoorFacing.EastCCW);
                break;

            case 0x06DD:
                item = new LightWoodDoor(DoorFacing.SouthCW);
                break;

            case 0x06DF:
                item = new LightWoodDoor(DoorFacing.NorthCCW);
                break;

            case 0x06E5:                     // Strong Wood Doors
                item = new StrongWoodDoor(DoorFacing.WestCW);
                break;

            case 0x06E7:
                item = new StrongWoodDoor(DoorFacing.EastCCW);
                break;

            case 0x06ED:
                item = new StrongWoodDoor(DoorFacing.SouthCW);
                break;

            case 0x06EF:
                item = new StrongWoodDoor(DoorFacing.NorthCCW);
                break;

            case 0x2A05:                     //South facing West half Paper door (SE)
                item = new SWPaperSEDoor();
                break;

            case 0x2A07:                     //South facing East half Paper door (SE)
                item = new SEPaperSEDoor();
                break;

            case 0x2A09:                     //East facing South half Paper door (SE)
                item = new ESPaperSEDoor();
                break;

            case 0x2A0B:                     //East facing North half Paper door (SE)
                item = new ENPaperSEDoor();
                break;

            case 0x2A0D:                     //South facing West half Cloth door (SE)
                item = new SWClothSEDoor();
                break;

            case 0x2A0F:                     //South facing East half Cloth door (SE)
                item = new SEClothSEDoor();
                break;

            case 0x2A11:                     //East facing South half Cloth door (SE)
                item = new ESClothSEDoor();
                break;

            case 0x2A13:                     //East facing North half Cloth door (SE)
                item = new ENClothSEDoor();
                break;

            case 0x2A16:                     //South facing West half Wooden door (SE)
                item = new SWWoodenSEDoor();
                break;

            case 0x2A17:                     //South facing East half Wooden door (SE)
                item = new SEWoodenSEDoor();
                break;

            case 0x2A19:                     //East facing South half Wooden door (SE)
                item = new ESWoodenSEDoor();
                break;

            case 0x2A1B:                     //East facing North half Wooden door (SE)
                item = new ENWoodenSEDoor();
                break;



            case 0xE77:                     //Barrel
                item         = new Barrel();
                item.Movable = false;
                break;

            case 0xE7F:                     //Keg
                item         = new Keg();
                item.Movable = false;
                break;

            case 0xE7A:                     //PicnicBasket
                item         = new PicnicBasket();
                item.Movable = false;
                break;

            case 0x990:                     //Basket
                item         = new Basket();
                item.Movable = false;
                break;

            case 0x9AA:                     //WoodenBox (0xE7D)
                item         = new WoodenBox();
                item.Movable = false;
                break;

            case 0xE7D:                     //WoodenBox (0xE7D)
                item         = new WoodenBox();
                item.Movable = false;
                item.ItemID  = 0xE7D;
                break;

            case 0x9A9:                     //SmallCrate (0xE7E)
                item         = new SmallCrate();
                item.Movable = false;
                break;

            case 0xE7E:                     //SmallCrate (0xE7E)
                item         = new SmallCrate();
                item.Movable = false;
                item.ItemID  = 0xE7E;
                break;

            case 0xE3F:                     //MediumCrate (0xE3E)
                item         = new MediumCrate();
                item.Movable = false;
                break;

            case 0xE3E:                     //MediumCrate (0xE3E)
                item         = new MediumCrate();
                item.Movable = false;
                item.ItemID  = 0xE3E;
                break;

            case 0xE3D:                     //LargeCrate (0xE3C)
                item         = new LargeCrate();
                item.Movable = false;
                break;

            case 0xE3C:                     //LargeCrate (0xE3C)
                item         = new LargeCrate();
                item.Movable = false;
                item.ItemID  = 0xE3C;
                break;

            case 0x9A8:                     //MetalBox (0xE80)
                item         = new MetalBox();
                item.Movable = false;
                break;

            case 0xE80:                     //MetalBox (0xE80)
                item         = new MetalBox();
                item.Movable = false;
                item.ItemID  = 0xE80;
                break;

            case 0x9AB:                     //MetalChest (0xE7C)
                item         = new MetalChest();
                item.Movable = false;
                break;

            case 0xE7C:                     //MetalChest (0xE7C)
                item         = new MetalChest();
                item.Movable = false;
                item.ItemID  = 0xE7C;
                break;

            case 0xE41:                     //MetalGoldenChest (0xE40)
                item         = new MetalGoldenChest();
                item.Movable = false;
                break;

            case 0xE40:                     //MetalGoldenChest (0xE40)
                item         = new MetalGoldenChest();
                item.Movable = false;
                item.ItemID  = 0xE40;
                break;

            case 0xe43:                     //WoodenChest (0xe42)
                item         = new WoodenChest();
                item.Movable = false;
                break;

            case 0xe42:                     //WoodenChest (0xe42)
                item         = new WoodenChest();
                item.Movable = false;
                item.ItemID  = 0xe42;
                break;

            case 0x280B:                     //PlainWoodenChest (0x280C)
                item         = new PlainWoodenChest();
                item.Movable = false;
                break;

            case 0x280C:                     //PlainWoodenChest (0x280C)
                item         = new PlainWoodenChest();
                item.Movable = false;
                item.ItemID  = 0x280C;
                break;

            case 0x280D:                     //OrnateWoodenChest (0x280E)
                item         = new OrnateWoodenChest();
                item.Movable = false;
                break;

            case 0x280E:                     //OrnateWoodenChest (0x280E)
                item         = new OrnateWoodenChest();
                item.Movable = false;
                item.ItemID  = 0x280E;
                break;

            case 0x280F:                     //GildedWoodenChest (0x2810)
                item         = new GildedWoodenChest();
                item.Movable = false;
                break;

            case 0x2810:                     //GildedWoodenChest (0x2810)
                item         = new GildedWoodenChest();
                item.Movable = false;
                item.ItemID  = 0x2810;
                break;

            case 0x2811:                     //WoodenFootLocker (0x2812)
                item         = new WoodenFootLocker();
                item.Movable = false;
                break;

            case 0x2812:                     //WoodenFootLocker (0x2812)
                item         = new WoodenFootLocker();
                item.Movable = false;
                item.ItemID  = 0x2812;
                break;

            case 0x2813:                     //FinishedWoodenChest (0x2814)
                item         = new FinishedWoodenChest();
                item.Movable = false;
                break;

            case 0x2814:                     //FinishedWoodenChest (0x2814)
                item         = new FinishedWoodenChest();
                item.Movable = false;
                item.ItemID  = 0x2814;
                break;

            case 0x2815:                     //TallCabinet (0x2816)
                item         = new TallCabinet();
                item.Movable = false;
                break;

            case 0x2816:                     //TallCabinet (0x2816)
                item         = new TallCabinet();
                item.Movable = false;
                item.ItemID  = 0x2816;
                break;

            case 0x2817:                     //ShortCabinet (0x2818)
                item         = new ShortCabinet();
                item.Movable = false;
                break;

            case 0x2818:                     //ShortCabinet (0x2818)
                item         = new ShortCabinet();
                item.Movable = false;
                item.ItemID  = 0x2818;
                break;

            case 0x2857:                     //RedArmoire (0x2858)
                item         = new RedArmoire();
                item.Movable = false;
                break;

            case 0x2858:                     //RedArmoire (0x2858)
                item         = new RedArmoire();
                item.Movable = false;
                item.ItemID  = 0x2858;
                break;

            case 0x285D:                     //CherryArmoire (0x285E)
                item         = new CherryArmoire();
                item.Movable = false;
                break;

            case 0x285E:                     //CherryArmoire (0x285E)
                item         = new CherryArmoire();
                item.Movable = false;
                item.ItemID  = 0x285E;
                break;

            case 0x285B:                     //MapleArmoire (0x285C)
                item         = new MapleArmoire();
                item.Movable = false;
                break;

            case 0x285C:                     //MapleArmoire (0x285C)
                item         = new MapleArmoire();
                item.Movable = false;
                item.ItemID  = 0x285C;
                break;

            case 0x2859:                     //ElegantArmoire (0x285A)
                item         = new ElegantArmoire();
                item.Movable = false;
                break;

            case 0x285A:                     //ElegantArmoire (0x285A)
                item         = new ElegantArmoire();
                item.Movable = false;
                item.ItemID  = 0x285A;
                break;

            case 0xA97:                     //FullBookcase (0xa97, 0xa99, 0xa98, 0xa9a, 0xa9b, 0xa9c)
                item         = new FullBookcase();
                item.Movable = false;
                break;

            case 0xA99:                     //FullBookcase (0xa97, 0xa99, 0xa98, 0xa9a, 0xa9b, 0xa9c)
                item         = new FullBookcase();
                item.Movable = false;
                item.ItemID  = 0xa99;
                break;

            case 0xA98:                     //FullBookcase (0xa97, 0xa99, 0xa98, 0xa9a, 0xa9b, 0xa9c)
                item         = new FullBookcase();
                item.Movable = false;
                item.ItemID  = 0xa98;
                break;

            case 0xA9a:                     //FullBookcase (0xa97, 0xa99, 0xa98, 0xa9a, 0xa9b, 0xa9c)
                item         = new FullBookcase();
                item.Movable = false;
                item.ItemID  = 0xa9a;
                break;

            case 0xA9b:                     //FullBookcase (0xa97, 0xa99, 0xa98, 0xa9a, 0xa9b, 0xa9c)
                item         = new FullBookcase();
                item.Movable = false;
                item.ItemID  = 0xa9b;
                break;

            case 0xA9c:                     //FullBookcase (0xa97, 0xa99, 0xa98, 0xa9a, 0xa9b, 0xa9c)
                item         = new FullBookcase();
                item.Movable = false;
                item.ItemID  = 0xa9c;
                break;

            case 0xA9D:                     //EmptyBookcase (0xa9e)
                item         = new EmptyBookcase();
                item.Movable = false;
                break;

            case 0xa9e:                     //EmptyBookcase (0xa9e)
                item         = new EmptyBookcase();
                item.Movable = false;
                item.ItemID  = 0xa9e;
                break;

            case 0xA2C:                     //Drawer (0xa34)
                item         = new Drawer();
                item.Movable = false;
                break;

            case 0xa34:                     //Drawer (0xa34)
                item         = new Drawer();
                item.Movable = false;
                item.ItemID  = 0xa34;
                break;

            case 0xA30:                     //FancyDrawer (0xa38)
                item         = new FancyDrawer();
                item.Movable = false;
                break;

            case 0xa38:                     //FancyDrawer (0xa38)
                item         = new FancyDrawer();
                item.Movable = false;
                item.ItemID  = 0xa38;
                break;

            case 0xA4F:                     //Armoire (0xa53)
                item         = new Armoire();
                item.Movable = false;
                break;

            case 0xa53:                     //Armoire (0xa53)
                item         = new Armoire();
                item.Movable = false;
                item.ItemID  = 0xa53;
                break;

            case 0xA4D:                     //FancyArmoire (0xa51)
                item         = new FancyArmoire();
                item.Movable = false;
                break;

            case 0xa51:                     //FancyArmoire (0xa51)
                item         = new FancyArmoire();
                item.Movable = false;
                item.ItemID  = 0xa51;
                break;



            default:
                item         = new Static(ItemID);
                item.Movable = false;
                break;
            }

            return(item);
        }
        private static void FillBankTOL(Mobile m)
        {
            BankBox bank = m.BankBox;

            if (bank == null)
            {
                return;
            }

            bank.MaxItems = int.MaxValue;

            // The new AOS bankboxes don't have powerscrolls, they are automatically 'applied':

            for (int i = 0; i < PowerScroll.Skills.Count; ++i)
            {
                m.Skills[PowerScroll.Skills[i]].Cap = 120.0;
            }

            m.StatCap = 600;

            Container cont;
            Container cont2;

            // Begin box of money
            cont        = new WoodenBox();
            cont.ItemID = 0xE7D;
            cont.Hue    = 0x489;

            PlaceItemIn(cont, 17, 52, new BankCheck(1000000));
            PlaceItemIn(cont, 28, 52, new BankCheck(1000000));

            PlaceItemIn(cont, 17, 91, new Factions.Silver(9000));
            PlaceItemIn(cont, 34, 91, new Gold(60000));

            PlaceItemIn(bank, 38, 142, cont);
            // End box of money

            // Begin box of Magery Items
            cont        = new WoodenBox();
            cont.ItemID = 0xE7D;
            cont.Name   = "Magery Items";
            cont.Hue    = 1195;

            // Begin bag of spell casting stuff
            cont2      = new Backpack();
            cont2.Hue  = 0x480;
            cont2.Name = "Spell Casting Stuff";

            PlaceItemIn(cont2, 45, 107, new Spellbook(UInt64.MaxValue));
            PlaceItemIn(cont2, 64, 107, new NecromancerSpellbook((UInt64)0xFFFF));
            PlaceItemIn(cont2, 83, 107, new BookOfChivalry((UInt64)0x3FF));
            PlaceItemIn(cont2, 102, 107, new BookOfBushido());  //Default ctor = full
            PlaceItemIn(cont2, 121, 107, new BookOfNinjitsu()); //Default ctor = full
            PlaceItemIn(cont2, 102, 149, new SpellweavingBook((UInt64)0xFFFF));
            PlaceItemIn(cont2, 121, 149, new MysticBook((UInt64)0xFFFF));

            Runebook runebook = new Runebook(20);

            runebook.CurCharges = runebook.MaxCharges;
            PlaceItemIn(cont2, 141, 107, runebook);

            Item toHue = new BagOfReagents(5000);

            toHue.Hue = 0x2D;
            PlaceItemIn(cont2, 45, 128, toHue);

            toHue     = new BagOfNecroReagents(3000);
            toHue.Hue = 0x488;
            PlaceItemIn(cont2, 64, 128, toHue);

            toHue     = new BagOfMysticReagents(3000);
            toHue.Hue = 0x48F;
            PlaceItemIn(cont2, 141, 128, toHue);

            for (int i = 0; i < 6; ++i)
            {
                PlaceItemIn(cont2, 45 + (i * 10), 74, new RecallRune());
            }

            PlaceItemIn(cont, 47, 91, cont2);
            // End bag of spell casting stuff

            // Begin bag of potion kegs
            cont2      = new Backpack();
            cont2.Name = "Various Potion Kegs";

            PlaceItemIn(cont2, 45, 149, MakePotionKeg(PotionEffect.CureGreater, 0x2D));
            PlaceItemIn(cont2, 69, 149, MakePotionKeg(PotionEffect.HealGreater, 0x499));
            PlaceItemIn(cont2, 93, 149, MakePotionKeg(PotionEffect.PoisonDeadly, 0x46));
            PlaceItemIn(cont2, 117, 149, MakePotionKeg(PotionEffect.RefreshTotal, 0x21));
            PlaceItemIn(cont2, 141, 149, MakePotionKeg(PotionEffect.ExplosionGreater, 0x74));

            PlaceItemIn(cont2, 93, 82, new Bottle(1000));

            PlaceItemIn(cont, 78, 91, cont2);
            // End bag of potion kegs

            GoldRing ring = new GoldRing();

            ring.Name = "Ring Of Arcane Tactics";
            ring.Attributes.CastRecovery = 3;
            ring.Attributes.CastSpeed    = 1;
            PlaceItemIn(cont, 109, 90, ring);

            GoldBracelet bracelet = new GoldBracelet();

            bracelet.Name = "Farmer's Band Of Mastery";
            bracelet.Attributes.CastRecovery = 3;
            bracelet.Attributes.CastSpeed    = 1;
            PlaceItemIn(cont, 139, 95, bracelet);

            PlaceItemIn(bank, 63, 142, cont);
            // End box of Magery Items

            // Begin bag of ethereals
            cont      = new Backpack();
            cont.Hue  = 0x490;
            cont.Name = "Bag Of Ethy's!";

            cont.DropItem(new EtherealHorse());
            cont.DropItem(new EtherealOstard());
            cont.DropItem(new EtherealLlama());
            cont.DropItem(new EtherealKirin());
            cont.DropItem(new EtherealUnicorn());
            cont.DropItem(new EtherealRidgeback());
            cont.DropItem(new EtherealSwampDragon());
            cont.DropItem(new EtherealBeetle());

            PlaceItemIn(bank, 43, 124, cont);
            // End bag of ethereals

            // Begin box of Artifacts
            cont        = new WoodenBox();
            cont.ItemID = 0xE7D;
            cont.Hue    = 1170;
            cont.Name   = "Artifacts";

            // Begin bag of minor artifacts
            cont2      = new Bag();
            cont2.Hue  = 1167;
            cont2.Name = "Minor Artifacts";

            cont2.DropItem(new LunaLance());
            cont2.DropItem(new VioletCourage());
            cont2.DropItem(new CavortingClub());
            cont2.DropItem(new CaptainQuacklebushsCutlass());
            cont2.DropItem(new NightsKiss());
            cont2.DropItem(new ShipModelOfTheHMSCape());
            cont2.DropItem(new AdmiralHeartyRum());
            cont2.DropItem(new CandelabraOfSouls());
            cont2.DropItem(new IolosLute());
            cont2.DropItem(new GwennosHarp());
            cont2.DropItem(new ArcticDeathDealer());
            cont2.DropItem(new EnchantedTitanLegBone());
            cont2.DropItem(new NoxRangersHeavyCrossbow());
            cont2.DropItem(new BlazeOfDeath());
            cont2.DropItem(new DreadPirateHat());
            cont2.DropItem(new BurglarsBandana());
            cont2.DropItem(new GoldBricks());
            cont2.DropItem(new AlchemistsBauble());
            cont2.DropItem(new PhillipsWoodenSteed());
            cont2.DropItem(new PolarBearMask());
            cont2.DropItem(new BowOfTheJukaKing());
            cont2.DropItem(new GlovesOfThePugilist());
            cont2.DropItem(new OrcishVisage());
            cont2.DropItem(new StaffOfPower());
            cont2.DropItem(new ShieldOfInvulnerability());
            cont2.DropItem(new HeartOfTheLion());
            cont2.DropItem(new ColdBlood());
            cont2.DropItem(new GhostShipAnchor());
            cont2.DropItem(new SeahorseStatuette());
            cont2.DropItem(new WrathOfTheDryad());
            cont2.DropItem(new PixieSwatter());

            PlaceItemIn(cont, 17, 83, cont2);
            // End bag of minor artifacts

            // Begin Bag of Major Artifacts
            cont2      = new Bag();
            cont2.Hue  = 1266;
            cont2.Name = "Major Artifacts";

            cont2.DropItem(new GauntletsOfNobility());
            cont2.DropItem(new MidnightBracers());
            cont2.DropItem(new VoiceOfTheFallenKing());
            cont2.DropItem(new OrnateCrownOfTheHarrower());
            cont2.DropItem(new HelmOfInsight());
            cont2.DropItem(new HolyKnightsBreastplate());
            cont2.DropItem(new ArmorOfFortune());
            cont2.DropItem(new TunicOfFire());
            cont2.DropItem(new LeggingsOfBane());
            cont2.DropItem(new ArcaneShield());
            cont2.DropItem(new Aegis());
            cont2.DropItem(new RingOfTheVile());
            cont2.DropItem(new BraceletOfHealth());
            cont2.DropItem(new RingOfTheElements());
            cont2.DropItem(new OrnamentOfTheMagician());
            cont2.DropItem(new DivineCountenance());
            cont2.DropItem(new JackalsCollar());
            cont2.DropItem(new HuntersHeaddress());
            cont2.DropItem(new HatOfTheMagi());
            cont2.DropItem(new ShadowDancerLeggings());
            cont2.DropItem(new SpiritOfTheTotem());
            cont2.DropItem(new BladeOfInsanity());
            cont2.DropItem(new AxeOfTheHeavens());
            cont2.DropItem(new TheBeserkersMaul());
            cont2.DropItem(new Frostbringer());
            cont2.DropItem(new BreathOfTheDead());
            cont2.DropItem(new TheDragonSlayer());
            cont2.DropItem(new BoneCrusher());
            cont2.DropItem(new StaffOfTheMagi());
            cont2.DropItem(new SerpentsFang());
            cont2.DropItem(new LegacyOfTheDreadLord());
            cont2.DropItem(new TheTaskmaster());
            cont2.DropItem(new TheDryadBow());
            cont2.DropItem(new TitansHammer());
            cont2.DropItem(new InquisitorsResolution());
            cont2.DropItem(new BladeOfTheRighteous());
            cont2.DropItem(new ZyronicClaw());

            PlaceItemIn(cont, 90, 83, cont2);
            // End Bag of Major Artifacts

            // Begin bag of Tokuno minor artifacts
            cont2      = new Bag();
            cont2.Hue  = 1281;
            cont2.Name = "Tokuno Minor Artifacts";

            cont2.DropItem(new PeasantsBokuto());
            cont2.DropItem(new DragonNunchaku());
            cont2.DropItem(new TheDestroyer());
            cont2.DropItem(new HanzosBow());
            cont2.DropItem(new Exiler());
            cont2.DropItem(new PilferedDancerFans());
            cont2.DropItem(new DemonForks());
            cont2.DropItem(new BlackLotusHood());
            cont2.DropItem(new DaimyosHelm());
            cont2.DropItem(new ArmsOfTacticalExcellence());
            cont2.DropItem(new AncientFarmersKasa());
            cont2.DropItem(new GlovesOfTheSun());
            cont2.DropItem(new LegsOfStability());
            cont2.DropItem(new AncientSamuraiDo());
            cont2.DropItem(new PigmentsOfTokuno());
            cont2.DropItem(new FluteOfRenewal());
            cont2.DropItem(new AncientUrn());
            cont2.DropItem(new HonorableSwords());
            cont2.DropItem(new ChestOfHeirlooms());
            cont2.DropItem(new TomeOfEnlightenment());

            PlaceItemIn(cont, 53, 83, cont2);
            // End bag of Tokuno minor artifacts

            // Begin bag of Tokuno major artifacts
            cont2      = new Bag();
            cont2.Hue  = 1281;
            cont2.Name = "Tokuno Major Artifacts";

            cont2.DropItem(new DarkenedSky());
            cont2.DropItem(new KasaOfTheRajin());
            cont2.DropItem(new RuneBeetleCarapace());
            cont2.DropItem(new Stormgrip());
            cont2.DropItem(new SwordOfTheStampede());
            cont2.DropItem(new SwordsOfProsperity());
            cont2.DropItem(new TheHorselord());
            cont2.DropItem(new TomeOfLostKnowledge());
            cont2.DropItem(new WindsEdge());
            //cont2.DropItem(new PigmentsOfTokunoMajor(PigmentsType.ParagonGold, 50));
            //cont2.DropItem(new PigmentsOfTokunoMajor(PigmentsType.VioletCouragePurple, 50));
            //cont2.DropItem(new PigmentsOfTokunoMajor(PigmentsType.InvulnerabilityBlue, 50));
            //cont2.DropItem(new PigmentsOfTokunoMajor(PigmentsType.LunaWhite, 50));
            //cont2.DropItem(new PigmentsOfTokunoMajor(PigmentsType.DryadGreen, 50));
            //cont2.DropItem(new PigmentsOfTokunoMajor(PigmentsType.ShadowDancerBlack, 50));
            //cont2.DropItem(new PigmentsOfTokunoMajor(PigmentsType.BerserkerRed, 50));
            //cont2.DropItem(new PigmentsOfTokunoMajor(PigmentsType.NoxGreen, 50));
            //cont2.DropItem(new PigmentsOfTokunoMajor(PigmentsType.RumRed, 50));
            //cont2.DropItem(new PigmentsOfTokunoMajor(PigmentsType.FireOrange, 50));

            PlaceItemIn(cont, 127, 83, cont2);
            // End bag of Tokuno major artifacts

            // Begin bag of ML Minor artifacts
            cont2      = new Bag();
            cont2.Hue  = 1167;
            cont2.Name = "Minor Artifacts";

            cont2.DropItem(new AegisOfGrace());
            cont2.DropItem(new BladeDance());
            cont2.DropItem(new BloodwoodSpirit());
            cont2.DropItem(new Bonesmasher());
            cont2.DropItem(new Boomstick());
            cont2.DropItem(new BrightsightLenses());
            cont2.DropItem(new FeyLeggings());
            cont2.DropItem(new FleshRipper());
            cont2.DropItem(new HelmOfSwiftness());
            cont2.DropItem(new PadsOfTheCuSidhe());
            cont2.DropItem(new QuiverOfRage());
            cont2.DropItem(new QuiverOfElements());
            cont2.DropItem(new RaedsGlory());
            cont2.DropItem(new RighteousAnger());
            cont2.DropItem(new RobeOfTheEclipse());
            cont2.DropItem(new RobeOfTheEquinox());
            cont2.DropItem(new SoulSeeker());
            cont2.DropItem(new TalonBite());
            cont2.DropItem(new TotemOfVoid());
            cont2.DropItem(new WildfireBow());
            cont2.DropItem(new Windsong());

            PlaceItemIn(cont, 140, 83, cont2);
            // End bag of ML Minor artifacts

            PlaceItemIn(bank, 63, 106, cont);
            // End box of Artifacts

            // Begin box of General Resources
            cont        = new WoodenBox();
            cont.ItemID = 0xE7D;
            cont.Hue    = 1193;
            cont.Name   = "Genereal Resources";

            // Begin bag of raw materials
            cont2      = new Bag();
            cont2.Name = "Raw Materials Bag";

            PlaceItemIn(cont2, 92, 60, new BarbedLeather(5000));
            PlaceItemIn(cont2, 92, 68, new HornedLeather(5000));
            PlaceItemIn(cont2, 92, 76, new SpinedLeather(5000));
            PlaceItemIn(cont2, 92, 84, new Leather(5000));

            PlaceItemIn(cont2, 30, 118, new Cloth(5000));
            PlaceItemIn(cont2, 30, 84, new Board(5000));
            PlaceItemIn(cont2, 57, 80, new BlankScroll(500));
            PlaceItemIn(cont2, 57, 80, new Bone(100));

            PlaceItemIn(cont2, 30, 35, new DullCopperIngot(5000));
            PlaceItemIn(cont2, 37, 35, new ShadowIronIngot(5000));
            PlaceItemIn(cont2, 44, 35, new CopperIngot(5000));
            PlaceItemIn(cont2, 51, 35, new BronzeIngot(5000));
            PlaceItemIn(cont2, 58, 35, new GoldIngot(5000));
            PlaceItemIn(cont2, 65, 35, new AgapiteIngot(5000));
            PlaceItemIn(cont2, 72, 35, new VeriteIngot(5000));
            PlaceItemIn(cont2, 79, 35, new ValoriteIngot(5000));
            PlaceItemIn(cont2, 86, 35, new IronIngot(5000));

            PlaceItemIn(cont2, 30, 59, new RedScales(5000));
            PlaceItemIn(cont2, 36, 59, new YellowScales(5000));
            PlaceItemIn(cont2, 42, 59, new BlackScales(5000));
            PlaceItemIn(cont2, 48, 59, new GreenScales(5000));
            PlaceItemIn(cont2, 54, 59, new WhiteScales(5000));
            PlaceItemIn(cont2, 60, 59, new BlueScales(5000));

            PlaceItemIn(cont, 40, 93, cont2);
            // End bag of raw materials

            // Begin bag of tools
            cont2      = new Bag();
            cont2.Name = "Tool Bag";

            cont2.DropItem(new TinkerTools(30000));
            cont2.DropItem(new HousePlacementTool());
            cont2.DropItem(new DovetailSaw(30000));
            cont2.DropItem(new Scissors());
            cont2.DropItem(new MortarPestle(30000));
            cont2.DropItem(new ScribesPen(30000));
            cont2.DropItem(new SmithHammer(30000));
            cont2.DropItem(new TwoHandedAxe());
            cont2.DropItem(new FletcherTools(30000));
            cont2.DropItem(new SewingKit(30000));
            cont2.DropItem(new Clippers(30000));

            PlaceItemIn(cont, 90, 93, cont2);
            // End bag of tools

            // Begin bag of runic tools
            cont2      = new Backpack();
            cont2.Name = "Runic Tool Bag";

            PlaceItemIn(cont2, 54, 74, new RunicHammer(CraftResource.DullCopper, 30000));
            PlaceItemIn(cont2, 64, 74, new RunicHammer(CraftResource.ShadowIron, 30000));
            PlaceItemIn(cont2, 74, 74, new RunicHammer(CraftResource.Copper, 30000));
            PlaceItemIn(cont2, 84, 74, new RunicHammer(CraftResource.Bronze, 30000));
            PlaceItemIn(cont2, 94, 74, new RunicHammer(CraftResource.Gold, 30000));
            PlaceItemIn(cont2, 104, 74, new RunicHammer(CraftResource.Agapite, 30000));
            PlaceItemIn(cont2, 114, 74, new RunicHammer(CraftResource.Verite, 30000));
            PlaceItemIn(cont2, 124, 74, new RunicHammer(CraftResource.Valorite, 30000));

            PlaceItemIn(cont2, 54, 90, new RunicSewingKit(CraftResource.SpinedLeather, 30000));
            PlaceItemIn(cont2, 64, 90, new RunicSewingKit(CraftResource.HornedLeather, 30000));
            PlaceItemIn(cont2, 74, 90, new RunicSewingKit(CraftResource.BarbedLeather, 30000));

            PlaceItemIn(cont2, 54, 107, new RunicFletcherTool(CraftResource.OakWood, 30000));
            PlaceItemIn(cont2, 69, 107, new RunicFletcherTool(CraftResource.AshWood, 30000));
            PlaceItemIn(cont2, 83, 107, new RunicFletcherTool(CraftResource.YewWood, 30000));
            PlaceItemIn(cont2, 97, 107, new RunicFletcherTool(CraftResource.Heartwood, 30000));

            PlaceItemIn(cont2, 93, 90, new RunicDovetailSaw(CraftResource.OakWood, 30000));
            PlaceItemIn(cont2, 102, 90, new RunicDovetailSaw(CraftResource.AshWood, 30000));
            PlaceItemIn(cont2, 112, 90, new RunicDovetailSaw(CraftResource.YewWood, 30000));
            PlaceItemIn(cont2, 122, 90, new RunicDovetailSaw(CraftResource.Heartwood, 30000));

            PlaceItemIn(cont, 65, 67, cont2);
            // End bag of runic tools

            // Begin bag of recipes
            cont2      = new Bag();
            cont2.Name = "Bag of Recipes";
            cont2.Hue  = 2301;

            for (int i = 0; i <= 92; i++)
            {
                cont2.DropItem(new RecipeScroll(i));
            }

            PlaceItemIn(cont, 115, 93, cont2);
            // End bag of recipes

            // Begin bag of archery ammo
            cont2      = new Bag();
            cont2.Name = "Bag Of Archery Ammo";

            PlaceItemIn(cont2, 48, 76, new Arrow(5000));
            PlaceItemIn(cont2, 72, 76, new Bolt(5000));

            PlaceItemIn(cont, 65, 93, cont2);
            // End bag of archery ammo

            // Begin bag of Wood
            cont2      = new Bag();
            cont2.Hue  = 1321;
            cont2.Name = "Bag of Wood";

            cont2.DropItem(new AshBoard(500));
            cont2.DropItem(new YewBoard(500));
            cont2.DropItem(new OakBoard(500));
            cont2.DropItem(new HeartwoodBoard(500));
            cont2.DropItem(new BloodwoodBoard(500));
            cont2.DropItem(new FrostwoodBoard(500));

            PlaceItemIn(cont, 139, 93, cont2);
            // End bag of Wood

            // Begin Bag of Imbuing Materials
            cont2      = new Bag();
            cont2.Hue  = 0x4B;
            cont2.Name = "Bag of Imbuing Materials";

            /*
             * foreach (ImbuingResource resource in Enum.GetValues(typeof(ImbuingResource)))
             * {
             *  try
             *  {
             *      Type type = ScriptCompiler.FindTypeByFullName(String.Format("Server.Items.{0}", resource.ToString()));
             *
             *      Item item = (Item)Activator.CreateInstance(type);
             *      item.Amount = 1000;
             *
             *      cont2.DropItem(item);
             *  }
             *  catch
             *  {
             *  }
             * }
             */

            PlaceItemIn(cont, 16, 67, cont2);
            // End Bag of Imbuing Materials

            // Begin Bag of Elven Materials
            cont2      = new Bag();
            cont2.Hue  = 1195;
            cont2.Name = "Bag of Elven Materials";

            cont2.DropItem(new BarkFragment(200));
            cont2.DropItem(new Blight(200));
            cont2.DropItem(new BlueDiamond(200));
            cont2.DropItem(new BrilliantAmber(200));
            cont2.DropItem(new CapturedEssence(200));
            cont2.DropItem(new Corruption(200));
            cont2.DropItem(new DarkSapphire(200));
            cont2.DropItem(new DiseasedBark(200));
            cont2.DropItem(new DreadHornMane(200));
            cont2.DropItem(new EcruCitrine(200));
            cont2.DropItem(new EnchantedSwitch(200));
            cont2.DropItem(new EyeOfTheTravesty(200));
            cont2.DropItem(new FireRuby(200));
            cont2.DropItem(new GrizzledBones(200));
            cont2.DropItem(new HollowPrism(200));
            cont2.DropItem(new JeweledFiligree(200));
            cont2.DropItem(new LardOfParoxysmus(200));
            cont2.DropItem(new LuminescentFungi(200));
            cont2.DropItem(new Muculent(200));
            cont2.DropItem(new ParasiticPlant(200));
            cont2.DropItem(new PerfectEmerald(200));
            cont2.DropItem(new PristineDreadHorn(200));
            cont2.DropItem(new Putrefication(200));
            cont2.DropItem(new RunedPrism(200));
            cont2.DropItem(new Scourge(200));
            cont2.DropItem(new SwitchItem(200));
            cont2.DropItem(new Taint(200));
            cont2.DropItem(new Turquoise(200));
            cont2.DropItem(new WhitePearl(200));

            PlaceItemIn(cont, 40, 67, cont2);
            // End Bag of Elven Materials

            PlaceItemIn(bank, 88, 142, cont);
            // End box of General Resources

            // Begin box of Armor Set Pieces
            cont        = new WoodenBox();
            cont.ItemID = 0xE7D;
            cont.Hue    = 1194;
            cont.Name   = "Armor Set Pieces";

            // Begin Bag of Juggernaut Set
            cont2      = new Bag();
            cont2.Hue  = 1177;
            cont2.Name = "Juggernaut Set";

            cont2.DropItem(new MalekisHonor());
            cont2.DropItem(new Evocaricus());

            PlaceItemIn(cont, 17, 63, cont2);
            // End Bag of Juggernaut Set

            // Begin Bag of Hunter Set Armor
            cont2      = new Bag();
            cont2.Hue  = 1177;
            cont2.Name = "Hunter Set Armor";

            cont2.DropItem(new HunterGloves());
            cont2.DropItem(new HunterLegs());
            cont2.DropItem(new HunterArms());
            cont2.DropItem(new HunterChest());

            PlaceItemIn(cont, 40, 63, cont2);
            // End Bag of Hunter Set Armor

            // Begin Bag of Paladin Set Armor
            cont2      = new Bag();
            cont2.Hue  = 1177;
            cont2.Name = "Paladin Set Armor";

            cont2.DropItem(new PaladinArms());
            cont2.DropItem(new PaladinChest());
            cont2.DropItem(new PaladinGloves());
            cont2.DropItem(new PaladinGorget());
            cont2.DropItem(new PaladinHelm());
            cont2.DropItem(new PaladinLegs());

            PlaceItemIn(cont, 65, 63, cont2);
            // End Bag of Paladin Set Armor

            // Begin Bag of Necromancer Set Armor
            cont2      = new Bag();
            cont2.Hue  = 1177;
            cont2.Name = "Necromancer Set Armor";

            cont2.DropItem(new DeathGloves());
            cont2.DropItem(new DeathBoneHelm());
            cont2.DropItem(new DeathLegs());
            cont2.DropItem(new DeathArms());
            cont2.DropItem(new DeathChest());

            PlaceItemIn(cont, 90, 63, cont2);
            // End Bag of Necromancer Set Armor

            // Begin Bag of Acolyte Set Armor
            cont2      = new Bag();
            cont2.Hue  = 1177;
            cont2.Name = "Acolyte Set Armor";

            cont2.DropItem(new GreymistGloves());
            cont2.DropItem(new GreymistLegs());
            cont2.DropItem(new GreymistArms());
            cont2.DropItem(new GreymistChest());

            PlaceItemIn(cont, 115, 63, cont2);
            // End Bag of Acolyte Set Armor

            // Begin Bag of Marksman Set
            cont2      = new Bag();
            cont2.Hue  = 1177;
            cont2.Name = "Marksman Set";

            cont2.DropItem(new Feathernock());
            cont2.DropItem(new Swiftflight());

            PlaceItemIn(cont, 139, 63, cont2);
            // End Bag of Marksman Set

            // Begin Bag of Monstrous Interred Grizzle Set Armor
            cont2      = new Bag();
            cont2.Hue  = 1177;
            cont2.Name = "Monstrous Interred Grizzle Set Armor";

            cont2.DropItem(new GrizzleGauntlets());
            cont2.DropItem(new GrizzleGreaves());
            cont2.DropItem(new GrizzleHelm());
            cont2.DropItem(new GrizzleTunic());
            cont2.DropItem(new GrizzleVambraces());

            PlaceItemIn(cont, 17, 89, cont2);
            // End Bag of Monstrous Interred Grizzle Set Armor

            // Begin Bag of Warrior Set Armor
            cont2      = new Bag();
            cont2.Hue  = 1177;
            cont2.Name = "Warrior Set Armor";

            cont2.DropItem(new DarkwoodChest());
            cont2.DropItem(new DarkwoodCrown());
            cont2.DropItem(new DarkwoodGloves());
            cont2.DropItem(new DarkwoodGorget());
            cont2.DropItem(new DarkwoodPauldrons());
            cont2.DropItem(new DarkwoodLegs());

            PlaceItemIn(cont, 40, 89, cont2);
            // End Bag of Warrior Set Armor

            // Begin Bag of Mage Set Armor
            cont2      = new Bag();
            cont2.Hue  = 1177;
            cont2.Name = "Mage Set Armor";

            cont2.DropItem(new LeafweaveGloves());
            cont2.DropItem(new LeafweaveLegs());
            cont2.DropItem(new LeafweavePauldrons());
            cont2.DropItem(new LeafweaveChest());

            PlaceItemIn(cont, 65, 89, cont2);
            // End Bag of Mage Set Armor

            // Begin Bag of Assassin Set Armor
            cont2      = new Bag();
            cont2.Hue  = 1177;
            cont2.Name = "Assassin Set Armor";

            cont2.DropItem(new AssassinGloves());
            cont2.DropItem(new AssassinLegs());
            cont2.DropItem(new AssassinArms());
            cont2.DropItem(new AssassinChest());

            PlaceItemIn(cont, 90, 89, cont2);
            // End Bag of Assassin Set Armor

            // Begin Bag of Myrmidon Set Armor
            cont2      = new Bag();
            cont2.Hue  = 1177;
            cont2.Name = "Myrmidon Set Armor";

            cont2.DropItem(new MyrmidonArms());
            cont2.DropItem(new MyrmidonChest());
            cont2.DropItem(new MyrmidonGloves());
            cont2.DropItem(new MyrmidonGorget());
            cont2.DropItem(new MyrmidonBascinet());
            cont2.DropItem(new MyrmidonLegs());

            PlaceItemIn(cont, 115, 89, cont2);
            // End Bag of Myrmidon Set Armor

            PlaceItemIn(bank, 113, 142, cont);
            // End box of Armor Set Pieces

            PlaceItemIn(bank, 118, 111, new ChargerOfTheFallen());
        }
Example #15
0
        public override void OnResponse(NetState sender, RelayInfo info)
        {
            if (info.ButtonID == 1)
            {
                Mobile m    = sender.Mobile;
                Item   item = null;

                item = new WoodenBox();

                Container c = item as Container;
                c.Hue  = 106;
                c.Name = "A Heritage Items Set";

                c.DropItem(new BlueDecorativeRugDeed());
                c.DropItem(new BluePlainRugDeed());
                c.DropItem(new CherryBlossomTrunkDeed());
                c.DropItem(new CurtainsDeed());
                c.DropItem(new AppleTreeDeed());
                c.DropItem(new PeachTreeDeed());
                c.DropItem(new GuillotineDeed());
                c.DropItem(new HangingSwordsDeed());
                c.DropItem(new IronMaidenDeed());
                c.DropItem(new PeachTrunkDeed());
                c.DropItem(new RedPlainRugDeed());
                c.DropItem(new SmallFishingNetDeed());
                c.DropItem(new SuitOfGoldArmorDeed());
                c.DropItem(new TableWithBlueClothDeed());
                c.DropItem(new TableWithPurpleClothDeed());
                c.DropItem(new UnmadeBedDeed());
                c.DropItem(new WallTorchDeed());
                c.DropItem(new WallTorchDeed());
                c.DropItem(new BoilingCauldronAddonDeed());
                c.DropItem(new AppleTrunkDeed());
                c.DropItem(new BlueFancyRugDeed());
                c.DropItem(new CherryBlossomTreeDeed());
                c.DropItem(new CinnamonFancyRugDeed());
                c.DropItem(new FountainDeed());
                c.DropItem(new GoldenDecorativeRugDeed());
                c.DropItem(new HangingAxesDeed());
                c.DropItem(new HouseLadderDeed());
                c.DropItem(new LargeFishingNetDeed());
                c.DropItem(new PinkFancyRugDeed());
                c.DropItem(new ScarecrowDeed());
                c.DropItem(new StoneStatueDeed());
                c.DropItem(new SuitOfSilverArmorDeed());
                c.DropItem(new TableWithOrangeClothDeed());
                c.DropItem(new TableWithRedClothDeed());
                c.DropItem(new VanityDeed());
                c.DropItem(new WoodenCoffinDeed());


                if (item != null && m_Token != null)
                {
                    if (!m.AddToBackpack(item))
                    {
                        if (m.BankBox.TryDropItem(m, item, false))
                        {
                            item.MoveToWorld(m.Location, m.Map);
                        }
                    }

                    m_Token.Delete();
                }
            }
        }
Example #16
0
        public static void FillBankAOS(Mobile m)
        {
            BankBox bank = m.BankBox;

            // The new AOS bankboxes don't have powerscrolls, they are automatically 'applied':

            for (int i = 0; i < PowerScroll.Skills.Count; ++i)
            {
                m.Skills[PowerScroll.Skills[i]].Cap = 120.0;
            }

            m.StatCap = 250;

            Container cont;

            // Begin box of money
            cont        = new WoodenBox();
            cont.ItemID = 0xE7D;
            cont.Hue    = 0x489;

            PlaceItemIn(cont, 16, 51, new BankCheck(500000));
            PlaceItemIn(cont, 28, 51, new BankCheck(250000));
            PlaceItemIn(cont, 40, 51, new BankCheck(100000));
            PlaceItemIn(cont, 52, 51, new BankCheck(100000));
            PlaceItemIn(cont, 64, 51, new BankCheck(50000));

            PlaceItemIn(cont, 16, 115, new Silver(9000));
            PlaceItemIn(cont, 34, 115, new Gold(60000));

            PlaceItemIn(bank, 18, 169, cont);
            // End box of money

            // Begin bag of potion kegs
            cont      = new Backpack();
            cont.Name = "Various Potion Kegs";

            PlaceItemIn(cont, 45, 149, MakePotionKeg(PotionEffect.CureGreater, 0x2D));
            PlaceItemIn(cont, 69, 149, MakePotionKeg(PotionEffect.HealGreater, 0x499));
            PlaceItemIn(cont, 93, 149, MakePotionKeg(PotionEffect.PoisonDeadly, 0x46));
            PlaceItemIn(cont, 117, 149, MakePotionKeg(PotionEffect.RefreshTotal, 0x21));
            PlaceItemIn(cont, 141, 149, MakePotionKeg(PotionEffect.ExplosionGreater, 0x74));

            PlaceItemIn(cont, 93, 82, new Bottle(1000));

            PlaceItemIn(bank, 53, 169, cont);
            // End bag of potion kegs

            // Begin bag of tools
            cont      = new Bag();
            cont.Name = "Tool Bag";

            PlaceItemIn(cont, 30, 35, new TinkerTools(1000));
            PlaceItemIn(cont, 60, 35, new HousePlacementTool());
            PlaceItemIn(cont, 90, 35, new DovetailSaw(1000));
            PlaceItemIn(cont, 30, 68, new Scissors());
            PlaceItemIn(cont, 45, 68, new MortarPestle(1000));
            PlaceItemIn(cont, 75, 68, new ScribesPen(1000));
            PlaceItemIn(cont, 90, 68, new SmithHammer(1000));
            PlaceItemIn(cont, 30, 118, new TwoHandedAxe());
            PlaceItemIn(cont, 60, 118, new FletcherTools(1000));
            PlaceItemIn(cont, 90, 118, new SewingKit(1000));

            PlaceItemIn(bank, 118, 169, cont);
            // End bag of tools

            // Begin bag of archery ammo
            cont      = new Bag();
            cont.Name = "Bag Of Archery Ammo";

            PlaceItemIn(cont, 48, 76, new Arrow(5000));
            PlaceItemIn(cont, 72, 76, new Bolt(5000));

            PlaceItemIn(bank, 118, 124, cont);
            // End bag of archery ammo

            // Begin bag of treasure maps
            cont      = new Bag();
            cont.Name = "Bag Of Treasure Maps";

            PlaceItemIn(cont, 30, 35, new TreasureMap(1, Map.Trammel));
            PlaceItemIn(cont, 45, 35, new TreasureMap(2, Map.Trammel));
            PlaceItemIn(cont, 60, 35, new TreasureMap(3, Map.Trammel));
            PlaceItemIn(cont, 75, 35, new TreasureMap(4, Map.Trammel));
            PlaceItemIn(cont, 90, 35, new TreasureMap(5, Map.Trammel));
            PlaceItemIn(cont, 90, 35, new TreasureMap(6, Map.Trammel));

            PlaceItemIn(cont, 30, 50, new TreasureMap(1, Map.Trammel));
            PlaceItemIn(cont, 45, 50, new TreasureMap(2, Map.Trammel));
            PlaceItemIn(cont, 60, 50, new TreasureMap(3, Map.Trammel));
            PlaceItemIn(cont, 75, 50, new TreasureMap(4, Map.Trammel));
            PlaceItemIn(cont, 90, 50, new TreasureMap(5, Map.Trammel));
            PlaceItemIn(cont, 90, 50, new TreasureMap(6, Map.Trammel));

            PlaceItemIn(cont, 55, 100, new Lockpick(30));
            PlaceItemIn(cont, 60, 100, new Pickaxe());

            PlaceItemIn(bank, 98, 124, cont);
            // End bag of treasure maps

            // Begin bag of raw materials
            cont      = new Bag();
            cont.Hue  = 0x835;
            cont.Name = "Raw Materials Bag";

            PlaceItemIn(cont, 92, 60, new BarbedLeather(5000));
            PlaceItemIn(cont, 92, 68, new HornedLeather(5000));
            PlaceItemIn(cont, 92, 76, new SpinedLeather(5000));
            PlaceItemIn(cont, 92, 84, new Leather(5000));

            PlaceItemIn(cont, 30, 118, new Cloth(5000));
            PlaceItemIn(cont, 30, 84, new Board(5000));
            PlaceItemIn(cont, 57, 80, new BlankScroll(500));

            PlaceItemIn(cont, 30, 35, new DullCopperIngot(5000));
            PlaceItemIn(cont, 37, 35, new ShadowIronIngot(5000));
            PlaceItemIn(cont, 44, 35, new CopperIngot(5000));
            PlaceItemIn(cont, 51, 35, new BronzeIngot(5000));
            PlaceItemIn(cont, 58, 35, new GoldIngot(5000));
            PlaceItemIn(cont, 65, 35, new AgapiteIngot(5000));
            PlaceItemIn(cont, 72, 35, new VeriteIngot(5000));
            PlaceItemIn(cont, 79, 35, new ValoriteIngot(5000));
            PlaceItemIn(cont, 86, 35, new IronIngot(5000));

            PlaceItemIn(cont, 30, 59, new RedScales(5000));
            PlaceItemIn(cont, 36, 59, new YellowScales(5000));
            PlaceItemIn(cont, 42, 59, new BlackScales(5000));
            PlaceItemIn(cont, 48, 59, new GreenScales(5000));
            PlaceItemIn(cont, 54, 59, new WhiteScales(5000));
            PlaceItemIn(cont, 60, 59, new BlueScales(5000));

            PlaceItemIn(bank, 98, 169, cont);
            // End bag of raw materials

            // Begin bag of spell casting stuff
            cont      = new Backpack();
            cont.Hue  = 0x480;
            cont.Name = "Spell Casting Stuff";

            PlaceItemIn(cont, 45, 105, new Spellbook(UInt64.MaxValue));

            PlaceItemIn(cont, 140, 150, new BagOfReagents(500));

            for (int i = 0; i < 9; ++i)
            {
                PlaceItemIn(cont, 45 + (i * 10), 75, new RecallRune());
            }

            PlaceItemIn(cont, 141, 74, new FireHorn());

            PlaceItemIn(bank, 78, 169, cont);
            // End bag of spell casting stuff

            // Begin bag of ethereals
            cont      = new Backpack();
            cont.Hue  = 0x490;
            cont.Name = "Bag Of Ethy's!";

            PlaceItemIn(cont, 45, 66, new EtherealHorse());
            PlaceItemIn(cont, 69, 82, new EtherealOstard());
            PlaceItemIn(cont, 93, 99, new EtherealLlama());
            PlaceItemIn(cont, 117, 115, new EtherealKirin());
            PlaceItemIn(cont, 45, 132, new EtherealUnicorn());
            PlaceItemIn(cont, 69, 66, new EtherealRidgeback());
            PlaceItemIn(cont, 93, 82, new EtherealSwampDragon());
            PlaceItemIn(cont, 117, 99, new EtherealBeetle());

            PlaceItemIn(bank, 38, 124, cont);
            // End bag of ethereals
        }
Example #17
0
        private static void FillBankAOS(Mobile m)
        {
            BankBox bank = m.BankBox;

            m.StatCap = 250;


            Container cont;


            // Begin box of money
            cont        = new WoodenBox();
            cont.ItemID = 0xE7D;
            cont.Hue    = 0x489;

            PlaceItemIn(cont, 16, 51, new BankCheck(500000));
            PlaceItemIn(cont, 28, 51, new BankCheck(250000));
            PlaceItemIn(cont, 40, 51, new BankCheck(100000));
            PlaceItemIn(cont, 52, 51, new BankCheck(100000));
            PlaceItemIn(cont, 64, 51, new BankCheck(50000));

            PlaceItemIn(cont, 34, 115, new Gold(60000));

            PlaceItemIn(bank, 18, 169, cont);
            // End box of money


            // Begin bag of potion kegs
            cont      = new Backpack();
            cont.Name = "Various Potion Kegs";

            PlaceItemIn(cont, 45, 149, MakePotionKeg(PotionEffect.CureGreater, 0x2D));
            PlaceItemIn(cont, 69, 149, MakePotionKeg(PotionEffect.HealGreater, 0x499));
            PlaceItemIn(cont, 93, 149, MakePotionKeg(PotionEffect.PoisonDeadly, 0x46));
            PlaceItemIn(cont, 117, 149, MakePotionKeg(PotionEffect.RefreshTotal, 0x21));
            PlaceItemIn(cont, 141, 149, MakePotionKeg(PotionEffect.ExplosionGreater, 0x74));

            PlaceItemIn(cont, 93, 82, new Bottle(1000));

            PlaceItemIn(bank, 53, 169, cont);
            // End bag of potion kegs


            // Begin bag of tools
            cont      = new Bag();
            cont.Name = "Tool Bag";

            PlaceItemIn(cont, 30, 35, new TinkerTools(1000));
            PlaceItemIn(cont, 60, 35, new HousePlacementTool());
            PlaceItemIn(cont, 90, 35, new DovetailSaw(1000));
            PlaceItemIn(cont, 30, 68, new Scissors());
            PlaceItemIn(cont, 45, 68, new MortarPestle(1000));
            PlaceItemIn(cont, 75, 68, new ScribesPen(1000));
            PlaceItemIn(cont, 90, 68, new SmithHammer(1000));
            PlaceItemIn(cont, 30, 118, new TwoHandedAxe());
            PlaceItemIn(cont, 60, 118, new FletcherTools(1000));
            PlaceItemIn(cont, 90, 118, new SewingKit(1000));

            PlaceItemIn(bank, 118, 169, cont);
            // End bag of tools


            // Begin bag of archery ammo
            cont      = new Bag();
            cont.Name = "Bag Of Archery Ammo";

            PlaceItemIn(cont, 48, 76, new Arrow(5000));
            PlaceItemIn(cont, 72, 76, new Bolt(5000));

            PlaceItemIn(bank, 118, 124, cont);
            // End bag of archery ammo


            // Begin bag of treasure maps
            cont      = new Bag();
            cont.Name = "Bag Of Treasure Maps";

            PlaceItemIn(cont, 30, 35, new TreasureMap(1, Map.Felucca));
            PlaceItemIn(cont, 45, 35, new TreasureMap(2, Map.Felucca));
            PlaceItemIn(cont, 60, 35, new TreasureMap(3, Map.Felucca));
            PlaceItemIn(cont, 75, 35, new TreasureMap(4, Map.Felucca));
            PlaceItemIn(cont, 90, 35, new TreasureMap(5, Map.Felucca));
            PlaceItemIn(cont, 90, 35, new TreasureMap(6, Map.Felucca));

            PlaceItemIn(cont, 30, 50, new TreasureMap(1, Map.Felucca));
            PlaceItemIn(cont, 45, 50, new TreasureMap(2, Map.Felucca));
            PlaceItemIn(cont, 60, 50, new TreasureMap(3, Map.Felucca));
            PlaceItemIn(cont, 75, 50, new TreasureMap(4, Map.Felucca));
            PlaceItemIn(cont, 90, 50, new TreasureMap(5, Map.Felucca));
            PlaceItemIn(cont, 90, 50, new TreasureMap(6, Map.Felucca));

            PlaceItemIn(cont, 55, 100, new Lockpick(30));
            PlaceItemIn(cont, 60, 100, new Pickaxe());

            PlaceItemIn(bank, 98, 124, cont);
            // End bag of treasure maps


            // Begin bag of raw materials
            cont      = new Bag();
            cont.Hue  = 0x835;
            cont.Name = "Raw Materials Bag";

            PlaceItemIn(cont, 92, 84, new Leather(5000));

            PlaceItemIn(cont, 30, 118, new Cloth(5000));
            PlaceItemIn(cont, 30, 84, new Board(5000));
            PlaceItemIn(cont, 57, 80, new BlankScroll(500));

            PlaceItemIn(cont, 30, 35, new DullCopperIngot(5000));
            PlaceItemIn(cont, 37, 35, new ShadowIronIngot(5000));
            PlaceItemIn(cont, 44, 35, new CopperIngot(5000));
            PlaceItemIn(cont, 51, 35, new BronzeIngot(5000));
            PlaceItemIn(cont, 58, 35, new GoldIngot(5000));
            PlaceItemIn(cont, 65, 35, new AgapiteIngot(5000));
            PlaceItemIn(cont, 72, 35, new VeriteIngot(5000));
            PlaceItemIn(cont, 79, 35, new ValoriteIngot(5000));
            PlaceItemIn(cont, 86, 35, new IronIngot(5000));

            PlaceItemIn(bank, 98, 169, cont);
            // End bag of raw materials


            // Begin bag of spell casting stuff
            cont      = new Backpack();
            cont.Hue  = 0x480;
            cont.Name = "Spell Casting Stuff";

            PlaceItemIn(cont, 45, 105, new Spellbook(UInt64.MaxValue));

            Runebook runebook = new Runebook(10);

            runebook.CurCharges = runebook.MaxCharges;
            PlaceItemIn(cont, 145, 105, runebook);

            Item toHue = new BagOfReagents(150);

            toHue.Hue = 0x2D;
            PlaceItemIn(cont, 45, 150, toHue);

            for (int i = 0; i < 9; ++i)
            {
                PlaceItemIn(cont, 45 + (i * 10), 75, new RecallRune());
            }

            PlaceItemIn(bank, 78, 169, cont);
            // End bag of spell casting stuff


            // Begin bag of ethereals
            cont      = new Backpack();
            cont.Hue  = 0x490;
            cont.Name = "Bag Of Ethy's!";

            PlaceItemIn(cont, 45, 66, new EtherealHorse());
            PlaceItemIn(cont, 69, 82, new EtherealOstard());
            PlaceItemIn(cont, 93, 99, new EtherealLlama());
            PlaceItemIn(cont, 117, 115, new EtherealKirin());
            PlaceItemIn(cont, 45, 132, new EtherealUnicorn());
            PlaceItemIn(cont, 69, 66, new EtherealRidgeback());
            PlaceItemIn(cont, 93, 82, new EtherealSwampDragon());
            PlaceItemIn(cont, 117, 99, new EtherealBeetle());

            PlaceItemIn(bank, 38, 124, cont);
            // End bag of ethereals

            for (int i = 0; i < 10; i++)
            {
                PlaceItemIn(cont, 117, 128, new MessageInABottle(Map.Felucca, 4));
            }

            PlaceItemIn(bank, 18, 124, cont);
        }
Example #18
0
        public override void OnResponse(GameClient sender, RelayInfo info)
        {
            if (info.ButtonID == 1)
            {
                Mobile m    = sender.Mobile;
                Item   item = null;

                switch (m_Token.Type)
                {
                case PromotionalType.PersonalAttendant:
                    //item = new PersonalAttendantDeed();
                    break;

                case PromotionalType.CrystalItems:
                {
                    item = new WoodenBox();

                    Container c = item as Container;
                    c.Hue  = 1173;
                    c.Name = "A Box of Crystal Items";

                    c.DropItem(new CrystalAltarDeed());
                    c.DropItem(new CrystalBeggarStatueDeed());
                    c.DropItem(new CrystalBrazierDeed());
                    c.DropItem(new CrystalBullStatueDeed());
                    c.DropItem(new CrystalRunnerStatueDeed());
                    c.DropItem(new CrystalSuplicantStatueDeed());
                    c.DropItem(new CrystalTableDeed());
                    c.DropItem(new CrystalThroneDeed());

                    break;
                }

                case PromotionalType.ShadowItems:
                {
                    item = new WoodenBox();

                    Container c = item as Container;
                    c.Hue  = 1908;
                    c.Name = "A Box of Shadow Items";

                    c.DropItem(new FireDemonStatueDeed());
                    c.DropItem(new GlobeOfSosariaDeed());
                    c.DropItem(new ObsidianPillarDeed());
                    c.DropItem(new ObsidianRockDeed());
                    c.DropItem(new ShadowAltarDeed());
                    c.DropItem(new ShadowBannerDeed());
                    c.DropItem(new ShadowFirePitDeed());
                    c.DropItem(new ShadowPillarDeed());
                    c.DropItem(new SpikeColumnDeed());
                    c.DropItem(new SpikePostDeed());

                    break;
                }
                }

                if (item != null && m_Token != null)
                {
                    if (!m.AddToBackpack(item))
                    {
                        if (m.BankBox.TryDropItem(m, item, false))
                        {
                            item.MoveToWorld(m.Location, m.Map);
                        }
                    }

                    m_Token.Delete();
                }
            }
        }
Example #19
0
        public static void GiveResources(Mobile from)
        {
            var box = new WoodenBox();

            box.Hue  = 1193;
            box.Name = "General Resources";

            PlaceItemIn(box, 115, 63, new PowderOfTemperament(30000));

            Container bag = new Bag();

            bag.Hue  = 75;
            bag.Name = "Bag of Imbuing Materials";

            for (int i = 0; i < Imbuing.IngredTypes.Length; i++)
            {
                var item = Loot.Construct(Imbuing.IngredTypes[i]);

                if (item != null)
                {
                    if (item.Stackable)
                    {
                        item.Amount = 1000;
                        bag.DropItem(item);
                    }
                    else
                    {
                        bag.DropItem(item);

                        for (int j = 0; j < 10; j++)
                        {
                            bag.DropItem(Loot.Construct(Imbuing.IngredTypes[j]));
                        }
                    }
                }
            }

            PlaceItemIn(box, 17, 67, bag);

            bag      = new Bag();
            bag.Hue  = 1195;
            bag.Name = "Bag of Elven Materials";

            for (int i = 0; i < Loot.RareGemTypes.Length; i++)
            {
                var item = Loot.Construct(Loot.RareGemTypes[i]);
                item.Amount = 200;

                bag.DropItem(item);
            }

            bag.DropItem(new LardOfParoxysmus(200));
            bag.DropItem(new CapturedEssence(200));
            bag.DropItem(new LuminescentFungi(200));
            bag.DropItem(new Putrefaction(200));
            bag.DropItem(new Blight(200));
            bag.DropItem(new LardOfParoxysmus(200));
            bag.DropItem(new Taint(200));
            bag.DropItem(new Corruption(200));
            bag.DropItem(new BarkFragment(200));
            bag.DropItem(new Corruption(200));
            bag.DropItem(new ParasiticPlant(200));
            bag.DropItem(new Muculent(200));
            bag.DropItem(new PristineDreadHorn(200));
            bag.DropItem(new EyeOfTheTravesty(200));
            bag.DropItem(new GrizzledBones(200));
            bag.DropItem(new Scourge(200));

            PlaceItemIn(box, 40, 67, bag);

            bag      = new Backpack();
            bag.Name = "Runic Tool Bag";

            PlaceItemIn(bag, 54, 74, new RunicHammer(CraftResource.DullCopper, 30000));
            PlaceItemIn(bag, 64, 74, new RunicHammer(CraftResource.ShadowIron, 30000));
            PlaceItemIn(bag, 74, 74, new RunicHammer(CraftResource.Copper, 30000));
            PlaceItemIn(bag, 84, 74, new RunicHammer(CraftResource.Bronze, 30000));
            PlaceItemIn(bag, 94, 74, new RunicHammer(CraftResource.Gold, 30000));
            PlaceItemIn(bag, 104, 74, new RunicHammer(CraftResource.Agapite, 30000));
            PlaceItemIn(bag, 114, 74, new RunicHammer(CraftResource.Verite, 30000));
            PlaceItemIn(bag, 124, 74, new RunicHammer(CraftResource.Valorite, 30000));

            PlaceItemIn(bag, 54, 90, new RunicSewingKit(CraftResource.SpinedLeather, 30000));
            PlaceItemIn(bag, 64, 90, new RunicSewingKit(CraftResource.HornedLeather, 30000));
            PlaceItemIn(bag, 64, 90, new RunicSewingKit(CraftResource.BarbedLeather, 30000));

            PlaceItemIn(bag, 74, 90, new RunicDovetailSaw(CraftResource.OakWood, 30000));
            PlaceItemIn(bag, 84, 90, new RunicDovetailSaw(CraftResource.AshWood, 30000));
            PlaceItemIn(bag, 94, 90, new RunicDovetailSaw(CraftResource.YewWood, 30000));
            PlaceItemIn(bag, 104, 90, new RunicDovetailSaw(CraftResource.Heartwood, 30000));

            PlaceItemIn(bag, 54, 107, new RunicFletcherTool(CraftResource.OakWood, 30000));
            PlaceItemIn(bag, 64, 107, new RunicFletcherTool(CraftResource.AshWood, 30000));
            PlaceItemIn(bag, 74, 107, new RunicFletcherTool(CraftResource.YewWood, 30000));
            PlaceItemIn(bag, 84, 107, new RunicFletcherTool(CraftResource.Heartwood, 30000));

            PlaceItemIn(box, 65, 67, bag);

            bag      = new Bag();
            bag.Name = "Raw Materials Bag";

            PlaceItemIn(bag, 92, 59, new BarbedLeather(5000));
            PlaceItemIn(bag, 92, 68, new HornedLeather(5000));
            PlaceItemIn(bag, 92, 76, new SpinedLeather(5000));
            PlaceItemIn(bag, 92, 84, new Leather(5000));

            PlaceItemIn(bag, 30, 118, new Cloth(5000));
            PlaceItemIn(bag, 30, 84, new Board(5000));
            PlaceItemIn(bag, 57, 80, new BlankScroll(500));

            PlaceItemIn(bag, 30, 35, new DullCopperIngot(5000));
            PlaceItemIn(bag, 37, 35, new ShadowIronIngot(5000));
            PlaceItemIn(bag, 44, 35, new CopperIngot(5000));
            PlaceItemIn(bag, 51, 35, new BronzeIngot(5000));
            PlaceItemIn(bag, 58, 35, new GoldIngot(5000));
            PlaceItemIn(bag, 65, 35, new AgapiteIngot(5000));
            PlaceItemIn(bag, 72, 35, new VeriteIngot(5000));
            PlaceItemIn(bag, 79, 35, new ValoriteIngot(5000));
            PlaceItemIn(bag, 86, 35, new IronIngot(5000));

            PlaceItemIn(bag, 30, 59, new RedScales(5000));
            PlaceItemIn(bag, 36, 59, new YellowScales(5000));
            PlaceItemIn(bag, 42, 59, new BlackScales(5000));
            PlaceItemIn(bag, 48, 59, new GreenScales(5000));
            PlaceItemIn(bag, 54, 59, new WhiteScales(5000));
            PlaceItemIn(bag, 60, 59, new BlueScales(5000));

            PlaceItemIn(box, 40, 93, bag);

            bag      = new Bag();
            bag.Name = "Bag of Archery Ammo";

            PlaceItemIn(bag, 48, 76, new Arrow(5000));
            PlaceItemIn(bag, 72, 76, new Bolt(5000));

            PlaceItemIn(box, 65, 93, bag);

            bag      = new Bag();
            bag.Name = "Tool Bag";

            PlaceItemIn(bag, 30, 35, new TinkerTools(30000));
            PlaceItemIn(bag, 60, 35, new HousePlacementTool());
            PlaceItemIn(bag, 90, 35, new DovetailSaw(30000));
            PlaceItemIn(bag, 30, 68, new Scissors());
            PlaceItemIn(bag, 45, 68, new MortarPestle(30000));
            PlaceItemIn(bag, 75, 68, new ScribesPen(30000));
            PlaceItemIn(bag, 90, 68, new SmithHammer(30000));
            PlaceItemIn(bag, 30, 118, new TwoHandedAxe());
            PlaceItemIn(bag, 60, 118, new FletcherTools(30000));
            PlaceItemIn(bag, 90, 118, new SewingKit(30000));
            PlaceItemIn(bag, 70, 85, new Clippers(30000));
            PlaceItemIn(bag, 61, 76, new MalletAndChisel(30000));

            PlaceItemIn(box, 90, 93, bag);

            bag      = new Bag();
            bag.Name = "Bag of Recipes";
            bag.Hue  = 2301;

            foreach (var recipe in Recipe.Recipes.Values)
            {
                bag.DropItem(new RecipeScroll(recipe));
            }

            PlaceItemIn(box, 115, 93, bag);

            bag      = new Bag();
            bag.Name = "Bag of Wood";
            bag.Hue  = 1321;

            bag.DropItem(new Board(5000));
            bag.DropItem(new OakBoard(5000));
            bag.DropItem(new AshBoard(5000));
            bag.DropItem(new YewBoard(5000));
            bag.DropItem(new OakBoard(5000));
            bag.DropItem(new BloodwoodBoard(5000));
            bag.DropItem(new HeartwoodBoard(5000));
            bag.DropItem(new FrostwoodBoard(5000));

            PlaceItemIn(box, 139, 93, bag);

            PlaceItemIn(from.BankBox, 88, 142, box);
        }
Example #20
0
        public DecorativeStableSet()
        {
            DropItem(new CowStatue());
            DropItem(new HorseStatue());
            DropItem(new ChickenStatue());
            DropItem(new MetalTubDeed());
            DropItem(new Feedbag());
            DropItem(new CowPie());

            var box = new WoodenBox();

            var item = new DecorativeStableFencing(FencingType.CornerPiece);

            box.DropItem(item);

            item = new DecorativeStableFencing(FencingType.EastFacingPieces);
            box.DropItem(item);

            item = new DecorativeStableFencing(FencingType.EastFacingPieces);
            box.DropItem(item);

            item = new DecorativeStableFencing(FencingType.EastFacingPieces);
            box.DropItem(item);

            item = new DecorativeStableFencing(FencingType.EastFacingPieces);
            box.DropItem(item);

            item = new DecorativeStableFencing(FencingType.EastFacingPieces);
            box.DropItem(item);

            item = new DecorativeStableFencing(FencingType.EastFacingPieces);
            box.DropItem(item);

            item = new DecorativeStableFencing(FencingType.EastFacingPieces);
            box.DropItem(item);

            item = new DecorativeStableFencing(FencingType.EastFacingPieces);
            box.DropItem(item);

            item = new DecorativeStableFencing(FencingType.EastFacingPieces);
            box.DropItem(item);

            item = new DecorativeStableFencing(FencingType.SouthFacingPieces);
            box.DropItem(item);

            item = new DecorativeStableFencing(FencingType.SouthFacingPieces);
            box.DropItem(item);

            item = new DecorativeStableFencing(FencingType.SouthFacingPieces);
            box.DropItem(item);

            item = new DecorativeStableFencing(FencingType.SouthFacingPieces);
            box.DropItem(item);

            item = new DecorativeStableFencing(FencingType.SouthFacingPieces);
            box.DropItem(item);

            item = new DecorativeStableFencing(FencingType.SouthFacingPieces);
            box.DropItem(item);

            item = new DecorativeStableFencing(FencingType.SouthFacingPieces);
            box.DropItem(item);

            item = new DecorativeStableFencing(FencingType.SouthFacingPieces);
            box.DropItem(item);

            item = new DecorativeStableFencing(FencingType.SouthFacingPieces);
            box.DropItem(item);

            item = new DecorativeStableFencing(FencingType.NWCornerPiece);
            box.DropItem(item);

            item = new DecorativeStableFencing(FencingType.NWCornerPiece);
            box.DropItem(item);

            item = new DecorativeStableFencing(FencingType.GateSouth);
            box.DropItem(item);

            item = new DecorativeStableFencing(FencingType.GateSouth);
            box.DropItem(item);

            item = new DecorativeStableFencing(FencingType.GateEast);
            box.DropItem(item);

            item = new DecorativeStableFencing(FencingType.GateEast);
            box.DropItem(item);

            item = new DecorativeStableFencing(FencingType.Arch);
            box.DropItem(item);

            DropItem(box);

            var bag = new Bag();

            DropItem(bag);
        }
        private static void GiveItems(Mobile m)
        {
            Container pack = m.Backpack;

            if (pack == null)
            {
                return;
            }

            // Frog Drop

            /*
             * MetalBox box = new MetalBox();
             * box.Name = "<BASEFONT COLOR='#007FFF'>Frog Drop Collection";
             * box.LootType = LootType.Blessed;
             * box.Locked = true;
             * box.RequiredSkill = box.LockLevel = 1000;
             * box.DropItem( new WorldMap() );
             * box.DropItem( new RedLeaves() );
             * box.DropItem( new Sand() );
             * box.DropItem( new SpecialHairDye() );
             * box.DropItem( new Rope() );
             * box.DropItem( new Vines() );
             * box.DropItem( new TribalPaint() );
             * box.DropItem( new RockArtifact() );
             * box.DropItem( new Runebook() );
             * box.DropItem( new Gold( 500 ) );
             */
            pack.DropItem(new FrogDropBag(true));

            // Angel's Snack
            Pouch pouch = new Pouch();

            pouch.DropItem(new HealPotion(25));
            pouch.DropItem(new CurePotion(25));
            pouch.DropItem(new RefreshPotion(25));
            pack.DropItem(pouch);

            // Forks
            Bag bag = new Bag();

            bag.Name = "Forks";
            bag.DropItem(new BistroFork());
            bag.DropItem(new GastroFork());
            bag.DropItem(new SilverFork());
            pack.DropItem(bag);

            // Spellcasting Stuff
            bag      = new Bag();
            bag.Name = "Spell Casting Stuff";
            TomeOfLostKnowledge tome = new TomeOfLostKnowledge();

            tome.Name    = "Tome Of Lost Knowledge [Replica]";
            tome.Content = 18446744073709551615;
            bag.DropItem(tome);
            bag.DropItem(new CompleteNecromancerSpellbook());
            bag.DropItem(new BagOfAllReagents());
            CrystallineRing ring = new CrystallineRing();

            ring.Name = "Crystalline Ring [Replica]";
            bag.DropItem(ring);
            OrnamentOfTheMagician brace = new OrnamentOfTheMagician();

            brace.Name = "Ornament Of The Magician [Replica]";
            bag.DropItem(brace);
            pack.DropItem(bag);

            // Blue Clothing
            MetalBox box = new MetalBox();

            box.Name = "Blue Clothing";
            box.DropItem(new BlueHat());
            box.DropItem(new BlueArms());
            box.DropItem(new BlueShirt());
            box.DropItem(new BluePants());
            box.DropItem(new BlueBoots());
            box.DropItem(new BlueCloak());
            box.DropItem(new BlueSash());
            box.DropItem(new BlueBelt());

            WoodenBox wood = new WoodenBox();

            wood.Name = "Tier One Deeds";
            for (int i = 0; i < 4; i++)
            {
                for (int j = 0; j < 9; j++)
                {
                    wood.DropItem(new BlueEnhanceDeed((BlueEnhance)(i + 1), 1));
                }
            }
            box.DropItem(wood);

            wood      = new WoodenBox();
            wood.Name = "Tier Two Deeds";
            for (int i = 0; i < 4; i++)
            {
                for (int j = 0; j < 9; j++)
                {
                    wood.DropItem(new BlueEnhanceDeed((BlueEnhance)(j + 1), 2));
                }
            }
            box.DropItem(wood);
            pack.DropItem(box);
        }