dialog "inventory"
{
    extents       = { 0, 0, 1024, 768 };
    visible       = false;
    panel "fadeback"
    {
        extents           = { 0, 0, 1024, 768 };
        bgcolor           = 0x99000011;
        consumeevents     = true;
        onlbup            = >>inventory.close;
    }
    picture "InventoryPanel"
    {
        extents       = { 210, 155, 796, 407 };
        skinpack      = "inventory";
        skinframe     = 0;
        label "lbl"
        {
            textxalign      = Center;
            shadowcolor     = 0xff000000;
            shadowshifty    = 2;
            wraptext        = true;
            text            = "#JHLV";
            extents         = { 278, 15, 208, 46 };
            font            = "caption_font";
            fontheight      = 30;
            fgcolor         = 0xffdbc595;
            hoverfgcolor    = 0xffeecc95;
        }
        group "InventoryButtons"
        {
            button "p1"
            {
                normalframe       = 1;
                disabledframe     = 2;
                extents           = { 33, 85, 159, 118 };
                skinpack          = "inventory";
                tag               = 1;
                enabled           = false;
                unpress           = >>UIClick.Play;
                unpress           = >>worldmapscript.OnInventory;
            }
            button "p2"
            {
                normalframe       = 3;
                disabledframe     = 4;
                extents           = { 223, 85, 159, 118 };
                skinpack          = "inventory";
                tag               = 2;
                enabled           = false;
                unpress           = >>UIClick.Play;
                unpress           = >>worldmapscript.OnInventory;
            }
            button "p3"
            {
                normalframe       = 5;
                disabledframe     = 6;
                extents           = { 410, 86, 159, 118 };
                skinpack          = "inventory";
                tag               = 3;
                enabled           = false;
                unpress           = >>UIClick.Play;
                unpress           = >>worldmapscript.OnInventory;
            }
            button "p4"
            {
                normalframe       = 7;
                disabledframe     = 8;
                extents           = { 600, 82, 159, 118 };
                skinpack          = "inventory";
                tag               = 4;
                enabled           = false;
                unpress           = >>UIClick.Play;
                unpress           = >>worldmapscript.OnInventory;
            }
            button "p5"
            {
                normalframe       = 9;
                disabledframe     = 10;
                extents           = { 35, 240, 159, 118 };
                skinpack          = "inventory";
                tag               = 3;
                enabled           = false;
                unpress           = >>UIClick.Play;
                unpress           = >>worldmapscript.OnInventory;
            }
            button "p6"
            {
                normalframe       = 11;
                disabledframe     = 12;
                extents           = { 226, 240, 159, 118 };
                skinpack          = "inventory";
                tag               = 6;
                enabled           = false;
                unpress           = >>UIClick.Play;
                unpress           = >>worldmapscript.OnInventory;
            }
            button "p7"
            {
                normalframe       = 13;
                disabledframe     = 14;
                extents           = { 412, 238, 159, 118 };
                skinpack          = "inventory";
                tag               = 7;
                enabled           = false;
                unpress           = >>UIClick.Play;
                unpress           = >>worldmapscript.OnInventory;
            }
            button "p8"
            {
                normalframe       = 15;
                disabledframe     = 16;
                extents           = { 599, 239, 159, 118 };
                skinpack          = "inventory";
                tag               = 8;
                enabled           = false;
                unpress           = >>UIClick.Play;
                unpress           = >>worldmapscript.OnInventory;
            }
        }
    }
}
