Files
WT-Offline/packages/local-service/tuning/redeem-codes.jsonc
T
N0VAN0M4LY d609188acc Open store pages in-game and centralize economy tuning
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.
2026-11-25 11:01:05 +08:00

24 lines
1019 B
JSON

// 兑换码(功能清单 G 节;implementation notes 第 5.3 节)。在本地网页商店和游戏原生的兑换码窗口里都能用,输入不分大小写。
// 原话 116:GJN 充值码和新手礼包码保留,定位是给玩家的作弊码。
{
// 高级账户天数码:<前缀>-<天数>D,例如 PREMIUM-30D。
"premiumDays": {
"prefixes": ["PREMIUM", "WTO-PREM", "PREM", "VIP"],
"maxDays": 3650,
// 页面上展示的示例
"examples": ["PREMIUM-7D", "PREMIUM-30D", "PREMIUM-365D"]
},
// GJN 充值码(作弊码):<前缀>-<数量>,例如 WTO-GJN-1000。
"gjn": {
"prefixes": ["WTO-GJN", "GJN"],
"maxAmount": 1000000,
"examples": ["WTO-GJN-100", "WTO-GJN-1000"]
},
// 固定兑换码:每个存档只能用一次。奖励可以写 premiumDays(高级账户天数)、goldenEagles(金鹰)、silverLions(银狮)、gjn,不写的就是 0。
"fixedCodes": {
"WTO-STARTER": { "premiumDays": 7, "goldenEagles": 1000, "gjn": 100 }
}
}