Inheritance: BaseHat
示例#1
0
		public DummyThief() : base(AIType.AI_Thief, FightMode.Closest, 15, 1, 0.2, 0.6)
		{
			// A Dummy Hybrid Thief
			int iHue = 20 + Team * 40;
			int jHue = 25 + Team * 40;

			// Skills and Stats
			this.InitStats( 105, 105, 105 );
			this.Skills[SkillName.Healing].Base = 120;
			this.Skills[SkillName.Anatomy].Base = 120;
			this.Skills[SkillName.Stealing].Base = 120;
			this.Skills[SkillName.ArmsLore].Base = 100;
			this.Skills[SkillName.Meditation].Base = 120;
			this.Skills[SkillName.Wrestling].Base = 120;

			// Name
			this.Name = "Hybrid Thief";

			// Equip
			Spellbook book = new Spellbook();
			book.Movable = false;
			book.LootType = LootType.Newbied;
			book.Content =0xFFFFFFFFFFFFFFFF;
			AddItem( book );

			LeatherArms lea = new LeatherArms();
			lea.Movable = false;
			lea.LootType = LootType.Newbied;
			lea.Crafter = this;
			lea.Quality = ArmorQuality.Regular;
			AddItem( lea );

			LeatherChest lec = new LeatherChest();
			lec.Movable = false;
			lec.LootType = LootType.Newbied;
			lec.Crafter = this;
			lec.Quality = ArmorQuality.Regular;
			AddItem( lec );

			LeatherGorget leg = new LeatherGorget();
			leg.Movable = false;
			leg.LootType = LootType.Newbied;
			leg.Crafter = this;
			leg.Quality = ArmorQuality.Regular;
			AddItem( leg );

			LeatherLegs lel = new LeatherLegs();
			lel.Movable = false;
			lel.LootType = LootType.Newbied;
			lel.Crafter = this;
			lel.Quality = ArmorQuality.Regular;
			AddItem( lel );

			Sandals snd = new Sandals();
			snd.Hue = iHue;
			snd.LootType = LootType.Newbied;
			AddItem( snd );

			Cap cap = new Cap();
			cap.Hue = iHue;
			AddItem( cap );

			Robe robe = new Robe();
			robe.Hue = iHue;
			AddItem( robe );

			Bandage band = new Bandage( 50 );
			AddToBackpack( band );
		}
示例#2
0
		public DummyStun() : base(AIType.AI_Mage, FightMode.Closest, 15, 1, 0.2, 0.6)
		{

			// A Dummy Stun Mage
			int iHue = 20 + Team * 40;
			int jHue = 25 + Team * 40;

			// Skills and Stats
			this.InitStats( 90, 90, 125 );
			this.Skills[SkillName.Magery].Base = 100;
			this.Skills[SkillName.EvalInt].Base = 120;
			this.Skills[SkillName.Anatomy].Base = 80;
			this.Skills[SkillName.Wrestling].Base = 80;
			this.Skills[SkillName.Meditation].Base = 100;
			this.Skills[SkillName.Poisoning].Base = 100;


			// Name
			this.Name = "Stun Mage";

			// Equip
			Spellbook book = new Spellbook();
			book.Movable = false;
			book.LootType = LootType.Newbied;
			book.Content =0xFFFFFFFFFFFFFFFF;
			AddItem( book );

			LeatherArms lea = new LeatherArms();
			lea.Movable = false;
			lea.LootType = LootType.Newbied;
			lea.Crafter = this;
			lea.Quality = ArmorQuality.Regular;
			AddItem( lea );

			LeatherChest lec = new LeatherChest();
			lec.Movable = false;
			lec.LootType = LootType.Newbied;
			lec.Crafter = this;
			lec.Quality = ArmorQuality.Regular;
			AddItem( lec );

			LeatherGorget leg = new LeatherGorget();
			leg.Movable = false;
			leg.LootType = LootType.Newbied;
			leg.Crafter = this;
			leg.Quality = ArmorQuality.Regular;
			AddItem( leg );

			LeatherLegs lel = new LeatherLegs();
			lel.Movable = false;
			lel.LootType = LootType.Newbied;
			lel.Crafter = this;
			lel.Quality = ArmorQuality.Regular;
			AddItem( lel );

			Boots bts = new Boots();
			bts.Hue = iHue;
			AddItem( bts );

			Cap cap = new Cap();
			cap.Hue = iHue;
			AddItem( cap );

			// Spells
			AddSpellAttack( typeof(Spells.First.MagicArrowSpell) );
			AddSpellAttack( typeof(Spells.First.WeakenSpell) );
			AddSpellAttack( typeof(Spells.Third.FireballSpell) );
			AddSpellDefense( typeof(Spells.Third.WallOfStoneSpell) );
			AddSpellDefense( typeof(Spells.First.HealSpell) );
		}
示例#3
0
		public DummyAssassin() : base(AIType.AI_Melee, FightMode.Closest, 15, 1, 0.2, 0.6)
		{
			// A Dummy Hybrid Assassin
			int iHue = 20 + Team * 40;
			int jHue = 25 + Team * 40;

			// Skills and Stats
			this.InitStats( 105, 105, 105 );
			this.Skills[SkillName.Magery].Base = 120;
			this.Skills[SkillName.EvalInt].Base = 120;
			this.Skills[SkillName.Swords].Base = 120;
			this.Skills[SkillName.Tactics].Base = 120;
			this.Skills[SkillName.Meditation].Base = 120;
			this.Skills[SkillName.Poisoning].Base = 100;

			// Name
			this.Name = "Hybrid Assassin";

			// Equip
			Spellbook book = new Spellbook();
			book.Movable = false;
			book.LootType = LootType.Newbied;
			book.Content =0xFFFFFFFFFFFFFFFF;
			AddToBackpack( book );

			Katana kat = new Katana();
			kat.Movable = false;
			kat.LootType = LootType.Newbied;
			kat.Crafter = this;
			kat.Poison = Poison.Deadly;
			kat.PoisonCharges = 12;
			kat.Quality = WeaponQuality.Regular;
			AddToBackpack( kat );

			LeatherArms lea = new LeatherArms();
			lea.Movable = false;
			lea.LootType = LootType.Newbied;
			lea.Crafter = this;
			lea.Quality = ArmorQuality.Regular;
			AddItem( lea );

			LeatherChest lec = new LeatherChest();
			lec.Movable = false;
			lec.LootType = LootType.Newbied;
			lec.Crafter = this;
			lec.Quality = ArmorQuality.Regular;
			AddItem( lec );

			LeatherGorget leg = new LeatherGorget();
			leg.Movable = false;
			leg.LootType = LootType.Newbied;
			leg.Crafter = this;
			leg.Quality = ArmorQuality.Regular;
			AddItem( leg );

			LeatherLegs lel = new LeatherLegs();
			lel.Movable = false;
			lel.LootType = LootType.Newbied;
			lel.Crafter = this;
			lel.Quality = ArmorQuality.Regular;
			AddItem( lel );

			Sandals snd = new Sandals();
			snd.Hue = iHue;
			snd.LootType = LootType.Newbied;
			AddItem( snd );

			Cap cap = new Cap();
			cap.Hue = iHue;
			AddItem( cap );

			Robe robe = new Robe();
			robe.Hue = iHue;
			AddItem( robe );

			DeadlyPoisonPotion pota = new DeadlyPoisonPotion();
			pota.LootType = LootType.Newbied;
			AddToBackpack( pota );

			DeadlyPoisonPotion potb = new DeadlyPoisonPotion();
			potb.LootType = LootType.Newbied;
			AddToBackpack( potb );

			DeadlyPoisonPotion potc = new DeadlyPoisonPotion();
			potc.LootType = LootType.Newbied;
			AddToBackpack( potc );

			DeadlyPoisonPotion potd = new DeadlyPoisonPotion();
			potd.LootType = LootType.Newbied;
			AddToBackpack( potd );

			Bandage band = new Bandage( 50 );
			AddToBackpack( band );

		}
示例#4
0
        public Commoner5()
            : base(AIType.AI_Melee, FightMode.None, 10, 1, 0.8, 3.0)
        {
            SetStr( 10, 30 );
            SetDex( 10, 30 );
            SetInt( 10, 30 );

            Fame = 50;
            Karma = 50;

            SetSkill( SkillName.Fishing, 60.0, 70.0 );
            SetSkill( SkillName.Cooking, 60.0, 70.0 );

            SpeechHue = Utility.RandomDyedHue();
            Title = string.Empty;//Commoner5.Titles[Utility.Random( 0, Titles.Length )];
            Hue = Utility.RandomSkinHue();
            if ( this.Female = Utility.RandomBool() )
            {
                this.Body = 0x191;
                this.Name = NameList.RandomName( "female" );
                Item hair = new Item( Utility.RandomList( 0x203B, 0x203C, 0x203D, 0x2045, 0x204A, 0x2046 , 0x2049 ) );
                hair.Hue = Utility.RandomHairHue();
                hair.Layer = Layer.Hair;
                hair.Movable = false;
                AddItem( hair );
                Item hat = null;
                switch ( Utility.Random( 5 ) )//4 hats, one empty, for no hat
                {
                    case 0: hat = new FloppyHat( Utility.RandomNeutralHue() );		break;
                    case 1: hat = new FeatheredHat( Utility.RandomNeutralHue() );	break;
                    case 2: hat = new Bonnet();			break;
                    case 3: hat = new Cap( Utility.RandomNeutralHue() );			break;
                }
                AddItem( hat );
                Item pants = null;
                switch ( Utility.Random( 3 ) )
                {
                    case 0: pants = new ShortPants( GetRandomHue() );	break;
                    case 1: pants = new LongPants( GetRandomHue() );	break;
                    case 2: pants = new Skirt( GetRandomHue() );		break;
                }
                AddItem( pants );
                Item shirt = null;
                switch ( Utility.Random( 7 ) )
                {
                    case 0: shirt = new Doublet( GetRandomHue() );		break;
                    case 1: shirt = new Surcoat( GetRandomHue() );		break;
                    case 2: shirt = new Tunic( GetRandomHue() );		break;
                    case 3: shirt = new FancyDress( GetRandomHue() );	break;
                    case 4: shirt = new PlainDress( GetRandomHue() );	break;
                    case 5: shirt = new FancyShirt( GetRandomHue() );	break;
                    case 6: shirt = new Shirt( GetRandomHue() );		break;
                }
                AddItem( shirt );
            }
            else
            {
                this.Body = 0x190;
                this.Name = NameList.RandomName( "male" );
                Item hair = new Item( Utility.RandomList( 0x203B, 0x203C, 0x203D, 0x2044, 0x2045, 0x2047, 0x2048 ) );
                hair.Hue = Utility.RandomHairHue();
                hair.Layer = Layer.Hair;
                hair.Movable = false;
                AddItem( hair );
                Item beard = new Item( Utility.RandomList( 0x0000, 0x203E, 0x203F, 0x2040, 0x2041, 0x2067, 0x2068, 0x2069 ) );
                beard.Hue = hair.Hue;
                beard.Layer = Layer.FacialHair;
                beard.Movable = false;
                AddItem( beard );
                Item hat = null;
                switch ( Utility.Random( 7 ) ) //6 hats, one empty, for no hat
                {
                    case 0: hat = new SkullCap( GetRandomHue() );					break;
                    case 1: hat = new Bandana( GetRandomHue() );					break;
                    case 2: hat = new WideBrimHat();								break;
                    case 3: hat = new TallStrawHat( Utility.RandomNeutralHue() );	break;
                    case 4: hat = new StrawHat( Utility.RandomNeutralHue() );		break;
                    case 5: hat = new TricorneHat( Utility.RandomNeutralHue() );	break;
                }
                AddItem( hat );
                Item pants = null;
                switch ( Utility.Random( 2 ) )
                {
                    case 0: pants = new ShortPants( GetRandomHue() );	break;
                    case 1: pants = new LongPants( GetRandomHue() );	break;
                }
                AddItem( pants );
                Item shirt = null;
                switch ( Utility.Random( 5 ) )
                {
                    case 0: shirt = new Doublet( GetRandomHue() );		break;
                    case 1: shirt = new Surcoat( GetRandomHue() );		break;
                    case 2: shirt = new Tunic( GetRandomHue() );		break;
                    case 3: shirt = new FancyShirt( GetRandomHue() );	break;
                    case 4: shirt = new Shirt( GetRandomHue() );		break;
                }
                AddItem( shirt );
            }

            Item feet = null;
            switch ( Utility.Random( 3 ) )
            {
                case 0: feet = new Boots( Utility.RandomNeutralHue() );	break;
                case 1: feet = new Shoes( Utility.RandomNeutralHue() );	break;
                case 2: feet = new Sandals( Utility.RandomNeutralHue() );		break;
            }
            AddItem( feet );
            Container pack = new Backpack();

            pack.DropItem( new Gold( 0, 50 ) );

            pack.Movable = false;

            AddItem( pack );
        }
示例#5
0
        public Gambler() : base( AIType.AI_Melee, FightMode.None, 10, 1, 0.8, 3.0 ) 
        {
            SetStr( 10, 30 );
            SetDex( 10, 30 );
            SetInt( 10, 30 );
            Fame = 50;
            Karma = 50;
            SpeechHue = Utility.RandomDyedHue();
            Title = "the gambler";
            Hue = Utility.RandomSkinHue();
            Blessed = true;
            NameHue = 0x35;

            if ( this.Female = Utility.RandomBool() )
            {
                this.Body = 0x191;
                this.Name = NameList.RandomName( "female" );
                Item hair = new Item( Utility.RandomList( 0x203B, 0x203C, 0x203D, 0x2045, 0x204A, 0x2046 , 0x2049 ) );
                hair.Hue = Utility.RandomHairHue();
                hair.Layer = Layer.Hair;
                hair.Movable = false;
                AddItem( hair );
                Item hat = null;
                switch ( Utility.Random( 5 ) )
                {
                    case 0: hat = new FloppyHat( Utility.RandomNeutralHue() );		break;
                    case 1: hat = new FeatheredHat( Utility.RandomNeutralHue() );	break;
                    case 2: hat = new Bonnet();						break;
                    case 3: hat = new Cap( Utility.RandomNeutralHue() );		break;
                }
	    	AddItem( hat );
            }
            else
            {
                this.Body = 0x190;
                this.Name = NameList.RandomName( "male" );
                Item hair = new Item( Utility.RandomList( 0x203B, 0x203C, 0x203D, 0x2044, 0x2045, 0x2047, 0x2048 ) );
                hair.Hue = Utility.RandomHairHue();
                hair.Layer = Layer.Hair;
                hair.Movable = false;
                AddItem( hair );
                Item beard = new Item( Utility.RandomList( 0x0000, 0x203E, 0x203F, 0x2040, 0x2041, 0x2067, 0x2068, 0x2069 ) );
                beard.Hue = hair.Hue;
                beard.Layer = Layer.FacialHair;
                beard.Movable = false;
                AddItem( beard );
                Item hat = null;
                switch ( Utility.Random( 7 ) )
                {
                    case 0: hat = new SkullCap( GetRandomHue() );			break;
                    case 1: hat = new Bandana( GetRandomHue() );			break;
                    case 2: hat = new WideBrimHat();					break;
                    case 3: hat = new TallStrawHat( Utility.RandomNeutralHue() );	break;
                    case 4: hat = new StrawHat( Utility.RandomNeutralHue() );		break;
                    case 5: hat = new TricorneHat( Utility.RandomNeutralHue() );	break;
                }
	    	AddItem( hat );
	    }
            AddItem( new LongPants( GetRandomHue() ) );
            AddItem( new FancyShirt( GetRandomHue() ) );
            AddItem( new Boots( Utility.RandomNeutralHue() ) );
            AddItem( new Cloak( GetRandomHue() ) );
            AddItem( new BodySash( GetRandomHue() ) );

            Container pack = new Backpack();

            pack.DropItem( new Gold( 5, 500 ) );

            pack.Movable = false;
	    pack.Visible = false;

            AddItem( pack );

	    //reset stats
	    for ( int i = 0; i <= 5; ++i )
		gamestats[i]=0;
        }
        /// <summary>
        /// This is the function gives weaponry to players.
        /// </summary>
        private static void ArmPlayer(CTFPlayerGameData pgd)
        {
            Mobile m = pgd.Mob;

            if (!m.Alive)
                m.Resurrect();

            for (int i = m.Items.Count - 1; i >= 0; --i)
            {
                Item item = (Item)m.Items[i];
                if (item.Layer == Layer.OuterTorso)
                {
                    item.Delete();
                    break;
                }
            }

            List<Item> armthis = new List<Item>();

            if(GiveRobe)
                armthis.Add(new CTFRobe(pgd.Team));

            Item rankedCloth = null;
            CTFTeam team = pgd.Team;

            // 21 Ranks
            switch (CTFData.GetRank(m))
            {
                default:
                case 0: rankedCloth = new JesterHat(team.Hue); break;
                case 1: rankedCloth = new TallStrawHat(team.Hue); break;
                case 2: rankedCloth = new FloppyHat(team.Hue); break;
                case 3: rankedCloth = new WideBrimHat(team.Hue); break;
                case 4: rankedCloth = new Cap(team.Hue); break;
                case 5: rankedCloth = new SkullCap(team.Hue); break;
                case 6: rankedCloth = new FlowerGarland(team.Hue); break;
                case 7: rankedCloth = new StrawHat(team.Hue); break;
                case 8: rankedCloth = new FeatheredHat(team.Hue); break;
                case 9: rankedCloth = new TricorneHat(team.Hue); break;
                case 10: rankedCloth = new TribalMask(team.Hue); break;
                case 11: rankedCloth = new HornedTribalMask(team.Hue); break;
                case 12: rankedCloth = new BearMask(team.Hue); break;
                case 13: rankedCloth = new DeerMask(team.Hue); break;
                case 14: rankedCloth = new OrcishKinMask(team.Hue); break;
                case 15: rankedCloth = new SavageMask(team.Hue); break;
                case 16: rankedCloth = new WizardsHat(team.Hue); break;
                case 17: rankedCloth = new Bandana(team.Hue); break;
                case 18: rankedCloth = new ClothNinjaHood(team.Hue); break;
                case 19: rankedCloth = new Kasa(team.Hue); break;
                case 20:
                    rankedCloth = new BoneHelm();
                    rankedCloth.Hue = team.Hue;
                    ((BaseArmor)rankedCloth).ArmorAttributes.MageArmor = 1;
                    break;
            }
            if (rankedCloth != null)
            {
                rankedCloth.Movable = false;
                armthis.Add(rankedCloth);
            }

            //Alchemy removed by Blady
            /* 			if (m.Skills[SkillName.Alchemy].Value >= (m_MinSupplySkill + 15)) //80 Alchemy req - by Blady
            {
                for (int i = 0; i < 6; i++) //Amount reduced to 6 by Blady - used to be 10
                {
                    armthis.Add(new ExplosionPotion());
                    armthis.Add(new GreaterHealPotion());
                    armthis.Add(new GreaterCurePotion());
                    armthis.Add(new GreaterAgilityPotion());
                    armthis.Add(new RefreshPotion());
                    armthis.Add(new GreaterStrengthPotion());
                }
            } */

            if (m.Skills[SkillName.Chivalry].Value >= m_MinSupplySkill)
            {
                BookOfChivalry book = new BookOfChivalry();
                book.Content = 1023;//all spells
                armthis.Add(book);
            }

            if (m.Skills[SkillName.Necromancy].Value >= m_MinSupplySkill)
            {
                NecromancerSpellbook book = new NecromancerSpellbook();
                book.Content = 0x1FFFF;
                armthis.Add(book);
            }

            if (m.Skills[SkillName.Magery].Value >= m_MinSupplySkill)
            {
                GnarledStaff gs = new GnarledStaff();
                gs.Attributes.SpellChanneling = 1;
                gs.WeaponAttributes.MageWeapon = 20;
                armthis.Add(gs);

                Spellbook book = new Spellbook();
                book.Content = ulong.MaxValue;
                armthis.Add(book);
            }

            if (m.Skills[SkillName.Healing].Value >= m_MinSupplySkill)
                armthis.Add(new Bandage(1000));

            if (m.Skills[SkillName.Fencing].Value >= m_MinSupplySkill)
            {
                Spear sp = new Spear();
                sp.Attributes.SpellChanneling = 1;
                armthis.Add(sp);

                ShortSpear ssp = new ShortSpear();
                ssp.Attributes.SpellChanneling = 1;
                armthis.Add(ssp);

                WarFork wf = new WarFork();
                wf.Attributes.SpellChanneling = 1;
                armthis.Add(wf);

                Kryss k = new Kryss();
                k.Attributes.SpellChanneling = 1;
                armthis.Add(k);
            }

            if (m.Skills[SkillName.Swords].Value >= m_MinSupplySkill)
            {
                if (m.Skills[SkillName.Lumberjacking].Value >= m_MinSupplySkill)
                {
                    ExecutionersAxe ea = new ExecutionersAxe();
                    ea.Attributes.SpellChanneling = 1;
                    armthis.Add(ea);
                }

                Katana k = new Katana();
                k.Attributes.SpellChanneling = 1;
                armthis.Add(k);

                Longsword ls = new Longsword();
                ls.Attributes.SpellChanneling = 1;
                armthis.Add(ls);

                Cleaver c = new Cleaver();
                c.Attributes.SpellChanneling = 1;
                armthis.Add(c);

                BoneHarvester bh = new BoneHarvester();
                bh.Attributes.SpellChanneling = 1;
                armthis.Add(bh);
            }

            if (m.Skills[SkillName.Macing].Value >= m_MinSupplySkill)
            {
                WarAxe wa = new WarAxe();
                wa.Attributes.SpellChanneling = 1;
                armthis.Add(wa);

                HammerPick hp = new HammerPick();
                hp.Attributes.SpellChanneling = 1;
                armthis.Add(hp);

                QuarterStaff qs = new QuarterStaff();
                qs.Attributes.SpellChanneling = 1;
                armthis.Add(qs);
            }

            if (m.Skills[SkillName.Archery].Value >= m_MinSupplySkill)
            {
                Bow b = new Bow();
                b.Attributes.SpellChanneling = 1;
                armthis.Add(b);

                Crossbow xb = new Crossbow();
                xb.Attributes.SpellChanneling = 1;
                armthis.Add(xb);

                CompositeBow cb = new CompositeBow();
                cb.Attributes.SpellChanneling = 1;
                armthis.Add(cb);

                armthis.Add(new Arrow(150));
                armthis.Add(new Bolt(150));
            }

            if (m.Skills[SkillName.Poisoning].Value >= m_MinSupplySkill)
            {
                for (int i = 0; i < 2; i++)
                    armthis.Add(new GreaterPoisonPotion());
            }

            if (m.Skills[SkillName.Parry].Value >= m_MinSupplySkill)
            {
                MetalKiteShield ks = new MetalKiteShield();
                ks.Attributes.SpellChanneling = 1;
                armthis.Add(ks);
            }

            SunnySystem.ArmPlayer(m, armthis);
        }
示例#7
0
        public DummyHealer()
            : base(AIType.AI_Healer, FightMode.Closest, 15, 1, 0.2, 0.6)
        {
            // A Dummy Healer Mage
            int iHue = 20 + this.Team * 40;
            int jHue = 25 + this.Team * 40;

            // Skills and Stats
            this.InitStats(125, 125, 125);
            this.Skills[SkillName.Magery].Base = 120;
            this.Skills[SkillName.EvalInt].Base = 120;
            this.Skills[SkillName.Anatomy].Base = 120;
            this.Skills[SkillName.Wrestling].Base = 120;
            this.Skills[SkillName.Meditation].Base = 120;
            this.Skills[SkillName.Healing].Base = 100;

            // Name
            this.Name = "Healer";

            // Equip
            Spellbook book = new Spellbook();
            book.Movable = false;
            book.LootType = LootType.Newbied;
            book.Content = 0xFFFFFFFFFFFFFFFF;
            this.AddItem(book);

            LeatherArms lea = new LeatherArms();
            lea.Movable = false;
            lea.LootType = LootType.Newbied;
            lea.Crafter = this;
            lea.Quality = ArmorQuality.Regular;
            this.AddItem(lea);

            LeatherChest lec = new LeatherChest();
            lec.Movable = false;
            lec.LootType = LootType.Newbied;
            lec.Crafter = this;
            lec.Quality = ArmorQuality.Regular;
            this.AddItem(lec);

            LeatherGorget leg = new LeatherGorget();
            leg.Movable = false;
            leg.LootType = LootType.Newbied;
            leg.Crafter = this;
            leg.Quality = ArmorQuality.Regular;
            this.AddItem(leg);

            LeatherLegs lel = new LeatherLegs();
            lel.Movable = false;
            lel.LootType = LootType.Newbied;
            lel.Crafter = this;
            lel.Quality = ArmorQuality.Regular;
            this.AddItem(lel);

            Sandals snd = new Sandals();
            snd.Hue = iHue;
            snd.LootType = LootType.Newbied;
            this.AddItem(snd);

            Cap cap = new Cap();
            cap.Hue = iHue;
            this.AddItem(cap);

            Robe robe = new Robe();
            robe.Hue = iHue;
            this.AddItem(robe);
        }
        public static void RandomCrafterClothes( Mobile m, Nation nation )
        {
            if( m == null )
                return;

            int choice = Utility.RandomMinMax( 0, 2 );

            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:
                {
                    if( m.Female )
                    {
                        switch( choice )
                        {
                            case 0:
                            {
                                m.EquipItem( new Shirt( Utility.RandomNeutralHue() ) );
                                m.EquipItem( new HalfApron( Utility.RandomNeutralHue() ) );
                                m.EquipItem( new FemaleKilt( Utility.RandomNeutralHue() ) );
                                break;
                            }

                            case 1:
                            {
                                m.EquipItem( new ShortPants( Utility.RandomNeutralHue() ) );
                                m.EquipItem( new MetallicBra() );
                                m.EquipItem( new FullApron( Utility.RandomNeutralHue() ) );
                                break;
                            }

                            case 2:
                            {
                                m.EquipItem( new MetallicBra() );
                                m.EquipItem( new HalfApron( Utility.RandomNeutralHue() ) );
                                m.EquipItem( new ElegantFemaleKilt( Utility.RandomNeutralHue() ) );
                                break;
                            }
                        }

                        m.EquipItem( new ElegantShoes() );
                    }

                    else
                    {
                        switch( choice )
                        {
                            case 0:
                            {
                                m.EquipItem( new ElegantKilt( Utility.RandomNeutralHue() ) );
                                m.EquipItem( new HalfApron( Utility.RandomNeutralHue() ) );
                                m.EquipItem( new Sandals() );
                                break;
                            }

                            case 1:
                            {
                                m.EquipItem( new FullApron( Utility.RandomNeutralHue() ) );
                                m.EquipItem( new BlackLeatherBoots() );
                                m.EquipItem( new BeltedPants() );
                                break;
                            }

                            case 2:
                            {
                                m.EquipItem( new LeatherBoots() );
                                m.EquipItem( new BeltedPants() );
                                m.EquipItem( new LeatherGloves() );
                                m.EquipItem( new ShortPants( Utility.RandomNeutralHue() ) );
                                m.EquipItem( new HalfApron( Utility.RandomNeutralHue() ) );
                                break;
                            }
                        }
                    }

                    break;
                }

                case Nation.Azhuran:
                {
                    if( m.Female )
                    {
                        switch( choice )
                        {
                            case 0:
                            {
                                m.EquipItem( new HalfApron( Utility.RandomNeutralHue() ) );
                                m.EquipItem( new ShortPants( Utility.RandomNeutralHue() ) );
                                m.EquipItem( new MetallicBra() );
                                break;
                            }

                            case 1:
                            {
                                m.EquipItem( new FullApron( Utility.RandomNeutralHue() ) );
                                m.EquipItem( new ShortPants( Utility.RandomNeutralHue() ) );
                                m.EquipItem( new Shirt( Utility.RandomNeutralHue() ) );
                                m.EquipItem( new LeatherGloves() );
                                break;
                            }

                            case 2:
                            {
                                m.EquipItem( new HalfApron( Utility.RandomNeutralHue() ) );
                                m.EquipItem( new LoinCloth( Utility.RandomNeutralHue() ) );
                                m.EquipItem( new MetallicBra() );
                                break;
                            }
                        }

                        m.EquipItem( new Sandals() );
                    }

                    else
                    {
                        switch( choice )
                        {
                            case 0:
                            {
                                m.EquipItem( new HalfApron( Utility.RandomNeutralHue() ) );
                                m.EquipItem( new ShortPants( Utility.RandomNeutralHue() ) );
                                m.EquipItem( new Sandals() );
                                break;
                            }

                            case 1:
                            {
                                m.EquipItem( new FullApron( Utility.RandomNeutralHue() ) );
                                m.EquipItem( new ShortPants( Utility.RandomNeutralHue() ) );
                                m.EquipItem( new Sandals() );
                                break;
                            }

                            case 2:
                            {
                                m.EquipItem( new HalfApron( Utility.RandomNeutralHue() ) );
                                m.EquipItem( new ShortPants( Utility.RandomNeutralHue() ) );
                                m.EquipItem( new Boots() );
                                m.EquipItem( new LeatherGloves() );
                                break;
                            }
                        }
                    }

                    break;
                }

                case Nation.Khemetar:
                {
                    if( m.Female )
                    {
                        switch( choice )
                        {
                            case 0:
                            {
                                m.EquipItem( new HalfApron() );
                                m.EquipItem( new Sandals() );
                                m.EquipItem( new GoldBeadNecklace() );
                                m.EquipItem( new LongPlainDress( 2983 ) );
                                break;
                            }

                            case 1:
                            {
                                m.EquipItem( new BaggyPants() );
                                m.EquipItem( new FullApron() );
                                m.EquipItem( new Shirt() );
                                m.EquipItem( new Shoes() );
                                break;
                            }

                            case 2:
                            {
                                m.EquipItem( new Doublet() );
                                m.EquipItem( new HalfApron() );
                                m.EquipItem( new LongSkirt() );
                                m.EquipItem( new Sandals() );
                                break;
                            }
                        }
                    }

                    else
                    {
                        switch( choice )
                        {
                            case 0:
                            {
                                m.EquipItem( new BaggyPants() );
                                m.EquipItem( new FullApron() );
                                m.EquipItem( new LeatherGloves() );
                                m.EquipItem( new Shoes() );
                                break;
                            }

                            case 1:
                            {
                                m.EquipItem( new LongSkirt() );
                                m.EquipItem( new HalfApron() );
                                m.EquipItem( new Sandals() );
                                break;
                            }

                            case 2:
                            {
                                m.EquipItem( new BaggyPants() );
                                m.EquipItem( new Shoes() );
                                m.EquipItem( new HalfApron() );
                                break;
                            }
                        }
                    }

                    break;
                }

                case Nation.Mhordul:
                {
                    if( m.Female )
                    {
                        switch( choice )
                        {
                            case 0:
                            {
                                m.EquipItem( new Sandals() );
                                m.EquipItem( new HalfApron( Utility.RandomNeutralHue() ) );
                                m.EquipItem( new SmallDress( Utility.RandomNeutralHue() ) );
                                break;
                            }

                            case 1:
                            {
                                m.EquipItem( new Boots() );
                                m.EquipItem( new FullApron( Utility.RandomNeutralHue() ) );
                                m.EquipItem( new RaggedPants( Utility.RandomNeutralHue() ) );
                                m.EquipItem( new RaggedBra( Utility.RandomNeutralHue() ) );
                                m.EquipItem( new LeatherGloves() );
                                break;
                            }

                            case 2:
                            {
                                m.EquipItem( new SmallRaggedSkirt( Utility.RandomNeutralHue() ) );
                                m.EquipItem( new RaggedBra( Utility.RandomNeutralHue() ) );
                                m.EquipItem( new HalfApron( Utility.RandomNeutralHue() ) );
                                m.EquipItem( new Sandals() );
                                break;
                            }
                        }
                    }

                    else
                    {
                        switch( choice )
                        {
                            case 0:
                            {
                                m.EquipItem( new RaggedPants( Utility.RandomNeutralHue() ) );
                                m.EquipItem( new HalfApron( Utility.RandomNeutralHue() ) );
                                m.EquipItem( new LeatherBoots() );
                                m.EquipItem( new LeatherGloves() );
                                break;
                            }
                            case 1:
                            {
                                m.EquipItem( new RaggedPants( Utility.RandomNeutralHue() ) );
                                m.EquipItem( new FullApron( Utility.RandomNeutralHue() ) );
                                m.EquipItem( new Sandals() );
                                break;
                            }
                            case 2:
                            {
                                m.EquipItem( new ShortPants( Utility.RandomNeutralHue() ) );
                                m.EquipItem( new HalfApron( Utility.RandomNeutralHue() ) );
                                m.EquipItem( new Sandals() );
                                break;
                            }
                        }
                    }

                    break;
                }

                case Nation.Tyrean:
                {
                    if( m.Female )
                    {
                        switch( choice )
                        {
                            case 0:
                            {
                                int hue = Utility.RandomNeutralHue();
                                Bonnet bonnet = new Bonnet();
                                bonnet.Hue = hue;
                                m.EquipItem( bonnet );
                                m.EquipItem( new PlainDress( hue ) );
                                m.EquipItem( new HalfApron( hue ) );
                                m.EquipItem( new FurBoots() );
                                break;
                            }

                            case 1:
                            {
                                m.EquipItem( new FurBoots() );
                                m.EquipItem( new FancyShirt() );
                                m.EquipItem( new LongPants() );
                                m.EquipItem( new LeatherGloves() );
                                m.EquipItem( new FullApron( Utility.RandomNeutralHue() ) );
                                break;
                            }

                            case 2:
                            {
                                int hue = Utility.RandomNeutralHue();
                                m.EquipItem( new Skirt( hue ) );
                                m.EquipItem( new HalfApron( hue ) );
                                m.EquipItem( new Boots() );
                                m.EquipItem( new FancyShirt() );
                                break;
                            }
                        }
                    }

                    else
                    {
                        switch( choice )
                        {
                            case 0:
                            {
                                m.EquipItem( new FurBoots() );
                                m.EquipItem( new FancyShirt() );
                                m.EquipItem( new BeltedPants( Utility.RandomNeutralHue() ) );
                                m.EquipItem( new FullApron( Utility.RandomNeutralHue() ) );
                                break;
                            }

                            case 1:
                            {
                                m.EquipItem( new FurBoots() );
                                m.EquipItem( new Shirt() );
                                m.EquipItem( new FullApron( Utility.RandomNeutralHue() ) );
                                m.EquipItem( new LongVest( Utility.RandomNeutralHue() ) );
                                m.EquipItem( new BeltedPants( Utility.RandomNeutralHue() ) );
                                break;
                            }

                            case 2:
                            {
                                m.EquipItem( new Boots() );
                                m.EquipItem( new LeatherGloves() );
                                m.EquipItem( new Tunic( Utility.RandomNeutralHue() ) );
                                m.EquipItem( new HalfApron( Utility.RandomNeutralHue() ) );
                                m.EquipItem( new BeltedPants( Utility.RandomNeutralHue() ) );
                                break;
                            }
                        }
                    }

                    break;
                }

                case Nation.Vhalurian:
                {
                    if( m.Female )
                    {
                        switch( choice )
                        {
                            case 0:
                            {
                                int hue = Utility.RandomNeutralHue();
                                Cap bonnet = new Cap();
                                bonnet.Hue = hue;
                                m.EquipItem( bonnet );
                                m.EquipItem( new FullApron( hue ) );
                                m.EquipItem( new LeatherGloves() );
                                m.EquipItem( new LeatherBoots() );
                                m.EquipItem( new Shirt() );
                                m.EquipItem( new LongPants( Utility.RandomNeutralHue() ) );
                                break;
                            }

                            case 1:
                            {
                                m.EquipItem( new BeltedDress( Utility.RandomNeutralHue() ) );
                                m.EquipItem( new HalfApron( Utility.RandomNeutralHue() ) );
                                m.EquipItem( new ElegantShoes() );
                                break;
                            }

                            case 2:
                            {
                                int hue = Utility.RandomNeutralHue();
                                m.EquipItem( new HalfApron( Utility.RandomNeutralHue() ) );
                                m.EquipItem( new Skirt( hue ) );
                                m.EquipItem( new FancyDoublet( hue ) );
                                m.EquipItem( new FancyShirt() );
                                m.EquipItem( new ElegantShoes() );
                                break;
                            }
                        }
                    }

                    else
                    {
                        switch( choice )
                        {
                            case 0:
                            {
                                m.EquipItem( new FullApron( Utility.RandomNeutralHue() ) );
                                m.EquipItem( new ShortPants( Utility.RandomNeutralHue() ) );
                                m.EquipItem( new ElegantShoes() );
                                m.EquipItem( new FancyShirt() );
                                break;
                            }

                            case 1:
                            {
                                m.EquipItem( new HalfApron( Utility.RandomNeutralHue() ) );
                                m.EquipItem( new BeltedPants( Utility.RandomNeutralHue() ) );
                                m.EquipItem( new BlackLeatherBoots() );
                                m.EquipItem( new FancyShirt() );
                                m.EquipItem( new Tunic( Utility.RandomNeutralHue() ) );
                                break;
                            }

                            case 2:
                            {
                                m.EquipItem( new LeatherGloves() );
                                m.EquipItem( new HalfApron( Utility.RandomNeutralHue() ) );
                                m.EquipItem( new BeltedPants( Utility.RandomNeutralHue() ) );
                                m.EquipItem( new Shirt( Utility.RandomNeutralHue() ) );
                                m.EquipItem( new LeatherBoots() );
                                break;
                            }
                        }
                    }
                    break;
                }
            }
        }