Tailoring Gump v1

Got any custom JavaScript additions/tweaks you think other people would like to see? Post 'em here!
Post Reply
dragon slayer
UOX3 Guru
Posts: 776
Joined: Thu Dec 21, 2006 7:37 am
Has thanked: 4 times
Been thanked: 26 times

Tailoring Gump v1

Post by dragon slayer »

Tailroing Craft Gump. You can enable or disable t2a style just use uox or disable uox and use t2a.

Added Tool wear out. All tools need HP added to them if you use this scripts i recommand hp=30 60 :)
Attachments
tailoring.zip
version 1.0
(4.04 KiB) Downloaded 29 times
dragon slayer
UOX3 Guru
Posts: 776
Joined: Thu Dec 21, 2006 7:37 am
Has thanked: 4 times
Been thanked: 26 times

Post by dragon slayer »

TailoringGump.js
var enableUOX= 0;
var enableT2A= 1;

function onUseChecked( pUser, iUsed )
{
    var socket = pUser.socket;
    if( socket && iUsed && iUsed.isItem )
    {
                iUsed.health -= 1;
                if(iUsed.health == 0)
                {
                  iUsed.Delete();
                  pUser.SysMessage( "You have worn out your tool!" );
              return false;
                }
                else
          socket.tempObj = iUsed;
          var targMsg = GetDictionaryEntry( 459, socket.Language );
          socket.CustomTarget( 1, targMsg );
    }
    return false;
}

function onCallback1( socket, ourObj )
{
    var bItem = socket.tempObj;
    var mChar = socket.currentChar;

    socket.tempObj = null;

    if( mChar && mChar.isChar && bItem && bItem.isItem )
    {
        if( !ourObj || !ourObj.isItem )
        {
            socket.SysMessage( GetDictionaryEntry( 777, socket.Language ) );
            return;
        }

        var resID = ourObj.id;
        if( resID >= 0x0F95 && resID <= 0x0F9C )
        {
            CreateBlankItem( socket, mChar, 50, "#", 0x1766, 0, "ITEM", true );
            if( ourObj.amount > 1 )
                ourObj.amount = ourObj.amount - 1;
            else
                ourObj.Delete();
        }
        else if( ( resID >= 0x175D && resID <= 0x1768 ) || resID == 0x1078 || resID == 0x1079 ) // A valid tailoring resource
        {
                    if( enableUOX == 1 )
                    {
            var ownerObj = GetPackOwner( ourObj, 0 );
            if( ownerObj && mChar.serial == ownerObj.serial )
                socket.MakeMenu( 39, 34 );
            else
                socket.SysMessage( GetDictionaryEntry( 775, socket.Language ) );
                    }
                    if( enableT2A == 1 )
                    {
            var ownerObj = GetPackOwner( ourObj, 0 );
            if( ownerObj && mChar.serial == ownerObj.serial )
                        {
                                var myGump = new Gump;
                myGump.AddPage(0);
                myGump.AddBackground( 0, 0, 585, 393, 5054  );      // Tile Gray Background
                myGump.AddBackground( 194, 36,386, 275, 3000 );     // Tile White Bacground
                myGump.AddHTMLGump( 60, 359, 160, 25, 0, 0, "OKAY" );
                myGump.AddHTMLGump( 320, 359, 160, 25, 0, 0, "CANCEL" );
                myGump.AddHTMLGump( 178, 4, 160, 25, 0, 0,  "Tailoring Selection Menu" );
                myGump.AddButton( 26, 356, 0xfa5, 1, 0, 1 );        // Button - OKAY
                myGump.AddButton( 286, 356, 0xfa5, 1, 0, 0 );           // Button - CANCEL
                myGump.AddBackground( 2, 32, 149, 25, 3000 );
                myGump.AddHTMLGump( 5, 35, 149, 25, 0, 0, "Hats" );         // Hats
                myGump.AddBackground( 2, 57, 149, 25, 3000 );
                myGump.AddHTMLGump( 5, 60, 149, 25, 0, 0, "Shirts" );       // Shirts
                myGump.AddBackground( 2, 82, 149, 25, 3000 );
                myGump.AddHTMLGump( 5, 85, 149, 25, 0, 0, "Pants" );        // Pants
                myGump.AddBackground( 2, 107, 149, 25, 3000 );
                myGump.AddHTMLGump( 5, 110, 149, 25, 0, 0, "Misc" );        // Misc
                myGump.AddBackground( 2, 132, 149, 25, 3000 );
                myGump.AddHTMLGump( 5, 135, 149, 25, 0, 0, "Footwear" );        // Footwear
                myGump.AddBackground( 2, 157, 149, 25, 3000 );
                myGump.AddHTMLGump( 5, 160, 149, 25, 0, 0, "Leather Armor" );       // Leather Armor
                myGump.AddBackground( 2, 182, 149, 25, 3000 );
                myGump.AddHTMLGump( 5, 185, 149, 25, 0, 0, "Studded Armor" );       // Studded Armor
                myGump.AddBackground( 2, 207, 149, 25, 3000 );
                myGump.AddHTMLGump( 5, 210, 149, 25, 0, 0, "Female Armor" );        // Female Armor
                myGump.AddBackground( 2, 232, 149, 25, 3000 );
                myGump.AddHTMLGump( 5, 235, 149, 25, 0, 0, "Bone Armor" );      // Bone Armor
                myGump.AddButton( 156, 36, 0xfa5, 0, 1, 0 );        // Button - Hats
                myGump.AddButton( 156, 61, 0xfa5, 0, 2, 0 );        // Button - Shirts
                myGump.AddButton( 156, 86, 0xfa5, 0, 3, 0 );        // Button - Pants
                myGump.AddButton( 156, 111, 0xfa5, 0, 4, 0 );       // Button - Misc
                myGump.AddButton( 156, 136, 0xfa5, 0, 5, 0 );       // Button - Footwear
                myGump.AddButton( 156, 161, 0xfa5, 0, 6, 0 );       // Button - Leather Armor
                myGump.AddButton( 156, 186, 0xfa5, 0, 7, 0 );       // Button - Studded Armor
                myGump.AddButton( 156, 211, 0xfa5, 0, 8, 0 );       // Button - Female Armor
                myGump.AddButton( 156, 236, 0xfa5, 0, 9, 0 );       // Button - Bone Armor

                myGump.AddPage(1);//Hats
                myGump.AddHTMLGump( 197, 41, 149, 25, 0, 0, "Skullcap" );       // SkullCap
                myGump.AddPicture( 213, 67, 5443 );                         // SkullCap Image
                myGump.AddHTMLGump( 327, 41, 149, 25, 0, 0, "Bandana" );        // Bandana
                myGump.AddPicture( 342, 67, 5439 );                         // Bandana Image
                myGump.AddHTMLGump( 456, 41, 149, 25, 0, 0, "Floppy Hat" );         // Floppy Hat
                myGump.AddPicture( 480, 53, 5907 );                         // Floppy Hat Image
                myGump.AddRadio( 197, 62, 0xd2, 0, 2 );                             // Radio for Skull Cap
                myGump.AddRadio( 327, 62, 0xd2, 0, 3 );                                 // Radio for Bandana
                myGump.AddRadio( 456, 62, 0xd2, 0, 4 );                                 // Radio for Bandana
                myGump.AddHTMLGump( 197, 109, 149, 25, 0, 0, "Cap" );               // Cap
                myGump.AddPicture( 220, 128, 5909 );                            // Cap Image
                myGump.AddHTMLGump( 327, 109, 149, 25, 0, 0, "Wide-Brim Hat" );     // Wide-Brim Hat
                myGump.AddPicture( 347, 122, 5908 );                            // Wide-Brim Hat Image
                myGump.AddHTMLGump( 456, 109, 149, 25, 0, 0, "Straw Hat" );             // Straw Hat
                myGump.AddPicture( 476, 125, 5911 );                            // Straw Hat Image
                myGump.AddRadio( 197, 129, 0xd2, 0, 5 );                            // Radio for Cap
                myGump.AddRadio( 327, 129, 0xd2, 0, 6 );                            // Radio for Wide Brim Hat
                myGump.AddRadio( 456, 129, 0xd2, 0, 7 );                            // Radio for Straw Hat
                myGump.AddHTMLGump( 197, 178, 149, 25, 0, 0, "Tall Straw Hat" );    // Tall Straw Hat
                myGump.AddPicture( 210, 196, 5910 );                            // Tall Straw Hat Image
                myGump.AddHTMLGump( 327, 178, 149, 25, 0, 0, "Wizard's Hat" );      // Wizards Hat
                myGump.AddPicture( 332, 195, 5912 );                            // Wizards Hat Image
                myGump.AddHTMLGump( 456, 178, 149, 25, 0, 0, "Bonnet" );            // Bonnet
                myGump.AddPicture( 478, 196, 5913 );                            // Bonnet Image
                myGump.AddRadio( 197, 199, 0xd2, 0, 8 );                            // Radio for Tall Straw Hat
                myGump.AddRadio( 327, 199, 0xd2, 0, 9 );                            // Radio for Wizards Hat
                myGump.AddRadio( 456, 199, 0xd2, 0, 10 );                           // Radio for Bonnet
                myGump.AddHTMLGump( 197, 241, 149, 25, 0, 0, "Feathered Hat" );     // Feathered Hat
                myGump.AddPicture( 220, 256, 5914 );                            // Feathered Hat Image
                myGump.AddRadio( 197, 261, 0xd2, 0, 11 );                           // Radio for Feathered Hat
                myGump.AddHTMLGump( 327, 241, 149, 25, 0, 0, "Tricorne Hat" );      // Tricorne Hat
                myGump.AddPicture( 347, 256, 5915 );                            // Tricorne Hat Image
                myGump.AddRadio( 327, 261, 0xd2, 0, 12 );                           // Radio for Tricorne Hat
                myGump.AddHTMLGump( 456, 241, 149, 25, 0, 0, "Jester Hat" );        // Jester Hat
                myGump.AddPicture( 478, 256, 5916 );                            // Jester Hat Image
                myGump.AddRadio( 456, 261, 0xd2, 0, 13 );                           // Radio for Jester Hat

                myGump.AddPage(2);//Shirts
                myGump.AddHTMLGump( 197, 41, 149, 25, 0, 0, "Doublet" );        // Doublet
                myGump.AddPicture( 217, 61, 8059 );                         // Doublet Image
                myGump.AddHTMLGump( 327, 41, 149, 25, 0, 0, "Shirt" );              // Shirt
                myGump.AddPicture( 348, 70, 5399 );                         // Shirt Image
                myGump.AddHTMLGump( 456, 41, 149, 25, 0, 0, "Fancy Shirt" );        // Fancy Shirt
                myGump.AddPicture( 470, 58, 7933 );                         // Fancy Shirt Image
                myGump.AddRadio( 197, 62, 0xd2, 0, 14 );                            // Radio for Doublet
                myGump.AddRadio( 327, 62, 0xd2, 0, 15 );                            // Radio for Shirt
                myGump.AddRadio( 456, 62, 0xd2, 0, 16 );                            // Radio for Fancy Shirt
                myGump.AddHTMLGump( 197, 109, 149, 25, 0, 0, "Tunic" );         // Tunic Table
                myGump.AddPicture( 215, 130, 8097 );                            // Tunic Image
                myGump.AddHTMLGump( 327, 109, 149, 25, 0, 0, "Surcoat" );           // Surcoat Hat
                myGump.AddPicture( 347, 122, 8189 );                            // Surcoat Image
                myGump.AddHTMLGump( 456, 109, 149, 25, 0, 0, "Plain Dress" );           // Plain Dress
                myGump.AddPicture( 476, 125, 7937 );                            // Plain Dress Image
                myGump.AddRadio( 197, 129, 0xd2, 0, 17 );                           // Radio for Tunic Table
                myGump.AddRadio( 327, 129, 0xd2, 0, 18 );                           // Radio for Surcoat
                myGump.AddRadio( 456, 129, 0xd2, 0, 19 );                           // Radio for Plain Dress
                myGump.AddHTMLGump( 197, 178, 149, 25, 0, 0, "Fancy Dress" );           // Fancy Dress
                myGump.AddPicture( 210, 196, 7936 );                            // Fancy Dress Image
                myGump.AddHTMLGump( 327, 178, 149, 25, 0, 0, "Cloak" );         // Cloak
                myGump.AddPicture( 332, 195, 5397 );                            // Cloak Image
                myGump.AddHTMLGump( 456, 178, 149, 25, 0, 0, "Robe" );                  // Robe
                myGump.AddPicture( 478, 196, 7939 );                            // Robe Image
                myGump.AddRadio( 197, 199, 0xd2, 0, 20 );                           // Radio for Fancy Dress
                myGump.AddRadio( 327, 199, 0xd2, 0, 21 );                           // Radio for Cloak
                myGump.AddRadio( 456, 199, 0xd2, 0, 22 );                           // Radio for Robe
                myGump.AddHTMLGump( 197, 241, 149, 25, 0, 0, "Jester Suit" );           // Jester Suit
                myGump.AddPicture( 220, 256, 8095 );                            // Jester Suit Image
                myGump.AddRadio( 197, 261, 0xd2, 0, 23 );                           // Radio for Jester Suit

                myGump.AddPage(3);// Pants
                myGump.AddHTMLGump( 197, 41, 149, 25, 0, 0, "Short Pants" );        // Short Pants
                myGump.AddPicture( 213, 67, 5422 );                         // Short Pants Image
                myGump.AddHTMLGump( 327, 41, 149, 25, 0, 0, "Long Pants" );         // Long Pants
                myGump.AddPicture( 342, 67, 5433 );                         // Long Pants Image
                myGump.AddHTMLGump( 456, 41, 149, 25, 0, 0, "Kilt" );               // Kilt
                myGump.AddPicture( 480, 67, 5431 );                         // Kilt Image
                myGump.AddRadio( 197, 62, 0xd2, 0, 24 );                            // Radio for Short Pants
                myGump.AddRadio( 327, 62, 0xd2, 0, 25 );                            // Radio for Long Pants
                myGump.AddRadio( 456, 62, 0xd2, 0, 26 );                            // Radio for Kilt
                myGump.AddHTMLGump( 197, 109, 149, 25, 0, 0, "Skirt" );         // Skirt
                myGump.AddPicture( 220, 140, 5398 );                            // Skirt Image
                myGump.AddRadio( 197, 129, 0xd2, 0, 27 );                           // Radio for Skirt

                myGump.AddPage(4);//Misc
                myGump.AddHTMLGump( 197, 41, 149, 25, 0, 0, "Body Sash" );      // Body Sash
                myGump.AddPicture( 217, 72, 5441 );                         // Body Sash Image
                myGump.AddHTMLGump( 327, 41, 149, 25, 0, 0, "Half Apron" );         // Half Apron
                myGump.AddPicture( 345, 67, 5435 );                         // Half Apron Image
                myGump.AddHTMLGump( 456, 41, 149, 25, 0, 0, "Full Apron" );         // Full Apron
                myGump.AddPicture( 480, 71, 5437 );                         // Full Apron Image
                myGump.AddRadio( 197, 62, 0xd2, 0, 28 );                            // Radio for Body Sash
                myGump.AddRadio( 327, 62, 0xd2, 0, 29 );                            // Radio for Half Apron
                myGump.AddRadio( 456, 62, 0xd2, 0, 30 );                            // Radio for Full Apron
                myGump.AddHTMLGump( 197, 109, 149, 25, 0, 0, "Oil Cloth" );         // Oil Cloth
                myGump.AddPicture( 220, 140, 5985 );                            // Oil Cloth Image
                myGump.AddRadio( 197, 129, 0xd2, 0, 31 );                           // Radio for Oil Cloth

                myGump.AddPage(5 );//Footwear
                myGump.AddHTMLGump( 197, 41, 149, 25, 0, 0, "Sandals" );        // Sandals
                myGump.AddPicture( 220, 64, 5902 );                         // Sandals Image
                myGump.AddHTMLGump( 327, 41, 149, 25, 0, 0, "Shoes" );              // Shoes
                myGump.AddPicture( 350, 70, 5904 );                         // Shoes Image
                myGump.AddHTMLGump( 456, 41, 149, 25, 0, 0, "Boots" );              // Boots
                myGump.AddPicture( 470, 71, 5900 );                         // Boots Image
                myGump.AddRadio( 197, 62, 0xd2, 0, 32 );                            // Radio for Sandals
                myGump.AddRadio( 327, 62, 0xd2, 0, 33 );                            // Radio for Shoes
                myGump.AddRadio( 456, 62, 0xd2, 0, 34 );                            // Radio for Boots
                myGump.AddHTMLGump( 197, 109, 149, 25, 0, 0, "Thigh Boots" );       // Thigh Boots
                myGump.AddPicture( 220, 140, 5906 );                            // Thigh Boots Image
                myGump.AddRadio( 197, 129, 0xd2, 0, 35 );                           // Radio for Thigh Boots

                myGump.AddPage(6);//Leather Armor
                myGump.AddHTMLGump( 197, 41, 149, 25, 0, 0, "Leather Gorget" );     // Leather Gorget
                myGump.AddPicture( 213, 67, 5063 );                         // Leather Gorget Image
                myGump.AddHTMLGump( 327, 41, 149, 25, 0, 0, "Leather Cap" );        // Leather Cap
                myGump.AddPicture( 340, 55, 7609 );                         // Leather Cap Image
                myGump.AddHTMLGump( 456, 41, 149, 25, 0, 0, "Leather Gloves" );     // Leather Gloves
                myGump.AddPicture( 480, 73, 5062 );                         // Leather Gloves Image
                myGump.AddRadio( 197, 62, 0xd2, 0, 36 );                            // Radio for Leather Gorget
                myGump.AddRadio( 327, 62, 0xd2, 0, 37 );                            // Radio for Leather Cap
                myGump.AddRadio( 456, 62, 0xd2, 0, 38 );                            // Radio for Leather Gloves
                myGump.AddHTMLGump( 197, 109, 149, 25, 0, 0, "Leather Arms" );      // Leather Arms
                myGump.AddPicture( 220, 150, 5069 );                            // Leather Arms Image
                myGump.AddHTMLGump( 327, 109, 149, 25, 0, 0, "Leather Legs" );      // Leather Legs
                myGump.AddPicture( 347, 150, 5063 );                            // Leather Legs Image
                myGump.AddHTMLGump( 456, 109, 149, 25, 0, 0, "Leather Chest" );     // Leather Chest
                myGump.AddPicture( 476, 150, 5068 );                            // Leather Chest Image
                myGump.AddRadio( 197, 129, 0xd2, 0, 39 );                           // Radio for Leather Arms
                myGump.AddRadio( 327, 129, 0xd2, 0, 40 );                           // Radio for Leather Legs
                myGump.AddRadio( 456, 129, 0xd2, 0, 41 );                           // Radio for Leather Chest

                myGump.AddPage(7);//Studded Armor
                myGump.AddHTMLGump( 197, 41, 149, 25, 0, 0, "Studded Gorget" );     // Studded Gorget
                myGump.AddPicture( 220, 67, 5078 );                         // Studded Gorget Image
                myGump.AddHTMLGump( 327, 41, 149, 25, 0, 0, "Studded Gloves" );     // Studded Gloves
                myGump.AddPicture( 352, 67, 5077 );                         // Studded Gloves Image
                myGump.AddHTMLGump( 456, 41, 149, 25, 0, 0, "Studded Arms" );       // Studded Arms
                myGump.AddPicture( 480, 67, 5076 );                         // Studded Arms Image
                myGump.AddRadio( 197, 62, 0xd2, 0, 42 );                            // Radio for Studded Gorget
                myGump.AddRadio( 327, 62, 0xd2, 0, 43 );                            // Radio for Studded Gloves
                myGump.AddRadio( 456, 62, 0xd2, 0, 44 );                            // Radio for Studded Arms
                myGump.AddHTMLGump( 197, 109, 149, 25, 0, 0, "Studded Legs" );      // Studded Legs
                myGump.AddPicture( 220, 140, 5082 );                            // Studded Legs Image
                myGump.AddHTMLGump( 327, 109, 149, 25, 0, 0, "Studded Chest" );     // Studded Chest
                myGump.AddPicture( 352, 140, 5083 );                            // Studded Chest Image
                myGump.AddRadio( 197, 129, 0xd2, 0, 45 );                           // Radio for Studded Legs
                myGump.AddRadio( 327, 129, 0xd2, 0, 46 );                           // Radio for Studded Chest

                myGump.AddPage(8);//Female Armor
                myGump.AddHTMLGump( 197, 41, 149, 25, 0, 0, "Leather Shorts" );     // Leather Shorts
                myGump.AddPicture( 220, 67, 7168 );                         // Leather Shorts Image
                myGump.AddHTMLGump( 327, 41, 149, 25, 0, 0, "Leather Skirt" );      // Leather Skirt
                myGump.AddPicture( 352, 67, 7176 );                         // Leather Skirt Image
                myGump.AddHTMLGump( 456, 41, 149, 25, 0, 0, "Leather Bustier" );    // Leather Bustier Arms
                myGump.AddPicture( 480, 67, 7178 );                         // Leather Bustier Arms Image
                myGump.AddRadio( 197, 62, 0xd2, 0, 47 );                            // Radio for Leather Shorts
                myGump.AddRadio( 327, 62, 0xd2, 0, 48 );                            // Radio for Leather Skirt
                myGump.AddRadio( 456, 62, 0xd2, 0, 49 );                            // Radio for Leather Bustier Arms
                myGump.AddHTMLGump( 197, 109, 149, 25, 0, 0, "Studded Bustier" );   // Studded Bustier Arms
                myGump.AddPicture( 220, 140, 7180 );                            // Studded Bustier Arms Image
                myGump.AddHTMLGump( 327, 109, 149, 25, 0, 0, "Leather Chest" );     // Female Leather Chest
                myGump.AddPicture( 352, 140, 7174 );                            // Female Leather Chest Image
                myGump.AddHTMLGump( 456, 109, 149, 25, 0, 0, "Studded Chest" );     // Female Studded Chest
                myGump.AddPicture( 476, 150, 7170 );                            // Female Studded Chest Image
                myGump.AddRadio( 197, 129, 0xd2, 0, 50 );                           // Radio for Studded Bustier Arms
                myGump.AddRadio( 327, 129, 0xd2, 0, 51 );                           // Radio for Female Leather Chest
                myGump.AddRadio( 456, 129, 0xd2, 0, 52 );                           // Radio for Female Studded Chest

                myGump.AddPage(9);//Bone Armor
                myGump.AddHTMLGump( 197, 41, 149, 25, 0, 0, "Bone Helm" );      // Bone Helm
                myGump.AddPicture( 220, 67, 5201 );                         // Bone Helm Image
                myGump.AddHTMLGump( 327, 41, 149, 25, 0, 0, "Bone Gloves" );        // Bone Gloves
                myGump.AddPicture( 352, 67, 5200 );                         // Bone Gloves Image
                myGump.AddHTMLGump( 456, 41, 149, 25, 0, 0, "Bone Arms" );      // Bone Arms
                myGump.AddPicture( 480, 67, 5198 );                         // Bone Arms
                myGump.AddRadio( 197, 62, 0xd2, 0, 53 );                            // Radio for Bone Helm
                myGump.AddRadio( 327, 62, 0xd2, 0, 54 );                            // Radio for Bone Gloves
                myGump.AddRadio( 456, 62, 0xd2, 0, 55 );                            // Radio for Bone Arms
                myGump.AddHTMLGump( 197, 109, 149, 25, 0, 0, "Bone Legs" );         // Bone Legs
                myGump.AddPicture( 220, 140, 5202 );                            // Bone Legs Image
                myGump.AddHTMLGump( 327, 109, 149, 25, 0, 0, "Bone Chest" );        // Bone Chest
                myGump.AddPicture( 352, 140, 5199 );                            // Bone Chest Image
                myGump.AddHTMLGump( 456, 109, 149, 25, 0, 0, "Orc Helm" );      // Orc Helm
                myGump.AddPicture( 480, 140, 7947 );                            // Orc Helm Image
                myGump.AddRadio( 197, 129, 0xd2, 0, 56 );                           // Radio for Bone Legs
                myGump.AddRadio( 327, 129, 0xd2, 0, 57 );                           // Radio for Bone Chest
                myGump.AddRadio( 456, 129, 0xd2, 0, 58 );                           // Radio for Orc Helm
                                myGump.Send( mChar ); // send this gump to client now
                                myGump.Free(); // clear this gump from uox-memory
                                return false;
                         }
             else
                socket.SysMessage( GetDictionaryEntry( 775, socket.Language ) );
                    }
        }
        else
            socket.SysMessage( "You can't make anything from that material." );
    }
}

function onGumpPress( pSock, pButton, gumpData )
{
    var pUser = pSock.currentChar;
    switch(pButton)
    {
        case 0:
            // abort and do nothing
            break;
        case 1:
                        var OtherButton = gumpData.getButton(0);
            switch( OtherButton )
            {
                case 2:
                                        MakeItem( pSock, pUser, 130 );
                            break;//SkullCap
                case 3:
                                        MakeItem( pSock, pUser, 131 );
                            break;//Bandana
                case 4:
                                        MakeItem( pSock, pUser, 132 );
                            break;//FloppyHat
                case 5:
                                        MakeItem( pSock, pUser, 134 );
                            break;//Cap
                case 6:
                                        MakeItem( pSock, pUser, 133 );
                            break;//WideBrimHat
                case 7:
                                        MakeItem( pSock, pUser, 136 );
                            break;//StrawHat
                case 8:
                                        MakeItem( pSock, pUser, 135 );
                            break;//TallStrawHat
                case 9:
                                        MakeItem( pSock, pUser, 137 );
                            break;//WizardsHat
                case 10:
                                        MakeItem( pSock, pUser, 138 );
                            break;//Bonnet
                case 11:
                                        MakeItem( pSock, pUser, 139 );
                            break;//FeatheredHat
                case 12:
                                        MakeItem( pSock, pUser, 140 );
                            break;//TricorneHat
                case 13:
                                        MakeItem( pSock, pUser, 141 );
                            break;//JesterHat
                case 14:
                                        MakeItem( pSock, pUser, 142 );
                            break;//Doublet
                case 15:
                                        MakeItem( pSock, pUser, 143 );
                            break;//Shirt
                case 16:
                                        MakeItem( pSock, pUser, 144 );
                            break;//FancyShirt
                case 17:
                                        MakeItem( pSock, pUser, 145 );
                            break;//Tunic
                case 18:
                                        MakeItem( pSock, pUser, 146 );
                            break;//Surcoat
                case 19:
                                        MakeItem( pSock, pUser, 147 );
                            break;//PlainDress
                case 20:
                                        MakeItem( pSock, pUser, 148 );
                            break;//FancyDress
                case 21:
                                        MakeItem( pSock, pUser, 149 );
                            break;//Cloak
                case 22:
                                        MakeItem( pSock, pUser, 150 );
                            break;//Robe
                case 23:
                                        MakeItem( pSock, pUser, 151 );
                            break;//JesterSuit
                case 24:
                                        MakeItem( pSock, pUser, 180 );
                            break;//ShortPants
                case 25:
                                        MakeItem( pSock, pUser, 152 );
                            break;//LongPants
                case 26:
                                        MakeItem( pSock, pUser, 153 );
                            break;//Kilt
                case 27:
                                        MakeItem( pSock, pUser, 154 );
                            break;//Skirt
                case 28:
                                        MakeItem( pSock, pUser, 155 );
                            break;//BodySash
                case 29:
                                        MakeItem( pSock, pUser, 156 );
                            break;//HalfApron
                case 30:
                                        MakeItem( pSock, pUser, 157 );
                            break;//FullApron
                case 31:
                                        MakeItem( pSock, pUser, 158 );
                            break;//OilCloth
                case 32:
                                        MakeItem( pSock, pUser, 159 );
                            break;//Sandals
                case 33:
                                        MakeItem( pSock, pUser, 160 );
                            break;//Shoes
                case 34:
                                        MakeItem( pSock, pUser, 161 );
                            break;//Boots
                case 35:
                                        MakeItem( pSock, pUser, 162 );
                            break;//ThighBoots
                case 36:
                                        MakeItem( pSock, pUser, 163 );
                            break;//LeatherGorget
                case 37:
                                        MakeItem( pSock, pUser, 164 );
                            break;//LeatherCap
                case 38:
                                        MakeItem( pSock, pUser, 165 );
                            break;//LeatherGloves
                case 39:
                                        MakeItem( pSock, pUser, 166 );
                            break;//LeatherArms
                case 40:
                                        MakeItem( pSock, pUser, 167 );
                            break;//LeatherLegs
                case 41:
                                        MakeItem( pSock, pUser, 168 );
                            break;//LeatherChest
                case 42:
                                        MakeItem( pSock, pUser, 169 );
                            break;//StuddedGorget
                case 43:
                                        MakeItem( pSock, pUser, 170 );
                            break;//StuddedGloves
                case 44:
                                        MakeItem( pSock, pUser, 171 );
                            break;//StuddedArms
                case 45:
                                        MakeItem( pSock, pUser, 172 );
                            break;//StuddedLegs
                case 46:
                                        MakeItem( pSock, pUser, 173 );
                            break;//StuddedChest
                case 47:
                                        MakeItem( pSock, pUser, 174 );
                            break;//LeatherShorts
                case 48:
                                        MakeItem( pSock, pUser, 175 );
                            break;//LeatherSkirt
                case 49:
                                        MakeItem( pSock, pUser, 176 );
                            break;//LeatherBustierArms
                case 50:
                                        MakeItem( pSock, pUser, 177 );
                            break;//StuddedBustierArms
                case 51:
                                        MakeItem( pSock, pUser, 178 );
                            break;//FemaleLeatherChest
                case 52:
                                        MakeItem( pSock, pUser, 179 );
                            break;//FemaleStuddedChest
                //case 53:
                                       /// MakeItem( pSock, pUser,  );
                            //break;//BoneHelm
                //case 54:
                                       // MakeItem( pSock, pUser,  );
                            //break;//BoneGloves
                //case 55:
                                       // MakeItem( pSock, pUser,  );
                            //break;//BoneArms
                //case 56:
                                       // MakeItem( pSock, pUser,  );
                            //break;//BoneLegs
                //case 57:
                                       // MakeItem( pSock, pUser,  );
                            //break;//BoneChest
                //case 58:
                                       // MakeItem( pSock, pUser,  );
                            //break;//OrcHelm
            }
            break;
    }
}
Post Reply