Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import uiScriptLocale
- import item
- COSTUME_START_INDEX = item.COSTUME_SLOT_START
- window = {
- "name" : "CostumeWindow",
- "x" : SCREEN_WIDTH - 175 - 140,
- "y" : SCREEN_HEIGHT - 37 - 565,
- "style" : ("movable", "float",),
- "width" : 140,
- "height" : (180 + 47), #기존보다 47 길어ě§
- "children" :
- (
- {
- "name" : "board",
- "type" : "board",
- "style" : ("attach",),
- "x" : 0,
- "y" : 0,
- "width" : 140,
- "height" : (180 + 47),
- "children" :
- (
- ## Title
- {
- "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" },
- ),
- },
- ## Equipment Slot
- {
- "name" : "Costume_Base",
- "type" : "image",
- "x" : 13,
- "y" : 38,
- "image" : "d:/ymir work/ui/costume/new_costume_bg.jpg",
- "children" :
- (
- {
- "name" : "CostumeSlot",
- "type" : "slot",
- "x" : 3,
- "y" : 3,
- "width" : 127,
- "height" : 145 + 47,
- "slot" : (
- {"index":COSTUME_START_INDEX+0, "x":62, "y":45, "width":32, "height":64},#몸
- {"index":COSTUME_START_INDEX+1, "x":62, "y": 9, "width":32, "height":32},#머리
- {"index":COSTUME_START_INDEX+2, "x":13, "y":126, "width":32, "height":32},#ë§ěš´íЏ
- {"index":COSTUME_START_INDEX+3, "x":62, "y":126, "width":32, "height":32},#악세서리
- {"index":item.COSTUME_SLOT_WEAPON, "x":13, "y":13, "width":32, "height":96},#무기
- ),
- },
- ),
- },
- ## Kostium<->Zbroja
- {
- "name" : "costume",
- "type" : "button",
- "x" : 44,
- "y" : 30,
- "default_image" : "d:/ymir work/ui/game/windows/tab_button_middle_01.sub",
- "over_image" : "d:/ymir work/ui/game/windows/tab_button_middle_02.sub",
- "down_image" : "d:/ymir work/ui/game/windows/tab_button_middle_03.sub",
- "children" :
- (
- {
- "name" : "Inventory_Tab_02_Print",
- "type" : "text",
- "x" : 0,
- "y" : 0,
- "all_align" : "center",
- "text" : "Wygląd",
- },
- ),
- },
- ),
- },
- ),
- }
Advertisement
Add Comment
Please, Sign In to add comment