-
Notifications
You must be signed in to change notification settings - Fork 629
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
[Quest]Distant Loyalties and associated quests #5643
Conversation
@@ -20,7 +20,9 @@ quest.sections = | |||
check = function(player, status, vars) | |||
return status == xi.questStatus.QUEST_AVAILABLE and | |||
player:hasCompletedQuest(xi.questLog.BASTOK, xi.quest.id.bastok.THE_ELVAAN_GOLDSMITH) and | |||
player:getFameLevel(xi.fameArea.BASTOK) >= 2 | |||
player:getFameLevel(xi.fameArea.BASTOK) >= 2 and | |||
player:getQuestStatus(xi.questLog.SANDORIA, xi.quest.id.sandoria.DISTANT_LOYALTIES) ~= xi.questStatus.QUEST_ACCEPTED |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not sure if this is really the case, or if we should be using event priority more effectively. Not a problem for now, but a bigger discussion in the future.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The capture wouldn't let me flag quest while I had it loaded. Uses the same NPC - spoke to it multiple times, but I agree there might be some priority for others...
@@ -40,7 +42,8 @@ quest.sections = | |||
( | |||
status == xi.questStatus.QUEST_COMPLETED and | |||
player:getFameLevel(xi.fameArea.BASTOK) == 1 and | |||
not quest:getMustZone(player) | |||
not quest:getMustZone(player) or |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This logic looks a bit loose by tacking that or on in the end of 3 and conditions. Even if not necessary, it should probably be clarified with parens
['Femitte'] = | ||
{ | ||
onTrigger = function(player, npc) | ||
local questProgress = quest:getVar(player, 'Prog') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No need to define this as a var here, since its only used in one of the conditions
[Quest]Distant Loyalties and associated quests [Quest]Distant Loyalties and associated quests
@claywar - made the changes you requested. |
I affirm:
What does this pull request do?
Implements sandy quest Distant Loyalties
Capture
Steps to test these changes
Get Fame 4 in sandy. Speak with Femitte accept quest. Travel to Bastok Markets, NPC Michea will not give Father Figure or The Elvaan Goldsmith until completed.
Complete quest and then can accept The elvaan goldsmith and father figure.