server: unlimited teleport ring 70058, sold in a two-page item mall

ring-warp/: ring_warp.quest without use count or cooldown (the ring is never
used up) + install.sh (GBK, make.py, item name 移动戒指).
npc-shops: [page] lines in items.tsv make an extended shop written to
shop_table_ex.txt; item-mall is now 增益 (29) + 道具 (12, incl. 70058 at 1 gold).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
shenlei
2026-09-30 08:18:56 +09:00
co-authored by Claude Opus 5.5
parent 000d4841fd
commit 42e4cf1a9f
7 changed files with 177 additions and 12 deletions
+7 -2
View File
@@ -6,10 +6,14 @@
可选的 `NPC_NAME`(NPC 头顶显示的名字,UTF-8)。
- `items.tsv`:vnum、数量、价格、名称,一行一件。最多 40 件(`SHOP_HOST_ITEM_MAX_NUM`,5×8 格)。
客户端按 vnum 从小到大排列。
- 多页商店:`items.tsv` 里的 `[页名]` 行开始新的一页(最多 3 页,每页最多 39 件,按文件顺序摆放),
`shop.conf` 的 `TAB_VNUMS` 给第 2、3 页的商店 vnum。这种商店不走 DB 的 `shop` / `shop_item`,
而是写进 `share/locale/newcibn/shop_table_ex.txt`(game 的 `CShopManager::ReadShopTableEx`,价格就在文件里);
同一个 NPC 不能同时有 DB 商店,所以 install.sh 会删掉 DB 里对应的行。目前这个文件只归 `item-mall` 用。
| 目录 | 商店 | NPC | 位置 |
|---|---|---|---|
| `item-mall/` | 14 `item_mall` | 9010 百店老板娘 | 杂货店 9003 旁 |
| `item-mall/` | 14 / 16 `item_mall`(两页:增益、道具) | 9010 百店老板娘 | 杂货店 9003 旁 |
| `mount/` | 15 `mount` | 20368 坐骑商人(原「铁算盘」,未使用的货郎模型) | 马夫 20349 旁 |
`install.sh` 对一个商店做这些事:
@@ -25,7 +29,7 @@
系统菜单里的「商城」按钮发 `/in_game_mall`,服务端回 `mall <url>`。203 没有网页商城,所以把商城物品放进 9010 的商店。
客户端的 PORT 模块 `mt_mallhint` 会把这个按钮改成提示玩家去找百店老板娘。`item_mall.quest` 只在测试服下给 9010
加对话选项,正式服不受影响。这 40 件物品的 `shop_buy_price` 是 0,卖回给 NPC 拿不到钱。
加对话选项,正式服不受影响。这些物品的 `shop_buy_price` 是 0,卖回给 NPC 拿不到钱。
| 物品 | 价格(金币) |
|---|---|
@@ -38,6 +42,7 @@
| 双倍伤害丸、无视防御丸 | 各 15 万 |
| 经验药水、夺宝手套 | 各 20 万 |
| 物品属性转换秘籍 | 50 万 |
| 移动戒指(不限次数、无冷却,见 `../ring-warp`) | 1 |
| 追加物品属性秘籍、龙神的祝福书 | 各 100 万 |
## 坐骑(mount)