Talk:Eating jewelry

From NetHackWiki
Revision as of 09:12, 26 May 2008 by Rogerb-on-NAO (talk | contribs) (It is a bug.)
Jump to navigation Jump to search

During my latest successful game, a gremlin stole my intrinsic stealth. I tried to fix that by eating a ring of stealth. I had the "the magic spreads throughout your body" message, however, enlightenment revealed that I *didn't* gain stealth back! It just wasn't there when I wasn't wearing my elven cloak! What's up with that? --Gneek 01:31, 8 April 2008 (UTC)

Sounds like a bug to me 86.156.99.151 22:01, 9 April 2008 (UTC)

Anyone know if eating the Eye of the Aethiopica has an effect?

It's impossible to eat Eye of the Aethiopica, it's an artifact. --Gneek 16:55, 24 May 2008 (UTC)

Amulet of restful sleep

A wiztest seems to indicate that eating an amulet of restful sleep can grant the restful sleep intrinsic. However, if you wear and remove another amulet of restful sleep, the intrinsic will disappear. -- Killian 03:19, 25 May 2008 (UTC)

You're right! This seems to be caused by the unconditional update of HSleeping at Source:do_wear.c#line624 resetting the bit that indicates the player has the intrinsic. Changing this line to
                if (!Hsleeping) HSleeping = rnd(100);
should fix it. I notified the devteam citing Killian as the finder.
--Rogerb-on-NAO 11:14, 25 May 2008 (UTC)
The devteam have responded to my report - they confirm Killian's observation and my diagnosis, and have fixed the bug.
--Rogerb-on-NAO 09:12, 26 May 2008 (UTC)