From a974bcb9fa4a7e09d8f2c7a9fd43757b31306911 Mon Sep 17 00:00:00 2001 From: AMelonInsideLemon <166175391+AMelonInsideLemon@users.noreply.github.com> Date: Tue, 21 Oct 2025 04:48:43 +0200 Subject: [PATCH] unfaitful fix for popup --- src/services/questService.ts | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/services/questService.ts b/src/services/questService.ts index 8a7a532e..0a4ad1aa 100644 --- a/src/services/questService.ts +++ b/src/services/questService.ts @@ -11,6 +11,7 @@ import { addFixedLevelRewards } from "./missionInventoryUpdateService.ts"; import type { IInventoryChanges } from "../types/purchaseTypes.ts"; import questCompletionItems from "../../static/fixed_responses/questCompletionRewards.json" with { type: "json" }; import type { ITypeCount } from "../types/commonTypes.ts"; +import { updateShipFeature } from "./personalRoomsService.ts"; export interface IUpdateQuestRequest { QuestKeys: IQuestKeyClient[]; @@ -295,6 +296,15 @@ const handleQuestCompletion = async ( ]); } + // Unfaitful fix for "Examine the Reliquary on the Railjack" + if (questKey == "/Lotus/Types/Keys/RailJackBuildQuest/RailjackBuildQuestKeyChain") { + await updateShipFeature( + inventory.accountOwnerId.toString(), + "/Lotus/Types/Items/ShipFeatureItems/RailjackKeyShipFeatureItem" + ); // only works with relog + await addItems(inventory, ["/Lotus/Types/Items/ShipFeatureItems/RailjackKeyShipFeatureItem"], inventoryChanges); // required item to trigger cutscene + } + const questCompletionItems = getQuestCompletionItems(questKey); logger.debug(`quest completion items`, questCompletionItems); if (questCompletionItems) {