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

193 lines
3.3 KiB
Python

import uiScriptLocale
window = {
"name" : "ChangePasswordDialog",
"x" : 0,
"y" : 0,
"style" : ("movable", "float",),
"width" : 220,
"height" : 137,
"children" :
(
{
"name" : "board",
"type" : "board",
"x" : 0,
"y" : 0,
"width" : 220,
"height" : 137,
"children" :
(
## Title
{
"name" : "titlebar",
"type" : "titlebar",
"style" : ("attach",),
"x" : 8,
"y" : 8,
"width" : 204,
"color" : "gray",
"children" :
(
{
"name" : "TitleName",
"type" : "text",
"x" : 0,
"y" : 3,
"horizontal_align" : "center",
"text" : uiScriptLocale.CHANGE_PASSWORD_TITLE,
"text_horizontal_align":"center"
},
),
},
## Password Slot
{
"name" : "old_password_slot",
"type" : "image",
"x" : 135,
"y" : 34,
"image" : "d:/ymir work/ui/public/Parameter_Slot_02.sub",
"children" :
(
{
"name" : "old_password_name",
"type" : "text",
"x" : -110,
"y" : 3,
"text" : uiScriptLocale.CHANGE_PASSWORD_OLD,
},
{
"name" : "old_password_value",
"type" : "editline",
"x" : 3,
"y" : 3,
"width" : 60,
"height" : 18,
"input_limit" : 6,
"secret_flag" : 1,
},
),
},
{
"name" : "new_password_slot",
"type" : "image",
"x" : 135,
"y" : 59,
"image" : "d:/ymir work/ui/public/Parameter_Slot_02.sub",
"children" :
(
{
"name" : "new_password_name",
"type" : "text",
"x" : -110,
"y" : 3,
"text" : uiScriptLocale.CHANGE_PASSWORD_NEW,
},
{
"name" : "new_password_value",
"type" : "editline",
"x" : 3,
"y" : 3,
"width" : 60,
"height" : 18,
"input_limit" : 6,
"secret_flag" : 1,
},
),
},
{
"name" : "new_password_check_slot",
"type" : "image",
"x" : 135,
"y" : 79,
"image" : "d:/ymir work/ui/public/Parameter_Slot_02.sub",
"children" :
(
{
"name" : "new_password_check_name",
"type" : "text",
"x" : -110,
"y" : 3,
"text" : uiScriptLocale.CHANGE_PASSWORD_CONFIRM,
},
{
"name" : "new_password_check_value",
"type" : "editline",
"x" : 3,
"y" : 3,
"width" : 60,
"height" : 18,
"input_limit" : 6,
"secret_flag" : 1,
},
),
},
## Button
{
"name" : "accept_button",
"type" : "button",
"x" : -35,
"y" : 103,
"text" : uiScriptLocale.OK,
"horizontal_align" : "center",
"default_image" : "d:/ymir work/ui/public/middle_button_01.sub",
"over_image" : "d:/ymir work/ui/public/middle_button_02.sub",
"down_image" : "d:/ymir work/ui/public/middle_button_03.sub",
},
{
"name" : "cancel_button",
"type" : "button",
"x" : 35,
"y" : 103,
"horizontal_align" : "center",
"text" : uiScriptLocale.CANCEL,
"default_image" : "d:/ymir work/ui/public/middle_button_01.sub",
"over_image" : "d:/ymir work/ui/public/middle_button_02.sub",
"down_image" : "d:/ymir work/ui/public/middle_button_03.sub",
},
),
},
),
}