Enable the native opening window for supply chests
Select the stock Silver Lion chest style so buying an external chest can continue through the existing opening flow.
This commit is contained in:
1 parent
66d8cd6efe
commit
55846a91e9
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);
|
||||
|
||||
|
||||
Reference in new issue
Block a user