xxf packs: restore ava2items and add the locale_zh_ava2 item overlay
The 喜相逢 migration dropped ava2items from the Index, breaking the AVA2 native windows, and the 喜相逢 locale (read as locale/newcibn) lacks 456 server items, types ~270 others differently and ships a 6-column item_scale the client rejects. - Index: ava2items after uiloading (喜相逢 files still win on a clash), locale_zh_ava2 before locale_zh. - scripts/build_xxf_item_overlay.py builds locale_zh_ava2 from ava2items: missing/retyped item_proto, item_list, itemdesc rows, 9-column item_scale, item_list repairs, missing icons, wiki texts. - migrate_to_xxf_models.py registers ava2items. - ThinBoardCircle.SetAlpha shim for the 喜相逢 root (uiBattlePassEx). - ENABLE_WON_EXCHANGE_WINDOW 0: it binds the cheque slot (cheque off). Live 7511 items: not found 467 -> 0, wrong type 719 -> 37 (server proto), no icon 6 -> 2 (31021, 31054 have none anywhere). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
60ed66692e
commit
9b2e165548
@@ -144,6 +144,8 @@ class ThinBoardCircle(ui.Window):
|
||||
wnd.Hide()
|
||||
|
||||
if not hasattr(ui,'ThinBoardCircle'):ui.ThinBoardCircle=ThinBoardCircle
|
||||
# The xxf root's own ThinBoardCircle lacks SetAlpha, which uiBattlePassEx calls.
|
||||
if not hasattr(ui.ThinBoardCircle,'SetAlpha'):ui.ThinBoardCircle.SetAlpha=ThinBoardCircle.SetAlpha.im_func
|
||||
if not hasattr(ui.ListBoxEx,'GetItems'):ui.ListBoxEx.GetItems=lambda self:self.itemList
|
||||
|
||||
# --- uiswitchbot.py (verbatim) ---------------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user