Talk:Evil food

From NetHackWiki
Jump to navigation Jump to search

Death Drops

Playing latest stable SLASH'EM, and I *just* got a tripe ration from a killer tripe ration I killed in Sokoban level 3. Looked in monst.c, but apparently that's just a file full of magic numbers and flags. --AileTheAlien 22:40, 26 March 2011 (UTC)

Was it just standing on a tripe ration? Evil food should never give death drops (they have no limbs, and in SLASH'EM monsters with no limbs never give death drops IIRC), and they certainly don't always drop their corresponding item. -- Qazmlpok 23:37, 26 March 2011 (UTC)
Just tested in Wizard mode, getting drops on 6/7 killer tripe rations. One even dropped TWO tripes instead of one. Killer food rations got drops on 3/7. Bad eggs got 0/12 for drops. --AileTheAlien 06:54, 28 March 2011 (UTC)
Well the source code does show that killer tripe rations and food rations are supposed to leave death drops: Source:SLASH'EM 0.0.7E7F2/mon.c#line218. There's nothing about bad eggs, although it would make perfect sense for them not to leave eggs behind - you probably broke the egg in attacking it.
That being said, I have also never seen these leave anything behind. Are you playing an earlier version of SLASH'EM (the current version is 0.0.7E7F3)? The code we have on the site isn't quite the current version, it's 0.0.7E7F2, so perhaps evil food's death drops were changed in the meantime, or something was added which caused them no longer to function. -Ion frigate 09:14, 28 March 2011 (UTC)
Nope, the code is still there in F3. Just tried it and wizard mode and I actually got a food ration from a killer one after 4 tries. I guess they're just rare enough that I never noticed them dropping anything, just the times they didn't drop anything. I'm guessing the reason they don't always drop the "corpse" is because they are size Small, giving them a 1 in 3 chance of normally dropping a corpse. -- Qazmlpok 12:14, 28 March 2011 (UTC)
Just checked -- indeed using F3. Anyways, adding note about 1/3 drops to page. --AileTheAlien 18:41, 29 March 2011 (UTC)