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
Tests for quest tracking in The Sea #1313
Conversation
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## main #1313 +/- ##
============================================
+ Coverage 32.96% 33.10% +0.13%
- Complexity 16454 16547 +93
============================================
Files 1045 1045
Lines 162843 162854 +11
Branches 35340 35341 +1
============================================
+ Hits 53688 53907 +219
+ Misses 99744 99528 -216
- Partials 9411 9419 +8
Continue to review full report at Codecov.
|
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.
Good thing it wasn't 54 Java files... ;-)
Official KoL "quests" appear in the Quest Log with a name. Progress is tracked by "steps" in the quest log and also in quest nudges in the charpane. KoLmafia tracks this progression from UNSTARTED (nothing in the quest log) to STARTED to step1, step2, ... to FINISHED (noted in the quest log but no more quest nudges).
Our convention is to advance the quest step when we see the action that does so, but also to deduce that you have achieved such-and-such a step when we notice something that implies you must be at a particular step (or later).
An Old Guy and The Ocean
Talking to the Old Man again without boot -> STARTED
"The Old Man wants you to find his boot in The Sea."
"Take the boot back to the Old Man."
Seeing the old man snoring -> FINISHED
"You helped the Old Man retrieve his boot from The Sea. Marvelous!"
Hey Hey, Find The Monkees
The Sea Floor with only An Octopus's Garden is UNSTARTED
Getting the wriggling fly trap pellet is still UNSTARTED, as far as KoL is concerned.
See the monkey castle on The Sea Floor -> STARTED
Seeing only little brother in the castle -> STARTED
"Go see Little Brother in the Sea Monkee Castle."
Seeing The Sea Floor with The Wreck of the Edgar Fitzsimmons -> step1
"Rescue Big Brother from the Wreck of the Edgar Fitzsimmons."
Seeing big brother in the castle -> step2 (and bigBrotherReleased = true)
"Go see Big Brother in the Sea Monkee Castle."
"Check in with Little Brother in the Sea Monkee Castle."
Seeing the class-appropriate area on the sea floor where grandpa -> step4)
"Find Grandpa in The Marinara Trench."
Seeing grandpa in castle -> step5
"Have a chat with Grandpa in the Sea Monkee Castle."
Seeing outpost on sea floor -> step6
"Search for clues to Grandma's location in the Mer-Kin Outpost."
Talking to grandpa with note in inventory about note -> step7
"Figure out what to do with Grandma's note... Perhaps Grandpa will have some ideas?"
"Rescue Grandma from the Mer-Kin Outpost."
Seeing whichshop=grandma in the castle -> step9
"Check back in with Little Brother in the Sea Monkee Castle."
"Go check on Big Brother in the Sea Monkee Castle."
"Buy the black glass from Big Brother in the Sea Monkee Castle."
Wearing black glass and seeing abyss on sea floor -> step12
"Use the black glass to explore the Caliginous Abyss."
Seeing mom in the castle -> FINISHED
Getting a status effect from mom (as in via the "mom" command) -> FINISHED
"You have rescued the entire family of Sea Monkees. Well, except for Dad, but we shouldn't talk about that."
Mer-Kin Deepcity
For some reason, this is done with properties, rather than as a Quest.
Probably because, unlike the above two, KoL does not log any quest steps.
intenseCurrents (new property)
Using Mer-kin trailmap sets to true
Seeing currents on sea floor sets to true
corralUnlocked (existing property)
Set when we ask grandpa about currents
Set when we see corral on sea floor
seahorseName (existing property)
Set when we tame it in corral
Set when we ride it to the Mer-Kin Deepcity
Existing Bugs Fixed
Future Considerations