Files
WT-Offline/packages/local-service/tuning/trophies.jsonc
T
N0VAN0M4LY 98812fa9c2 feat(store): add store and marketplace item views and image sources
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.
2026-11-26 07:12:38 +08:00

55 lines
2.7 KiB
JSON

// Classic trophy chests, including Silver Lion supply chests and direct event vehicle purchases.
// The server supplies chest definitions. The client uses calcTrophiesDropChance to display probabilities from the item weights.
//
// Use one entry format per reward.
// { "silverLions": <amount>, "weight": <weight> }
// { "goldenEagles": <amount>, "weight": <weight> }
// { "item": "<item name>", "count": <quantity>, "weight": <weight> } uses an item name from config/items.blk in char.vromfs.bin.
// { "itemsOfType": "<type>", "pick": <items to select>, "count": <quantity per item>, ... } takes the first permanent items by name.
// { "eventVehicles": { "minRank": 1, "maxRank": 3, "pick": 4 }, ... } selects non-market event vehicles by rank, nation rotation, and name.
// For grouped rewards, weightEach applies to each reward and weightTotal is divided evenly across the group.
// Owned vehicles are excluded from the draw.
{
"supplyTrophies": [
{
// The Silver Lion chest uses silverPerDraw and rawWeights from the reference offline-crate-rules.json.
// The reference weights sum to 100. The classic trophy format has no GJN reward, so the 50 GJN entry is omitted.
"id": "wto_silver_supply_trophy",
"iconStyle": "small_wooden_box",
"silverLions": 60000,
"goldenEagles": 0,
"prizes": [
{ "silverLions": 10000, "weight": 28.34 },
{ "silverLions": 50000, "weight": 22 },
{ "silverLions": 100000, "weight": 11 },
{ "silverLions": 500000, "weight": 0.1 },
{ "silverLions": 1000000, "weight": 0.05 },
{ "goldenEagles": 100, "weight": 1 },
{ "goldenEagles": 500, "weight": 0.4 },
{ "goldenEagles": 1000, "weight": 0.1 },
{ "item": "item_universal_spare", "count": 1, "weight": 22 },
{ "itemsOfType": "wager", "pick": 18, "count": 1, "weightTotal": 12 },
{ "eventVehicles": { "minRank": 1, "maxRank": 8, "pick": 12 }, "weightTotal": 3 }
]
},
{
// The Veteran Supply Chest uses offline-specific prices and rewards.
"id": "wto_veteran_supply_trophy",
"iconStyle": "big_chest",
"silverLions": 150000,
"goldenEagles": 0,
"prizes": [
{ "eventVehicles": { "minRank": 4, "maxRank": 8, "pick": 6 }, "weightEach": 4 },
{ "goldenEagles": 150, "weight": 10 },
{ "silverLions": 500000, "weight": 12 },
{ "silverLions": 120000, "weight": 28 },
{ "item": "item_universal_spare", "count": 5, "weight": 30 },
{ "itemsOfType": "rateBooster", "pick": 4, "count": 1, "weightEach": 22 }
]
}
],
// Each event vehicle has a one-time Golden Eagle purchase. The price comes from directVehiclePriceGE in the reference chest rules.
"directVehicles": { "goldenEagles": 20000 }
}