-
Notifications
You must be signed in to change notification settings - Fork 624
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
[AMK, Lua, SQL] Mission 9, stone hunt in quicksands caves complete #4850
[AMK, Lua, SQL] Mission 9, stone hunt in quicksands caves complete #4850
Conversation
b9a2b8a
to
aadb641
Compare
aadb641
to
241f2ef
Compare
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.
Getting closer, thanks for all the hard work 🖖 (there's no regular salute emoji?)
@@ -117,6 +120,26 @@ zones[xi.zone.QUICKSAND_CAVES] = | |||
CHAINS_THAT_BIND_US_QM = 17629746, | |||
TREASURE_COFFER = 17629747, | |||
ANTICAN_TAG_QM = 17629769, | |||
QM_AMK_1 = 17629668, |
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.
These are still raw IDs, you need to be using GetFirstID
or GetTableOfIDs
to pull these from the db at load time - which makes them more shift-proof
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.
That is really cool. Had to rejig the markerSets table in the mission lua. Did it via find/replace and spot checked it. Works great!
@@ -40,6 +41,7 @@ zones[xi.zone.QUICKSAND_CAVES] = | |||
HOMEPOINT_SET = 11435, -- Home point set! | |||
UNITY_WANTED_BATTLE_INTERACT = 11493, -- Those who have accepted % must pay # Unity accolades to participate. The content for this Wanted battle is #. [Ready to begin?/You do not have the appropriate object set, so your rewards will be limited.] | |||
}, | |||
|
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 for these additional linebreaks, none of the other ID files have them
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.
Oh, I had found one that did, so I thought that was the default.
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.
See Qufim Island, the only one near it like that haha. Bad luck.
@@ -1,6 +1,7 @@ | |||
local ID = zones[xi.zone.QUICKSAND_CAVES] | |||
|
|||
return { | |||
['qmAMK'] = { messageSpecial = ID.text.NOTHING_OUT_OF_ORDINARY }, |
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.
Looking at all the other qm's we have in the codebase, they're all in snake_case
, can you make this match? qm_amk
, etc.
@@ -0,0 +1,12 @@ | |||
----------------------------------- | |||
-- Area: Quicksand Caves | |||
-- NPC: qm (???) |
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.
Name doesn't match the filename
@@ -0,0 +1,12 @@ | |||
----------------------------------- |
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 is the correct naming for file here, can you update npc_list and the mission script to key on this?
----------------------------------- | ||
-- Area: Quicksand Caves | ||
-- NPC: qm (???) | ||
-- Mission: AMK - Rescue! A Moogle's Labor of Love |
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.
Probably worth adding a comment saying this script is shared between all the AMK qm's for this mission, to avoid confusion or someone bloating out the zone with multiple empty files - one for each qm
I skipped over implementing this mission on my branch way-back-when, because it looked like a pain in the ass, thanks for getting to it 👍 |
That seems to be the theme SE was going for with AMK missions. This one was just tedious but the puzzles were even worse. |
2ffd6a7
to
555ac46
Compare
555ac46
to
89bbfb8
Compare
@@ -117,6 +118,7 @@ zones[xi.zone.QUICKSAND_CAVES] = | |||
CHAINS_THAT_BIND_US_QM = 17629746, | |||
TREASURE_COFFER = 17629747, | |||
ANTICAN_TAG_QM = 17629769, | |||
QM_AMK = GetTableOfIDs('qm_amk') |
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.
👍
cd7630b
into
LandSandBoat:feature/amk_missions
I affirm:
What does this pull request do?
Implementation of Rescue! A Moogles Labor of Love, mission 9 of AMK. The player needs to collect 9 'stone' key items by clicking various question marks in quicksands caves. There are 20 possible QMs, and 10 possible sets of combinations required to check. The set which is assigned randomly in this commit is then passed as an arg to the geologist event which marks the map.
Steps to test these changes
!addmission 10 8
!pos -737 -6 -550 208
Talk to goblin geologist, he will assign a marker set to you. Go around quicksands and click the markers shown on the map for your stone KIs. (alternatively,
!gotoid ###
, ids are in the mission lua file)Return to goblin to get KI Navaratna Talisman.
Get CS at shimmering circle in chamber of oracles.