import uiScriptLocale
import item
COSTUME_START_INDEX = item.COSTUME_SLOT_START
window = {
"name" : "CostumeWindow",
"x" : 175 - 140,
"y" : 37 - 560,
"width" : 140,
"height" : 290,
"children" :
(
{
## Costume Window Layer.
"name" : "wndCostumeInventoryLayer",
"type" : "board",
"style" : ("attach",),
"x" : 0,
"y" : 0,
"width" : 140,
"height" : 290,
"children" :
(
{
"name" : "TitleBar",
"type" : "titlebar",
"style" : ("attach",),
"x" : 6,
"y" : 6,
"width" : 130,
"color" : "yellow",
"children" :
(
{ "name":"TitleName", "type":"text", "x":60, "y":3, "text":uiScriptLocale.COSTUME_WINDOW_TITLE, "text_horizontal_align":"center"},
),
},
{
"name" : "Costume_Base",
"type" : "image",
"x" : 13,
"y" : 38,
"image" : "locale/ro/ui/new_costume_bg.jpg",
"children" :
(
{
"name" : "CostumeSlot",
"type" : "slot",
"x" : 3,
"y" : 3,
"width" : 127,
"height" : 290,
"slot" : (
{"index":COSTUME_START_INDEX+0, "x": 62, "y":44, "width":32, "height":64}, # costum
{"index":COSTUME_START_INDEX+1, "x": 62, "y": 8, "width":32, "height":32}, #frizura
{"index":COSTUME_START_INDEX+2, "x": 11, "y":124, "width":32, "height":32}, ##mount
{"index":COSTUME_START_INDEX+3, "x": 62, "y":124, "width":32, "height":32}, ##esarfa
{"index":COSTUME_START_INDEX+4, "x": 11, "y":13, "width":32, "height":96 }, #skin
{"index":item.EQUIPMENT_RING1, "x":62, "y":168, "width":32, "height":32}, ##inel_dreapta
{"index":item.EQUIPMENT_RING2, "x":12, "y":168, "width":32, "height":32}, ##inel_stanga
{"index":COSTUME_START_INDEX+5, "x":39, "y":207, "width":32, "height":32 }, # skin mount
),
},
),
},
),
},
),
}