From 1939fdaa45fa63d76b206c897159ce0c2f394410 Mon Sep 17 00:00:00 2001 From: N0VAN0M4LY <224130499+N0VAN0M4LY@users.noreply.github.com> Date: Thu, 26 Nov 2026 10:24:07 +0800 Subject: [PATCH] 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. --- packages/local-service/src/inventory/chest-defs.ts | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/packages/local-service/src/inventory/chest-defs.ts b/packages/local-service/src/inventory/chest-defs.ts index 46f4b19..390b2d1 100644 --- a/packages/local-service/src/inventory/chest-defs.ts +++ b/packages/local-service/src/inventory/chest-defs.ts @@ -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);