diff --git a/src/controllers/api/inventoryController.ts b/src/controllers/api/inventoryController.ts index e68ae983..30dddae1 100644 --- a/src/controllers/api/inventoryController.ts +++ b/src/controllers/api/inventoryController.ts @@ -4,6 +4,7 @@ import type { TInventoryDatabaseDocument } from "../../models/inventoryModels/in import { Inventory } from "../../models/inventoryModels/inventoryModel.ts"; import { config } from "../../services/configService.ts"; import allDialogue from "../../../static/fixed_responses/allDialogue.json" with { type: "json" }; +import allPopups from "../../../static/fixed_responses/allPopups.json" with { type: "json" }; import type { ILoadoutDatabase } from "../../types/saveLoadoutTypes.ts"; import type { IInventoryClient, IShipInventory } from "../../types/inventoryTypes/inventoryTypes.ts"; import { equipmentKeys } from "../../types/inventoryTypes/inventoryTypes.ts"; @@ -326,6 +327,12 @@ export const getInventoryResponse = async ( } } + if (inventory.skipAllPopups) { + for (const str of allPopups) { + addString(inventoryResponse.NodeIntrosCompleted, str); + } + } + if (config.worldState?.baroTennoConRelay) { [ "/Lotus/Types/Items/Events/TennoConRelay2022EarlyAccess",