get_exceptional_response Str -> Maybe Str

This is used to check all messages for exceptions. Such as not having an item we expected to have.

If no response is given, undef is returned.

get_response Str -> Maybe Str

This is used to check for and get a response to any known prompt on the top line. Consulted are the AI and action.

If no response is given, undef is returned.

get_location_response Str -> Maybe Tile

This is used to respond to requests to choose a tile (controlled teleport, targeting of ball spells, etc).

If no response is given, undef is returned.