-
Notifications
You must be signed in to change notification settings - Fork 847
Quest: Add WOTG: Burden of Suspicion #9687
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Xaver-DaRed
merged 1 commit into
LandSandBoat:base
from
commandobill:implement-burden-of-suspicion
Apr 5, 2026
+125
−1
Merged
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,121 @@ | ||
| ----------------------------------- | ||
| -- Burden of Suspicion | ||
| ----------------------------------- | ||
| -- !addquest 7 20 | ||
| -- Gentle Tiger : !pos -203 -9 0 87 | ||
| -- Engelhart : !pos -79 -4 -123 87 | ||
| -- Sarcophagus : !pos 346 -32 -125 175 | ||
| ----------------------------------- | ||
|
|
||
| local quest = Quest:new(xi.questLog.CRYSTAL_WAR, xi.quest.id.crystalWar.BURDEN_OF_SUSPICION) | ||
|
|
||
| quest.reward = | ||
| { | ||
| title = xi.title.ASSISTANT_DETECTIVE, | ||
| } | ||
|
|
||
| quest.sections = | ||
| { | ||
| -- Talk to Gentle Tiger in Bastok Markets (S) | ||
| { | ||
| check = function(player, status, vars) | ||
| return status == xi.questStatus.QUEST_AVAILABLE and | ||
| player:hasCompletedQuest(xi.questLog.CRYSTAL_WAR, xi.quest.id.crystalWar.LIGHT_IN_THE_DARKNESS) | ||
| end, | ||
|
|
||
| [xi.zone.BASTOK_MARKETS_S] = | ||
| { | ||
| ['Gentle_Tiger'] = | ||
| { | ||
| onTrigger = function(player, npc) | ||
| if | ||
| not quest:getMustZone(player) and | ||
| quest:getVar(player, 'Timer') <= VanadielUniqueDay() | ||
| then | ||
| return quest:progressEvent(30) | ||
| end | ||
| end, | ||
| }, | ||
|
|
||
| onEventFinish = | ||
| { | ||
| [30] = function(player, csid, option, npc) | ||
| quest:begin(player) | ||
| player:delKeyItem(xi.ki.WARNING_LETTER) | ||
| end, | ||
| }, | ||
| }, | ||
| }, | ||
|
|
||
| -- Continue the investigation in Bastok Markets (S) and The Eldieme Necropolis [S] | ||
| { | ||
| check = function(player, status, vars) | ||
| return status == xi.questStatus.QUEST_ACCEPTED | ||
| end, | ||
|
|
||
| [xi.zone.BASTOK_MARKETS_S] = | ||
| { | ||
| ['Gentle_Tiger'] = | ||
| { | ||
| onTrigger = function(player, npc) | ||
| local questProgress = quest:getVar(player, 'Prog') | ||
|
|
||
| if questProgress == 1 then | ||
| return quest:event(28) -- Retail accurate, but odd. | ||
| elseif questProgress == 2 then | ||
| return quest:progressEvent(34) | ||
| else | ||
| return quest:event(31) | ||
| end | ||
| end, | ||
| }, | ||
|
|
||
| ['Engelhart'] = | ||
| { | ||
| onTrigger = function(player, npc) | ||
| local questProgress = quest:getVar(player, 'Prog') | ||
|
|
||
| if questProgress == 0 then | ||
| return quest:progressEvent(32) | ||
| elseif questProgress == 2 then | ||
| return quest:event(36) | ||
| else | ||
| return quest:event(33) | ||
| end | ||
| end, | ||
| }, | ||
|
|
||
| onEventFinish = | ||
| { | ||
| [32] = function(player, csid, option, npc) | ||
| quest:setVar(player, 'Prog', 1) | ||
| end, | ||
|
|
||
| [34] = function(player, csid, option, npc) | ||
| quest:complete(player) | ||
| end, | ||
| }, | ||
| }, | ||
|
|
||
| [xi.zone.THE_ELDIEME_NECROPOLIS_S] = | ||
| { | ||
| ['Sarcophagus'] = | ||
| { | ||
| onTrigger = function(player, npc) | ||
| if quest:getVar(player, 'Prog') == 1 then | ||
| return quest:progressEvent(17) | ||
| end | ||
| end, | ||
|
Xaver-DaRed marked this conversation as resolved.
|
||
| }, | ||
|
|
||
| onEventFinish = | ||
| { | ||
| [17] = function(player, csid, option, npc) | ||
| quest:setVar(player, 'Prog', 2) | ||
| end, | ||
| }, | ||
| }, | ||
| }, | ||
| } | ||
|
|
||
| return quest | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.