loathers / TourGuide

Relay script for KoLmafia, for the web game Kingdom of Loathing. Gives advice on how to play.
The Unlicense
14 stars 17 forks source link

Fix detection of the end of the 8-bit quest #141

Closed ajcoppa closed 1 year ago

ajcoppa commented 1 year ago

Fixes #134. The existing behavior had the quest tile sticking around even after getting the digital key. Upon investigation I noticed that the code was incorrectly trying to detect mafia quest state out of "started" and "finished" prefs. I also took out some extra quest state we were setting up but not using anywhere in favor of just calling it finished once they have a digital key.

I've tested that this does correctly remove the tile when the player gets the digital key, but haven't yet re-tested the starting and during-quest states to make sure nothing broke.