Files
mtgodot-poc/assets/uiscript/uiscript/dragonsoulrefinewindow.py
T
shenandClaude Sonnet 5 2277b1dd60 Vendor Metin2 assets (assets/ + bgm/)
Committed to this self-hosted private repo so a clone builds on any machine
without a separate asset sync. Copyrighted Ymir art — do not publish or
redistribute. 54198 files, ~2.2 GB. asset_index.txt / assets.zip stay
gitignored (derived: bake_asset_index.gd / pack-assets.sh).

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_013EJxkHiNKS4kybHS3XKyAJ
2026-08-31 20:04:32 +09:00

218 lines
4.0 KiB
Python

import uiScriptLocale
window = {
"name" : "DragonSoulRefineWindow",
## 용혼석 창 바로 왼쪽
"x" : SCREEN_WIDTH - 176 - 287 - 10 - 287,
"y" : SCREEN_HEIGHT - 37 - 505,
"style" : ("movable", "float",),
"width" : 287,
"height" : 232,
"children" :
(
{
"name" : "board",
"type" : "board",
"style" : ("attach",),
"x" : 0,
"y" : 0,
"width" : 287,
"height" : 232,
"children" :
(
## Base BackGroud Image
{
"name" : "DragonSoulRefineWindowBaseImage",
"type" : "expanded_image",
"x" : 0,
"y" : 0,
"image" : "d:/ymir work/ui/dragonsoul/dragon_soul_refine_bg.tga",
},
## Title
{
"name" : "TitleBar",
"type" : "titlebar",
"style" : ("attach",),
"x" : 5,
"y" : 7,
"width" : 275,
"color" : "yellow",
"children" :
(
{
"name":"TitleName",
"type":"text",
"x":140,
"y":5,
"text":uiScriptLocale.DRAGONSOUL_REFINE_WINDOW_TITLE,
"text_horizontal_align":"center"
},
),
},
## Refine Slot
{
"name" : "RefineSlot",
"type" : "grid_table",
"image" : "d:/ymir work/ui/dragonsoul/cap.tga",
"x" : 15,
"y" : 39,
"start_index" : 0,
"x_count" : 5,
"y_count" : 3,
"x_step" : 32,
"y_step" : 32,
},
## Result Slot
{
"name" : "ResultSlot",
"type" : "grid_table",
"x" : 207,
"y" : 39,
"start_index" : 0,
"x_count" : 2,
"y_count" : 3,
"x_step" : 32,
"y_step" : 32,
},
## Grade Button
{
"name" : "GradeButton",
"type" : "toggle_button",
"x" : 36,
"y" : 148,
"default_image" : "d:/ymir work/ui/dragonsoul/button_01.tga",
"over_image" : "d:/ymir work/ui/dragonsoul/button_02.tga",
"down_image" : "d:/ymir work/ui/dragonsoul/button_03.tga",
"children" :
(
{
"name" : "GradeSlotTitle",
"type" : "text",
"x" : 0,
"y" : 0,
"all_align" : "center",
"text" : uiScriptLocale.GRADE_SELECT,
"color" : 0xFFF1E6C0,
},
),
},
## Step Button
{
"name" : "StepButton",
"type" : "toggle_button",
"x" : 118,
"y" : 148,
"default_image" : "d:/ymir work/ui/dragonsoul/button_01.tga",
"over_image" : "d:/ymir work/ui/dragonsoul/button_02.tga",
"down_image" : "d:/ymir work/ui/dragonsoul/button_03.tga",
"children" :
(
{
"name" : "StepSlotTitle",
"type" : "text",
"x" : 0,
"y" : 0,
"all_align" : "center",
"text" : uiScriptLocale.STEP_SELECT,
"color" : 0xFFF1E6C0,
},
),
},
## Refine Button
{
"name" : "StrengthButton",
"type" : "toggle_button",
"x" : 198,
"y" : 148,
"default_image" : "d:/ymir work/ui/dragonsoul/button_01.tga",
"over_image" : "d:/ymir work/ui/dragonsoul/button_02.tga",
"down_image" : "d:/ymir work/ui/dragonsoul/button_03.tga",
"children" :
(
{
"name" : "RefineSlotTitle",
"type" : "text",
"x" : 0,
"y" : 0,
"all_align" : "center",
"text" : uiScriptLocale.STRENGTH_SELECT,
"color" : 0xFFF1E6C0,
},
),
},
## Money Print
{
"name":"Money_Slot",
"type" : "text",
"x":35,
"y":180,
"horizontal_align" : "right",
"text_horizontal_align" : "right",
"text" : "123456789",
},
## Do Refine Button
{
"name" : "DoRefineButton",
"type" : "button",
"x" : 188,
"y" : 200,
"default_image" : "d:/ymir work/ui/dragonsoul/l_button01.tga",
"over_image" : "d:/ymir work/ui/dragonsoul/l_button02.tga",
"down_image" : "d:/ymir work/ui/dragonsoul/l_button03.tga",
"children" :
(
{
"name" : "DoRefineButtonTitle",
"type" : "text",
"x" : 0,
"y" : 0,
"text" : uiScriptLocale.DO_REFINE,
"all_align" : "center",
},
),
},
),
},
),
}