From 38502f10bf30c2ee1b04af4d86f115809c6ff83d Mon Sep 17 00:00:00 2001 From: Sainan <63328889+Sainan@users.noreply.github.com> Date: Wed, 16 Apr 2025 06:28:52 -0700 Subject: [PATCH] fix: give ample duplicates of ship decos with unlockAllShipDecorations (#1651) Closes #1644 Reviewed-on: https://onlyg.it/OpenWF/SpaceNinjaServer/pulls/1651 Co-authored-by: Sainan <63328889+Sainan@users.noreply.github.com> Co-committed-by: Sainan <63328889+Sainan@users.noreply.github.com> --- src/controllers/api/inventoryController.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/controllers/api/inventoryController.ts b/src/controllers/api/inventoryController.ts index bf71ae42..910420cf 100644 --- a/src/controllers/api/inventoryController.ts +++ b/src/controllers/api/inventoryController.ts @@ -149,7 +149,7 @@ export const getInventoryResponse = async ( inventoryResponse.ShipDecorations = []; for (const [uniqueName, item] of Object.entries(ExportResources)) { if (item.productCategory == "ShipDecorations") { - inventoryResponse.ShipDecorations.push({ ItemType: uniqueName, ItemCount: 1 }); + inventoryResponse.ShipDecorations.push({ ItemType: uniqueName, ItemCount: 999_999 }); } } }