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

83 lines
1.3 KiB
Python

import uiScriptLocale
window = {
"name" : "SelectItemWindow",
"x" : 100,
"y" : 20,
"style" : ("movable", "float",),
"width" : 184,
"height" : 332,
"children" :
(
{
"name" : "board",
"type" : "board",
"x" : 0,
"y" : 0,
"width" : 184,
"height" : 332,
"children" :
(
## Title
{
"name" : "TitleBar",
"type" : "titlebar",
"style" : ("attach",),
"x" : 8,
"y" : 7,
"width" : 169,
"children" :
(
{ "name":"TitleName", "type":"text", "x":77, "y":3, "text":uiScriptLocale.SELECT_METIN_STONE_TITLE, "text_horizontal_align":"center" },
),
},
## Item Slot
{
"name" : "ItemSlot",
"type" : "grid_table",
"x" : 12,
"y" : 34,
"start_index" : 0,
"x_count" : 5,
"y_count" : 8,
"x_step" : 32,
"y_step" : 32,
"image" : "d:/ymir work/ui/public/Slot_Base.sub",
},
## Button
{
"name" : "ExitButton",
"type" : "button",
"x" : 0,
"y" : 34,
"text" : uiScriptLocale.CLOSE,
"horizontal_align" : "center",
"vertical_align" : "bottom",
"default_image" : "d:/ymir work/ui/public/large_button_01.sub",
"over_image" : "d:/ymir work/ui/public/large_button_02.sub",
"down_image" : "d:/ymir work/ui/public/large_button_03.sub",
},
),
},
),
}