Rajathbharadwaj/NetHack-2021

Annotation update

paulkent-um opened this issue · 0 comments

Currently, the reader records messages raw, and annotates them with monster identities during obituary generation. This works fine for now, but there is a flaw with it that we'll probably run into sooner or later: If a monster gets poly'd (poly trap, poly wand, doppelganger, etc), the message log will display as if that monster had been its new form the whole time.

The fix is quite simple: Instead of annotating only at the end, annotate messages as they're added to the log. This will take me like 5-10 minutes tops when I get around to it, but right now I'm focusing on something else.