Talk:Impossible

From NetHackWiki
Jump to navigation Jump to search

List of all impossible states?

As someone who's been playing for a tremendously long time but only run into one impossible ever (attacking with a destroyed cream pie), I've always been utterly fascinated by them, but attempting to root through the code for them as someone who doesn't really read source code often is both difficult and often not terribly illuminating (as the impossible messages are often after conditions I cannot interpret). Does anyone happen to have a list of all of the impossible conditions? I'd love to read it.Fuzzyjammies (talk) 19:46, 23 June 2023 (UTC)

There are about 524 instances of impossible( in the 3.6.7 source code (a bit less after accounting for comments), so I doubt anyone compiled a list of all of them. You can find them yourself with grep: run grep -n 'impossible(' -r from the top level directory of the NetHack source distribution. Cathartes (talk) 21:01, 23 June 2023 (UTC)