Difference between revisions of "Talk:Impossible"

From NetHackWiki
Jump to navigation Jump to search
m (editing header)
(List of all impossible states?: reply)
 
Line 2: Line 2:
  
 
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.[[User:Fuzzyjammies|Fuzzyjammies]] ([[User talk:Fuzzyjammies|talk]]) 19:46, 23 June 2023 (UTC)
 
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.[[User:Fuzzyjammies|Fuzzyjammies]] ([[User talk:Fuzzyjammies|talk]]) 19:46, 23 June 2023 (UTC)
 +
:There are about 524 instances of <code>impossible(</code> 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 <code>grep -n 'impossible(' -r</code> from the top level directory of the NetHack source distribution. [[User:Cathartes|Cathartes]] ([[User talk:Cathartes|talk]]) 21:01, 23 June 2023 (UTC)

Latest revision as of 21:01, 23 June 2023

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)