Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import uiScriptLocale
- import item
- import app
- COSTUME_START_INDEX = item.COSTUME_SLOT_START
- window = {
- "name" : "CostumeWindow",
- "x" : SCREEN_WIDTH - 175 - 148,
- "y" : SCREEN_HEIGHT - 37 - 576,
- "style" : ("float",),
- "width" : 148,
- "height" : (150 + 47), #기존보다
- "children" :
- (
- ## Expand Buttons
- {
- "name" : "ExpandBtn",
- "type" : "button",
- "x" : 2,
- "y" : 39,
- "default_image" : "d:/ymir work/ui/game/belt_inventory/btn_expand_normal.tga",
- "over_image" : "d:/ymir work/ui/game/belt_inventory/btn_expand_over.tga",
- "down_image" : "d:/ymir work/ui/game/belt_inventory/btn_expand_down.tga",
- "disable_image" : "d:/ymir work/ui/game/belt_inventory/btn_expand_disabled.tga",
- },
- ## Costume Window Layer (include minimize button)
- {
- "name" : "CostumeWindowLayer",
- "x" : 5,
- "y" : 0,
- "width" : 148,
- "height" : 150 + 47,
- "children" :
- (
- ## Minimize Button
- {
- "name" : "MinimizeBtn",
- "type" : "button",
- "x" : 2,
- "y" : 39,
- "width" : 10,
- "default_image" : "d:/ymir work/ui/game/belt_inventory/btn_minimize_normal.tga",
- "over_image" : "d:/ymir work/ui/game/belt_inventory/btn_minimize_over.tga",
- "down_image" : "d:/ymir work/ui/game/belt_inventory/btn_minimize_down.tga",
- "disable_image" : "d:/ymir work/ui/game/belt_inventory/btn_minimize_disabled.tga",
- },
- {
- "name" : "board",
- "type" : "board",
- "x" : 10,
- "y" : 0,
- "width" : 135,
- "height" : (150 + 47),
- "children" :
- (
- ## Equipment Slot
- {
- "name" : "Costume_Base",
- "type" : "image",
- "x" : 11,
- "y" : 10,
- "image" : uiScriptLocale.LOCALE_UISCRIPT_PATH + "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":5, "y":126, "width":32, "height":32},#마운트
- ##{"index":COSTUME_START_INDEX+3, "x":70, "y":126, "width":32, "height":32},#악세서리
- ##{"index":item.COSTUME_SLOT_WEAPON, "x":13, "y":13, "width":32, "height":96},#무기
- ##{"index":item.COSTUME_SLOT_AURA, "x":37, "y":126, "width":32, "height":32},#영기
- ),
- },
- ),
- },
- ),
- },
- ),
- },
- ),
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement