Use the native embedded browser and pass the game language through auto_local. Share web assets and extract vehicle icons, flags, and localized names from the installed client. Load and validate per-domain JSONC tuning and merge local overrides by field. Use official store USD prices for GJN products, keep GJN balances in integer cents, and split the native and web store handlers by protocol. Multi-vehicle packs are still listed as single vehicles at this point. Type checking, patch checks, and configuration loading passed. In-game acceptance is pending.
22 lines
1.3 KiB
JSON
22 lines
1.3 KiB
JSON
// 经典道具回收与再合成(功能清单 H 节"融炼 / 合成";implementation notes 第 6、8 节)。
|
||
// 回收:每件经典道具回收成哪种零件,由游戏数据 config/items.blk 的 recycleItemResult 决定(不在这里)。
|
||
// 再合成:零件换随机经典道具的配方,原版由服务器下发,离线版自定,就是下面这些。
|
||
{
|
||
// 零件在库存里显示的名字;键是零件编号(items.blk 的 recycleItemResult)。
|
||
"partNames": {
|
||
"299000": { "zh": "备用载具回收组件", "en": "Spare Supply Fragment" },
|
||
"299001": { "zh": "加成卡回收组件", "en": "Booster Fragment" },
|
||
"299002": { "zh": "折扣券回收组件", "en": "Coupon Fragment" },
|
||
"299003": { "zh": "任务令回收组件", "en": "Order Fragment" },
|
||
"299004": { "zh": "合同回收组件", "en": "Wager Fragment" }
|
||
},
|
||
// 同种零件几个换一件该类随机道具
|
||
"partsPerItem": 2,
|
||
// 每种零件最多能换出几种道具(该类的永久道具按名字排序后取前几种)
|
||
"itemsPerPart": 8,
|
||
// 一张包装券给几个道具;没写的道具给 1 个
|
||
"piecesPerItem": { "item_universal_spare": 3 },
|
||
// 某种零件没有可换的道具时(例如折扣券都是限时的),改为换这些零件对应的道具
|
||
"fallbackParts": [299000, 299001]
|
||
}
|