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":61, "y":45, "width":32, "height":64},#몸
- {"index":COSTUME_START_INDEX+1, "x":61, "y": 8, "width":32, "height":32},#머리
- {"index":COSTUME_START_INDEX+2, "x":13, "y":13, "width":32, "height":32},#마운트
- {"index":COSTUME_START_INDEX+3, "x":61, "y":125, "width":32, "height":32},
- {"index":COSTUME_START_INDEX+4, "x":10, "y":125, "width":32, "height":32},
- {"index":item.COSTUME_SLOT_WEAPON, "x":5, "y":37, "width":32, "height":32},#무기
- ),
- },
- ## ENABLE_HIDE_COSTUME_SYSTEM
- {
- "name" : "BodyToolTipButton",
- "type" : "toggle_button",
- "x" : 62 + 32 - 10,
- "y" : 45 - 5,
- "tooltip_text" : uiScriptLocale.HIDE_COSTUME,
- "default_image" : "d:/ymir work/ui/pattern/visible_mark_01.tga",
- "over_image" : "d:/ymir work/ui/pattern/visible_mark_02.tga",
- "down_image" : "d:/ymir work/ui/pattern/visible_mark_03.tga",
- },
- {
- "name" : "HairToolTipButton",
- "type" : "toggle_button",
- "x" : 62 + 32 -6,
- "y" : 9 - 3,
- "tooltip_text" : uiScriptLocale.HIDE_COSTUME,
- "default_image" : "d:/ymir work/ui/pattern/visible_mark_01.tga",
- "over_image" : "d:/ymir work/ui/pattern/visible_mark_02.tga",
- "down_image" : "d:/ymir work/ui/pattern/visible_mark_03.tga",
- },
- {
- "name" : "SashToolTipButton",
- "type" : "toggle_button",
- "x" : 62 + 32,
- "y" : 126,
- "tooltip_text" : uiScriptLocale.HIDE_COSTUME,
- "default_image" : "d:/ymir work/ui/pattern/visible_mark_01.tga",
- "over_image" : "d:/ymir work/ui/pattern/visible_mark_02.tga",
- "down_image" : "d:/ymir work/ui/pattern/visible_mark_03.tga",
- },
- {
- "name" : "WeaponToolTipButton",
- "type" : "toggle_button",
- "x" : 13 + 32 - 6,
- "y" : 13,
- "tooltip_text" : uiScriptLocale.HIDE_COSTUME,
- "default_image" : "d:/ymir work/ui/pattern/visible_mark_01.tga",
- "over_image" : "d:/ymir work/ui/pattern/visible_mark_02.tga",
- "down_image" : "d:/ymir work/ui/pattern/visible_mark_03.tga",
- },
- ),
- },
- ),
- },
- ),
- }
Advertisement
Add Comment
Please, Sign In to add comment