Inheritance: BaseArmor
 public override void InitOutfit()
 {
     Item item = null;
     item = AddRandomHair();
     item.Hue = Utility.RandomHairHue();
     item = AddRandomFacialHair( item.Hue );
     item = new PlateChest();
     AddItem( item );
     item = new PlateLegs();
     AddItem( item );
     item = new PlateArms();
     AddItem( item );
     item = new PlateGloves();
     AddItem( item );
     switch ( Utility.Random( 6 ) )
     {
         case 0: item = new PlateHelm(); break;
         case 1: item = new ChainCoif(); break;
         case 2: item = new CloseHelm(); break;
         case 3: item = new Bascinet(); break;
         case 4: item = new NorseHelm(); break;
         case 5: default: item = new Helmet(); break;
     }
     AddItem( item );
     item = new Tunic();
     item.Hue = Utility.RandomNondyedHue();
     AddItem( item );
     item = new PlateGorget();
     AddItem( item );
     item = new DoubleAxe();
     AddItem( item );
     PackGold( 15, 100 );
 }
示例#2
0
        public SpectralArmour()
            : base(AIType.AI_Melee, FightMode.Closest, 10, 1, 0.2, 0.4)
        {
            this.Body = 637;
            this.Hue = 0x8026;
            this.Name = "spectral armour";

            Buckler buckler = new Buckler();
            ChainCoif coif = new ChainCoif();
            PlateGloves gloves = new PlateGloves();

            buckler.Hue = 0x835;
            buckler.Movable = false;
            coif.Hue = 0x835;
            gloves.Hue = 0x835;

            this.AddItem(buckler);
            this.AddItem(coif);
            this.AddItem(gloves);

            this.SetStr(101, 110);
            this.SetDex(101, 110);
            this.SetInt(101, 110);

            this.SetHits(178, 201);
            this.SetStam(191, 200);

            this.SetDamage(10, 22);

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

            this.SetResistance(ResistanceType.Physical, 35, 45);
            this.SetResistance(ResistanceType.Fire, 20, 30);
            this.SetResistance(ResistanceType.Cold, 30, 40);
            this.SetResistance(ResistanceType.Poison, 20, 30);
            this.SetResistance(ResistanceType.Energy, 20, 30);

            this.SetSkill(SkillName.Wrestling, 75.1, 100.0);
            this.SetSkill(SkillName.Tactics, 90.1, 100.0);
            this.SetSkill(SkillName.MagicResist, 90.1, 100);

            this.VirtualArmor = 40;
            this.Fame = 7000;
            this.Karma = -7000;
        }
示例#3
0
		public SpectralArmour() : base( AIType.AI_Melee, FightMode.Closest, 10, 1, 0.2, 0.4 )
		{
			Body = 637;
			Hue = 0x8026;

		    Alignment = Alignment.Undead;

			Buckler buckler = new Buckler();
			ChainCoif coif = new ChainCoif();
			PlateGloves gloves = new PlateGloves();

			buckler.Hue = 0x835;
			buckler.Movable = false;
			coif.Hue = 0x835;
			gloves.Hue = 0x835;

			AddItem( Immovable(buckler) );
			AddItem( Immovable(coif) );
			AddItem( Immovable(gloves) );

			SetStr( 101, 110 );
			SetDex( 101, 110 );
			SetInt( 101, 110 );

			SetHits( 178, 201 );
			SetStam( 191, 200 );

			SetDamage( 10, 22 );			

			SetSkill( SkillName.Wrestling, 75.1, 100.0 );
			SetSkill( SkillName.Tactics, 90.1, 100.0 );
			SetSkill( SkillName.MagicResist, 90.1, 100 );

			VirtualArmor = 40;
			Fame = 7000;
			Karma = -7000;
		}
示例#4
0
        public RatmenFortressBossChest() : base(0x2DF2)
        {
            Name    = "a boss treasure chest -25-";
            Movable = true;
            Weight  = 1000.0;

            TrapPower = 0;
            Locked    = true;

            RequiredSkill = 25;
            LockLevel     = 25;
            MaxLockLevel  = 30;

            // Gold
            if (Utility.RandomDouble() < 0.50)
            {
                DropItem(new Gold(Utility.Random(250, 400)));
            }

/////////////////////////////////////// Jewelry

            if (Utility.RandomDouble() < 0.04)
            {
                DropItem(new Agate());
            }
            if (Utility.RandomDouble() < 0.04)
            {
                DropItem(new Beryl());
            }
            if (Utility.RandomDouble() < 0.04)
            {
                DropItem(new ChromeDiopside());
            }
            if (Utility.RandomDouble() < 0.04)
            {
                DropItem(new FireOpal());
            }
            if (Utility.RandomDouble() < 0.04)
            {
                DropItem(new MoonstoneCustom());
            }
            if (Utility.RandomDouble() < 0.04)
            {
                DropItem(new Onyx());
            }
            if (Utility.RandomDouble() < 0.04)
            {
                DropItem(new Opal());
            }
            if (Utility.RandomDouble() < 0.04)
            {
                DropItem(new Pearl());
            }
            if (Utility.RandomDouble() < 0.04)
            {
                DropItem(new TurquoiseCustom());
            }

            if (Utility.RandomDouble() < 0.03)
            {
                DropItem(new Bloodstone());
            }
            if (Utility.RandomDouble() < 0.03)
            {
                DropItem(new Citrine());
            }
            if (Utility.RandomDouble() < 0.03)
            {
                DropItem(new Demantoid());
            }
            if (Utility.RandomDouble() < 0.03)
            {
                DropItem(new Jasper());
            }
            if (Utility.RandomDouble() < 0.03)
            {
                DropItem(new Lolite());
            }
            if (Utility.RandomDouble() < 0.03)
            {
                DropItem(new Lupis());
            }
            if (Utility.RandomDouble() < 0.03)
            {
                DropItem(new Peridot());
            }
            if (Utility.RandomDouble() < 0.03)
            {
                DropItem(new Tsavorite());
            }
            if (Utility.RandomDouble() < 0.03)
            {
                DropItem(new Zircon());
            }

            if (Utility.RandomDouble() < 0.02)
            {
                DropItem(new Amber());
            }
            if (Utility.RandomDouble() < 0.02)
            {
                DropItem(new Amethyst());
            }
            if (Utility.RandomDouble() < 0.02)
            {
                DropItem(new Andalusite());
            }
            if (Utility.RandomDouble() < 0.02)
            {
                DropItem(new Chrysoberyl());
            }
            if (Utility.RandomDouble() < 0.02)
            {
                DropItem(new Garnet());
            }
            if (Utility.RandomDouble() < 0.02)
            {
                DropItem(new Jade());
            }
            if (Utility.RandomDouble() < 0.02)
            {
                DropItem(new Mandarin());
            }
            if (Utility.RandomDouble() < 0.02)
            {
                DropItem(new Morganite());
            }
            if (Utility.RandomDouble() < 0.02)
            {
                DropItem(new Paraiba());
            }
            if (Utility.RandomDouble() < 0.02)
            {
                DropItem(new TigerEye());
            }
            if (Utility.RandomDouble() < 0.02)
            {
                DropItem(new Tourmaline());
            }

            if (Utility.RandomDouble() < 0.01)
            {
                DropItem(new Alexandrite());
            }
            if (Utility.RandomDouble() < 0.01)
            {
                DropItem(new Ametrine());
            }
            if (Utility.RandomDouble() < 0.01)
            {
                DropItem(new Kunzite());
            }
            if (Utility.RandomDouble() < 0.01)
            {
                DropItem(new Ruby());
            }
            if (Utility.RandomDouble() < 0.01)
            {
                DropItem(new Sapphire());
            }
            if (Utility.RandomDouble() < 0.01)
            {
                DropItem(new Tanzanite());
            }
            if (Utility.RandomDouble() < 0.01)
            {
                DropItem(new Topaz());
            }
            if (Utility.RandomDouble() < 0.01)
            {
                DropItem(new Zultanite());
            }

            if (Utility.RandomDouble() < 0.01)
            {
                DropItem(new Diamond());
            }
            if (Utility.RandomDouble() < 0.01)
            {
                DropItem(new Emerald());
            }
            if (Utility.RandomDouble() < 0.01)
            {
                DropItem(new PinkQuartz());
            }
            if (Utility.RandomDouble() < 0.01)
            {
                DropItem(new StarSapphire());
            }

/////////////////////////////////////// Supplies

            if (Utility.RandomDouble() < 0.15)
            {
                DropItem(new Arrow(Utility.Random(35, 50)));
            }

            if (Utility.RandomDouble() < 0.15)
            {
                DropItem(new Bolt(Utility.Random(35, 50)));
            }

            Item ReagentLoot = Loot.RandomReagent();

            ReagentLoot.Amount = Utility.Random(35, 40);
            DropItem(ReagentLoot);

            if (Utility.RandomDouble() < 0.15)
            {
                DropItem(new Bandage(Utility.Random(25, 40)));
            }

            if (Utility.RandomDouble() < 0.15)
            {
                DropItem(new Bedroll());
            }

            if (Utility.RandomDouble() < 0.15)
            {
                DropItem(new Bottle(Utility.Random(15, 25)));
            }

            if (Utility.RandomDouble() < 0.15)
            {
                DropItem(new Lockpick(Utility.Random(15, 25)));
            }

            Item PotionLoot1 = Loot.RandomPotion();

            DropItem(PotionLoot1);

            Item PotionLoot2 = Loot.RandomPotion();

            DropItem(PotionLoot2);

            Item PotionLoot3 = Loot.RandomPotion();

            DropItem(PotionLoot3);

/////////////////////////////////////// Tools

            if (Utility.RandomDouble() < 0.15)
            {
                DropItem(new FishingPole());
            }

            if (Utility.RandomDouble() < 0.15)
            {
                DropItem(new Shovel());
            }

            if (Utility.RandomDouble() < 0.15)
            {
                DropItem(new Skillet());
            }

/////////////////////////////////////// Rare Items

            if (Utility.RandomDouble() < 0.01)
            {
                DropItem(new DyeTub());
            }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

                case 34: weapon = new ElvenMachete(); break;

                case 35: weapon = new ElvenSpellblade(); break;

                case 36: weapon = new RuneBlade(); break;

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

                BaseRunicTool.ApplyAttributesTo(weapon, 5, 15, 20);

                DropItem(weapon);
            }

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

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

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

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

                case 4: armor = new StuddedGorget(); break;

                case 5: armor = new ChainCoif(); break;

                case 6: armor = new ChainChest(); break;

                case 7: armor = new ChainLegs(); break;

                case 8: armor = new RingmailArms(); break;

                case 9: armor = new RingmailChest(); break;

                case 10: armor = new RingmailGloves(); break;

                case 11: armor = new RingmailLegs(); break;

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

                BaseRunicTool.ApplyAttributesTo(armor, 5, 15, 20);

                DropItem(armor);
            }

            if (Utility.RandomDouble() < 0.20)
            {
                BaseHat hat = Loot.RandomHat(true);
                switch (Utility.Random(5))
                {
                case 0: hat = new BearMask(); break;

                case 1: hat = new DeerMask(); break;

                case 2: hat = new FeatheredHat(); break;

                case 3: hat = new WizardsHat(); break;

                default: hat = new TribalMask(); break;
                }

                BaseRunicTool.ApplyAttributesTo(hat, 5, 15, 20);

                DropItem(hat);
            }

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

                DropItem(clothing);
            }

            if (Utility.RandomDouble() < 0.20)
            {
                BaseShield shield = new HeaterShield();
                if (Core.AOS)
                {
                    BaseRunicTool.ApplyAttributesTo(shield, 5, 15, 20);
                }

                DropItem(shield);
            }

            if (Utility.RandomDouble() < 0.20)
            {
                BaseJewel bracelet = new SilverBracelet();
                if (Core.AOS)
                {
                    BaseRunicTool.ApplyAttributesTo(bracelet, 5, 15, 20);
                }

                DropItem(bracelet);
            }

            if (Utility.RandomDouble() < 0.20)
            {
                BaseJewel earrings = new SilverEarrings();
                if (Core.AOS)
                {
                    BaseRunicTool.ApplyAttributesTo(earrings, 5, 15, 20);
                }

                DropItem(earrings);
            }

            if (Utility.RandomDouble() < 0.20)
            {
                BaseJewel necklace = new SilverNecklace();
                if (Core.AOS)
                {
                    BaseRunicTool.ApplyAttributesTo(necklace, 5, 15, 20);
                }

                DropItem(necklace);
            }

            if (Utility.RandomDouble() < 0.20)
            {
                BaseJewel ring = new SilverRing();
                if (Core.AOS)
                {
                    BaseRunicTool.ApplyAttributesTo(ring, 5, 15, 20);
                }

                DropItem(ring);
            }
        }
示例#5
0
        public static void EquipVhalurian(Armament a, Mobile m)
        {
            if (a == Armament.LightCavalry)
                a = (Armament)1;
            else if (a == Armament.HeavyCavalry)
                a = (Armament)3;

            Surcoat coat = new Surcoat();
            coat.Name = "A Surcoat of the Rivergate Militia";
            coat.Hue = 2932;
            coat.ItemID = 15479;
            m.EquipItem(coat);

            switch (a)
            {
                case Armament.Light:
                    {
                        LeatherBoots boots = new LeatherBoots();
                        boots.Resource = CraftResource.BeastLeather;
                        boots.Hue = 2101;

                        m.EquipItem(boots);

                        Beret beret = new Beret();
                        beret.Hue = 2932;
                        m.EquipItem(beret);

                        StuddedChest sc = new StuddedChest();
                        sc.Resource = CraftResource.BeastLeather;
                        sc.Hue = 2101;
                        m.EquipItem(sc);

                        StuddedLegs sl = new StuddedLegs();
                        sl.Resource = CraftResource.BeastLeather;
                        sl.Hue = 2101;
                        m.EquipItem(sl);

                        StuddedArms sa = new StuddedArms();
                        sa.Resource = CraftResource.BeastLeather;
                        sa.Hue = 2101;
                        m.EquipItem(sa);

                        StuddedGloves sg = new StuddedGloves();
                        sg.Resource = CraftResource.BeastLeather;
                        sg.Hue = 2101;
                        m.EquipItem(sg);

                        StuddedGorget so = new StuddedGorget();
                        so.Resource = CraftResource.BeastLeather;
                        so.Hue = 2101;
                        m.EquipItem(so);

                        VhalurianMace vm = new VhalurianMace();
                        vm.Resource = CraftResource.Iron;
                        vm.Hue = 0;
                        m.EquipItem(vm);

                        WoodenShield ws = new WoodenShield();
                        ws.Resource = CraftResource.Oak;
                        ws.Hue = 0;
                        m.EquipItem(ws);

                        break;
                    }
                case Armament.Medium:
                    {
                        ChainChest cc = new ChainChest();
                        cc.Resource = CraftResource.Bronze;
                        cc.Hue = 2101;
                        m.EquipItem(cc);

                        ChainLegs cl = new ChainLegs();
                        cl.Resource = CraftResource.Bronze;
                        cl.Hue = 2101;
                        m.EquipItem(cl);

                        ChainCoif co = new ChainCoif();
                        co.Resource = CraftResource.Bronze;
                        co.Hue = 2101;
                        m.EquipItem(co);

                        RingmailArms ra = new RingmailArms();
                        ra.Resource = CraftResource.Bronze;
                        ra.Hue = 2101;
                        m.EquipItem(ra);

                        RingmailGloves rg = new RingmailGloves();
                        rg.Resource = CraftResource.Bronze;
                        rg.Hue = 2101;
                        m.EquipItem(rg);

                        VhalurianMetalKiteShield vmks = new VhalurianMetalKiteShield();
                        vmks.Resource = CraftResource.Bronze;
                        vmks.Hue = 2101;
                        m.EquipItem(vmks);

                        LeatherBoots boots = new LeatherBoots();
                        boots.Resource = CraftResource.BeastLeather;
                        boots.Hue = 2101;

                        m.EquipItem(boots);

                        if (m.Female)
                        {
                            VhalurianGladius sword = new VhalurianGladius();
                            sword.Resource = CraftResource.Bronze;

                            m.EquipItem(sword);
                        }

                        else
                        {
                            VhalurianBroadsword sword = new VhalurianBroadsword();
                            sword.Resource = CraftResource.Bronze;

                            m.EquipItem(sword);
                        }

                        break;
                    }
                case Armament.Heavy:
                    {
                        VhalurianOrnatePlateChest vopc = new VhalurianOrnatePlateChest();
                        vopc.Resource = CraftResource.Bronze;
                        vopc.Hue = 2101;
                        m.EquipItem(vopc);

                        VhalurianOrnatePlateLegs vopl = new VhalurianOrnatePlateLegs();
                        vopl.Resource = CraftResource.Bronze;
                        vopl.Hue = 2101;
                        m.EquipItem(vopl);

                        VhalurianOrnatePlateGorget vopo = new VhalurianOrnatePlateGorget();
                        vopo.Resource = CraftResource.Bronze;
                        vopo.Hue = 2101;
                        m.EquipItem(vopo);

                        PlateSabatons ps = new PlateSabatons();
                        ps.Resource = CraftResource.Bronze;
                        ps.Hue = 2105;
                        m.EquipItem(ps);

                        VhalurianOrnatePlateArms vopa = new VhalurianOrnatePlateArms();
                        vopa.Resource = CraftResource.Bronze;
                        vopa.Hue = 2101;
                        m.EquipItem(vopa);

                        VhalurianOrnatePlateGloves vopg = new VhalurianOrnatePlateGloves();
                        vopg.Resource = CraftResource.Bronze;
                        vopg.Hue = 2101;
                        m.EquipItem(vopg);

                        VhalurianOrnateKiteShield voks = new VhalurianOrnateKiteShield();
                        voks.Resource = CraftResource.Bronze;
                        voks.Hue = 2102;
                        m.EquipItem(voks);

                        m.EquipItem(new Cloak(1133));

                        if (m.Female)
                        {
                            VhalurianWarHammer hammer = new VhalurianWarHammer();
                            hammer.Resource = CraftResource.Bronze;
                            m.EquipItem(hammer);

                            VhalurianOrnateHelm voh = new VhalurianOrnateHelm();
                            voh.Resource = CraftResource.Bronze;
                            voh.Hue = 2102;
                            m.EquipItem(voh);
                        }

                        else
                        {
                            VhalurianBastardSword sword = new VhalurianBastardSword();
                            sword.Resource = CraftResource.Bronze;
                            m.EquipItem(sword);

                            VhalurianOrnatePlateHelm voph = new VhalurianOrnatePlateHelm();
                            voph.Resource = CraftResource.Bronze;
                            voph.Hue = 2102;
                            m.EquipItem(voph);
                        }

                        break;
                    }
                case Armament.Ranged:
                    {
                        LeatherBoots boots = new LeatherBoots();
                        boots.Resource = CraftResource.BeastLeather;
                        boots.Hue = 2101;
                        m.EquipItem(boots);

                        LeatherCap cap = new LeatherCap();
                        cap.Resource = CraftResource.RegularLeather;
                        cap.Hue = 2101;
                        m.EquipItem(cap);

                        LeatherChest lc = new LeatherChest();
                        lc.Resource = CraftResource.RegularLeather;
                        lc.Hue = 2101;
                        m.EquipItem(lc);

                        Quiver qv = new Quiver();
                        qv.Layer = Layer.Earrings;
                        m.EquipItem(qv);

                        LongPants lp = new LongPants();
                        lp.Resource = CraftResource.Cotton;
                        lp.Hue = 2101;
                        m.EquipItem(lp);

                        LeatherArms la = new LeatherArms();
                        la.Resource = CraftResource.RegularLeather;
                        la.Hue = 2101;
                        m.EquipItem(la);

                        LeatherGloves lg = new LeatherGloves();
                        lg.Resource = CraftResource.RegularLeather;
                        lg.Hue = 2101;
                        m.EquipItem(lg);

                        VhalurianLongbow bow = new VhalurianLongbow();
                        bow.Resource = CraftResource.Yew;
                        m.EquipItem(bow);

                        if (m is BaseCreature)
                        {
                            BaseCreature bc = m as BaseCreature;
                            bc.AI = AIType.AI_Archer;
                            bc.PackItem(new Arrow(Utility.RandomMinMax(10, 20)));
                        }

                        break;
                    }
            }
        }
示例#6
0
        public static void EquipImperial(Armament a, Mobile m)
        {
            if (a == Armament.LightCavalry)
                a = (Armament)1;
            else if (a == Armament.HeavyCavalry)
                a = (Armament)3;

            Surcoat coat = new Surcoat();
            coat.ItemID = 15476;
            coat.Name = "A Surcoat of the Imperial Legion";
            coat.Hue = 2751;
            m.EquipItem(coat);

            switch (a)
            {
                case Armament.Light:
                    {
                        LeatherBoots boots = new LeatherBoots();
                        boots.Resource = CraftResource.BeastLeather;
                        boots.Hue = 1899;
                        m.EquipItem(boots);

                        WolfMask mask = new WolfMask();
                        mask.Hue = 1899;
                        m.EquipItem(mask);

                        StuddedChest sc = new StuddedChest();
                        sc.Resource = CraftResource.BeastLeather;
                        sc.Hue = 1899;
                        m.EquipItem(sc);

                        StuddedLegs sl = new StuddedLegs();
                        sl.Resource = CraftResource.BeastLeather;
                        sl.Hue = 1899;
                        m.EquipItem(sl);

                        StuddedArms sa = new StuddedArms();
                        sa.Resource = CraftResource.BeastLeather;
                        sa.Hue = 1899;
                        m.EquipItem(sa);

                        StuddedGloves sg = new StuddedGloves();
                        sg.Resource = CraftResource.BeastLeather;
                        sg.Hue = 1899;
                        m.EquipItem(sg);

                        StuddedGorget so = new StuddedGorget();
                        so.Resource = CraftResource.BeastLeather;
                        so.Hue = 1899;
                        m.EquipItem(so);

                        VhalurianGladius vg = new VhalurianGladius();
                        vg.Resource = CraftResource.Iron;
                        vg.Hue = 0;
                        m.EquipItem(vg);

                        WoodenShield ws = new WoodenShield();
                        ws.Resource = CraftResource.Ash;
                        m.EquipItem(ws);

                        break;
                    }
                case Armament.Medium:
                    {
                        ChainChest cc = new ChainChest();
                        cc.Resource = CraftResource.Bronze;
                        cc.Hue = 1899;
                        m.EquipItem(cc);

                        ChainLegs cl = new ChainLegs();
                        cl.Resource = CraftResource.Bronze;
                        cl.Hue = 1899;
                        m.EquipItem(cl);

                        ChainCoif co = new ChainCoif();
                        co.Resource = CraftResource.Bronze;
                        co.Hue = 1899;
                        m.EquipItem(co);

                        RingmailArms ra = new RingmailArms();
                        ra.Resource = CraftResource.Bronze;
                        ra.Hue = 1899;
                        m.EquipItem(ra);

                        RingmailGloves rg = new RingmailGloves();
                        rg.Resource = CraftResource.Bronze;
                        rg.Hue = 1899;
                        m.EquipItem(rg);

                        TyreanKiteShield vmks = new TyreanKiteShield();
                        vmks.Resource = CraftResource.Bronze;
                        vmks.Hue = 1899;
                        m.EquipItem(vmks);

                        LeatherBoots boots = new LeatherBoots();
                        boots.Resource = CraftResource.BeastLeather;
                        boots.Hue = 1899;
                        m.EquipItem(boots);

                        TyreanOrnateAxe axe = new TyreanOrnateAxe();
                        axe.Resource = CraftResource.Iron;
                        m.EquipItem(axe);

                        break;
                    }
                case Armament.Heavy:
                    {
                        VhalurianOrnatePlateLegs vopl = new VhalurianOrnatePlateLegs();
                        vopl.Resource = CraftResource.Bronze;
                        vopl.Hue = 1899;
                        m.EquipItem(vopl);

                        VhalurianOrnatePlateGorget vopo = new VhalurianOrnatePlateGorget();
                        vopo.Resource = CraftResource.Bronze;
                        vopo.Hue = 1899;
                        m.EquipItem(vopo);

                        PlateSabatons ps = new PlateSabatons();
                        ps.Resource = CraftResource.Bronze;
                        ps.Hue = 1899;
                        m.EquipItem(ps);

                        VhalurianOrnateKiteShield voks = new VhalurianOrnateKiteShield();
                        voks.Resource = CraftResource.Bronze;
                        voks.Hue = 1899;
                        m.EquipItem(voks);

                        VhalurianWarHammer hammer = new VhalurianWarHammer();
                        hammer.Resource = CraftResource.Iron;
                        m.EquipItem(hammer);

                        TyreanHalfPlateChest thpc = new TyreanHalfPlateChest();
                        thpc.Resource = CraftResource.Bronze;
                        thpc.Hue = 1899;
                        m.EquipItem(thpc);

                        TyreanHalfPlateArms thpa = new TyreanHalfPlateArms();
                        thpa.Resource = CraftResource.Bronze;
                        thpa.Hue = 1899;
                        m.EquipItem(thpa);

                        TyreanHalfPlateGloves thpg = new TyreanHalfPlateGloves();
                        thpg.Resource = CraftResource.Bronze;
                        thpg.Hue = 1899;
                        m.EquipItem(thpg);

                        TyreanWingedHelm twh = new TyreanWingedHelm();
                        twh.Resource = CraftResource.Bronze;
                        twh.Hue = 1899;
                        m.EquipItem(twh);

                        m.EquipItem(new ElegantCloak(2751));

                        break;
                    }
                case Armament.Ranged:
                    {
                        FurBoots boots = new FurBoots();
                        boots.Resource = CraftResource.RegularLeather;
                        boots.Hue = 1899;
                        m.EquipItem(boots);

                        Bandana bandana = new Bandana();
                        bandana.Hue = 1899;
                        m.EquipItem(bandana);

                        LeatherChest lc = new LeatherChest();
                        lc.Resource = CraftResource.RegularLeather;
                        lc.Hue = 1899;
                        m.EquipItem(lc);

                        Quiver qv = new Quiver();
                        qv.Layer = Layer.Earrings;
                        m.EquipItem(qv);

                        RaggedPants rp = new RaggedPants();
                        rp.Resource = CraftResource.Cotton;
                        rp.Hue = 1899;
                        m.EquipItem(rp);

                        LeatherGloves lg = new LeatherGloves();
                        lg.Resource = CraftResource.RegularLeather;
                        lg.Hue = 1899;
                        m.EquipItem(lg);

                        VhalurianLongbow bow = new VhalurianLongbow();
                        bow.Resource = CraftResource.Yew;
                        m.EquipItem(bow);

                        if (m is BaseCreature)
                        {
                            BaseCreature bc = m as BaseCreature;
                            bc.AI = AIType.AI_Archer;
                            bc.PackItem(new Arrow(Utility.RandomMinMax(10, 20)));
                        }

                        break;
                    }
            }
        }
        public TerathanIslandTreasureChest() : base(0x2DF1)
        {
            Name    = "a treasure chest -30-";
            Movable = true;
            Hue     = 285;
            Weight  = 1000.0;

            TrapPower = 0;
            Locked    = true;

            RequiredSkill = 30;
            LockLevel     = 30;
            MaxLockLevel  = 35;

            // Gold
            if (Utility.RandomDouble() < 0.25)
            {
                DropItem(new Gold(Utility.Random(45, 450)));
            }

/////////////////////////////////////// Books

            if (Utility.RandomDouble() < 0.10)
            {
                DropItem(new TamersHandbookVol1());
            }

            if (Utility.RandomDouble() < 0.10)
            {
                DropItem(new TamersHandbookVol2());
            }

            if (Utility.RandomDouble() < 0.10)
            {
                DropItem(new TamersHandbookVol3());
            }

            if (Utility.RandomDouble() < 0.10)
            {
                DropItem(new TamersHandbookVol4());
            }

            if (Utility.RandomDouble() < 0.10)
            {
                DropItem(new TamersHandbookVol5());
            }

/////////////////////////////////////// Meats

            if (Utility.RandomDouble() < 0.15)
            {
                DropItem(new Bacon());
            }
            if (Utility.RandomDouble() < 0.15)
            {
                DropItem(new Sausage());
            }

/////////////////////////////////////// Eating Utensils

            if (Utility.RandomDouble() < 0.08)
            {
                DropItem(new KnifeLeft());
            }
            if (Utility.RandomDouble() < 0.08)
            {
                DropItem(new KnifeRight());
            }
            if (Utility.RandomDouble() < 0.08)
            {
                DropItem(new PewterMug());
            }
            if (Utility.RandomDouble() < 0.08)
            {
                DropItem(new Plate());
            }
            if (Utility.RandomDouble() < 0.08)
            {
                DropItem(new SpoonLeft());
            }
            if (Utility.RandomDouble() < 0.08)
            {
                DropItem(new SpoonRight());
            }

/////////////////////////////////////// Jewelry

            if (Utility.RandomDouble() < 0.04)
            {
                DropItem(new Agate());
            }
            if (Utility.RandomDouble() < 0.04)
            {
                DropItem(new Beryl());
            }
            if (Utility.RandomDouble() < 0.04)
            {
                DropItem(new ChromeDiopside());
            }
            if (Utility.RandomDouble() < 0.04)
            {
                DropItem(new FireOpal());
            }
            if (Utility.RandomDouble() < 0.04)
            {
                DropItem(new MoonstoneCustom());
            }
            if (Utility.RandomDouble() < 0.04)
            {
                DropItem(new Onyx());
            }
            if (Utility.RandomDouble() < 0.04)
            {
                DropItem(new Opal());
            }
            if (Utility.RandomDouble() < 0.04)
            {
                DropItem(new Pearl());
            }
            if (Utility.RandomDouble() < 0.04)
            {
                DropItem(new TurquoiseCustom());
            }

            if (Utility.RandomDouble() < 0.03)
            {
                DropItem(new Bloodstone());
            }
            if (Utility.RandomDouble() < 0.03)
            {
                DropItem(new Citrine());
            }
            if (Utility.RandomDouble() < 0.03)
            {
                DropItem(new Demantoid());
            }
            if (Utility.RandomDouble() < 0.03)
            {
                DropItem(new Jasper());
            }
            if (Utility.RandomDouble() < 0.03)
            {
                DropItem(new Lolite());
            }
            if (Utility.RandomDouble() < 0.03)
            {
                DropItem(new Lupis());
            }
            if (Utility.RandomDouble() < 0.03)
            {
                DropItem(new Peridot());
            }
            if (Utility.RandomDouble() < 0.03)
            {
                DropItem(new Tsavorite());
            }
            if (Utility.RandomDouble() < 0.03)
            {
                DropItem(new Zircon());
            }


/////////////////////////////////////// Supplies

            if (Utility.RandomDouble() < 0.15)
            {
                DropItem(new Arrow(Utility.Random(17, 22)));
            }

            if (Utility.RandomDouble() < 0.15)
            {
                DropItem(new Bolt(Utility.Random(17, 22)));
            }

            Item ReagentLoot = Loot.RandomReagent();

            ReagentLoot.Amount = Utility.Random(17, 22);
            DropItem(ReagentLoot);

            if (Utility.RandomDouble() < 0.15)
            {
                DropItem(new Bandage(Utility.Random(17, 22)));
            }

            if (Utility.RandomDouble() < 0.15)
            {
                DropItem(new Bedroll());
            }

            if (Utility.RandomDouble() < 0.15)
            {
                DropItem(new Bottle(Utility.Random(17, 22)));
            }

            if (Utility.RandomDouble() < 0.15)
            {
                DropItem(new Lockpick(Utility.Random(17, 22)));
            }

            Item PotionLoot = Loot.RandomPotion();

            DropItem(PotionLoot);

            if (Utility.RandomDouble() < 0.20)
            {
                DropItem(new LesserPoisonPotion());
            }

            if (Utility.RandomDouble() < 0.15)
            {
                DropItem(new PoisonPotion());
            }

/////////////////////////////////////// Tools

            if (Utility.RandomDouble() < 0.15)
            {
                DropItem(new FishingPole());
            }

            if (Utility.RandomDouble() < 0.15)
            {
                DropItem(new Shovel());
            }

            if (Utility.RandomDouble() < 0.15)
            {
                DropItem(new Skillet());
            }

/////////////////////////////////////// Rare Items

            if (Utility.RandomDouble() < 0.01)
            {
                DropItem(new DyeTub());
            }

            if (Utility.RandomDouble() < 0.15)
            {
                BaseWeapon weapon = Loot.RandomWeapon(true);
                switch (Utility.Random(38))
                {
                case 0: weapon = new Hatchet(); break;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

                case 34: weapon = new ElvenMachete(); break;

                case 35: weapon = new ElvenSpellblade(); break;

                case 36: weapon = new RuneBlade(); break;

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

                BaseRunicTool.ApplyAttributesTo(weapon, 2, 22, 25);
                weapon.Hue = 285;

                weapon.WeaponAttributes.HitLeechStam = 5;
                weapon.Attributes.BonusHits          = 10;

                DropItem(weapon);
            }

            if (Utility.RandomDouble() < 0.15)
            {
                BaseArmor armor = Loot.RandomArmor(true);
                switch (Utility.Random(13))
                {
                case 0: armor = new FemaleStuddedChest(); break;

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

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

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

                case 4: armor = new StuddedGorget(); break;

                case 5: armor = new ChainCoif(); break;

                case 6: armor = new ChainChest(); break;

                case 7: armor = new ChainLegs(); break;

                case 8: armor = new RingmailArms(); break;

                case 9: armor = new RingmailChest(); break;

                case 10: armor = new RingmailGloves(); break;

                case 11: armor = new RingmailLegs(); break;

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

                BaseRunicTool.ApplyAttributesTo(armor, 3, 22, 25);
                armor.Hue = 285;

                armor.Attributes.WeaponDamage = 3;

                DropItem(armor);
            }

            if (Utility.RandomDouble() < 0.15)
            {
                BaseHat hat = Loot.RandomHat(true);
                switch (Utility.Random(5))
                {
                case 0: hat = new BearMask(); break;

                case 1: hat = new DeerMask(); break;

                case 2: hat = new FeatheredHat(); break;

                case 3: hat = new WizardsHat(); break;

                default: hat = new TribalMask(); break;
                }

                BaseRunicTool.ApplyAttributesTo(hat, 3, 22, 25);
                hat.Hue = 285;

                hat.Attributes.BonusHits   = 10;
                hat.Attributes.SpellDamage = 5;
                hat.Resistances.Energy     = 10;

                DropItem(hat);
            }

            if (Utility.RandomDouble() < 0.15)
            {
                BaseClothing clothing = Loot.RandomClothing(true);
                BaseRunicTool.ApplyAttributesTo(clothing, 3, 22, 25);
                clothing.Hue = 285;

                clothing.Attributes.BonusHits    = 5;
                clothing.Attributes.DefendChance = 3;
                clothing.Resistances.Physical    = 5;

                DropItem(clothing);
            }

            if (Utility.RandomDouble() < 0.15)
            {
                BaseShield shield = new WoodenKiteShield();
                if (Core.AOS)
                {
                    BaseRunicTool.ApplyAttributesTo(shield, 3, 22, 25);
                }
                shield.Hue = 285;

                shield.Attributes.BonusHits = 10;

                DropItem(shield);
            }

            if (Utility.RandomDouble() < 0.15)
            {
                BaseJewel bracelet = new GoldBracelet();
                if (Core.AOS)
                {
                    BaseRunicTool.ApplyAttributesTo(bracelet, 3, 22, 25);
                }
                bracelet.Hue = 285;

                bracelet.Attributes.WeaponDamage = 5;
                bracelet.Attributes.DefendChance = 2;
                bracelet.Resistances.Fire        = 5;

                DropItem(bracelet);
            }

            if (Utility.RandomDouble() < 0.15)
            {
                BaseJewel earrings = new SilverEarrings();
                if (Core.AOS)
                {
                    BaseRunicTool.ApplyAttributesTo(earrings, 3, 22, 25);
                }
                earrings.Hue = 285;

                earrings.Attributes.WeaponDamage = 5;
                earrings.Attributes.DefendChance = 3;
                earrings.Resistances.Cold        = 5;

                DropItem(earrings);
            }

            if (Utility.RandomDouble() < 0.15)
            {
                BaseJewel necklace = new GoldNecklace();
                if (Core.AOS)
                {
                    BaseRunicTool.ApplyAttributesTo(necklace, 3, 22, 25);
                }
                necklace.Hue = 285;

                necklace.Attributes.WeaponDamage = 5;
                necklace.Attributes.DefendChance = 5;
                necklace.Resistances.Energy      = 5;

                DropItem(necklace);
            }

            if (Utility.RandomDouble() < 0.15)
            {
                BaseJewel ring = new SilverRing();
                if (Core.AOS)
                {
                    BaseRunicTool.ApplyAttributesTo(ring, 3, 22, 25);
                }
                ring.Hue = 285;

                ring.Attributes.WeaponDamage = 5;
                ring.Attributes.DefendChance = 2;
                ring.Resistances.Poison      = 5;

                DropItem(ring);
            }
        }
        public IguanaCoveBossChest() : base(0xE43)
        {
            Name    = "a treasure chest -50-";
            Movable = true;
            Weight  = 1000.0;

            TrapPower = 0;
            Locked    = true;

            RequiredSkill = 50;
            LockLevel     = 50;
            MaxLockLevel  = 80;

/////////////////////////////////// Gold
            if (Utility.RandomDouble() < 0.25)
            {
                DropItem(new Gold(Utility.Random(250, 400)));
            }

/////////////////////////////////////// Jewelry

            if (Utility.RandomDouble() < 0.04)
            {
                DropItem(new Agate());
            }
            if (Utility.RandomDouble() < 0.04)
            {
                DropItem(new Beryl());
            }
            if (Utility.RandomDouble() < 0.04)
            {
                DropItem(new ChromeDiopside());
            }
            if (Utility.RandomDouble() < 0.04)
            {
                DropItem(new FireOpal());
            }
            if (Utility.RandomDouble() < 0.04)
            {
                DropItem(new MoonstoneCustom());
            }
            if (Utility.RandomDouble() < 0.04)
            {
                DropItem(new Onyx());
            }
            if (Utility.RandomDouble() < 0.04)
            {
                DropItem(new Opal());
            }
            if (Utility.RandomDouble() < 0.04)
            {
                DropItem(new Pearl());
            }
            if (Utility.RandomDouble() < 0.04)
            {
                DropItem(new TurquoiseCustom());
            }

            if (Utility.RandomDouble() < 0.03)
            {
                DropItem(new Bloodstone());
            }
            if (Utility.RandomDouble() < 0.03)
            {
                DropItem(new Citrine());
            }
            if (Utility.RandomDouble() < 0.03)
            {
                DropItem(new Demantoid());
            }
            if (Utility.RandomDouble() < 0.03)
            {
                DropItem(new Jasper());
            }
            if (Utility.RandomDouble() < 0.03)
            {
                DropItem(new Lolite());
            }
            if (Utility.RandomDouble() < 0.03)
            {
                DropItem(new Lupis());
            }
            if (Utility.RandomDouble() < 0.03)
            {
                DropItem(new Peridot());
            }
            if (Utility.RandomDouble() < 0.03)
            {
                DropItem(new Tsavorite());
            }
            if (Utility.RandomDouble() < 0.03)
            {
                DropItem(new Zircon());
            }

            if (Utility.RandomDouble() < 0.02)
            {
                DropItem(new Amber());
            }
            if (Utility.RandomDouble() < 0.02)
            {
                DropItem(new Amethyst());
            }
            if (Utility.RandomDouble() < 0.02)
            {
                DropItem(new Andalusite());
            }
            if (Utility.RandomDouble() < 0.02)
            {
                DropItem(new Chrysoberyl());
            }
            if (Utility.RandomDouble() < 0.02)
            {
                DropItem(new Garnet());
            }
            if (Utility.RandomDouble() < 0.02)
            {
                DropItem(new Jade());
            }
            if (Utility.RandomDouble() < 0.02)
            {
                DropItem(new Mandarin());
            }
            if (Utility.RandomDouble() < 0.02)
            {
                DropItem(new Morganite());
            }
            if (Utility.RandomDouble() < 0.02)
            {
                DropItem(new Paraiba());
            }
            if (Utility.RandomDouble() < 0.02)
            {
                DropItem(new TigerEye());
            }
            if (Utility.RandomDouble() < 0.02)
            {
                DropItem(new Tourmaline());
            }

            if (Utility.RandomDouble() < 0.01)
            {
                DropItem(new Alexandrite());
            }
            if (Utility.RandomDouble() < 0.01)
            {
                DropItem(new Ametrine());
            }
            if (Utility.RandomDouble() < 0.01)
            {
                DropItem(new Kunzite());
            }
            if (Utility.RandomDouble() < 0.01)
            {
                DropItem(new Ruby());
            }
            if (Utility.RandomDouble() < 0.01)
            {
                DropItem(new Sapphire());
            }
            if (Utility.RandomDouble() < 0.01)
            {
                DropItem(new Tanzanite());
            }
            if (Utility.RandomDouble() < 0.01)
            {
                DropItem(new Topaz());
            }
            if (Utility.RandomDouble() < 0.01)
            {
                DropItem(new Zultanite());
            }

            if (Utility.RandomDouble() < 0.01)
            {
                DropItem(new Diamond());
            }
            if (Utility.RandomDouble() < 0.01)
            {
                DropItem(new Emerald());
            }
            if (Utility.RandomDouble() < 0.01)
            {
                DropItem(new PinkQuartz());
            }
            if (Utility.RandomDouble() < 0.01)
            {
                DropItem(new StarSapphire());
            }

/////////////////////////////////////// Supplies

            switch (Utility.Random(18))
            {
            case 0: DropItem(new Board(80)); break;

            case 1: DropItem(new BoltOfCloth(80)); break;

            case 2: DropItem(new Bottle(80)); break;

            case 3: DropItem(new CopperWire(80)); break;

            case 4: DropItem(new Cotton(80)); break;

            case 5: DropItem(new DarkYarn(80)); break;

            case 6: DropItem(new Feather(80)); break;

            case 7: DropItem(new Flax(80)); break;

            case 8: DropItem(new Gears(80)); break;

            case 9: DropItem(new GoldWire(80)); break;

            case 10: DropItem(new IronIngot(80)); break;

            case 11: DropItem(new IronWire(80)); break;

            case 12: DropItem(new Leather(80)); break;

            case 13: DropItem(new LightYarn(80)); break;

            case 14: DropItem(new Shaft(80)); break;

            case 15: DropItem(new SilverWire(80)); break;

            case 16: DropItem(new SpoolOfThread(80)); break;

            case 17: DropItem(new Springs(80)); break;

            case 18: DropItem(new Wool(80)); break;
            }

            switch (Utility.Random(5))
            {
            case 0: DropItem(new ArcaneStone(25)); break;

            case 1: DropItem(new BeetleEgg(25)); break;

            case 2: DropItem(new DragonScale(25)); break;

            case 3: DropItem(new FishScale(25)); break;

            case 4: DropItem(new SerpentScale(25)); break;
            }

            Item ReagentLoot = Loot.RandomReagent();

            ReagentLoot.Amount = Utility.RandomMinMax(50, 100);
            DropItem(ReagentLoot);

            if (Utility.RandomDouble() < 0.05)
            {
                DropItem(new SackFlour());
            }

/////////////////////////////////////// Rare Items

            if (Utility.RandomDouble() < 0.01)
            {
                DropItem(new DyeTub());
            }

/////////////////////////////////////// LV 20-30
            if (Utility.RandomDouble() < 0.10)
            {
                BaseWeapon weapon = Loot.RandomWeapon(true);
                switch (Utility.Random(31))
                {
                case 0: weapon = new DoubleAxe(); break;                      // Lv20

                case 1: weapon = new TwoHandedAxe(); break;                   // Lv25

                case 2: weapon = new WarAxe(); break;                         // Lv30

                case 3: weapon = new CompositeBow(); break;                   // Lv20

                case 4: weapon = new EbonyCrossbow(); break;                  // Lv20

                case 5: weapon = new FireBow(); break;                        // Lv25

                case 6: weapon = new GrassBow(); break;                       // Lv25

                case 7: weapon = new IceBow(); break;                         // Lv25

                case 8: weapon = new LightningBow(); break;                   // Lv25

                case 9: weapon = new EbonyWarBow(); break;                    // Lv30

                case 10: weapon = new PistolCrossbow(); break;                // Lv30

                case 11: weapon = new EbonyDualDaggers(); break;              // Lv20

                case 12: weapon = new Tekagi(); break;                        // Lv25

                case 13: weapon = new ElvenSpellblade(); break;               // Lv30

                case 14: weapon = new WarMace(); break;                       // Lv20

                case 15: weapon = new Tessen(); break;                        // Lv25

                case 16: weapon = new HammerPick(); break;                    // Lv30

                case 17: weapon = new Spear(); break;                         // Lv20

                case 18: weapon = new BoneSpear(); break;                     // Lv25

                case 19: weapon = new BubbleStaff(); break;                   // Lv25

                case 20: weapon = new CrystalStaff(); break;                  // Lv25

                case 21: weapon = new EnergyStaff(); break;                   // Lv25

                case 22: weapon = new FireStaff(); break;                     // Lv25

                case 23: weapon = new VineStaff(); break;                     // Lv25

                case 24: weapon = new BlackStaff(); break;                    // Lv30

                case 25: weapon = new VikingSword(); break;                   // Lv20

                case 26: weapon = new Wakizashi(); break;                     // Lv20

                case 27: weapon = new Daisho(); break;                        // Lv30

                case 28: weapon = new EbonyScimitar(); break;                 // Lv30

                case 29: weapon = new RuneBlade(); break;                     // Lv30

                default: weapon = new Longsword(); break;                     // Lv20
                }

                BaseRunicTool.ApplyAttributesTo(weapon, 2, 5, 50);
                DropItem(weapon);
            }

/////////////////////////////////////// LV 18-27
            if (Utility.RandomDouble() < 0.10)
            {
                BaseArmor armor = Loot.RandomArmor(true);
                switch (Utility.Random(18))
                {
                case 0: armor = new HideFemaleChest(); break;                   // Lv18

                case 1: armor = new HideGloves(); break;                        // Lv18

                case 2: armor = new HideGorget(); break;                        // Lv18

                case 3: armor = new HidePants(); break;                         // Lv18

                case 4: armor = new HidePauldrons(); break;                     // Lv18

                case 5: armor = new StuddedDo(); break;                         // Lv21

                case 6: armor = new StuddedHaidate(); break;                    // Lv21

                case 7: armor = new StuddedHiroSode(); break;                   // Lv21

                case 8: armor = new StuddedMempo(); break;                      // Lv21

                case 9: armor = new StuddedSuneate(); break;                    // Lv21

                case 10: armor = new VikingStuddedArms(); break;                // Lv24

                case 11: armor = new VikingStuddedCap(); break;                 // Lv24

                case 12: armor = new VikingStuddedChest(); break;               // Lv24

                case 13: armor = new VikingStuddedLegs(); break;                // Lv24

                case 14: armor = new ChainChest(); break;                       // Lv27

                case 15: armor = new ChainCoif(); break;                        // Lv27

                case 16: armor = new ChainLegs(); break;                        // Lv27

                default: armor = new HideChest(); break;                        // Lv18
                }

                BaseRunicTool.ApplyAttributesTo(armor, 3, 5, 50);
                DropItem(armor);
            }

            if (Utility.RandomDouble() < 0.10)
            {
                BaseHat hat = Loot.RandomHat(true);
                BaseRunicTool.ApplyAttributesTo(hat, 3, 12, 15);
                DropItem(hat);
            }
            if (Utility.RandomDouble() < 0.10)
            {
                BaseClothing clothing = Loot.RandomClothing(true);
                BaseRunicTool.ApplyAttributesTo(clothing, 3, 12, 15);
                DropItem(clothing);
            }

            if (Utility.RandomDouble() < 0.05)
            {
                BaseShield shield1 = new MetalShield();
                if (Core.AOS)
                {
                    BaseRunicTool.ApplyAttributesTo(shield1, 3, 5, 50);
                }
                DropItem(shield1);
            }
            if (Utility.RandomDouble() < 0.05)
            {
                BaseShield shield2 = new WoodenKiteShield();
                if (Core.AOS)
                {
                    BaseRunicTool.ApplyAttributesTo(shield2, 3, 5, 50);
                }
                DropItem(shield2);
            }
            if (Utility.RandomDouble() < 0.05)
            {
                BaseShield shield3 = new MetalKiteShield();
                if (Core.AOS)
                {
                    BaseRunicTool.ApplyAttributesTo(shield3, 3, 5, 50);
                }
                DropItem(shield3);
            }

            if (Utility.RandomDouble() < 0.10)
            {
                BaseJewel bracelet = new SilverBracelet();
                if (Core.AOS)
                {
                    BaseRunicTool.ApplyAttributesTo(bracelet, 3, 12, 15);
                }
                DropItem(bracelet);
            }
            if (Utility.RandomDouble() < 0.10)
            {
                BaseJewel earrings = new SilverEarrings();
                if (Core.AOS)
                {
                    BaseRunicTool.ApplyAttributesTo(earrings, 3, 12, 15);
                }
                DropItem(earrings);
            }
            if (Utility.RandomDouble() < 0.10)
            {
                BaseJewel necklace = new SilverNecklace();
                if (Core.AOS)
                {
                    BaseRunicTool.ApplyAttributesTo(necklace, 3, 12, 15);
                }
                DropItem(necklace);
            }
            if (Utility.RandomDouble() < 0.10)
            {
                BaseJewel ring = new SilverRing();
                if (Core.AOS)
                {
                    BaseRunicTool.ApplyAttributesTo(ring, 3, 12, 15);
                }
                DropItem(ring);
            }
        }
        public IguanaCoveTreasureChest1() : base(0xE43)
        {
            Name    = "a treasure chest -40-";
            Movable = true;
            Weight  = 1000.0;

            TrapPower = 0;
            Locked    = true;

            RequiredSkill = 40;
            LockLevel     = 40;
            MaxLockLevel  = 80;

/////////////////////////////////// Gold
            if (Utility.RandomDouble() < 0.25)
            {
                DropItem(new Gold(Utility.Random(20, 300)));
            }

/////////////////////////////////////// Supplies

            switch (Utility.Random(19))
            {
            case 0: DropItem(new Board(70)); break;

            case 1: DropItem(new BoltOfCloth(70)); break;

            case 2: DropItem(new Bottle(70)); break;

            case 3: DropItem(new CopperWire(70)); break;

            case 4: DropItem(new Cotton(70)); break;

            case 5: DropItem(new DarkYarn(70)); break;

            case 6: DropItem(new Feather(70)); break;

            case 7: DropItem(new Flax(70)); break;

            case 8: DropItem(new Gears(70)); break;

            case 9: DropItem(new GoldWire(70)); break;

            case 10: DropItem(new IronIngot(70)); break;

            case 11: DropItem(new IronWire(70)); break;

            case 12: DropItem(new Leather(70)); break;

            case 13: DropItem(new LightYarn(70)); break;

            case 14: DropItem(new Shaft(70)); break;

            case 15: DropItem(new SilverWire(70)); break;

            case 16: DropItem(new SpoolOfThread(70)); break;

            case 17: DropItem(new Springs(70)); break;

            case 18: DropItem(new Wool(70)); break;
            }

            switch (Utility.Random(5))
            {
            case 0: DropItem(new ArcaneStone(15)); break;

            case 1: DropItem(new BeetleEgg(15)); break;

            case 2: DropItem(new DragonScale(15)); break;

            case 3: DropItem(new FishScale(15)); break;

            case 4: DropItem(new SerpentScale(15)); break;
            }

            Item ReagentLoot = Loot.RandomReagent();

            ReagentLoot.Amount = Utility.RandomMinMax(5, 10);
            DropItem(ReagentLoot);

            if (Utility.RandomDouble() < 0.05)
            {
                DropItem(new SackFlour());
            }

/////////////////////////////////////// Rare Items

            if (Utility.RandomDouble() < 0.01)
            {
                DropItem(new DyeTub());
            }

/////////////////////////////////////// LV 20-30
            if (Utility.RandomDouble() < 0.10)
            {
                BaseWeapon weapon = Loot.RandomWeapon(true);
                switch (Utility.Random(31))
                {
                case 0: weapon = new DoubleAxe(); break;                      // Lv20

                case 1: weapon = new TwoHandedAxe(); break;                   // Lv25

                case 2: weapon = new WarAxe(); break;                         // Lv30

                case 3: weapon = new CompositeBow(); break;                   // Lv20

                case 4: weapon = new EbonyCrossbow(); break;                  // Lv20

                case 5: weapon = new FireBow(); break;                        // Lv25

                case 6: weapon = new GrassBow(); break;                       // Lv25

                case 7: weapon = new IceBow(); break;                         // Lv25

                case 8: weapon = new LightningBow(); break;                   // Lv25

                case 9: weapon = new EbonyWarBow(); break;                    // Lv30

                case 10: weapon = new PistolCrossbow(); break;                // Lv30

                case 11: weapon = new EbonyDualDaggers(); break;              // Lv20

                case 12: weapon = new Tekagi(); break;                        // Lv25

                case 13: weapon = new ElvenSpellblade(); break;               // Lv30

                case 14: weapon = new WarMace(); break;                       // Lv20

                case 15: weapon = new Tessen(); break;                        // Lv25

                case 16: weapon = new HammerPick(); break;                    // Lv30

                case 17: weapon = new Spear(); break;                         // Lv20

                case 18: weapon = new BoneSpear(); break;                     // Lv25

                case 19: weapon = new BubbleStaff(); break;                   // Lv25

                case 20: weapon = new CrystalStaff(); break;                  // Lv25

                case 21: weapon = new EnergyStaff(); break;                   // Lv25

                case 22: weapon = new FireStaff(); break;                     // Lv25

                case 23: weapon = new VineStaff(); break;                     // Lv25

                case 24: weapon = new BlackStaff(); break;                    // Lv30

                case 25: weapon = new VikingSword(); break;                   // Lv20

                case 26: weapon = new Wakizashi(); break;                     // Lv20

                case 27: weapon = new Daisho(); break;                        // Lv30

                case 28: weapon = new EbonyScimitar(); break;                 // Lv30

                case 29: weapon = new RuneBlade(); break;                     // Lv30

                default: weapon = new Longsword(); break;                     // Lv20
                }

                BaseRunicTool.ApplyAttributesTo(weapon, 2, 5, 50);
                DropItem(weapon);
            }

/////////////////////////////////////// LV 18-27
            if (Utility.RandomDouble() < 0.10)
            {
                BaseArmor armor = Loot.RandomArmor(true);
                switch (Utility.Random(18))
                {
                case 0: armor = new HideFemaleChest(); break;                   // Lv18

                case 1: armor = new HideGloves(); break;                        // Lv18

                case 2: armor = new HideGorget(); break;                        // Lv18

                case 3: armor = new HidePants(); break;                         // Lv18

                case 4: armor = new HidePauldrons(); break;                     // Lv18

                case 5: armor = new StuddedDo(); break;                         // Lv21

                case 6: armor = new StuddedHaidate(); break;                    // Lv21

                case 7: armor = new StuddedHiroSode(); break;                   // Lv21

                case 8: armor = new StuddedMempo(); break;                      // Lv21

                case 9: armor = new StuddedSuneate(); break;                    // Lv21

                case 10: armor = new VikingStuddedArms(); break;                // Lv24

                case 11: armor = new VikingStuddedCap(); break;                 // Lv24

                case 12: armor = new VikingStuddedChest(); break;               // Lv24

                case 13: armor = new VikingStuddedLegs(); break;                // Lv24

                case 14: armor = new ChainChest(); break;                       // Lv27

                case 15: armor = new ChainCoif(); break;                        // Lv27

                case 16: armor = new ChainLegs(); break;                        // Lv27

                default: armor = new HideChest(); break;                        // Lv18
                }

                BaseRunicTool.ApplyAttributesTo(armor, 3, 5, 50);
                DropItem(armor);
            }

            if (Utility.RandomDouble() < 0.05)
            {
                BaseHat hat = Loot.RandomHat(true);
                BaseRunicTool.ApplyAttributesTo(hat, 3, 12, 15);
                DropItem(hat);
            }
            if (Utility.RandomDouble() < 0.05)
            {
                BaseClothing clothing = Loot.RandomClothing(true);
                BaseRunicTool.ApplyAttributesTo(clothing, 3, 12, 15);
                DropItem(clothing);
            }

            if (Utility.RandomDouble() < 0.05)
            {
                BaseShield shield1 = new Buckler();
                if (Core.AOS)
                {
                    BaseRunicTool.ApplyAttributesTo(shield1, 3, 5, 50);
                }
                DropItem(shield1);
            }
            if (Utility.RandomDouble() < 0.05)
            {
                BaseShield shield2 = new WoodenShield();
                if (Core.AOS)
                {
                    BaseRunicTool.ApplyAttributesTo(shield2, 3, 5, 50);
                }
                DropItem(shield2);
            }
            if (Utility.RandomDouble() < 0.05)
            {
                BaseShield shield3 = new AmmoniteShield();
                if (Core.AOS)
                {
                    BaseRunicTool.ApplyAttributesTo(shield3, 3, 5, 50);
                }
                DropItem(shield3);
            }
            if (Utility.RandomDouble() < 0.05)
            {
                BaseShield shield4 = new BronzeShield();
                if (Core.AOS)
                {
                    BaseRunicTool.ApplyAttributesTo(shield4, 3, 5, 50);
                }
                DropItem(shield4);
            }
            if (Utility.RandomDouble() < 0.05)
            {
                BaseShield shield5 = new MetalShield();
                if (Core.AOS)
                {
                    BaseRunicTool.ApplyAttributesTo(shield5, 3, 5, 50);
                }
                DropItem(shield5);
            }
            if (Utility.RandomDouble() < 0.05)
            {
                BaseShield shield6 = new WoodenKiteShield();
                if (Core.AOS)
                {
                    BaseRunicTool.ApplyAttributesTo(shield6, 3, 5, 50);
                }
                DropItem(shield6);
            }

            if (Utility.RandomDouble() < 0.05)
            {
                BaseJewel bracelet = new SilverBracelet();
                if (Core.AOS)
                {
                    BaseRunicTool.ApplyAttributesTo(bracelet, 3, 12, 15);
                }
                DropItem(bracelet);
            }
            if (Utility.RandomDouble() < 0.05)
            {
                BaseJewel earrings = new SilverEarrings();
                if (Core.AOS)
                {
                    BaseRunicTool.ApplyAttributesTo(earrings, 3, 12, 15);
                }
                DropItem(earrings);
            }
            if (Utility.RandomDouble() < 0.05)
            {
                BaseJewel necklace = new SilverNecklace();
                if (Core.AOS)
                {
                    BaseRunicTool.ApplyAttributesTo(necklace, 3, 12, 15);
                }
                DropItem(necklace);
            }
            if (Utility.RandomDouble() < 0.05)
            {
                BaseJewel ring = new SilverRing();
                if (Core.AOS)
                {
                    BaseRunicTool.ApplyAttributesTo(ring, 3, 12, 15);
                }
                DropItem(ring);
            }
        }
示例#10
0
        public FortressCalcifinaTreasureChest1() : base(0xE43)
        {
            Name    = "a treasure chest -25-";
            Movable = true;
            Weight  = 1000.0;

            TrapPower = 0;
            Locked    = true;

            RequiredSkill = 25;
            LockLevel     = 25;
            MaxLockLevel  = 30;

            // Gold
            if (Utility.RandomDouble() < 0.25)
            {
                DropItem(new Gold(Utility.Random(40, 400)));
            }

/////////////////////////////////////// Supplies

            if (Utility.RandomDouble() < 0.15)
            {
                DropItem(new Arrow(Utility.Random(15, 20)));
            }

            if (Utility.RandomDouble() < 0.15)
            {
                DropItem(new Bolt(Utility.Random(15, 20)));
            }

            Item ReagentLoot = Loot.RandomReagent();

            ReagentLoot.Amount = Utility.Random(15, 20);
            DropItem(ReagentLoot);

            if (Utility.RandomDouble() < 0.15)
            {
                DropItem(new Bandage(Utility.Random(15, 20)));
            }

            if (Utility.RandomDouble() < 0.15)
            {
                DropItem(new Bedroll());
            }

            if (Utility.RandomDouble() < 0.15)
            {
                DropItem(new Bottle(Utility.Random(15, 20)));
            }

            if (Utility.RandomDouble() < 0.15)
            {
                DropItem(new Lockpick(Utility.Random(15, 20)));
            }

            Item PotionLoot = Loot.RandomPotion();

            DropItem(PotionLoot);

/////////////////////////////////////// Tools

            if (Utility.RandomDouble() < 0.15)
            {
                DropItem(new FishingPole());
            }

            if (Utility.RandomDouble() < 0.15)
            {
                DropItem(new Shovel());
            }

            if (Utility.RandomDouble() < 0.15)
            {
                DropItem(new Skillet());
            }

/////////////////////////////////////// Rare Items

            if (Utility.RandomDouble() < 0.01)
            {
                DropItem(new DyeTub());
            }

            if (Utility.RandomDouble() < 0.15)
            {
                BaseWeapon weapon = Loot.RandomWeapon(true);
                switch (Utility.Random(38))
                {
                case 0: weapon = new Hatchet(); break;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

                case 34: weapon = new ElvenMachete(); break;

                case 35: weapon = new ElvenSpellblade(); break;

                case 36: weapon = new RuneBlade(); break;

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

                BaseRunicTool.ApplyAttributesTo(weapon, 4, 18, 22);

                DropItem(weapon);
            }

            if (Utility.RandomDouble() < 0.15)
            {
                BaseArmor armor = Loot.RandomArmor(true);
                switch (Utility.Random(13))
                {
                case 0: armor = new FemaleStuddedChest(); break;

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

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

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

                case 4: armor = new StuddedGorget(); break;

                case 5: armor = new ChainCoif(); break;

                case 6: armor = new ChainChest(); break;

                case 7: armor = new ChainLegs(); break;

                case 8: armor = new RingmailArms(); break;

                case 9: armor = new RingmailChest(); break;

                case 10: armor = new RingmailGloves(); break;

                case 11: armor = new RingmailLegs(); break;

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

                BaseRunicTool.ApplyAttributesTo(armor, 4, 18, 22);

                DropItem(armor);
            }

            if (Utility.RandomDouble() < 0.15)
            {
                BaseHat hat = Loot.RandomHat(true);
                switch (Utility.Random(5))
                {
                case 0: hat = new BearMask(); break;

                case 1: hat = new DeerMask(); break;

                case 2: hat = new FeatheredHat(); break;

                case 3: hat = new WizardsHat(); break;

                default: hat = new TribalMask(); break;
                }

                BaseRunicTool.ApplyAttributesTo(hat, 4, 18, 22);

                DropItem(hat);
            }

            if (Utility.RandomDouble() < 0.15)
            {
                BaseClothing clothing = Loot.RandomClothing(true);
                BaseRunicTool.ApplyAttributesTo(clothing, 4, 18, 22);

                DropItem(clothing);
            }

            if (Utility.RandomDouble() < 0.15)
            {
                BaseShield shield = new MetalKiteShield();
                if (Core.AOS)
                {
                    BaseRunicTool.ApplyAttributesTo(shield, 4, 18, 22);
                }

                DropItem(shield);
            }

            if (Utility.RandomDouble() < 0.15)
            {
                BaseJewel bracelet = new GoldBracelet();
                if (Core.AOS)
                {
                    BaseRunicTool.ApplyAttributesTo(bracelet, 4, 18, 22);
                }

                DropItem(bracelet);
            }

            if (Utility.RandomDouble() < 0.15)
            {
                BaseJewel earrings = new SilverEarrings();
                if (Core.AOS)
                {
                    BaseRunicTool.ApplyAttributesTo(earrings, 4, 18, 22);
                }

                DropItem(earrings);
            }

            if (Utility.RandomDouble() < 0.15)
            {
                BaseJewel necklace = new GoldNecklace();
                if (Core.AOS)
                {
                    BaseRunicTool.ApplyAttributesTo(necklace, 4, 18, 22);
                }

                DropItem(necklace);
            }

            if (Utility.RandomDouble() < 0.15)
            {
                BaseJewel ring = new SilverRing();
                if (Core.AOS)
                {
                    BaseRunicTool.ApplyAttributesTo(ring, 4, 18, 22);
                }

                DropItem(ring);
            }
        }
示例#11
0
        public static string MakeThisTask()
        {
            string task = null;

            switch (Utility.RandomMinMax(1, 10))
            {
            case 1: task = "Repair"; break;

            case 2: task = "Fix"; break;

            case 3: task = "Buff"; break;

            case 4: task = "Modify"; break;

            case 5: task = "Polish"; break;

            case 6: task = "Engrave"; break;

            case 7: task = "Adjust"; break;

            case 8: task = "Improve"; break;

            case 9: task = "Smooth the dents from"; break;

            case 10: task = "Remove the dents from"; break;
            }

            Item item = null;

            switch (Utility.RandomMinMax(1, 79))
            {
            case 1: item = new AssassinSpike(); break;

            case 2: item = new Axe(); break;

            case 3: item = new Bardiche(); break;

            case 4: item = new Bascinet(); break;

            case 5: item = new BattleAxe(); break;

            case 6: item = new BoneHarvester(); break;

            case 7: item = new Broadsword(); break;

            case 8: item = new BronzeShield(); break;

            case 9: item = new Buckler(); break;

            case 10: item = new ButcherKnife(); break;

            case 11: item = new ChainChest(); break;

            case 12: item = new ChainCoif(); break;

            case 13: item = new ChainLegs(); break;

            case 14: item = new ChampionShield(); break;

            case 15: item = new Cleaver(); break;

            case 16: item = new CloseHelm(); break;

            case 17: item = new CloseHelm(); break;

            case 18: item = new CrescentBlade(); break;

            case 19: item = new CrestedShield(); break;

            case 20: item = new Cutlass(); break;

            case 21: item = new Dagger(); break;

            case 22: item = new DarkShield(); break;

            case 23: item = new DiamondMace(); break;

            case 24: item = new DoubleAxe(); break;

            case 25: item = new DoubleBladedStaff(); break;

            case 26: item = new DreadHelm(); break;

            case 27: item = new ElvenMachete(); break;

            case 28: item = new ElvenShield(); break;

            case 29: item = new ElvenSpellblade(); break;

            case 30: item = new ExecutionersAxe(); break;

            case 31: item = new FemalePlateChest(); break;

            case 32: item = new GuardsmanShield(); break;

            case 33: item = new Halberd(); break;

            case 34: item = new HammerPick(); break;

            case 35: item = new HeaterShield(); break;

            case 36: item = new Helmet(); break;

            case 37: item = new Helmet(); break;

            case 38: item = new JeweledShield(); break;

            case 39: item = new Katana(); break;

            case 40: item = new Kryss(); break;

            case 41: item = new Lance(); break;

            case 42: item = new LargeBattleAxe(); break;

            case 43: item = new Leafblade(); break;

            case 44: item = new Longsword(); break;

            case 45: item = new Mace(); break;

            case 46: item = new Maul(); break;

            case 47: item = new MetalKiteShield(); break;

            case 48: item = new MetalShield(); break;

            case 49: item = new NorseHelm(); break;

            case 50: item = new NorseHelm(); break;

            case 51: item = new OrnateAxe(); break;

            case 52: item = new Pickaxe(); break;

            case 53: item = new Pike(); break;

            case 54: item = new Pitchfork(); break;

            case 55: item = new PlateArms(); break;

            case 56: item = new PlateChest(); break;

            case 57: item = new PlateGloves(); break;

            case 58: item = new PlateGorget(); break;

            case 59: item = new PlateHelm(); break;

            case 60: item = new PlateHelm(); break;

            case 61: item = new PlateLegs(); break;

            case 62: item = new RadiantScimitar(); break;

            case 63: item = new RingmailArms(); break;

            case 64: item = new RingmailChest(); break;

            case 65: item = new RingmailGloves(); break;

            case 66: item = new RingmailLegs(); break;

            case 67: item = new RuneBlade(); break;

            case 68: item = new Scimitar(); break;

            case 69: item = new Scythe(); break;

            case 70: item = new ShortSpear(); break;

            case 71: item = new SkinningKnife(); break;

            case 72: item = new Spear(); break;

            case 73: item = new ThinLongsword(); break;

            case 74: item = new TwoHandedAxe(); break;

            case 75: item = new VikingSword(); break;

            case 76: item = new WarAxe(); break;

            case 77: item = new WarCleaver(); break;

            case 78: item = new WarHammer(); break;

            case 79: item = new WarMace(); break;
            }

            if (Utility.RandomMinMax(1, 5) == 1)
            {
                bool evil   = false;
                bool orient = false;

                switch (Utility.RandomMinMax(1, 8))
                {
                case 1: evil = true; break;

                case 2: orient = true; break;
                }

                string sAdjective = "unusual";
                string eAdjective = "might";

                sAdjective = Server.LootPackEntry.MagicItemAdj("start", orient, evil, item.ItemID);
                eAdjective = Server.LootPackEntry.MagicItemAdj("end", orient, evil, item.ItemID);

                string name  = "item";
                string xName = ContainerFunctions.GetOwner("property");

                if (item.Name != null && item.Name != "")
                {
                    name = item.Name.ToLower();
                }
                if (name == "item")
                {
                    name = MorphingItem.AddSpacesToSentence((item.GetType()).Name).ToLower();
                }

                switch (Utility.RandomMinMax(0, 5))
                {
                case 0: name = sAdjective + " " + name + " of " + xName;        break;

                case 1: name = name + " of " + xName;                                           break;

                case 2: name = sAdjective + " " + name;                                         break;

                case 3: name = sAdjective + " " + name + " of " + xName;        break;

                case 4: name = name + " of " + xName;                                           break;

                case 5: name = sAdjective + " " + name;                                         break;
                }

                task = task + " their " + name;
            }
            else
            {
                string[] sMetals = new string[] { "iron ", "dull copper ", "shadow iron ", "copper ", "bronze ", "gold ", "agapite ", "verite ", "valorite ", "nepturite ", "obsidian ", "steel ", "brass ", "mithril ", "xormite ", "dwarven " };
                string   sMetal  = sMetals[Utility.RandomMinMax(0, (sMetals.Length - 1))];

                string name = "item";
                if (item.Name != null && item.Name != "")
                {
                    name = item.Name.ToLower();
                }
                if (name == "item")
                {
                    name = MorphingItem.AddSpacesToSentence((item.GetType()).Name).ToLower();
                }

                task = task + " their " + sMetal + name;
            }

            item.Delete();

            return(task);
        }
示例#12
0
        public Mercenary()
            : base(AIType.AI_Melee, FightMode.Agressor, 10, 1, 0.45, 0.8)
        {
            Female = Utility.RandomBool();
            Body = Female ? 401 : 400;
            Title = "the mercenary";
            Name = NameList.RandomName( Female ? "female" : "male" );
            Hue = Utility.RandomSkinHue();
            SetStr( 25, 88 );
            SetDex( 25, 88 );
            SetInt( 37, 49 );
            Karma = Utility.RandomMinMax( 13, -45 );

            SetSkill( SkillName.Tactics, 45, 67.5 );
            SetSkill( SkillName.MagicResist, 45, 67.5 );
            SetSkill( SkillName.Parry, 45, 67.5 );
            SetSkill( SkillName.Swords, 45, 67.5 );
            SetSkill( SkillName.Macing, 45, 67.5 );
            SetSkill( SkillName.Fencing, 45, 67.5 );
            SetSkill( SkillName.Wrestling, 45, 67.5 );
            SetSkill( SkillName.ArmsLore, 42.5, 65 );

            Item item = null;
            if ( !Female )
            {
                item = AddRandomHair();
                item.Hue = Utility.RandomHairHue();
                item = AddRandomFacialHair( item.Hue );
                switch ( Utility.Random( 5 ) )
                {
                    case 0: item = new PlateChest(); break;
                    case 1: item = new ChainChest(); break;
                    case 2: item = new StuddedChest(); break;
                    case 3: item = new RingmailChest(); break;
                    case 4: default: item = new LeatherChest(); break;
                }
                AddItem( item );
                switch ( Utility.Random( 5 ) )
                {
                    case 0: item = new PlateLegs(); break;
                    case 1: item = new ChainLegs(); break;
                    case 2: item = new StuddedLegs(); break;
                    case 3: item = new RingmailLegs(); break;
                    case 4: default: item = new LeatherLegs(); break;
                }
                AddItem( item );
                switch ( Utility.Random( 4 ) )
                {
                    case 0: item = new PlateArms(); break;
                    case 1: item = new RingmailArms(); break;
                    case 2: item = new StuddedArms(); break;
                    case 3: default: item = new LeatherArms(); break;
                }
                AddItem( item );
                switch ( Utility.Random( 3 ) )
                {
                    case 0: item = new PlateGloves(); break;
                    case 1: item = new StuddedGloves(); break;
                    case 2: default: item = new LeatherGloves(); break;
                }
                AddItem( item );
                switch ( Utility.Random( 6 ) )
                {
                    case 0: item = new PlateHelm(); break;
                    case 1: item = new ChainCoif(); break;
                    case 2: item = new CloseHelm(); break;
                    case 3: item = new Bascinet(); break;
                    case 4: item = new NorseHelm(); break;
                    case 5: default: item = new Helmet(); break;
                }
                AddItem( item );
                switch ( Utility.Random( 7 ) )
                {
                    case 0: item = new BronzeShield(); break;
                    case 1: item = new Buckler(); break;
                    case 2: item = new HeaterShield(); break;
                    case 3: item = new MetalKiteShield(); break;
                    case 4: item = new MetalShield(); break;
                    case 5: item = new WoodenKiteShield(); break;
                    case 6: default: item = new WoodenShield(); break;
                }
                AddItem( item );
                switch ( Utility.Random( 4 ) )
                {
                    case 0: item = new PlateGorget(); break;
                    case 1: item = new StuddedGorget(); break;
                    default: case 2: item = new LeatherGorget(); break;
                }
                AddItem( item );
                item = Loot.RandomWeapon();
                AddItem( item );
                PackGold( 15, 100 );
            } else {
                item = AddRandomHair();
                item.Hue = Utility.RandomHairHue();
                switch ( Utility.Random( 5 ) )
                {
                    case 0: item = new PlateChest(); break;
                    case 1: item = new ChainChest(); break;
                    case 2: item = new StuddedChest(); break;
                    case 3: item = new RingmailChest(); break;
                    case 4: default: item = new LeatherChest(); break;
                }
                AddItem( item );
                switch ( Utility.Random( 5 ) )
                {
                    case 0: item = new PlateLegs(); break;
                    case 1: item = new ChainLegs(); break;
                    case 2: item = new StuddedLegs(); break;
                    case 3: item = new RingmailLegs(); break;
                    case 4: default: item = new LeatherLegs(); break;
                }
                AddItem( item );
                switch ( Utility.Random( 3 ) )
                {
                    case 0: item = new PlateGloves(); break;
                    case 1: item = new StuddedGloves(); break;
                    case 2: default: item = new LeatherGloves(); break;
                }
                AddItem( item );
                switch ( Utility.Random( 6 ) )
                {
                    case 0: item = new PlateHelm(); break;
                    case 1: item = new ChainCoif(); break;
                    case 2: item = new CloseHelm(); break;
                    case 3: item = new Bascinet(); break;
                    case 4: item = new NorseHelm(); break;
                    case 5: default: item = new Helmet(); break;
                }
                AddItem( item );
                switch ( Utility.Random( 7 ) )
                {
                    case 0: item = new BronzeShield(); break;
                    case 1: item = new Buckler(); break;
                    case 2: item = new HeaterShield(); break;
                    case 3: item = new MetalKiteShield(); break;
                    case 4: item = new MetalShield(); break;
                    case 5: item = new WoodenKiteShield(); break;
                    case 6: default: item = new WoodenShield(); break;
                }
                AddItem( item );
                switch ( Utility.Random( 4 ) )
                {
                    case 0: item = new PlateGorget(); break;
                    case 1: item = new StuddedGorget(); break;
                    default: case 2: item = new LeatherGorget(); break;
                }
                AddItem( item );
                item = Loot.RandomWeapon();
                AddItem( item );
                PackGold( 15, 100 );
            }
        }
示例#13
0
        public Warrior()
            : base(AIType.AI_Melee, FightMode.Agressor, 10, 1, 0.45, 0.8)
        {
            Female = Utility.RandomBool();
            Body = Female ? 401 : 400;
            Title = "the warrior";
            Name = NameList.RandomName( Female ? "female" : "male" );
            Hue = Utility.RandomSkinHue();
            SetStr( 18, 88 );
            SetDex( 18, 88 );
            SetInt( 13, 49 );
            Karma = Utility.RandomMinMax( 13, -45 );

            SetSkill( SkillName.Tactics, 45, 67.5 );
            SetSkill( SkillName.MagicResist, 45, 67.5 );
            SetSkill( SkillName.Parry, 45, 67.5 );
            SetSkill( SkillName.Swords, 45, 67.5 );
            SetSkill( SkillName.Macing, 45, 67.5 );
            SetSkill( SkillName.Fencing, 45, 67.5 );
            SetSkill( SkillName.Wrestling, 45, 67.5 );
            SetSkill( SkillName.ArmsLore, 42.5, 65 );

            Item item = null;
            if ( !Female )
            {
                item = AddRandomHair();
                item.Hue = Utility.RandomHairHue();
                item = AddRandomFacialHair( item.Hue );
                item = new RingmailChest();
                AddItem( item );
                item = new RingmailLegs();
                AddItem( item );
                item = new RingmailArms();
                AddItem( item );
                item = new RingmailGloves();
                AddItem( item );
                item = new ChainCoif();
                AddItem( item );
                item = new PlateGorget();
                AddItem( item );
                item = new WoodenShield();
                AddItem( item );
                item = new Broadsword();
                AddItem( item );
                PackGold( 15, 100 );
            } else {
                item = AddRandomHair();
                item.Hue = Utility.RandomHairHue();
                item = new RingmailChest();
                AddItem( item );
                item = new RingmailLegs();
                AddItem( item );
                item = new RingmailArms();
                AddItem( item );
                item = new RingmailGloves();
                AddItem( item );
                item = new ChainCoif();
                AddItem( item );
                item = new PlateGorget();
                AddItem( item );
                item = new WoodenShield();
                AddItem( item );
                item = new Broadsword();
                AddItem( item );
                PackGold( 15, 100 );
            }
        }
        public TownChestArmorer() : base(0xE43)
        {
            Name    = "a metal chest -20-";
            Movable = true;
            Weight  = 1000.0;

            Hue = 83;

            TrapPower = 0;
            Locked    = true;

            RequiredSkill = 20;
            LockLevel     = 20;
            MaxLockLevel  = 25;

            // Gold
            if (Utility.RandomDouble() < 0.25)
            {
                DropItem(new Gold(Utility.Random(1, 50)));
            }

            // Supplies

            if (Utility.RandomDouble() < 0.08)
            {
                DropItem(new ChainCoif());
            }
            if (Utility.RandomDouble() < 0.05)
            {
                DropItem(new ChainChest());
            }
            if (Utility.RandomDouble() < 0.06)
            {
                DropItem(new ChainLegs());
            }

            if (Utility.RandomDouble() < 0.08)
            {
                DropItem(new Bascinet());
            }
            if (Utility.RandomDouble() < 0.08)
            {
                DropItem(new CloseHelm());
            }
            if (Utility.RandomDouble() < 0.08)
            {
                DropItem(new NorseHelm());
            }
            if (Utility.RandomDouble() < 0.06)
            {
                DropItem(new PlateArms());
            }
            if (Utility.RandomDouble() < 0.05)
            {
                DropItem(new PlateChest());
            }
            if (Utility.RandomDouble() < 0.07)
            {
                DropItem(new PlateGloves());
            }
            if (Utility.RandomDouble() < 0.07)
            {
                DropItem(new PlateGorget());
            }
            if (Utility.RandomDouble() < 0.08)
            {
                DropItem(new PlateHelm());
            }
            if (Utility.RandomDouble() < 0.06)
            {
                DropItem(new PlateLegs());
            }

            if (Utility.RandomDouble() < 0.06)
            {
                DropItem(new RingmailArms());
            }
            if (Utility.RandomDouble() < 0.05)
            {
                DropItem(new RingmailChest());
            }
            if (Utility.RandomDouble() < 0.07)
            {
                DropItem(new RingmailGloves());
            }
            if (Utility.RandomDouble() < 0.06)
            {
                DropItem(new RingmailLegs());
            }

            if (Utility.RandomDouble() < 0.07)
            {
                DropItem(new BronzeShield());
            }
            if (Utility.RandomDouble() < 0.07)
            {
                DropItem(new Buckler());
            }
            if (Utility.RandomDouble() < 0.07)
            {
                DropItem(new HeaterShield());
            }
            if (Utility.RandomDouble() < 0.07)
            {
                DropItem(new MetalKiteShield());
            }
            if (Utility.RandomDouble() < 0.07)
            {
                DropItem(new MetalShield());
            }
            if (Utility.RandomDouble() < 0.07)
            {
                DropItem(new WoodenKiteShield());
            }
            if (Utility.RandomDouble() < 0.07)
            {
                DropItem(new WoodenShield());
            }

            if (Utility.RandomDouble() < 0.15)
            {
                BaseArmor armor = Loot.RandomArmor(true);
                switch (Utility.Random(13))
                {
                case 0: armor = new FemaleStuddedChest(); break;

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

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

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

                case 4: armor = new StuddedGorget(); break;

                case 5: armor = new ChainCoif(); break;

                case 6: armor = new ChainChest(); break;

                case 7: armor = new ChainLegs(); break;

                case 8: armor = new RingmailArms(); break;

                case 9: armor = new RingmailChest(); break;

                case 10: armor = new RingmailGloves(); break;

                case 11: armor = new RingmailLegs(); break;

                default: armor = new StuddedChest(); break;
                }
                BaseRunicTool.ApplyAttributesTo(armor, 5, 15, 20);

                DropItem(armor);
            }
        }
示例#15
0
        public HireFighter()
        {
            Female = Utility.RandomBool();
            Body = Female ? 401 : 400;
            Title = "the fighter";
            Name = NameList.RandomName( Female ? "female" : "male" );
            Hue = Utility.RandomSkinHue();
            SetStr( 11, 88 );
            SetDex( 11, 88 );
            SetInt( 7, 49 );
            Karma = Utility.RandomMinMax( 13, -45 );

            SetSkill( SkillName.Tactics, 45, 67.5 );
            SetSkill( SkillName.MagicResist, 45, 67.5 );
            SetSkill( SkillName.Parry, 45, 67.5 );
            SetSkill( SkillName.Swords, 45, 67.5 );
            SetSkill( SkillName.Macing, 45, 67.5 );
            SetSkill( SkillName.Fencing, 45, 67.5 );
            SetSkill( SkillName.Wrestling, 45, 67.5 );
            SetSkill( SkillName.ArmsLore, 42.5, 65 );

            Item item = null;
            if ( !Female )
            {
                item = AddRandomHair();
                item.Hue = Utility.RandomHairHue();
                item = AddRandomFacialHair( item.Hue );
                item = new StuddedChest();
                AddItem( item );
                item = new StuddedLegs();
                AddItem( item );
                item = new StuddedArms();
                AddItem( item );
                item = new StuddedGloves();
                AddItem( item );
                switch ( Utility.Random( 6 ) )
                {
                    case 0: item = new PlateHelm(); break;
                    case 1: item = new ChainCoif(); break;
                    case 2: item = new CloseHelm(); break;
                    case 3: item = new Bascinet(); break;
                    case 4: item = new NorseHelm(); break;
                    case 5: default: item = new Helmet(); break;
                }
                AddItem( item );
                item = new StuddedGorget();
                AddItem( item );
                item = Loot.RandomWeapon();
                AddItem( item );
                if ( item.Layer == Layer.OneHanded )
                {
                    item = new WoodenShield();
                    AddItem( item );
                }
            } else {
                item = AddRandomHair();
                item.Hue = Utility.RandomHairHue();
                item = new StuddedChest();
                AddItem( item );
                item = new StuddedLegs();
                AddItem( item );
                item = new StuddedArms();
                AddItem( item );
                item = new StuddedGloves();
                AddItem( item );
                switch ( Utility.Random( 6 ) )
                {
                    case 0: item = new PlateHelm(); break;
                    case 1: item = new ChainCoif(); break;
                    case 2: item = new CloseHelm(); break;
                    case 3: item = new Bascinet(); break;
                    case 4: item = new NorseHelm(); break;
                    case 5: default: item = new Helmet(); break;
                }
                AddItem( item );
                item = new StuddedGorget();
                AddItem( item );
                item = Loot.RandomWeapon();
                AddItem( item );
                if ( item.Layer == Layer.OneHanded )
                {
                    item = new WoodenShield();
                    AddItem( item );
                }
            }
        }
示例#16
0
        //End of criminal recognition system.
        public static void TurnIntoImperialGuard( Mobile m, int choice )
        {
            if( choice > 3 || choice < 1 )
                choice = Utility.RandomMinMax( 0, 2 );
            else
                choice--;

            m.HairItemID = 8251;

            Surcoat coat = new Surcoat();
            coat.ItemID = 15476;
            coat.Name = "Unified Northern Army Surcoat";
            coat.Hue = 2751;
            m.EquipItem( coat );
            m.EquipItem( new ElegantCloak(2751) );

            switch( choice )
            {
                case 0:
                {
                    VhalurianOrnatePlateLegs vopl = new VhalurianOrnatePlateLegs();
                    vopl.Resource = CraftResource.Bronze;
                    vopl.Hue = 1899;
                    m.EquipItem( vopl );

                    VhalurianOrnatePlateGorget vopo = new VhalurianOrnatePlateGorget();
                    vopo.Resource = CraftResource.Bronze;
                    vopo.Hue = 1899;
                    m.EquipItem( vopo );

                    PlateSabatons ps = new PlateSabatons();
                    ps.Resource = CraftResource.Bronze;
                    ps.Hue = 1899;
                    m.EquipItem( ps );

                    VhalurianOrnateKiteShield voks = new VhalurianOrnateKiteShield();
                    voks.Resource = CraftResource.Bronze;
                    voks.Hue = 1899;
                    m.EquipItem( voks );

                    VhalurianWarHammer hammer = new VhalurianWarHammer();
                    hammer.Resource = CraftResource.Iron;
                    m.EquipItem( hammer );

                    TyreanHalfPlateChest thpc = new TyreanHalfPlateChest();
                    thpc.Resource = CraftResource.Bronze;
                    thpc.Hue = 1899;
                    m.EquipItem( thpc );

                    TyreanHalfPlateArms thpa = new TyreanHalfPlateArms();
                    thpa.Resource = CraftResource.Bronze;
                    thpa.Hue = 1899;
                    m.EquipItem( thpa );

                    TyreanHalfPlateGloves thpg = new TyreanHalfPlateGloves();
                    thpg.Resource = CraftResource.Bronze;
                    thpg.Hue = 1899;
                    m.EquipItem( thpg );

                    TyreanWingedHelm twh = new TyreanWingedHelm();
                    twh.Resource = CraftResource.Bronze;
                    twh.Hue = 1899;
                    m.EquipItem( twh );

                    break;
                }

                case 1:
                {
                    ChainChest cc = new ChainChest();
                    cc.Resource = CraftResource.Bronze;
                    cc.Hue = 1899;
                    m.EquipItem( cc );

                    ChainLegs cl = new ChainLegs();
                    cl.Resource = CraftResource.Bronze;
                    cl.Hue = 1899;
                    m.EquipItem( cl );

                    ChainCoif co = new ChainCoif();
                    co.Resource = CraftResource.Bronze;
                    co.Hue = 1899;
                    m.EquipItem( co );

                    RingmailArms ra = new RingmailArms();
                    ra.Resource = CraftResource.Bronze;
                    ra.Hue = 1899;
                    m.EquipItem( ra );

                    RingmailGloves rg = new RingmailGloves();
                    rg.Resource = CraftResource.Bronze;
                    rg.Hue = 1899;
                    m.EquipItem( rg );

                    TyreanKiteShield vmks = new TyreanKiteShield();
                    vmks.Resource = CraftResource.Bronze;
                    vmks.Hue = 1899;
                    m.EquipItem( vmks );

                    LeatherBoots boots = new LeatherBoots();
                    boots.Resource = CraftResource.BeastLeather;
                    boots.Hue = 1899;
                    m.EquipItem( boots );

                    TyreanOrnateAxe axe = new TyreanOrnateAxe();
                    axe.Resource = CraftResource.Iron;
                    m.EquipItem( axe );

                    break;
                }

                case 2:
                {
                    LeatherBoots boots = new LeatherBoots();
                    boots.Resource = CraftResource.BeastLeather;
                    boots.Hue = 1899;
                    m.EquipItem( boots );

                    WolfMask mask = new WolfMask();
                    mask.Hue = 1899;
                    m.EquipItem( mask );

                    StuddedChest sc = new StuddedChest();
                    sc.Resource = CraftResource.BeastLeather;
                    sc.Hue = 1899;
                    m.EquipItem( sc );

                    StuddedLegs sl = new StuddedLegs();
                    sl.Resource = CraftResource.BeastLeather;
                    sl.Hue = 1899;
                    m.EquipItem( sl );

                    StuddedArms sa = new StuddedArms();
                    sa.Resource = CraftResource.BeastLeather;
                    sa.Hue = 1899;
                    m.EquipItem( sa );

                    StuddedGloves sg = new StuddedGloves();
                    sg.Resource = CraftResource.BeastLeather;
                    sg.Hue = 1899;
                    m.EquipItem( sg );

                    StuddedGorget so = new StuddedGorget();
                    so.Resource = CraftResource.BeastLeather;
                    so.Hue = 1899;
                    m.EquipItem( so );

                    VhalurianLongbow bow = new VhalurianLongbow();
                    bow.Resource = CraftResource.Redwood;
                    bow.Hue = 0;

                    m.EquipItem( bow );

                    if( m is BaseCreature )
                    {
                        BaseCreature bc = m as BaseCreature;
                        bc.AI = AIType.AI_Archer;
                        bc.PackItem( new Arrow( Utility.RandomMinMax( 10, 20 ) ) );
                    }
                    break;
                }
            }
        }
        public static void RandomGuardEquipment( Mobile m, Nation nation, int choice )
        {
            if( m == null )
                return;

            if( choice > 3 || choice < 1 )
                choice = Utility.RandomMinMax( 0, 2 );
            else
                choice--;

            switch (nation)
            {
                case Nation.Imperial: { if (Utility.RandomBool()) { nation = Nation.Vhalurian; } else { nation = Nation.Khemetar; } break; }
                case Nation.Sovereign: { if (Utility.RandomBool()) { nation = Nation.Alyrian; } else { nation = Nation.Mhordul; } break; }
                case Nation.Society: { if (Utility.RandomBool()) { nation = Nation.Azhuran; } else { nation = Nation.Tyrean; } break; }
                case Nation.Insularii: { if (Utility.RandomBool()) { nation = Nation.Vhalurian; } else { nation = Nation.Khemetar; } break; }
            }

            switch( nation )
            {
                case Nation.Alyrian:
                {
                    GreenBeret greenberet = new GreenBeret();
                    greenberet.Hue = 2587;
                    m.EquipItem( greenberet );

                    switch( choice )
                    {
                        case 0:
                        {
                            AlyrianChainChest chest = new AlyrianChainChest();
                            chest.Resource = CraftResource.Bronze;

                            AlyrianChainLegs legs = new AlyrianChainLegs();
                            legs.Resource = CraftResource.Bronze;

                            AlyrianChainArms arms = new AlyrianChainArms();
                            arms.Resource = CraftResource.Bronze;

                            AlyrianChainGorget gorget = new AlyrianChainGorget();
                            gorget.Resource = CraftResource.Bronze;

                            m.EquipItem( chest );
                            m.EquipItem( legs );
                            m.EquipItem( arms );
                            m.EquipItem( gorget );
                            m.EquipItem( new Cloak( 2587 ) );

                            if( m.Female )
                            {
                                AlyrianLeafShield shield = new AlyrianLeafShield();
                                shield.Resource = CraftResource.Bronze;

                                AlyrianSabre sabre = new AlyrianSabre();
                                sabre.Resource = CraftResource.Bronze;

                                m.EquipItem( shield );
                                m.EquipItem( sabre );
                                m.EquipItem( new FemaleKilt( 2587 ) );
                            }

                            else
                            {
                                AlyrianTwoHandedAxe axe = new AlyrianTwoHandedAxe();
                                axe.Resource = CraftResource.Bronze;

                                m.EquipItem( axe );
                                m.EquipItem( new ElegantKilt( 2587 ) );
                            }

                            break;
                        }

                        case 1:
                        {
                            if( m.Female )
                            {
                                AlyrianRoundShield shield = new AlyrianRoundShield();
                                shield.Resource = CraftResource.Bronze;

                                AlyrianLongsword sword = new AlyrianLongsword();
                                sword.Resource = CraftResource.Bronze;

                                m.EquipItem( shield );
                                m.EquipItem( sword );
                                m.EquipItem( new ElegantFemaleKilt( 2587 ) );
                                m.EquipItem( new MetallicBra() );
                                m.EquipItem( new ElegantShoes() );
                            }

                            else
                            {
                                AlyrianClaymore sword = new AlyrianClaymore();
                                sword.Resource = CraftResource.Bronze;

                                m.EquipItem( sword );
                                m.EquipItem( new OrnateKilt( 2587 ) );
                                m.EquipItem( new Sandals() );
                            }

                            break;
                        }

                        case 2:
                        {
                            if( m.Female )
                            {
                                AlyrianLongbow bow = new AlyrianLongbow();
                                bow.Resource = CraftResource.Redwood;

                                m.EquipItem( bow );
                                m.EquipItem( new ElegantKilt( 2587 ) );
                                m.EquipItem( new MetallicBra() );

                            }

                            else
                            {
                                AlyrianGiantBow bow = new AlyrianGiantBow();
                                bow.Resource = CraftResource.Redwood;

                                m.EquipItem( bow );
                                m.EquipItem( new PlainKilt( 2587 ) );
                            }

                            m.EquipItem( new Sandals() );

                            if( m is BaseCreature )
                            {
                                BaseCreature bc = m as BaseCreature;
                                bc.AI = AIType.AI_Archer;
                                bc.PackItem( new Arrow( Utility.RandomMinMax( 10, 20 ) ) );
                            }

                            break;
                        }
                    }

                    break;
                }

                case Nation.Azhuran:
                {
                    switch( choice )
                    {
                        case 0:
                        {
                            AzhuranHelm helm = new AzhuranHelm();
                            helm.Resource = CraftResource.Bronze;

                            AzhuranSpikedChainChest chest = new AzhuranSpikedChainChest();
                            chest.Resource = CraftResource.Bronze;

                            RingmailArms arms = new RingmailArms();
                            arms.Resource = CraftResource.Bronze;

                            ChainLegs legs = new ChainLegs();
                            legs.Resource = CraftResource.Bronze;

                            RingmailGloves gloves = new RingmailGloves();
                            gloves.Resource = CraftResource.Bronze;

                            m.EquipItem( helm );
                            m.EquipItem( chest );
                            Sandals sandals = new Sandals();
                            sandals.Resource = CraftResource.BeastLeather;
                            sandals.Hue = 2810;
                            m.EquipItem( sandals );
                            m.EquipItem( gloves );
                            m.EquipItem( arms );
                            m.EquipItem( legs );
                            m.EquipItem( new Cloak( 2810 ) );

                            if( m.Female )
                            {
                                AzhuranKiteShield shield = new AzhuranKiteShield();
                                shield.Resource = CraftResource.Bronze;

                                AzhuranShortsword sword = new AzhuranShortsword();
                                sword.Resource = CraftResource.Bronze;

                                m.EquipItem( shield );
                                m.EquipItem( sword );
                                m.EquipItem( new ElegantWaistCloth( 2810 ) );
                            }

                            else
                            {
                                AzhuranRoundShield shield = new AzhuranRoundShield();
                                shield.Resource = CraftResource.Bronze;

                                AzhuranBroadsword sword = new AzhuranBroadsword();
                                sword.Resource = CraftResource.Bronze;

                                m.EquipItem( shield );
                                m.EquipItem( sword );
                            }

                            break;
                        }

                        case 1:
                        {
                            AzhuranLeatherTunic chest = new AzhuranLeatherTunic();
                            chest.Resource = CraftResource.BeastLeather;

                            AzhuranLeatherPauldrons pauldrons = new AzhuranLeatherPauldrons();
                            pauldrons.Resource = CraftResource.BeastLeather;

                            AzhuranLeatherBoots boots = new AzhuranLeatherBoots();
                            boots.Resource = CraftResource.BeastLeather;

                            AzhuranLeatherLegs legs = new AzhuranLeatherLegs();
                            legs.Resource = CraftResource.BeastLeather;

                            LeatherGloves gloves = new LeatherGloves();
                            gloves.Resource = CraftResource.BeastLeather;

                            LeatherArms arms = new LeatherArms();
                            arms.Resource = CraftResource.BeastLeather;

                            AzhuranSpear spear = new AzhuranSpear();
                            spear.Resource = CraftResource.Bronze;

                            m.EquipItem( chest );
                            m.EquipItem( pauldrons );
                            m.EquipItem( new Bandana( 2810 ) );
                            m.EquipItem( spear );
                            m.EquipItem( boots );
                            m.EquipItem( legs );
                            m.EquipItem( gloves );
                            m.EquipItem( arms );
                            break;
                        }

                        case 2:
                        {
                            Sandals sandals = new Sandals();
                            sandals.Resource = CraftResource.BeastLeather;
                            sandals.Hue = 2810;
                            m.EquipItem( sandals );

                            if( m.Female )
                            {
                                AzhuranShortbow bow = new AzhuranShortbow();
                                bow.Resource = CraftResource.Redwood;

                                m.EquipItem( bow );
                                m.EquipItem( new MetallicBra() );
                                m.EquipItem( new WaistCloth( 2810 ) );
                            }

                            else
                            {
                                AzhuranBoomerang bow = new AzhuranBoomerang();
                                bow.Resource = CraftResource.Redwood;

                                m.EquipItem( bow );
                                m.EquipItem( new LoinCloth( 2810 ) );
                            }

                            if( m is BaseCreature )
                            {
                                BaseCreature bc = m as BaseCreature;
                                bc.AI = AIType.AI_Archer;

                                if( m.Female )
                                    bc.PackItem( new Arrow( Utility.RandomMinMax( 10, 20 ) ) );
                            }

                            break;
                        }
                    }

                    break;
                }

                case Nation.Khemetar:
                {
                    switch( choice )
                    {
                        case 0:
                        {
                            KhemetarScaleChest chest = new KhemetarScaleChest();
                            chest.Resource = CraftResource.Bronze;
                            chest.Hue = 2947;
                            m.EquipItem( chest );

                            PlateLegs legs = new PlateLegs();
                            legs.Resource = CraftResource.Bronze;
                            legs.Hue = 2947;
                            m.EquipItem( legs );

                            PlateArms arms = new PlateArms();
                            arms.Resource = CraftResource.Bronze;
                            arms.Hue = 2947;
                            m.EquipItem( arms );

                            PlateGorget gorget = new PlateGorget();
                            gorget.Resource = CraftResource.Bronze;
                            gorget.Hue = 2947;
                            m.EquipItem( gorget );

                            PlateGloves gloves = new PlateGloves();
                            gloves.Resource = CraftResource.Bronze;
                            gloves.Hue = 2947;
                            m.EquipItem( gloves );

                            KhemetarScaleHelmet helmet = new KhemetarScaleHelmet();
                            helmet.Resource = CraftResource.Bronze;
                            helmet.Hue = 2947;
                            m.EquipItem( helmet );

                            RunicCloak cloak = new RunicCloak();
                            cloak.Hue = 2795;
                            m.EquipItem( cloak );

                            KhemetarAxe axe = new KhemetarAxe();
                            axe.Resource = CraftResource.Bronze;
                            m.EquipItem( axe );

                            if( m.Female )
                            {
                                ElegantWaistCloth waist = new ElegantWaistCloth();
                                waist.Hue = 2795;
                                m.EquipItem( waist );
                            }

                            else
                            {
                                WaistSash sash = new WaistSash();
                                sash.Hue = 2795;
                                m.EquipItem( sash );
                            }

                            break;
                        }

                        case 1:
                        {
                            ThighBoots boots = new ThighBoots();
                            boots.Resource = CraftResource.BeastLeather;
                            boots.Hue = 2947;
                            m.EquipItem( boots );

                            KhemetarScaleChest chest = new KhemetarScaleChest();
                            chest.Resource = CraftResource.Bronze;
                            chest.Hue = 2947;
                            m.EquipItem( chest );

                            KhemetarScaleLegs legs = new KhemetarScaleLegs();
                            legs.Resource = CraftResource.Bronze;
                            legs.Hue = 2947;
                            m.EquipItem( legs );

                            KhemetarScaleArms arms = new KhemetarScaleArms();
                            arms.Resource = CraftResource.Bronze;
                            arms.Hue = 2947;
                            m.EquipItem( arms );

                            RingmailGloves gloves = new RingmailGloves();
                            gloves.Resource = CraftResource.Bronze;
                            gloves.Hue = 2947;
                            m.EquipItem( gloves );

                            KhemetarScaleHelmet helmet = new KhemetarScaleHelmet();
                            helmet.Resource = CraftResource.Bronze;
                            helmet.Hue = 2947;
                            m.EquipItem( helmet );

                            RunicCloak cloak = new RunicCloak();
                            cloak.Hue = 2795;
                            m.EquipItem( cloak );

                            KhemetarKhopesh sword = new KhemetarKhopesh();
                            sword.Resource = CraftResource.Bronze;
                            m.EquipItem( sword );

                            MetalShield shield = new MetalShield();
                            shield.Resource = CraftResource.Bronze;
                            shield.Hue = 2947;
                            m.EquipItem( shield );

                            if( m.Female )
                            {
                                ElegantWaistCloth waist = new ElegantWaistCloth();
                                waist.Hue = 2795;
                                m.EquipItem( waist );
                            }

                            else
                            {
                                WaistSash sash = new WaistSash();
                                sash.Hue = 2795;
                                m.EquipItem( sash );
                            }

                            break;
                        }

                        case 2:
                        {
                            Sandals sandals = new Sandals();
                            sandals.Resource = CraftResource.BeastLeather;
                            sandals.Hue = 2947;
                            m.EquipItem( sandals );

                            KhemetarScaleChest chest = new KhemetarScaleChest();
                            chest.Resource = CraftResource.Bronze;
                            chest.Hue = 2947;
                            m.EquipItem( chest );

                            KhemetarScaleLegs legs = new KhemetarScaleLegs();
                            legs.Resource = CraftResource.Bronze;
                            legs.Hue = 2947;
                            m.EquipItem( legs );

                            KhemetarScaleHelmet helmet = new KhemetarScaleHelmet();
                            helmet.Resource = CraftResource.Bronze;
                            helmet.Hue = 2947;
                            m.EquipItem( helmet );

                            RunicCloak cloak = new RunicCloak();
                            cloak.Hue = 2795;
                            m.EquipItem( cloak );

                            KhemetarLongbow bow = new KhemetarLongbow();
                            bow.Resource = CraftResource.Redwood;
                            m.EquipItem( bow );

                            if( m.Female )
                            {
                                ElegantWaistCloth waist = new ElegantWaistCloth();
                                waist.Hue = 2795;
                                m.EquipItem( waist );
                            }

                            else
                            {
                                WaistSash sash = new WaistSash();
                                sash.Hue = 2795;
                                m.EquipItem( sash );
                            }

                            if( m is BaseCreature )
                            {
                                BaseCreature bc = m as BaseCreature;
                                bc.AI = AIType.AI_Archer;
                                bc.PackItem( new Arrow( Utility.RandomMinMax( 10, 20 ) ) );
                            }

                            break;
                        }
                    }

                    break;
                }

                case Nation.Mhordul:
                {
                    Sandals sandals = new Sandals();
                    sandals.Resource = CraftResource.BeastLeather;
                    sandals.Hue = 1194;
                    m.EquipItem( sandals );

                    MhordulBoneArms mba = new MhordulBoneArms();
                    mba.Hue = 2101;
                    m.EquipItem( mba );

                    switch( choice )
                    {
                        case 0:
                        {
                            MhordulHornedSkullHelm mhsh = new MhordulHornedSkullHelm();
                            mhsh.Hue = 2101;
                            m.EquipItem( mhsh );

                            MhordulBoneChest mbc = new MhordulBoneChest();
                            mbc.Hue = 2101;
                            m.EquipItem( mbc );

                            MhordulBoneLegs mbl = new MhordulBoneLegs();
                            mbl.Hue = 2101;
                            m.EquipItem( mbl );

                            MhordulBoneGloves mbg = new MhordulBoneGloves();
                            mbg.Hue = 2101;
                            m.EquipItem( mbg );

                            MhordulBoneShield mbs = new MhordulBoneShield();
                            mbs.Hue = 2101;
                            m.EquipItem( mbs );

                            if( m.Female )
                            {
                                m.EquipItem( new MhordulBoneSword() );
                                m.EquipItem( new SmallRaggedSkirt( 1194 ) );
                            }

                            else
                            {
                                m.EquipItem( new MhordulBoneAxe() );
                            }

                            break;
                        }

                        case 1:
                        {
                            MhordulBoneHelm mbh = new MhordulBoneHelm();
                            mbh.Hue = 2101;
                            m.EquipItem( mbh );

                            MhordulBoneLegs mbl = new MhordulBoneLegs();
                            mbl.Hue = 2101;
                            m.EquipItem( mbl );

                            MhordulBoneGloves mbg = new MhordulBoneGloves();
                            mbg.Hue = 2101;
                            m.EquipItem( mbg );

                            if( m.Female )
                            {
                                m.EquipItem( new MhordulBoneSpear() );
                                m.EquipItem( new SmallRaggedSkirt( 1194 ) );
                                m.EquipItem( new RaggedBra( 1194 ) );
                            }

                            else
                            {
                                m.EquipItem( new MhordulBoneScythe() );
                                m.EquipItem( new WaistCloth( 1194 ) );
                            }

                            break;
                        }

                        case 2:
                        {
                            MhordulBoneHelm mbh = new MhordulBoneHelm();
                            mbh.Hue = 2101;
                            m.EquipItem( mbh );

                            m.EquipItem( new MhordulBoneBow() );

                            if( m.Female )
                            {
                                m.EquipItem( new SmallRaggedSkirt( 1194 ) );
                                m.EquipItem( new RaggedBra( 1194 ) );
                            }

                            else
                                m.EquipItem( new RaggedPants( 1194 ) );

                            if( m is BaseCreature )
                            {
                                BaseCreature bc = m as BaseCreature;
                                bc.AI = AIType.AI_Archer;
                                bc.PackItem( new Arrow( Utility.RandomMinMax( 10, 20 ) ) );
                            }

                            break;
                        }
                    }

                    break;
                }

                case Nation.Tyrean:
                {
                    Surcoat coat = new Surcoat();
                    coat.ItemID = 15477;
                    coat.Name = "Tyrean Military Surcoat";
                    coat.Hue = 2741;
                    m.EquipItem( coat );

                    switch( choice )
                    {
                        case 0:
                        {
                            TyreanHalfPlateChest thpc = new TyreanHalfPlateChest();
                            thpc.Resource = CraftResource.Bronze;
                            thpc.Hue = 1899;
                            m.EquipItem( thpc );

                            TyreanHalfPlateLegs thpl = new TyreanHalfPlateLegs();
                            thpl.Resource = CraftResource.Bronze;
                            thpl.Hue = 1899;
                            m.EquipItem( thpl );

                            TyreanHalfPlateSabatons thps = new TyreanHalfPlateSabatons();
                            thps.Resource = CraftResource.Bronze;
                            thps.Hue = 1899;
                            m.EquipItem( thps );

                            TyreanHalfPlateArms thpa = new TyreanHalfPlateArms();
                            thpa.Resource = CraftResource.Bronze;
                            thpa.Hue = 1899;
                            m.EquipItem( thpa );

                            TyreanHalfPlateGloves thpg = new TyreanHalfPlateGloves();
                            thpg.Resource = CraftResource.Bronze;
                            thpg.Hue = 1899;
                            m.EquipItem( thpg );

                            TyreanHalfPlateGorget thpo = new TyreanHalfPlateGorget();
                            thpo.Resource = CraftResource.Bronze;
                            thpo.Hue = 1899;
                            m.EquipItem( thpo );

                            TyreanKiteShield tks = new TyreanKiteShield();
                            tks.Resource = CraftResource.Bronze;
                            tks.Hue = 1899;
                            m.EquipItem( tks );

                            m.EquipItem( new Cloak( 1445 ) );

                            TyreanWingedHelm twh = new TyreanWingedHelm();
                            twh.Resource = CraftResource.Bronze;
                            twh.Hue = 1899;
                            m.EquipItem( twh );

                            if( m.Female )
                            {
                                TyreanWarAxe axe = new TyreanWarAxe();
                                axe.Resource = CraftResource.Bronze;

                                m.EquipItem( axe );
                            }

                            else
                            {
                                TyreanOrnateAxe axe = new TyreanOrnateAxe();
                                axe.Resource = CraftResource.Bronze;

                                m.EquipItem( axe );
                            }

                            break;
                        }

                        case 1:
                        {
                            ChainChest cc = new ChainChest();
                            cc.Resource = CraftResource.Bronze;
                            cc.Hue = 1899;
                            m.EquipItem( cc );

                            ChainLegs cl = new ChainLegs();
                            cl.Resource = CraftResource.Bronze;
                            cl.Hue = 1899;
                            m.EquipItem( cl );

                            RingmailArms ra = new RingmailArms();
                            ra.Resource = CraftResource.Bronze;
                            ra.Hue = 1899;
                            m.EquipItem( ra );

                            RingmailGloves rg = new RingmailGloves();
                            rg.Resource = CraftResource.Bronze;
                            rg.Hue = 1899;
                            m.EquipItem( rg );

                            TyreanHornedHelm thh = new TyreanHornedHelm();
                            thh.Resource = CraftResource.Bronze;
                            thh.Hue = 1899;
                            m.EquipItem( thh );

                            FurBoots boots = new FurBoots();
                            boots.Resource = CraftResource.BeastLeather;
                            boots.Hue = 2741;

                            m.EquipItem( boots );

                            if( m.Female )
                            {
                                TyreanHarpoon weapon = new TyreanHarpoon();
                                weapon.Resource = CraftResource.Bronze;

                                m.EquipItem( weapon );
                            }

                            else
                            {
                                TyreanBattleAxe weapon = new TyreanBattleAxe();
                                weapon.Resource = CraftResource.Bronze;

                                m.EquipItem( weapon );
                            }

                            break;
                        }

                        case 2:
                        {
                            LeatherChest lc = new LeatherChest();
                            lc.Resource = CraftResource.BeastLeather;
                            lc.Hue = 1899;
                            m.EquipItem( lc );

                            LeatherLegs ll = new LeatherLegs();
                            ll.Resource = CraftResource.BeastLeather;
                            ll.Hue = 1899;
                            m.EquipItem( ll );

                            LeatherArms la = new LeatherArms();
                            la.Resource = CraftResource.BeastLeather;
                            la.Hue = 1899;
                            m.EquipItem( ll );

                            LeatherGloves lg = new LeatherGloves();
                            lg.Resource = CraftResource.BeastLeather;
                            lg.Hue = 1899;
                            m.EquipItem( lg );

                            LeatherGorget lo = new LeatherGorget();
                            lo.Resource = CraftResource.BeastLeather;
                            lo.Hue = 1899;
                            m.EquipItem( lo );

                            LeatherCap lcap = new LeatherCap();
                            lcap.Resource = CraftResource.BeastLeather;
                            lcap.Hue = 1899;
                            m.EquipItem( lcap );

                            FurBoots boots = new FurBoots();
                            boots.Resource = CraftResource.BeastLeather;
                            boots.Hue = 2741;
                            m.EquipItem( boots );

                            TyreanCompositeBow bow = new TyreanCompositeBow();
                            bow.Resource = CraftResource.Redwood;
                            m.EquipItem( bow );

                            if( m is BaseCreature )
                            {
                                BaseCreature bc = m as BaseCreature;
                                bc.AI = AIType.AI_Archer;
                                bc.PackItem( new Arrow( Utility.RandomMinMax( 10, 20 ) ) );
                            }

                            break;
                        }
                    }

                    break;
                }

                case Nation.Vhalurian:
                {
                    Surcoat coat = new Surcoat();
                    coat.Name = "Vhalurian Military Surcoat";
                    coat.Hue = 1327;
                    coat.ItemID = 15479;
                    m.EquipItem( coat );

                    switch( choice )
                    {
                        case 0:
                        {
                            VhalurianOrnatePlateChest vopc = new VhalurianOrnatePlateChest();
                            vopc.Resource = CraftResource.Bronze;
                            vopc.Hue = 2101;
                            m.EquipItem( vopc );

                            VhalurianOrnatePlateLegs vopl = new VhalurianOrnatePlateLegs();
                            vopl.Resource = CraftResource.Bronze;
                            vopl.Hue = 2101;
                            m.EquipItem( vopl );

                            VhalurianOrnatePlateGorget vopo = new VhalurianOrnatePlateGorget();
                            vopo.Resource = CraftResource.Bronze;
                            vopo.Hue = 2101;
                            m.EquipItem( vopo );

                            PlateSabatons ps = new PlateSabatons();
                            ps.Resource = CraftResource.Bronze;
                            ps.Hue = 2105;
                            m.EquipItem( ps );

                            VhalurianOrnatePlateArms vopa = new VhalurianOrnatePlateArms();
                            vopa.Resource = CraftResource.Bronze;
                            vopa.Hue = 2101;
                            m.EquipItem( vopa );

                            VhalurianOrnatePlateGloves vopg = new VhalurianOrnatePlateGloves();
                            vopg.Resource = CraftResource.Bronze;
                            vopg.Hue = 2101;
                            m.EquipItem( vopg );

                            VhalurianOrnateKiteShield voks = new VhalurianOrnateKiteShield();
                            voks.Resource = CraftResource.Bronze;
                            voks.Hue = 2102;
                            m.EquipItem( voks );

                            m.EquipItem( new Cloak( 1327 ) );

                            if( m.Female )
                            {
                                VhalurianMace mace = new VhalurianMace();
                                mace.Resource = CraftResource.Bronze;

                                m.EquipItem( mace );

                                VhalurianOrnateHelm voh = new VhalurianOrnateHelm();
                                voh.Resource = CraftResource.Bronze;
                                voh.Hue = 2102;
                                m.EquipItem( voh );
                            }

                            else
                            {
                                VhalurianWarHammer mace = new VhalurianWarHammer();
                                mace.Resource = CraftResource.Bronze;

                                m.EquipItem( mace );

                                VhalurianOrnatePlateHelm voph = new VhalurianOrnatePlateHelm();
                                voph.Resource = CraftResource.Bronze;
                                voph.Hue = 2102;
                                m.EquipItem( voph );
                            }

                            break;
                        }

                        case 1:
                        {
                            ChainChest cc = new ChainChest();
                            cc.Resource = CraftResource.Bronze;
                            cc.Hue = 2101;
                            m.EquipItem( cc );

                            ChainLegs cl = new ChainLegs();
                            cl.Resource = CraftResource.Bronze;
                            cl.Hue = 2101;
                            m.EquipItem( cl );

                            ChainCoif co = new ChainCoif();
                            co.Resource = CraftResource.Bronze;
                            co.Hue = 2101;
                            m.EquipItem( co );

                            RingmailArms ra = new RingmailArms();
                            ra.Resource = CraftResource.Bronze;
                            ra.Hue = 2101;
                            m.EquipItem( ra );

                            RingmailGloves rg = new RingmailGloves();
                            rg.Resource = CraftResource.Bronze;
                            rg.Hue = 2101;
                            m.EquipItem( rg );

                            VhalurianMetalKiteShield vmks = new VhalurianMetalKiteShield();
                            vmks.Resource = CraftResource.Bronze;
                            vmks.Hue = 2101;
                            m.EquipItem( vmks );

                            LeatherBoots boots = new LeatherBoots();
                            boots.Resource = CraftResource.BeastLeather;
                            boots.Hue = 2101;

                            m.EquipItem( boots );

                            if( m.Female )
                            {
                                VhalurianGladius sword = new VhalurianGladius();
                                sword.Resource = CraftResource.Bronze;

                                m.EquipItem( sword );
                            }

                            else
                            {
                                VhalurianBroadsword sword = new VhalurianBroadsword();
                                sword.Resource = CraftResource.Bronze;

                                m.EquipItem( sword );
                            }

                            break;
                        }

                        case 2:
                        {
                            LeatherBoots boots = new LeatherBoots();
                            boots.Resource = CraftResource.BeastLeather;
                            boots.Hue = 2101;

                            m.EquipItem( boots );

                            Beret beret = new Beret();
                            beret.Hue = 1327;
                            m.EquipItem( beret );

                            StuddedChest sc = new StuddedChest();
                            sc.Resource = CraftResource.BeastLeather;
                            sc.Hue = 2101;
                            m.EquipItem( sc );

                            StuddedLegs sl = new StuddedLegs();
                            sl.Resource = CraftResource.BeastLeather;
                            sl.Hue = 2101;
                            m.EquipItem( sl );

                            StuddedArms sa = new StuddedArms();
                            sa.Resource = CraftResource.BeastLeather;
                            sa.Hue = 2101;
                            m.EquipItem( sa );

                            StuddedGloves sg = new StuddedGloves();
                            sg.Resource = CraftResource.BeastLeather;
                            sg.Hue = 2101;
                            m.EquipItem( sg );

                            StuddedGorget so = new StuddedGorget();
                            so.Resource = CraftResource.BeastLeather;
                            so.Hue = 2101;
                            m.EquipItem( so );

                            VhalurianLongbow bow = new VhalurianLongbow();
                            bow.Resource = CraftResource.Redwood;

                            m.EquipItem( bow );

                            if( m is BaseCreature )
                            {
                                BaseCreature bc = m as BaseCreature;
                                bc.AI = AIType.AI_Archer;
                                bc.PackItem( new Arrow( Utility.RandomMinMax( 10, 20 ) ) );
                            }

                            break;
                        }
                    }

                    break;
                }
            }
        }