Bug Speakeasy blue word from Typical Tavern not logged to console / session log

Some of the password pieces for the clan Speakeasy get logged to the gcli and session log as you find them, but it looks like the <relative> piece of the blue password for the Bee's Knees does not.

I've attached the page source with the special message.

This password piece (in the provided example, the word "wife" from the blue text "my wife") comes from helping Bart Ender in The Typical Tavern, after you have finished the rat quest and selecting the 'Sure, I'll help out. (5 Adventures)' option, with an unknown chance of appearing instead of the usual message.
 

Attachments

Last edited:
Looks like the blue piece from the clockwork bartender-in-the-box is also not logged. Attached is the inventory source, with the relevant line at 587 (the blue text "craves").

If these are relatively easy changes that could be a 'first pull request' then I'll probably make an attempt at them, but I don't know how much effort goes into this sort of parsing.
 

Attachments

If you search the codebase for "Word found" you can find the cases where we log a word: we just find an appropriate substring from the message and use regex to parse the word out.

If you type "debug on" in the CLI before hitting a webpage, Mafia will log all the HTML in a good format for tests in the DEBUG_XXXX.txt log it creates. "debug off" will stop the logging.
 
Back
Top