This patch fixes being able to eat something that is in a pit when you are outside the pit. I also added in not being able to eat something that is in a spider web without picking it up (seemed appropriate, but let me know of alternatives that seem better) I hope this fix helps. Let me know what you think! Chris Becker (topher@csh.rit.edu) More bug fixes and patches can be found at http://www.csh.rit.edu/~topher/nethack --- orig-nethack-3.4.3/src/eat.c 2003-12-07 18:39:14.000000000 -0500 +++ nethack-3.4.3/src/eat.c 2004-01-10 02:14:40.000000000 -0500 @@ -1888,6 +1888,28 @@ } } + /* Can't eat trapped food - Chris Becker (topher@csh.rit.edu) */ + { + struct trap* ttmp = t_at(u.ux,u.uy); + if (ttmp) { + switch(ttmp->ttyp) { + case PIT: + case SPIKED_PIT: + if (!(u.utraptype == TT_PIT && u.utrap)) { + You("can't reach %s, it's at the bottom of the %s!", the(xname(otmp)), + ttmp->ttyp == PIT ? "pit" : "spiked pit" ); + return 0; + } + break; + case WEB: + You("can't eat %s, it's caught in the spider web%s!", the(xname(otmp)), + u.utraptype == TT_WEB && u.utrap ? " with you" : "" ); + return 0; + default: + break; + } + } + } /* We have to make non-foods take 1 move to eat, unless we want to * do ridiculous amounts of coding to deal with partly eaten plate * mails, players who polymorph back to human in the middle of their