Files
taverne-ui/uiscript/uiscript/mousebuttonwindow.py
T
Andreas Lierschaft 11df29aa6b Initial commit: UI-Quellcode (root + uiscript)
Enthaelt die editierbaren Python-UI-Skripte (root/, uiscript/) des
EterNexus-Clients, u.a. die Aenderungen fuer aktivierbare Items
(constinfo.py: IS_ACTIVATABLE_ITEM/IS_MOUNT_SEAL, uiinventory.py:
RefreshBagSlotWindow). Kompilierte Pack-Dateien (.epk/.eix) sowie
Binaries/DLLs/Locale-Assets sind bewusst nicht Teil dieses Repos.
2026-08-17 21:50:23 +02:00

62 lines
1.2 KiB
Python

import uiScriptLocale
ROOT = "d:/ymir work/ui/game/taskbar/"
window = {
"name" : "ButtonWindow",
"x" : 0,
"y" : 0,
"width" : 32,
"height" : 32 * 3,
"children" :
(
{
"name" : "button_move_and_attack",
"type" : "button",
"x" : 0,
"y" : 0,
"tooltip_text" : uiScriptLocale.MOUSEBUTTON_ATTACK,
"tooltip_x" : -40,
"tooltip_y" : 9,
"default_image" : ROOT + "Mouse_Button_Attack_01.sub",
"over_image" : ROOT + "Mouse_Button_Attack_02.sub",
"down_image" : ROOT + "Mouse_Button_Attack_03.sub",
},
{
"name" : "button_auto_attack",
"type" : "button",
"x" : 0,
"y" : 32,
"tooltip_text" : uiScriptLocale.MOUSEBUTTON_AUTO_ATTACK,
"tooltip_x" : -40,
"tooltip_y" : 9,
"default_image" : ROOT + "Mouse_Button_Auto_Attack_01.sub",
"over_image" : ROOT + "Mouse_Button_Auto_Attack_02.sub",
"down_image" : ROOT + "Mouse_Button_Auto_Attack_03.sub",
},
{
"name" : "button_camera",
"type" : "button",
"x" : 0,
"y" : 64,
"tooltip_text" : uiScriptLocale.MOUSEBUTTON_CAMERA,
"tooltip_x" : -40,
"tooltip_y" : 9,
"default_image" : ROOT + "Mouse_Button_Camera_01.sub",
"over_image" : ROOT + "Mouse_Button_Camera_02.sub",
"down_image" : ROOT + "Mouse_Button_Camera_03.sub",
},
),
}