Inheritance: BaseHat
Example #1
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 );
        }
Example #2
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;
        }
        public TownChestClothier() : base(0xE43)
        {
            Name    = "a metal chest -5-";
            Movable = true;
            Weight  = 1000.0;

            Hue = 83;

            TrapPower = 0;
            Locked    = true;

            RequiredSkill = 5;
            LockLevel     = 5;
            MaxLockLevel  = 10;

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

            // Supplies

            if (Utility.RandomDouble() < 0.20)
            {
                DropItem(new Cotton(Utility.Random(25, 50)));
            }

            if (Utility.RandomDouble() < 0.20)
            {
                DropItem(new Wool(Utility.Random(25, 50)));
            }

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

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

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

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

            if (Utility.RandomDouble() < 0.20)
            {
                DropItem(new BoltOfCloth(Utility.Random(20, 45)));
            }

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

            if (Utility.RandomDouble() < 0.25)
            {
                DropItem(new Leather(Utility.Random(15, 35)));
            }

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

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

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

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

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

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

                DropItem(hat);
            }

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

                DropItem(clothing);
            }
        }
		public PokerDealer() : base(AIType.AI_Vendor, FightMode.None, 10, 1, 0.8, 3.0)
		{
			m_Registry.Add(this);
			m_MaxPlayers = 10;
			DealerMode = DealerSetup.Regular;
			m_TotalGoldToJackpot = 0;
			m_TotalGoldDrained = 0;
			m_RoundsFinished = 0;
			m_PlayerAmount = 0;
			m_memblind = 0;

			#region NPC Properties
			SetStr(55, 100);
			SetDex(55, 100);
			SetInt(55, 100);
			Fame = 50;
			Karma = 50;
			SpeechHue = Utility.RandomDyedHue();
			Title = "the pokerdealer";
			Hue = Utility.RandomSkinHue();
			NameHue = 0x35;
			Blessed = true;
			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 = new Bonnet();
				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, 0x2040, 0x2041, 0x204D));
				beard.Hue = hair.Hue;
				beard.Layer = Layer.FacialHair;
				beard.Movable = false;
				AddItem(beard);
				Item hat = new StrawHat();
				AddItem(hat);
			}
			AddItem(new HalfApron());
			AddItem(new Skirt());
			AddItem(new Sandals());
			AddItem(new Doublet());
			Container pack = new Backpack();
			pack.DropItem(new Gold(5, 500));
			pack.Movable = false;
			pack.Visible = false;
			AddItem(pack);
			#endregion
		}
        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;
                }
            }
        }
        public static void RandomRichClothes( 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 ElegantShortDress( Utility.RandomNeutralHue() ) );
                                m.EquipItem( new GoldNecklace() );
                                break;
                            }

                            case 1:
                            {
                                m.EquipItem( new PuffyDress( Utility.RandomNeutralHue() ) );
                                m.EquipItem( new SilverNecklace() );
                                break;
                            }

                            case 2:
                            {
                                m.EquipItem( new OrnateDress( Utility.RandomNeutralHue() ) );
                                m.EquipItem( new SilverBracelet() );
                                break;
                            }
                        }

                        m.EquipItem( new Sandals() );
                    }

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

                            case 1:
                            {
                                int hue = Utility.RandomNeutralHue();
                                m.EquipItem( new ElegantTunic( hue ) );
                                m.EquipItem( new ElegantShoes() );
                                m.EquipItem( new BeltedPants() );
                                m.EquipItem( new ElegantCloak( hue ) );
                                m.EquipItem( new GoldBeadNecklace() );
                                break;
                            }

                            case 2:
                            {
                                int hue = Utility.RandomNeutralHue();
                                Bonnet bonnet = new Bonnet();
                                bonnet.Hue = hue;
                                m.EquipItem( bonnet );
                                m.EquipItem( new LeatherBoots() );
                                m.EquipItem( new BeltedPants() );
                                m.EquipItem( new RunicCloak( hue ) );
                                m.EquipItem( new LeatherGloves() );
                                m.EquipItem( new ElegantShirt() );
                                break;
                            }
                        }
                    }

                    break;
                }

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

                            case 1:
                            {
                                m.EquipItem( new LongSkirt( Utility.RandomNeutralHue() ) );
                                m.EquipItem( new SilverBracelet() );
                                m.EquipItem( new SilverNecklace() );
                                m.EquipItem( new SilverRing() );
                                break;
                            }

                            case 2:
                            {
                                m.EquipItem( new ShortPlainDress( Utility.RandomNeutralHue() ) );
                                m.EquipItem( new GoldBracelet() );
                                m.EquipItem( new GoldBeadNecklace() );
                                m.EquipItem( new GoldRing() );
                                break;
                            }
                        }

                        m.EquipItem( new Sandals() );

                        if( choice < 2 )
                            m.EquipItem( new MetallicBra() );
                    }

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

                            case 1:
                            {
                                m.EquipItem( new OrnateWaistCloth( Utility.RandomNeutralHue() ) );
                                break;
                            }

                            case 2:
                            {
                                m.EquipItem( new AzhuranLeatherTunic() );
                                break;
                            }
                        }

                        m.EquipItem( new Sandals() );
                        m.EquipItem( new GoldBeadNecklace() );

                        if( choice < 2 )
                        {
                            m.EquipItem( new GoldBracelet() );
                            m.EquipItem( new GoldRing() );
                        }
                    }

                    break;
                }

                case Nation.Khemetar:
                {
                    if( m.Female )
                    {
                        switch( choice )
                        {
                            case 0:
                            {
                                m.EquipItem( new ElegantShortDress() );
                                m.EquipItem( new GoldRing() );
                                m.EquipItem( new GoldBeadNecklace() );
                                break;
                            }

                            case 1:
                            {
                                m.EquipItem( new GildedGown() );
                                m.EquipItem( new FancyGloves() );
                                m.EquipItem( new SilverBeadNecklace() );
                                m.EquipItem( new SilverEarrings() );
                                break;
                            }

                            case 2:
                            {
                                m.EquipItem( new ElegantSkirt() );
                                m.EquipItem( new FancyBra() );
                                m.EquipItem( new GoldBracelet() );
                                break;
                            }
                        }

                        m.EquipItem( new Sandals() );
                    }

                    else
                    {
                        switch( choice )
                        {
                            case 0:
                            {
                                m.EquipItem( new ElegantTunic() );
                                m.EquipItem( new BeltedPants() );
                                m.EquipItem( new ThighBoots() );
                                m.EquipItem( new GoldBeadNecklace() );
                                break;
                            }

                            case 1:
                            {
                                m.EquipItem( new LongSkirt() );
                                m.EquipItem( new GoldEarrings() );
                                m.EquipItem( new GoldBracelet() );
                                m.EquipItem( new GoldRing() );
                                break;
                            }

                            case 2:
                            {
                                m.EquipItem( new BaggyPants() );
                                m.EquipItem( new Shoes() );
                                m.EquipItem( new Doublet() );
                                m.EquipItem( new GoldRing() );
                                m.EquipItem( new GoldBeadNecklace() );
                                break;
                            }
                        }

                        if( choice < 2 )
                            m.EquipItem( new RunicCloak() );

                        if( choice != 1 )
                            m.EquipItem( new WaistSash() );
                    }

                    break;
                }

                case Nation.Mhordul:
                {
                    if( m.Female )
                    {
                        switch( choice )
                        {
                            case 0:
                            {
                                m.EquipItem( new LongRaggedBra() );
                                m.EquipItem( new LongSkirt( Utility.RandomNeutralHue() ) );
                                m.EquipItem( new GoldBeadNecklace() );
                                break;
                            }

                            case 1:
                            {
                                m.EquipItem( new LongRaggedBra() );
                                m.EquipItem( new Skirt( Utility.RandomNeutralHue() ) );
                                m.EquipItem( new GoldEarrings() );
                                break;
                            }

                            case 2:
                            {
                                m.EquipItem( new ShortPlainDress( Utility.RandomNeutralHue() ) );
                                m.EquipItem( new GoldRing() );
                                m.EquipItem( new GoldBeadNecklace() );
                                break;
                            }
                        }

                        m.EquipItem( new Sandals() );
                    }

                    else
                    {
                        switch( choice )
                        {
                            case 0:
                            {
                                m.EquipItem( new RaggedPants( Utility.RandomNeutralHue() ) );
                                m.EquipItem( new MonsterMask() );
                                break;
                            }
                            case 1:
                            {
                                m.EquipItem( new WaistCloth( Utility.RandomNeutralHue() ) );
                                m.EquipItem( new WolfMask() );
                                break;
                            }
                            case 2:
                            {
                                m.EquipItem( new LongSkirt( Utility.RandomNeutralHue() ) );
                                m.EquipItem( new BearMask() );
                                m.EquipItem( new StuddedArms() );
                                break;
                            }
                        }

                        m.EquipItem( new Sandals() );
                        m.EquipItem( new GoldBeadNecklace() );
                        m.EquipItem( new GoldRing() );

                        if( choice < 2 )
                        {
                            m.EquipItem( new ElegantCloak( Utility.RandomNeutralHue() ) );
                            m.EquipItem( new GoldBracelet() );
                        }
                    }

                    break;
                }

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

                            case 1:
                            {
                                int hue = Utility.RandomSlimeHue();
                                FloppyHat floppy = new FloppyHat();
                                floppy.Hue = hue;
                                m.EquipItem( floppy );
                                m.EquipItem( new LongOrnateDress( hue ) );
                                break;
                            }

                            case 2:
                            {
                                m.EquipItem( new GoldRing() );
                                m.EquipItem( new LongDress( Utility.RandomSlimeHue() ) );
                                break;
                            }
                        }

                        m.EquipItem( new ElegantShoes() );

                        if( choice < 2 )
                        {
                            m.EquipItem( new GoldBracelet() );
                            m.EquipItem( new GoldBeadNecklace() );
                        }
                    }

                    else
                    {
                        switch( choice )
                        {
                            case 0:
                            {
                                int hue = Utility.RandomNeutralHue();
                                m.EquipItem( new ExpensiveShirt() );
                                m.EquipItem( new ThighBoots() );
                                m.EquipItem( new ElegantCloak( hue ) );
                                m.EquipItem( new ElegantTunic( Utility.RandomNeutralHue() ) );
                                break;
                            }

                            case 1:
                            {
                                int hue = Utility.RandomNeutralHue();
                                m.EquipItem( new ExpensiveShirt() );
                                m.EquipItem( new ExpensiveCloak( hue ) );
                                m.EquipItem( new ElegantSurcoat( Utility.RandomNeutralHue() ) );
                                break;
                            }

                            case 2:
                            {
                                int hue = Utility.RandomNeutralHue();
                                m.EquipItem( new ExpensiveCloak( hue ) );
                                m.EquipItem( new ExpensiveShirt() );
                                m.EquipItem( new PaddedVest( Utility.RandomNeutralHue() ) );
                                break;
                            }
                        }

                        m.EquipItem( new BeltedPants( Utility.RandomNeutralHue() ) );

                        if( choice > 0 )
                        {
                            m.EquipItem( new BlackLeatherBoots() );
                        }
                    }

                    break;
                }

                case Nation.Vhalurian:
                {
                    if( m.Female )
                    {
                        switch( choice )
                        {
                            case 0:
                            {
                                m.EquipItem( new ExpensiveLongGown( Utility.RandomNeutralHue() ) );
                                m.EquipItem( new WhiteFeatheredHat() );
                                m.EquipItem( new SilverBeadNecklace() );
                                break;
                            }

                            case 1:
                            {
                                m.EquipItem( new GildedFancyDress( Utility.RandomNeutralHue() ) );
                                m.EquipItem( new GoldBeadNecklace() );
                                m.EquipItem( new ExpensiveCloak() );
                                break;
                            }

                            case 2:
                            {
                                m.EquipItem( new ExpensiveGown( Utility.RandomNeutralHue() ) );
                                m.EquipItem( new ExpensiveHat() );
                                m.EquipItem( new GoldEarrings() );
                                m.EquipItem( new ElegantShoes() );
                                break;
                            }
                        }
                        if( choice < 2 )
                            m.EquipItem( new HighHeels() );
                    }

                    else
                    {
                        switch( choice )
                        {
                            case 0:
                            {
                                m.EquipItem( new ExpensiveShirt( Utility.RandomNeutralHue() ) );
                                m.EquipItem( new ExpensiveCloak() );
                                m.EquipItem( new WhiteFeatheredHat() );
                                break;
                            }

                            case 1:
                            {
                                m.EquipItem( new ExtravagantShirt( Utility.RandomNeutralHue() ) );
                                break;
                            }

                            case 2:
                            {
                                m.EquipItem( new ElegantShoes() );
                                m.EquipItem( new FormalShirt( Utility.RandomNeutralHue() ) );
                                m.EquipItem( new GoldRing() );
                                break;
                            }
                        }
                    }

                    m.EquipItem( new BeltedPants( Utility.RandomNeutralHue() ) );

                    if( choice < 2 )
                            m.EquipItem( new ThighBoots() );

                    if( choice > 0 )
                            m.EquipItem( new ElegantCloak( Utility.RandomNeutralHue() ) );

                    break;
                }
            }
        }