Add catalogue filters, item detail views, and purchase and resale actions. Resolve images from the player's asset pack, public image URLs, or local game data. Add a utility for creating the optional local asset pack. Type checking and JavaScript syntax checks passed. Embedded browser appearance and in-game behavior still need acceptance.
24 lines
870 B
JSON
24 lines
870 B
JSON
// Redemption codes work in the local web store and the in-game dialog. Input is case-insensitive.
|
|
// GJN balance codes and the starter code are optional offline cheats.
|
|
{
|
|
// Premium time codes use <prefix>-<days>D, for example PREMIUM-30D.
|
|
"premiumDays": {
|
|
"prefixes": ["PREMIUM", "WTO-PREM", "PREM", "VIP"],
|
|
"maxDays": 3650,
|
|
// Examples shown in the store.
|
|
"examples": ["PREMIUM-7D", "PREMIUM-30D", "PREMIUM-365D"]
|
|
},
|
|
|
|
// Optional GJN cheats use <prefix>-<amount>, for example WTO-GJN-1000.
|
|
"gjn": {
|
|
"prefixes": ["WTO-GJN", "GJN"],
|
|
"maxAmount": 1000000,
|
|
"examples": ["WTO-GJN-100", "WTO-GJN-1000"]
|
|
},
|
|
|
|
// Fixed codes are redeemable once per save. Omitted premiumDays, goldenEagles, silverLions, and gjn rewards default to zero.
|
|
"fixedCodes": {
|
|
"WTO-STARTER": { "premiumDays": 7, "goldenEagles": 1000, "gjn": 100 }
|
|
}
|
|
}
|