src/controllers/api/inventoryController.ts aktualisiert

This commit is contained in:
2025-11-15 09:06:28 -08:00
parent 721d1ead7c
commit 4e374c2224

View File

@@ -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",