fix(inventory): use the native supply chest opening window

Select the stock Silver Lion chest style so buying an external chest can continue through the existing opening flow.
This commit is contained in:
N0VAN0M4LY committed 2026-11-26 10:24:07 +08:00
1 parent 0fb75e8280
commit 1939fdaa45
1 file changed
+8 -1
@@ -92,7 +92,14 @@ function createChestPair(spec: SupplyChestSpec, drops: readonly GeneratorDrop[],
item_quality: spec.quality,
name_color: color,
used_to_create: `${spec.openerId}x1`,
tags: `type:chest;showChances:yes;allowToBuyAmount:${maxPerPurchase};isAllowSkipOpeningAnim:yes;hideMarketablePropDesc:yes`,
tags: [
'type:chest',
'openingWndStyle:silverCommon',
'showChances:yes',
`allowToBuyAmount:${maxPerPurchase}`,
'isAllowSkipOpeningAnim:yes',
'hideMarketablePropDesc:yes',
].join(';'),
icon_url: spec.icon,
}, spec.title, spec.description);