private static void AddBeard( Mobile m, int itemID, int hue )
        {
            if ( m.Female )
                return;

            Item item;

            switch ( itemID & 0x3FFF )
            {
                case 0x203E: item = new LongBeard( hue ); break;
                case 0x203F: item = new ShortBeard( hue ); break;
                case 0x2040: item = new Goatee( hue ); break;
                case 0x2041: item = new Mustache( hue ); break;
                case 0x204B: item = new MediumShortBeard( hue ); break;
                case 0x204C: item = new MediumLongBeard( hue ); break;
                case 0x204D: item = new Vandyke( hue ); break;
                default: return;
            }

            m.AddItem( item );
        }
Example #2
0
		public override void InitOutfit()
		{
			WipeLayers();
			AddItem( new Sandals() );

			// New Fall Fashions!

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

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

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

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

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

			Item beard = new Goatee();  
			beard.Hue = 0x47E;
			beard.Movable = false;
			AddItem(beard);

			//  End New Additions
			
		}
Example #3
0
 public virtual Item AddRandomFacialHair( int hairHue )
 {
     Item hair = null;
     switch ( Utility.Random( 5 ) )
     {
         case 0: AddItem( hair = new LongBeard( hairHue ) ); break;
         case 1: AddItem( hair = new MediumLongBeard( hairHue ) ); break;
         case 2: AddItem( hair = new Vandyke( hairHue ) ); break;
         case 3: AddItem( hair = new Mustache( hairHue ) ); break;
         case 4: AddItem( hair = new Goatee( hairHue ) ); break;
     }
     return hair;
 }