Rajathbharadwaj / NetHack-2021

Nethack 2021 codebase implementations
0 stars 0 forks source link

Annotation update #6

Closed paulkent-um closed 1 year ago

paulkent-um commented 1 year ago

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.