-
Notifications
You must be signed in to change notification settings - Fork 114
Include "Pop-up" windows in observation #188
Comments
Hi there @paulkent-um - I'm afraid copying over the item to message is a no go for a number of reasons:
These are rendered as spearate rows, some are selectable, some arent. I have no doubt this is not the ideal solution for you either. I have opened up a draft pr #207, with a proposed solution, with a new observation key, and after some discussions I'll revert with decisions on how to proceed. |
I've left a comment on #207. One thing I did want to say here is:
Perhaps not ideal, but if it was up to me, I'd settle for it. It'd take some unpacking to make useful, but I could absolutely work with that, which is a lot more than I can say about the present version of NLE. |
🚀 Feature
Include pop-up windows (such as "Things that are here:", or the spellcasting menu) in the observation space, either under "message", or under a new key.
Motivation
I'm developing a bot for the 2021 Nethack challenge. The prospect of having to figure out where in the raw terminal output pop-ups are drawn up is not pleasing. Currently, if I want to get the information in these pop-up windows, that is the only way.
Pitch
Copy over the information in the pop-ups under the observation key "message".
Alternatives
If the pop-up windows turn out to take more than 255 characters to convey in some cases, or if it's possible for a message and a pop-up window to appear simultaneously, you could instead add a new key for this purpose, and allot it a larger buffer than the normal message observation.
The text was updated successfully, but these errors were encountered: