guillaumearm / PathToTarkov

The Tarkov open-world experience (spt)
https://hub.sp-tarkov.com/files/file/569-path-to-tarkov
MIT License
4 stars 6 forks source link

PTT Events: Quests #35

Open guillaumearm opened 2 months ago

guillaumearm commented 2 months ago

here is an example to get an idea on the new events.quests sections

{
"events": {
    "quests": {
      "onSuccess": {
        "myCustomQuestIdAndOfCourseItWorksWithVanillaQuestIds": {
          "comment_1": "This will lock the exfiltration 'Old Azs Gate' until the quest is successfully completed",
          "comment_2": "It won't work with exfiltrations that are not listed in the 'exfiltrations' section",
          "unlockExfiltrations": ["Old Azs Gate"]
        }
      },
      "onFail": {
        "anotherExampleQuest": {
          "moveTraderAccessVia": {
            "comment_1": "Prapor will move to the TherapistStash location after the quest is failed",
            "comment_2": "It won't happens instantly, but after the next raid",
            "comment_3": "It won't work if the trader is not listed in the 'traders_config' section",
            "54cb50c76803fa8b248b4571": ["TherapistStash"]
          }
        }
      }
    }
  }
}