From 3d2fd7b40a0daa8c1aa3b682a05a666c24c98a64 Mon Sep 17 00:00:00 2001 From: acidphantasm Date: Wed, 1 May 2024 08:22:11 +0000 Subject: [PATCH] Add stash row quest reward functionality (!316) This functionality is currently not in use and would be nice to have for mod developers. There have been 'seasonal' quests in the past that had stash rows as a reward but this was never implemented in SPT. Co-authored-by: acidphantasm <127812106+acidphantasm@users.noreply.github.com> Reviewed-on: https://dev.sp-tarkov.com/SPT-AKI/Server/pulls/316 Co-authored-by: acidphantasm Co-committed-by: acidphantasm --- project/src/helpers/QuestHelper.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/project/src/helpers/QuestHelper.ts b/project/src/helpers/QuestHelper.ts index d0aa9018..2291f8c7 100644 --- a/project/src/helpers/QuestHelper.ts +++ b/project/src/helpers/QuestHelper.ts @@ -950,7 +950,7 @@ export class QuestHelper // Handled elsewhere, TODO: find and say here break; case QuestRewardType.STASH_ROWS: - this.logger.debug("Not implemented stash rows reward yet"); + this.profileHelper.addStashRowsBonusToProfile(sessionId, Number.parseInt(reward.value)); // add specified stash rows from quest reward - requires client restart break; case QuestRewardType.PRODUCTIONS_SCHEME: this.findAndAddHideoutProductionIdToProfile(