Files
mtgodot-poc/assets/uiscript/uiscript/restartdialog.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

64 lines
1021 B
Python

import uiScriptLocale
ROOT = "d:/ymir work/ui/public/"
window = {
"name" : "RestartDialog",
"style" : ("float",),
"x" : 50,
"y" : 50,
"width" : 200,
"height" : 88,
"children" :
(
{
"name" : "board",
"type" : "thinboard",
"x" : 0,
"y" : 0,
"width" : 200,
"height" : 88,
"r" : 0.3333,
"g" : 0.2941,
"b" : 0.2588,
"a" : 1.0,
"children" :
(
{
"name" : "restart_here_button",
"type" : "button",
"x" : 10,
"y" : 17,
"text" : uiScriptLocale.RESTART_HERE,
"default_image" : ROOT + "XLarge_Button_01.sub",
"over_image" : ROOT + "XLarge_Button_02.sub",
"down_image" : ROOT + "XLarge_Button_03.sub",
},
{
"name" : "restart_town_button",
"type" : "button",
"x" : 10,
"y" : 47,
"text" : uiScriptLocale.RESTART_TOWN,
"default_image" : ROOT + "XLarge_Button_01.sub",
"over_image" : ROOT + "XLarge_Button_02.sub",
"down_image" : ROOT + "XLarge_Button_03.sub",
},
),
},
),
}