]> granicus.if.org Git - nethack/commit
last? Sting
authorPatR <rankin@nethack.org>
Sun, 31 May 2015 08:24:19 +0000 (01:24 -0700)
committerPatR <rankin@nethack.org>
Sun, 31 May 2015 08:24:19 +0000 (01:24 -0700)
commit3a5304c49eea282ba02d8b2ba43b338a39e73dec
tree561d07f6198cdb9726bfcc5b94d2144b27261ecd
parenta70599b0cd76ebdf2688e0a3e526b4dd486236ed
last? Sting

If Sting is glowing when blindness gets toggled, give a new "glowing"
message.

So instead of
  Sting glows blue! [...] You can't see! [...] Sting stops quivering.
if you're still blind when the last orc goes away, or
  Sting quivers slightly. [...] You can see again. [...] Sting stops
  glowing.
if you were blind when the first orc arrived, now you'll get an
intermediate message between the second and third ones.  'Sting is
quivering' for the first case, 'Sting is glowing' for the second.
No matter how many times blindness toggles back and forth, the final
"stops glowing" or "stops quivering" will be consistent with the most
recent "is glowing" or "is quivering".
src/artifact.c
src/potion.c