npc-shops: generic NPC shop installer + mount shop 15 on NPC 20368

tools/server/item-mall-shop becomes tools/server/npc-shops with one
directory per shop (shop.conf + items.tsv) and install.sh <shop dir>.
New mount shop: 35 ride tickets on NPC 20368 (renamed 坐骑商人 via
NPC_NAME -> mob_names.txt) beside the stable boy in a1/b1/c1. Verified
on 203: 35 slots at the drafted prices, bought + used 71114 -> mounted.
zh overlay: 71118 虎坐骑券(黄), 20368 坐骑商人.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
shenlei
2026-09-30 00:38:37 +09:00
co-authored by Claude Opus 5.5
parent 4bfc4244bd
commit 54fa2c0fc3
11 changed files with 169 additions and 72 deletions
+1 -1
View File
@@ -118,7 +118,7 @@ PORT 扩展(40250 没有对应物,只为移动端/平台而加;不能改 4
- 由 `PythonBoot::RunMainScript` 注入的 Python 模块:`mt_autohunt`(自动狩猎,`AutoHuntScript.inc`)、`mt_register`
(客户端内账号注册)、`mt_framerate`(系统选项里的"画面帧率"行)、`mt_uiscale`(系统选项里的"界面大小"行)、`mt_inventory`(5 页背包:改写 `InventoryWindow.py` 的装备格起点和页签,
泛化翻页、自动药水高亮和选宝石窗口的格子扫描)、`mt_mallhint`(系统菜单"商城"按钮和服务端 `mall` 命令改为
提示去各村杂货店旁的 NPC 9010 百店老板娘购买,见 `tools/server/item-mall-shop/`;203 没有网页商城)。它们包装 40250 窗口类的方法,不修改脚本文件。
提示去各村杂货店旁的 NPC 9010 百店老板娘购买,见 `tools/server/npc-shops/`;203 没有网页商城)。它们包装 40250 窗口类的方法,不修改脚本文件。
- 界面大小(`platform/EterBase/UIScaleMode.h` + `src/host/ui_scale.cpp`):Android 上 40250 界面按 600 / 700 / 800
逻辑像素高排版(默认 600,最低就是 600:背包窗口 565 高),宽度随屏幕比例;选择存在 `ui_height.cfg`,下次启动生效。
桌面按窗口大小排版,`MT_UI_HEIGHT=600` 可在桌面上测试这一设置。