There's a check in doloot that's supposed to disallow looting nearby
monsters if you loot a container at the current location. But, it only
worked if you looted the last container. Make the behavior consistent.
#chat with meditating monster will rouse it
suppress redundant message when stoning effect transforms a golem
clear worn bits of any object grabbed by shopkeeper to avoid extract_nobj panic
+looting any container on a location should suppress looting nearby monsters
Platform- and/or Interface-Specific Fixes
lootcont:
if (container_at(x, y, FALSE)) {
+ boolean any = FALSE;
+
if (!able_to_loot(x, y)) return 0;
for (cobj = level.objects[x][y]; cobj; cobj = nobj) {
nobj = cobj->nexthere;
c = ynq(qbuf);
if (c == 'q') return (timepassed);
if (c == 'n') continue;
+ any = TRUE;
if (cobj->olocked) {
pline("Hmmm, it seems to be locked.");
if (multi < 0) return 1; /* chest trap */
}
}
+ if (any) c = 'y';
} else if (Confusion) {
#ifndef GOLDOBJ
if (u.ugold){