Add missing properties to templates
This commit is contained in:
parent
79dc3cca1b
commit
489189bd81
@ -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",
|
||||
|
@ -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;
|
||||
}
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user