diff --git a/project/assets/database/templates/repeatableQuests.json b/project/assets/database/templates/repeatableQuests.json index fc407b48..4bacce30 100644 --- a/project/assets/database/templates/repeatableQuests.json +++ b/project/assets/database/templates/repeatableQuests.json @@ -59,6 +59,9 @@ "failMessageText": "{templateId} failMessageText {traderId} 0", "startedMessageText": "{templateId} startedMessageText {traderId} 0", "changeQuestMessageText": "{templateId} changeQuestMessageText {traderId} 0", + "acceptPlayerMessage": "{templateId} acceptPlayerMessage {traderId}", + "declinePlayerMessage": "{templateId} declinePlayerMessage {traderId}", + "completePlayerMessage": "{templateId} completePlayerMessage {traderId}", "templateId": "{templateId}", "changeCost": [{ "templateId": "5449016a4bdc2d6f028b456f", @@ -95,6 +98,9 @@ "failMessageText": "{templateId} failMessageText {traderId} 0", "startedMessageText": "{templateId} startedMessageText {traderId} 0", "changeQuestMessageText": "{templateId} changeQuestMessageText {traderId} 0", + "acceptPlayerMessage": "{templateId} acceptPlayerMessage {traderId}", + "declinePlayerMessage": "{templateId} declinePlayerMessage {traderId}", + "completePlayerMessage": "{templateId} completePlayerMessage {traderId}", "templateId": "{templateId}", "changeCost": [{ "templateId": "5449016a4bdc2d6f028b456f", diff --git a/project/src/generators/RepeatableQuestGenerator.ts b/project/src/generators/RepeatableQuestGenerator.ts index 89577b9d..06a3384a 100644 --- a/project/src/generators/RepeatableQuestGenerator.ts +++ b/project/src/generators/RepeatableQuestGenerator.ts @@ -1023,7 +1023,9 @@ export class RepeatableQuestGenerator quest.successMessageText = quest.successMessageText.replace("{traderId}", traderId).replace("{templateId}",quest.templateId); quest.failMessageText = quest.failMessageText.replace("{traderId}", traderId).replace("{templateId}",quest.templateId); quest.startedMessageText = quest.startedMessageText.replace("{traderId}", traderId).replace("{templateId}",quest.templateId); - quest.changeQuestMessageText = quest.changeQuestMessageText.replace("{traderId}", traderId).replace("{templateId}",quest.templateId); + quest.acceptPlayerMessage = quest.acceptPlayerMessage.replace("{traderId}", traderId).replace("{templateId}",quest.templateId); + quest.declinePlayerMessage = quest.declinePlayerMessage.replace("{traderId}", traderId).replace("{templateId}",quest.templateId); + quest.completePlayerMessage = quest.completePlayerMessage.replace("{traderId}", traderId).replace("{templateId}",quest.templateId); return quest; } diff --git a/project/src/models/eft/common/tables/IRepeatableQuests.ts b/project/src/models/eft/common/tables/IRepeatableQuests.ts index e570dbc9..b60710b7 100644 --- a/project/src/models/eft/common/tables/IRepeatableQuests.ts +++ b/project/src/models/eft/common/tables/IRepeatableQuests.ts @@ -70,6 +70,9 @@ export interface IRepeatableQuest failMessageText: string startedMessageText: string changeQuestMessageText: string + acceptPlayerMessage: string + declinePlayerMessage: string + completePlayerMessage: string templateId: string changeCost: IChangeCost[] changeStandingCost: number