Beispiel #1
0
		public override void OnMovement( Mobile m, Point3D oldLocation )
		{
			base.OnMovement( m, oldLocation );

			if ( InRange( m.Location, 2 ) && !InRange( oldLocation, 2 ) && m is PlayerMobile )
			{
				PlayerMobile pm = (PlayerMobile)m;
				QuestSystem qs = pm.Quest;

				if ( qs is DarkTidesQuest )
				{
					QuestObjective obj = qs.FindObjective( typeof( ReturnToCrystalCaveObjective ) );

					if ( obj != null && !obj.Completed )
						obj.Complete();
					else
					{
						obj = qs.FindObjective( typeof( FindHorusAboutRewardObjective ) );

						if ( obj != null && !obj.Completed )
						{
							Container cont = GetNewContainer();

							cont.DropItem( new Gold( 500 ) );

							BaseJewel jewel = new GoldBracelet();
							if ( Core.AOS )
								BaseRunicTool.ApplyAttributesTo( jewel, 3, 20, 40 );
							cont.DropItem( jewel );

							if ( !pm.PlaceInBackpack( cont ) )
							{
								cont.Delete();
								pm.SendLocalizedMessage( 1046260 ); // You need to clear some space in your inventory to continue with the quest.  Come back here when you have more space in your inventory.
							}
							else
							{
								obj.Complete();
							}
						}
					}
				}
			}
		}
Beispiel #2
0
        public override void InitOutfit()
        {
            WipeLayers();

            // add a "wooden stake" to our loot
            Shaft WoodenStake = new Shaft();

            WoodenStake.Hue  = 51;
            WoodenStake.Name = "wooden stake";
            PackItem(WoodenStake);

            // black backpack. we need a backpack so our walking-dead can be disarmed, and black is cool
            Backpack.Hue = 0x01;

            // add Scepter
            Scepter weapon = new Scepter();                     // can disarm, but can't steal

            weapon.LootType = LootType.Newbied;                 // can't steal (will drop on death)
            AddItem(weapon);

            Item hair  = new LongHair(1);
            Item pants = new LongPants(0x1);
            Item shirt = new FancyShirt();

            hair.Layer = Layer.Hair;
            AddItem(hair);
            AddItem(pants);
            AddItem(shirt);

            Item necklace = new GoldNecklace();

            AddItem(necklace);
            Item ring = new GoldRing();

            AddItem(ring);
            Item bracelet = new GoldBracelet();

            AddItem(bracelet);

            Item boots = new Sandals(0x1);

            AddItem(boots);
        }
Beispiel #3
0
        public override void InitOutfit()
        {
            AddItem(new LongPants(GetRandomHue()));
            AddItem(new Boots(GetRandomHue()));
            AddItem(new FeatheredHat(GetRandomHue()));

            if (Female)
            {
                AddItem(new Kilt(GetRandomHue()));
                AddItem(new Shirt(GetRandomHue()));

                switch (Utility.Random(3))
                {
                case 0: AddItem(new LongHair(GetHairHue())); break;

                case 1: AddItem(new PonyTail(GetHairHue())); break;

                case 2: AddItem(new BunsHair(GetHairHue())); break;
                }

                GoldBracelet bracelet = new GoldBracelet();
                bracelet.Hue = GetRandomHue();
                AddItem(bracelet);

                GoldNecklace neck = new GoldNecklace();
                neck.Hue = GetRandomHue();
                AddItem(neck);
            }
            else
            {
                AddItem(new FancyShirt(GetRandomHue()));
                AddItem(new Doublet(GetRandomHue()));

                switch (Utility.Random(2))
                {
                case 0: AddItem(new PonyTail(GetHairHue())); break;

                case 1: AddItem(new ShortHair(GetHairHue())); break;
                }
            }
        }
		public override void OnDoubleClick( Mobile m )
		{
            Item RewardItem = null;

			if( IsChildOf( m.Backpack ) )
            {
                switch (Utility.Random(11))
                {
                    case 0:
                        {
                            RewardItem = new GoldNecklace();
                            RewardItem.Hue = Utility.RandomList(Sphere.RareHues);
                            break;
                        }
                    case 1:
                        {
                            RewardItem = new GoldBeadNecklace();
                            RewardItem.Hue = Utility.RandomList(Sphere.RareHues);
                            break;
                        }
                    case 2:
                        {
                            RewardItem = new SilverNecklace();
                            RewardItem.Hue = Utility.RandomList(Sphere.RareHues);
                            break;
                        }
                    case 3:
                        {
                            RewardItem = new SilverBeadNecklace();
                            RewardItem.Hue = Utility.RandomList(Sphere.RareHues);
                            break;
                        }
                    case 4:
                        {
                            RewardItem = new GoldBracelet();
                            RewardItem.Hue = Utility.RandomList(Sphere.RareHues);
                            break;
                        }
                    case 5:
                        {
                            RewardItem = new SilverBracelet();
                            RewardItem.Hue = Utility.RandomList(Sphere.RareHues);
                            break;
                        }
                    case 6:
                        {
                            RewardItem = new GoldRing();
                            RewardItem.Hue = Utility.RandomList(Sphere.RareHues);
                            break;
                        }
                    case 7:
                        {
                            RewardItem = new SilverRing();
                            RewardItem.Hue = Utility.RandomList(Sphere.RareHues);
                            break;
                        }
                    case 8:
                        {
                            RewardItem = new SilverEarrings();
                            RewardItem.Hue = Utility.RandomList(Sphere.RareHues);
                            break;
                        }
                    case 9:
                        {
                            RewardItem = new GoldEarrings();
                            RewardItem.Hue = Utility.RandomList(Sphere.RareHues);
                            break;
                        }
                    case 10:
                        {
                            RewardItem = new Necklace();
                            RewardItem.Hue = Utility.RandomList(Sphere.RareHues);
                            break;
                        }   
                }

                m.AddToBackpack(RewardItem);
                Delete();
            }
			else
				m.SendAsciiMessage( "That must be in your pack for you to use it." );
		}
Beispiel #5
0
        public Rackham() : base(AIType.AI_Melee, FightMode.Closest, 10, 1, 0.2, 0.4)
        {
            Name  = "Rackham";
            Title = "the Bloody Pirate";
            Body  = 0x190;
            Hue   = Utility.RandomSkinHue();

            ThighBoots tb = new ThighBoots();

            tb.Hue = 0;
            AddItem(tb);

            LongPants lp = new LongPants();

            lp.Hue = 633;
            AddItem(lp);

            FancyShirt fs = new FancyShirt();

            fs.Hue = 907;
            AddItem(fs);

            SkullCap sk = new SkullCap();

            sk.Hue = 413;
            AddItem(sk);

            BodySash bs = new BodySash();

            bs.Hue = 633;
            AddItem(bs);

            Cloak cl = new Cloak();

            cl.Hue = 688;
            AddItem(cl);

            Scimitar sc = new Scimitar();

            sc.Hue = 533;
            AddItem(sc);

            GoldBeadNecklace gn = new GoldBeadNecklace();

            AddItem(gn);

            GoldBracelet gb = new GoldBracelet();

            AddItem(gb);

            GoldEarrings ge = new GoldEarrings();

            AddItem(ge);

            GoldRing gr = new GoldRing();

            AddItem(gr);

            AddItem(new PonyTail(1149));

            AddItem(new Vandyke(1149));

            SetStr(120, 140);
            SetDex(90, 105);
            SetInt(25, 40);

            SetHits(450, 500);
            SetMana(0);

            SetDamage(20, 28);

            SetDamageType(ResistanceType.Physical, 100);

            SetResistance(ResistanceType.Physical, 56, 67);
            SetResistance(ResistanceType.Fire, 40, 50);
            SetResistance(ResistanceType.Poison, 40, 50);
            SetResistance(ResistanceType.Cold, 40, 45);
            SetResistance(ResistanceType.Energy, 40, 55);

            SetSkill(SkillName.MagicResist, 55.1, 65.0);
            SetSkill(SkillName.Tactics, 85.3, 105.0);
            SetSkill(SkillName.Wrestling, 90.3, 105.0);
            SetSkill(SkillName.Swords, 90.3, 105.0);

            Fame  = 9900;
            Karma = -9900;

            VirtualArmor = 25;

            PackItem(new SeafaringBracelet());
            PackItem(new TreasureMap(1, Map.Trammel));
        }
Beispiel #6
0
        public override void InitOutfit()
        {
            WipeLayers();

            if (this.Female)
            {
                Item hair  = new Item(0x203C);
                Item dress = new PlainDress(0x1);
                //5% chance to drop black dress
                if (Utility.RandomDouble() < 0.95)
                {
                    dress.LootType = LootType.Newbied;
                }

                if (Utility.RandomMinMax(0, 100) <= 20)                //20% chance to have black hair
                {
                    hair.Hue = 0x1;
                }
                else
                {
                    hair.Hue = Utility.RandomHairHue();
                }

                hair.Layer = Layer.Hair;
                AddItem(hair);
                AddItem(dress);
            }
            else
            {
                Item hair2 = new Item(Utility.RandomList(0x203C, 0x203B));
                Item pants = new LongPants(0x1);
                Item shirt = new FancyShirt();
                hair2.Hue   = Utility.RandomHairHue();
                hair2.Layer = Layer.Hair;
                AddItem(hair2);
                //5% chance for black clothes
                if (Utility.RandomDouble() < 0.95)
                {
                    shirt.LootType = LootType.Newbied;
                }
                if (Utility.RandomDouble() < 0.95)
                {
                    pants.LootType = LootType.Newbied;
                }
                AddItem(pants);
                AddItem(shirt);
            }

            Item necklace = new GoldNecklace();

            AddItem(necklace);
            Item ring = new GoldRing();

            AddItem(ring);
            Item bracelet = new GoldBracelet();

            AddItem(bracelet);

            Item boots = new Sandals(0x1);

            boots.LootType = LootType.Newbied;             //no dropping the black sandals.
            AddItem(boots);
        }
Beispiel #7
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
        }
Beispiel #8
0
        public override void OnDoubleClick(Mobile m)
        {
            Item RewardItem = null;

            if (IsChildOf(m.Backpack))
            {
                switch (Utility.Random(11))
                {
                case 0:
                {
                    RewardItem     = new GoldNecklace();
                    RewardItem.Hue = Utility.RandomList(Sphere.RareHues);
                    break;
                }

                case 1:
                {
                    RewardItem     = new GoldBeadNecklace();
                    RewardItem.Hue = Utility.RandomList(Sphere.RareHues);
                    break;
                }

                case 2:
                {
                    RewardItem     = new SilverNecklace();
                    RewardItem.Hue = Utility.RandomList(Sphere.RareHues);
                    break;
                }

                case 3:
                {
                    RewardItem     = new SilverBeadNecklace();
                    RewardItem.Hue = Utility.RandomList(Sphere.RareHues);
                    break;
                }

                case 4:
                {
                    RewardItem     = new GoldBracelet();
                    RewardItem.Hue = Utility.RandomList(Sphere.RareHues);
                    break;
                }

                case 5:
                {
                    RewardItem     = new SilverBracelet();
                    RewardItem.Hue = Utility.RandomList(Sphere.RareHues);
                    break;
                }

                case 6:
                {
                    RewardItem     = new GoldRing();
                    RewardItem.Hue = Utility.RandomList(Sphere.RareHues);
                    break;
                }

                case 7:
                {
                    RewardItem     = new SilverRing();
                    RewardItem.Hue = Utility.RandomList(Sphere.RareHues);
                    break;
                }

                case 8:
                {
                    RewardItem     = new SilverEarrings();
                    RewardItem.Hue = Utility.RandomList(Sphere.RareHues);
                    break;
                }

                case 9:
                {
                    RewardItem     = new GoldEarrings();
                    RewardItem.Hue = Utility.RandomList(Sphere.RareHues);
                    break;
                }

                case 10:
                {
                    RewardItem     = new Necklace();
                    RewardItem.Hue = Utility.RandomList(Sphere.RareHues);
                    break;
                }
                }

                m.AddToBackpack(RewardItem);
                Delete();
            }
            else
            {
                m.SendAsciiMessage("That must be in your pack for you to use it.");
            }
        }
Beispiel #9
0
        public Beelzebug() : base(AIType.AI_Mage, FightMode.Closest, 10, 1, 0.2, 0.4)
        {
            Name = "a beelzebug";
            Body = 244;
            Hue  = 1151;

            SetStr(401, 460);
            SetDex(121, 170);
            SetInt(376, 450);

            SetHits(301, 360);
            SetMana(1005, 1125);

            SetDamage(12, 20);

            SetDamageType(ResistanceType.Physical, 25);
            SetDamageType(ResistanceType.Cold, 75);

            SetResistance(ResistanceType.Physical, 45);
            SetResistance(ResistanceType.Fire, 10);
            SetResistance(ResistanceType.Cold, 70);
            SetResistance(ResistanceType.Poison, 70);
            SetResistance(ResistanceType.Energy, 40);

            SetSkill(SkillName.EvalInt, 80.1, 90.0);
            SetSkill(SkillName.Magery, 80.1, 90.0);
            SetSkill(SkillName.MagicResist, 75.1, 85.0);
            SetSkill(SkillName.Tactics, 80.1, 90.0);
            SetSkill(SkillName.Wrestling, 80.1, 100.0);

            Fame  = 32000;
            Karma = -32000;

            PackGold(81, 97);

            if (Utility.RandomDouble() < .25)
            {
                PackItem(Engines.Plants.Seed.RandomBonsaiSeed());
            }

            PackItem(new Paraiba());
            PackItem(new DiamondDust(Utility.RandomMinMax(17, 23)));

            if (Utility.RandomDouble() < 0.10)
            {
                PackItem(new SummonDaemonScroll());
            }

            if (Utility.RandomDouble() < 0.05)
            {
                PackItem(new CrackedResistColdGem());
            }

            if (Utility.RandomDouble() < 0.05)
            {
                PackItem(new CrackedHitHarmGem());
            }

            Container pack = new Backpack();

            pack.DropItem(new Gold(Utility.RandomMinMax(38, 49)));

            switch (Utility.Random(5))
            {
            case 0: PackItem(new HarmScroll(5));  break;

            case 1: PackItem(new EnergyBoltScroll(3)); break;

            case 2: PackItem(new PoisonFieldScroll(2)); break;

            case 3: PackItem(new WallOfStoneScroll(2)); break;

            case 4: PackItem(new CurseScroll(2)); break;
            }

            Container bag = new Bag();

            bag.DropItem(new Gold(Utility.RandomMinMax(12, 27)));
            bag.DropItem(new Bandage(Utility.RandomMinMax(12, 19)));
            bag.DropItem(new HealPotion());
            bag.DropItem(new HealPotion());
            bag.DropItem(Loot.RandomGem());

            if (Utility.RandomDouble() < 0.05)
            {
                BaseArmor armor1 = Loot.RandomArmor(true);
                BaseRunicTool.ApplyAttributesTo(armor1, 3, 15, 30);

                bag.DropItem(armor1);
            }

            if (Utility.RandomDouble() < 0.05)
            {
                BaseArmor armor2 = Loot.RandomArmor(true);
                BaseRunicTool.ApplyAttributesTo(armor2, 3, 15, 30);

                bag.DropItem(armor2);
            }

            if (Utility.RandomDouble() < 0.05)
            {
                BaseClothing clothing1 = Loot.RandomClothing(true);
                BaseRunicTool.ApplyAttributesTo(clothing1, 3, 15, 30);

                bag.DropItem(clothing1);
            }

            if (Utility.RandomDouble() < 0.05)
            {
                BaseClothing clothing2 = Loot.RandomClothing(true);
                BaseRunicTool.ApplyAttributesTo(clothing2, 3, 15, 30);

                bag.DropItem(clothing2);
            }

            if (Utility.RandomDouble() < 0.05)
            {
                BaseJewel bracelet = new GoldBracelet();
                if (Core.AOS)
                {
                    BaseRunicTool.ApplyAttributesTo(bracelet, 5, 25, 30);
                }

                bag.DropItem(bracelet);
            }

            Item ScrollLoot1 = Loot.RandomScroll(0, 50, SpellbookType.Regular);

            ScrollLoot1.Amount = Utility.Random(2, 5);
            bag.DropItem(ScrollLoot1);

            Item ScrollLoot2 = Loot.RandomScroll(0, 50, SpellbookType.Regular);

            ScrollLoot2.Amount = Utility.Random(2, 5);
            bag.DropItem(ScrollLoot2);

            pack.DropItem(bag);

            PackItem(pack);
        }
Beispiel #10
0
        public AuroraSkycaller() : base(AIType.AI_Mage, FightMode.Weakest, 10, 1, 0.15, 0.2)
        {
            Body             = 0x191;
            Hue              = 0x3F6;
            Name             = "Aurora Skycaller";
            Kills            = 10;
            ShortTermMurders = 10;

            SetStr(356, 396);
            SetDex(45, 55);
            SetInt(830, 953);

            SetHits(3500);
            SetMana(9000);
            SetDamage(25, 30);

            SetSkill(SkillName.Wrestling, 111.3, 117.8);
            SetSkill(SkillName.Tactics, 110.5, 117.0);
            SetSkill(SkillName.MagicResist, 140.6, 156.8);
            SetSkill(SkillName.Magery, 97.7, 99.6);
            SetSkill(SkillName.EvalInt, 95.1, 98.1);
            SetSkill(SkillName.Meditation, 61.1, 70.1);

            Fame  = 25000;
            Karma = -25000;

            VirtualArmor = 5;

            Item GoldBracelet = new GoldBracelet();

            GoldBracelet.Movable = false;
            GoldBracelet.Hue     = 1165;
            EquipItem(GoldBracelet);

            Item FloppyHat = new FloppyHat();

            FloppyHat.Movable = false;
            FloppyHat.Hue     = 1157;
            EquipItem(FloppyHat);

            Item PlainDress = new PlainDress();

            PlainDress.Movable = false;
            PlainDress.Hue     = 1157;
            EquipItem(PlainDress);

            Item Sandals = new Sandals();

            Sandals.Movable = false;
            Sandals.Hue     = 1157;
            EquipItem(Sandals);

            Item Necklace = new Necklace();

            Necklace.Movable = false;
            Necklace.Hue     = 1165;
            EquipItem(Necklace);

            Item GoldRing = new GoldRing();

            GoldRing.Movable = false;
            GoldRing.Hue     = 1165;
            EquipItem(GoldRing);

            switch (Utility.Random(10))
            {
            case 0: PackItem(new DarkIronWire()); break;
            }

            PackGold(3200, 4000);
            PackArmor(0, 5);
            PackWeapon(0, 5);
            PackArmor(0, 5);
            PackWeapon(0, 5);
            PackArmor(0, 5);
            PackWeapon(0, 5);
            PackArmor(0, 5);
            PackWeapon(0, 5);
            PackArmor(0, 5);
            PackWeapon(0, 5);
        }
        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());
        }
        public override void InitOutfit()
        {
            WipeLayers();

            if (Core.UOAI || Core.UOAR)
            {
                AddItem(new Sandals());

                Item EvilMageRobe = new Robe();
                EvilMageRobe.Hue      = 0x1;
                EvilMageRobe.LootType = LootType.Newbied;
                AddItem(EvilMageRobe);

                Item BDB = new BloodDrenchedBandana();
                BDB.LootType = LootType.Newbied;
                AddItem(BDB);

                Item Cloak = new Cloak();
                Cloak.Hue      = 0x1;
                Cloak.LootType = LootType.Newbied;
                AddItem(Cloak);

                Item Bracelet = new GoldBracelet();
                Bracelet.LootType = LootType.Newbied;
                AddItem(Bracelet);

                Item Ring = new GoldRing();
                Ring.LootType = LootType.Newbied;
                AddItem(Ring);

                Item hair = new LongHair();
                hair.Hue     = 0x47E;
                hair.Layer   = Layer.Hair;
                hair.Movable = false;
                AddItem(hair);

                Item beard = new Goatee();
                beard.Hue     = 0x47E;
                beard.Movable = false;
                AddItem(beard);
            }
            else
            {
                if (Blackthorns_Revenge == false)
                {                                              // not Todd's graphics, so we need to dress
                    AddItem(new Robe(Utility.RandomRedHue())); // TODO: Proper hue

                    // Don't think we should drop the sandals .. stratics is unclear when it comes to clothes.
                    // http://web.archive.org/web/20020207054748/uo.stratics.com/hunters/evilmage.shtml
                    //  Red Robe: 0 to 50 Gold, Scrolls (circles 1-7), Reagents

                    /*Sandals shoes = new Sandals();
                     * if (Core.UOSP || Core.UOMO)
                     *      shoes.LootType = LootType.Newbied;
                     * AddItem(shoes);*/


                    /* Publish 4
                     * Shopkeeper Changes
                     * NPC shopkeepers will no longer have colored sandals. Evil NPC Mages will carry these items.
                     */
                    if (Core.Publish >= 4)
                    {
                        // http://forums.uosecondage.com/viewtopic.php?f=8&t=22266
                        // runuo.com/community/threads/evil-mage-hues.91540/
                        if (0.18 >= Utility.RandomDouble())
                        {
                            AddItem(new Shoes(Utility.RandomRedHue()));
                        }
                        else
                        {
                            AddItem(new Sandals(Utility.RandomRedHue()));
                        }
                    }
                    else
                    {
                        AddItem(new Sandals());
                    }
                }

                Item hair = null;
                switch (Utility.Random(4))
                {
                case 0:                         //  bald
                    break;

                case 1:
                    hair = new ShortHair();
                    break;

                case 2:
                    hair = new LongHair();
                    break;

                case 3:
                    hair = new ReceedingHair();
                    break;
                }

                if (hair != null)
                {
                    hair.Hue     = Utility.RandomHairHue();
                    hair.Layer   = Layer.Hair;
                    hair.Movable = false;
                    AddItem(hair);
                }

                Item beard = null;
                switch (Utility.Random(4))
                {
                case 0:                         //  clean shaven
                    break;

                case 1:
                    beard = new LongBeard();
                    break;

                case 2:
                    beard = new ShortBeard();
                    break;

                case 3:
                    beard = new MediumLongBeard();
                    break;

                case 4:
                    beard = new MediumShortBeard();
                    break;
                }

                if (beard != null)
                {
                    beard.Hue     = (hair != null) ? hair.Hue : Utility.RandomHairHue();                 // do the drapes match the carpet?
                    beard.Movable = false;
                    beard.Layer   = Layer.FacialHair;
                    AddItem(beard);
                }
            }
        }
Beispiel #13
0
        public override void GenerateLoot()
        {
            AddLoot(LootPack.FilthyRich, 3);
            AddLoot(LootPack.MedScrolls, 5);
            AddLoot(LootPack.Gems, 3);

            if (Utility.RandomDouble() < 0.10)
            {
                BaseWeapon weapon = Loot.RandomWeapon(true);
                BaseRunicTool.ApplyAttributesTo(weapon, 5, 15, 35);
                PackItem(weapon);
            }

            if (Utility.RandomDouble() < 0.10)
            {
                BaseArmor armor = Loot.RandomArmor(true);
                switch (Utility.Random(5))
                {
                case 0: armor = new EbonsilkGloves(); break;

                case 1: armor = new EbonsilkGorget(); break;

                case 2: armor = new EbonsilkLegs(); break;

                case 3: armor = new EbonsilkArms(); break;

                default: armor = new EbonsilkChest(); break;
                }

                BaseRunicTool.ApplyAttributesTo(armor, 5, 15, 35);
                PackItem(armor);
            }

            if (Utility.RandomDouble() < 0.20)
            {
                BaseClothing clothing = Loot.RandomClothing(true);
                BaseRunicTool.ApplyAttributesTo(clothing, 5, 15, 35);
                PackItem(clothing);
            }

            if (Utility.RandomDouble() < 0.10)
            {
                BaseShield shield = new BlackHeaterShield();
                if (Core.AOS)
                {
                    BaseRunicTool.ApplyAttributesTo(shield, 5, 15, 35);
                }
                PackItem(shield);
            }

            if (Utility.RandomDouble() < 0.10)
            {
                BaseJewel bracelet = new GoldBracelet();
                if (Core.AOS)
                {
                    BaseRunicTool.ApplyAttributesTo(bracelet, 5, 15, 35);
                }
                PackItem(bracelet);
            }

            if (Utility.RandomDouble() < 0.10)
            {
                BaseJewel earrings = new GoldEarrings();
                if (Core.AOS)
                {
                    BaseRunicTool.ApplyAttributesTo(earrings, 5, 15, 35);
                }
                PackItem(earrings);
            }

            if (Utility.RandomDouble() < 0.10)
            {
                BaseJewel necklace = new GoldNecklace();
                if (Core.AOS)
                {
                    BaseRunicTool.ApplyAttributesTo(necklace, 5, 15, 35);
                }
                PackItem(necklace);
            }

            if (Utility.RandomDouble() < 0.10)
            {
                BaseJewel ring = new GoldRing();
                if (Core.AOS)
                {
                    BaseRunicTool.ApplyAttributesTo(ring, 5, 15, 35);
                }
                PackItem(ring);
            }
        }
Beispiel #14
0
        public override void InitOutfit()
        {
            WipeLayers();

            if (Core.UOAI || Core.UOAR)
            {
                if (Utility.RandomBool())
                {
                    AddItem(new Shoes(Utility.RandomBlueHue()));
                }
                else
                {
                    AddItem(new Sandals(Utility.RandomBlueHue()));
                }

                //New Fall Fashions!

                Item EvilMageRobe = new Robe();
                EvilMageRobe.Hue      = 0x1;
                EvilMageRobe.LootType = LootType.Newbied;
                AddItem(EvilMageRobe);

                Item EvilWizHat = new WizardsHat();
                EvilWizHat.Hue      = 0x1;
                EvilWizHat.LootType = LootType.Newbied;
                AddItem(EvilWizHat);

                Item Bracelet = new GoldBracelet();
                Bracelet.LootType = LootType.Newbied;
                AddItem(Bracelet);

                Item Ring = new GoldRing();
                Ring.LootType = LootType.Newbied;
                AddItem(Ring);

                Item hair = new LongHair();
                hair.Hue     = 0x47E;
                hair.Layer   = Layer.Hair;
                hair.Movable = false;
                AddItem(hair);

                Item beard = new MediumLongBeard();
                beard.Hue     = 0x47E;
                beard.Movable = false;
                beard.Layer   = Layer.FacialHair;
                AddItem(beard);
            }
            else
            {
                if (Blackthorns_Revenge == false)
                {                       // not Todd's graphocs, so we dress
                                        // evil mage lord colors 1106 1109
                    AddItem(new Robe(Utility.Random(1106, 4)));

                    // Don't think we should drop the sandals .. stratics is unclear when it comes to clothes.
                    // http://web.archive.org/web/20020414131123/uo.stratics.com/hunters/evilmagelord.shtml
                    // Blue Robe: 200 to 250 Gold, Gems, Scrolls (circles 4-7), Reagents

                    /*Sandals shoes = new Sandals();
                     * if (Core.UOSP || Core.UOMO)
                     *      shoes.LootType = LootType.Newbied;
                     * AddItem(shoes);*/

                    /* Publish 8
                     * Shopkeeper Changes
                     * NPC shopkeepers will no longer have colored sandals. Evil NPC Mages will carry these items.
                     */
                    if (Core.Publish >= 4)
                    {
                        // http://forums.uosecondage.com/viewtopic.php?f=8&t=22266
                        // runuo.com/community/threads/evil-mage-hues.91540/
                        if (0.20 >= Utility.RandomDouble())
                        {
                            AddItem(new Shoes(Utility.RandomBlueHue()));
                        }
                        else
                        {
                            AddItem(new Sandals(Utility.RandomBlueHue()));
                        }
                    }
                    else
                    {
                        AddItem(new Sandals());
                    }
                }

                Item hair = null;
                switch (Utility.Random(4))
                {
                case 0:                         //  bald
                    break;

                case 1:
                    hair = new ShortHair();
                    break;

                case 2:
                    hair = new LongHair();
                    break;

                case 3:
                    hair = new ReceedingHair();
                    break;
                }

                if (hair != null)
                {
                    hair.Hue     = Utility.RandomHairHue();
                    hair.Layer   = Layer.Hair;
                    hair.Movable = false;
                    AddItem(hair);
                }

                Item beard = null;
                switch (Utility.Random(4))
                {
                case 0:                         //  clean shaven
                    break;

                case 1:
                    beard = new LongBeard();
                    break;

                case 2:
                    beard = new ShortBeard();
                    break;

                case 3:
                    beard = new MediumLongBeard();
                    break;

                case 4:
                    beard = new MediumShortBeard();
                    break;
                }

                if (beard != null)
                {
                    beard.Hue     = (hair != null) ? hair.Hue : Utility.RandomHairHue();                 // do the drapes match the carpet?
                    beard.Movable = false;
                    beard.Layer   = Layer.FacialHair;
                    AddItem(beard);
                }
            }
        }
Beispiel #15
0
        public override void GenerateLoot()
        {
            AddLoot(LootPack.FilthyRich, 5);
            AddLoot(LootPack.HighScrolls, 3);
            AddLoot(LootPack.MedScrolls, 4);
            AddLoot(LootPack.LowScrolls, 6);
            AddLoot(LootPack.Gems, 5);

            if (Utility.RandomDouble() < 0.20)
            {
                BaseWeapon weapon = Loot.RandomWeapon(true);
                switch (Utility.Random(33))
                {
                case 0: weapon = new BattleAxe(); break;

                case 1: weapon = new ExecutionersAxe(); break;

                case 2: weapon = new LargeBattleAxe(); break;

                case 3: weapon = new WarAxe(); break;

                case 4: weapon = new Bow(); break;

                case 5: weapon = new Crossbow(); break;

                case 6: weapon = new HeavyCrossbow(); break;

                case 7: weapon = new WarHammer(); break;

                case 8: weapon = new WarMace(); break;

                case 9: weapon = new Bardiche(); break;

                case 10: weapon = new Halberd(); break;

                case 11: weapon = new Spear(); break;

                case 12: weapon = new QuarterStaff(); break;

                case 13: weapon = new Katana(); break;

                case 14: weapon = new Longsword(); break;

                case 15: weapon = new VikingSword(); break;

                case 16: weapon = new CompositeBow(); break;

                case 17: weapon = new CrescentBlade(); break;

                case 18: weapon = new DoubleBladedStaff(); break;

                case 19: weapon = new Lance(); break;

                case 20: weapon = new PaladinSword(); break;

                case 21: weapon = new Scythe(); break;

                case 22: weapon = new Daisho(); break;

                case 23: weapon = new Lajatang(); break;

                case 24: weapon = new NoDachi(); break;

                case 25: weapon = new Tetsubo(); break;

                case 26: weapon = new Yumi(); break;

                case 27: weapon = new ElvenCompositeLongbow(); break;

                case 28: weapon = new OrnateAxe(); break;

                case 29: weapon = new RadiantScimitar(); break;

                case 30: weapon = new WarCleaver(); break;

                case 31: weapon = new WildStaff(); break;

                default: weapon = new DiamondMace(); break;
                }

                BaseRunicTool.ApplyAttributesTo(weapon, 5, 35, 50);
                weapon.Hue = 1461;

                PackItem(weapon);
            }

            if (Utility.RandomDouble() < 0.20)
            {
                BaseArmor armor = Loot.RandomArmor(true);
                switch (Utility.Random(5))
                {
                case 0: armor = new CrusaderGauntlets(); break;

                case 1: armor = new CrusaderGorget(); break;

                case 2: armor = new CrusaderLeggings(); break;

                case 3: armor = new CrusaderSleeves(); break;

                default: armor = new CrusaderBreastplate(); break;
                }

                BaseRunicTool.ApplyAttributesTo(armor, 5, 35, 50);
                armor.Hue = 1461;

                PackItem(armor);
            }

            if (Utility.RandomDouble() < 0.20)
            {
                BaseClothing clothing = Loot.RandomClothing(true);
                BaseRunicTool.ApplyAttributesTo(clothing, 5, 35, 50);
                clothing.Hue = 1461;

                PackItem(clothing);
            }

            if (Utility.RandomDouble() < 0.10)
            {
                BaseShield shield = new MetalKiteShield();
                if (Core.AOS)
                {
                    BaseRunicTool.ApplyAttributesTo(shield, 5, 35, 50);
                }
                shield.Hue = 1461;

                PackItem(shield);
            }

            if (Utility.RandomDouble() < 0.10)
            {
                BaseJewel bracelet = new GoldBracelet();
                if (Core.AOS)
                {
                    BaseRunicTool.ApplyAttributesTo(bracelet, 5, 35, 50);
                }
                bracelet.Hue = 1461;

                PackItem(bracelet);
            }

            if (Utility.RandomDouble() < 0.10)
            {
                BaseJewel earrings = new GoldEarrings();
                if (Core.AOS)
                {
                    BaseRunicTool.ApplyAttributesTo(earrings, 5, 35, 50);
                }
                earrings.Hue = 1461;

                PackItem(earrings);
            }

            if (Utility.RandomDouble() < 0.10)
            {
                BaseJewel necklace = new GoldNecklace();
                if (Core.AOS)
                {
                    BaseRunicTool.ApplyAttributesTo(necklace, 5, 35, 50);
                }
                necklace.Hue = 1461;

                PackItem(necklace);
            }

            if (Utility.RandomDouble() < 0.10)
            {
                BaseJewel ring = new GoldRing();
                if (Core.AOS)
                {
                    BaseRunicTool.ApplyAttributesTo(ring, 5, 35, 50);
                }
                ring.Hue = 1461;

                PackItem(ring);
            }
        }
Beispiel #16
0
        public override void GenerateLoot()
        {
            AddLoot(LootPack.FilthyRich, 2);
            AddLoot(LootPack.MedScrolls, 1);

            if (Utility.RandomDouble() < 0.10)
            {
                BaseWeapon weapon = Loot.RandomWeapon(true);
                BaseRunicTool.ApplyAttributesTo(weapon, 3, 25, 30);

                PackItem(weapon);
            }

            if (Utility.RandomDouble() < 0.05)
            {
                BaseClothing clothing = Loot.RandomClothing(true);
                BaseRunicTool.ApplyAttributesTo(clothing, 3, 25, 30);

                PackItem(clothing);
            }

            if (Utility.RandomDouble() < 0.05)
            {
                BaseShield shield = new ScarabShield();
                if (Core.AOS)
                {
                    BaseRunicTool.ApplyAttributesTo(shield, 5, 25, 30);
                }

                PackItem(shield);
            }

            if (Utility.RandomDouble() < 0.05)
            {
                BaseJewel bracelet = new GoldBracelet();
                if (Core.AOS)
                {
                    BaseRunicTool.ApplyAttributesTo(bracelet, 5, 25, 30);
                }

                PackItem(bracelet);
            }

            if (Utility.RandomDouble() < 0.05)
            {
                BaseJewel earrings = new GoldEarrings();
                if (Core.AOS)
                {
                    BaseRunicTool.ApplyAttributesTo(earrings, 5, 25, 30);
                }

                PackItem(earrings);
            }

            if (Utility.RandomDouble() < 0.05)
            {
                BaseJewel necklace = new GoldNecklace();
                if (Core.AOS)
                {
                    BaseRunicTool.ApplyAttributesTo(necklace, 5, 25, 30);
                }

                PackItem(necklace);
            }

            if (Utility.RandomDouble() < 0.05)
            {
                BaseJewel ring = new GoldRing();
                if (Core.AOS)
                {
                    BaseRunicTool.ApplyAttributesTo(ring, 5, 25, 30);
                }

                PackItem(ring);
            }
        }
Beispiel #17
0
        public Finlor()
        {
            Name      = "Finlor";
            Title     = "the Sea Captain";
            Body      = 0x190;
            Hue       = Utility.RandomSkinHue();
            Blessed   = true;
            CantWalk  = true;
            Direction = Direction.South;

            ThighBoots tb = new ThighBoots();

            tb.Hue = 0;
            AddItem(tb);

            LongPants lp = new LongPants();

            lp.Hue = 6;
            AddItem(lp);

            FancyShirt fs = new FancyShirt();

            fs.Hue = 0;
            AddItem(fs);

            TricorneHat th = new TricorneHat();

            th.Hue = 52;
            AddItem(th);

            BodySash bs = new BodySash();

            bs.Hue = 6;
            AddItem(bs);

            Cloak cl = new Cloak();

            cl.Hue = 38;
            AddItem(cl);

            Scimitar sc = new Scimitar();

            AddItem(sc);

            GoldBeadNecklace gn = new GoldBeadNecklace();

            AddItem(gn);

            GoldBracelet gb = new GoldBracelet();

            AddItem(gb);

            GoldEarrings ge = new GoldEarrings();

            AddItem(ge);

            GoldRing gr = new GoldRing();

            AddItem(gr);

            AddItem(new PonyTail(1149));

            AddItem(new Vandyke(1149));
        }
        public override void GenerateLoot()
        {
            AddLoot(LootPack.FilthyRich, 2);
            AddLoot(LootPack.Average, 3);

            if (Utility.RandomDouble() < 0.10)
            {
                BaseWeapon weapon = Loot.RandomWeapon(true);
                BaseRunicTool.ApplyAttributesTo(weapon, 3, 25, 30);

                PackItem(weapon);
            }

            if (Utility.RandomDouble() < 0.05)
            {
                BaseClothing clothing = Loot.RandomClothing(true);
                BaseRunicTool.ApplyAttributesTo(clothing, 3, 25, 30);

                PackItem(clothing);
            }

            if (Utility.RandomDouble() < 0.05)
            {
                BaseShield shield = new ScarabShield();
                if (Core.AOS)
                {
                    BaseRunicTool.ApplyAttributesTo(shield, 5, 25, 30);
                }

                PackItem(shield);
            }

            if (Utility.RandomDouble() < 0.05)
            {
                BaseJewel bracelet = new GoldBracelet();
                if (Core.AOS)
                {
                    BaseRunicTool.ApplyAttributesTo(bracelet, 5, 25, 30);
                }

                PackItem(bracelet);
            }

            if (Utility.RandomDouble() < 0.05)
            {
                BaseJewel earrings = new GoldEarrings();
                if (Core.AOS)
                {
                    BaseRunicTool.ApplyAttributesTo(earrings, 5, 25, 30);
                }

                PackItem(earrings);
            }

            if (Utility.RandomDouble() < 0.05)
            {
                BaseJewel necklace = new GoldNecklace();
                if (Core.AOS)
                {
                    BaseRunicTool.ApplyAttributesTo(necklace, 5, 25, 30);
                }

                PackItem(necklace);
            }

            if (Utility.RandomDouble() < 0.05)
            {
                BaseJewel ring = new GoldRing();
                if (Core.AOS)
                {
                    BaseRunicTool.ApplyAttributesTo(ring, 5, 25, 30);
                }

                PackItem(ring);
            }

            if (0.08 > Utility.RandomDouble())
            {
                switch (Utility.Random(4))
                {
                case 0: PackItem(new FrostAbyssalRingmailGloves()); break;

                case 1: PackItem(new FrostAbyssalRingmailLeggings()); break;

                case 2: PackItem(new FrostAbyssalRingmailSleeves()); break;

                case 3: PackItem(new FrostAbyssalRingmailTunic()); break;
                }
            }
        }