Skip to content

Commit f24c3cd

Browse files
LydyaLydya
authored andcommitted
Fix event IDs in Unexpected Treasure quest
1 parent c77281b commit f24c3cd

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

scripts/quests/sandoria/Unexpected_Treasure.lua

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ quest.sections[1] =
2727
not quest:getMustZone(player) and
2828
quest:getLocalVar(player, 'questSeen') == 0 and
2929
cupboardPlacedTime ~= 0 and
30-
GetSystemTime() > cupboardPlacedTime + 600
30+
GetSystemTime() > cupboardPlacedTime + 60
3131
end,
3232
}
3333

@@ -37,13 +37,13 @@ local questAvailable =
3737
['Moogle'] =
3838
{
3939
onTrigger = function(player, npc)
40-
return quest:progressEvent(30017)
40+
return quest:progressEvent(30003)
4141
end,
4242
},
4343

4444
onEventFinish =
4545
{
46-
[30017] = function(player, csid, option, npc)
46+
[30003] = function(player, csid, option, npc)
4747
quest:setLocalVar(player, 'questSeen', 1)
4848
npcUtil.giveKeyItem(player, xi.ki.SMALL_TEACUP)
4949
quest:begin(player)
@@ -88,7 +88,7 @@ quest.sections[2] =
8888

8989
onTrigger = function(player, npc)
9090
if quest:getVar(player, 'Prog') == 2 then
91-
return quest:progressEvent(638)
91+
return quest:progressEvent(637)
9292
end
9393
end,
9494
},
@@ -103,7 +103,7 @@ quest.sections[2] =
103103
quest:setVar(player, 'Prog', 2)
104104
end,
105105

106-
[638] = function(player, csid, option, npc)
106+
[637] = function(player, csid, option, npc)
107107
-- Calovour explains she needs a Sprig of Mistletoe; no state change needed.
108108
end,
109109

0 commit comments

Comments
 (0)