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.
This commit is contained in:
N0VAN0M4LY committed 2026-11-26 07:12:38 +08:00
1 parent a73635407d
commit 98812fa9c2
39 files changed
+1309 -400

No files matched your search

+3 -3
View File
@@ -1,7 +1,7 @@
// 离线版自定的上限(原版由服务器决定,客户端数据里没有)。游戏规定的上限(例如备用载具最多 100 个,scripts/weaponry/weaponryConsts.nut)不在这里,按游戏的来。
// Limits defined by the offline service. Limits enforced by the game, such as the spare cap in weaponryConsts.nut, are defined separately.
{
// 一次最多买几张经典道具(cln_buy_item 的数量)
// Maximum classic item quantity per cln_buy_item purchase.
"itemPiecesPerPurchase": 1000,
// 存档里最多保留几条开箱记录(userlogs,客户端用它播放开箱动画、核对奖品),超出的删最早的
// Maximum retained chest records. The client uses userlogs for chest animations and rewards. Older entries are evicted first.
"userLogsKept": 80
}