diff --git a/project/src/helpers/QuestHelper.ts b/project/src/helpers/QuestHelper.ts index 27c4b73a..58cb1864 100644 --- a/project/src/helpers/QuestHelper.ts +++ b/project/src/helpers/QuestHelper.ts @@ -1038,7 +1038,8 @@ export class QuestHelper { const matchingProductions = hideoutProductions.recipes.filter( (prod) => prod.areaType === Number.parseInt(craftUnlockReward.traderId) && - prod.requirements.some((requirement) => requirement.questId === questDetails._id) && + //prod.requirements.some((requirement) => requirement.questId === questDetails._id) && // BSG dont store the quest id in requirement any more! + prod.requirements.some((requirement) => requirement.type === "QuestComplete") && prod.requirements.some((x) => x.requiredLevel === craftUnlockReward.loyaltyLevel) && prod.endProduct === craftUnlockReward.items[0]._tpl, ); diff --git a/project/src/models/eft/hideout/IHideoutProduction.ts b/project/src/models/eft/hideout/IHideoutProduction.ts index 8e787f91..1e565d41 100644 --- a/project/src/models/eft/hideout/IHideoutProduction.ts +++ b/project/src/models/eft/hideout/IHideoutProduction.ts @@ -20,6 +20,7 @@ export interface IHideoutProduction { continuous: boolean; count: number; productionLimitCount: number; + isCodeProduction: boolean; } export interface IRequirement extends IRequirementBase {