thrown items can get stuck in webs
engraving with Fire Brand burns the text on the floor and does not
dull the artifact
+make looting less tedious by getting rid of a y/n prompt making the command
+ go directly into the loot-in-out -menu
Fixes to 3.7.0-x Problems that Were Exposed Via git Repository
if (cobj->olocked) {
struct obj *unlocktool;
- if (ccount < 2)
+ if (ccount < 2 && (g.level.objects[cobj->ox][cobj->oy] == cobj))
pline("%s locked.",
cobj->lknown ? "It is" : "Hmmm, it turns out to be");
else if (cobj->lknown)
g.abort_looting = TRUE;
return ECMD_TIME;
}
-
- You("%sopen %s...", (!cobj->cknown || !cobj->lknown) ? "carefully " : "",
- the(xname(cobj)));
return use_container(cobjp, 0, (boolean) (cindex < ccount));
}
boolean underfoot = TRUE;
const char *dont_find_anything = "don't find anything";
struct monst *mtmp;
- char qbuf[BUFSZ];
int prev_inquiry = 0;
boolean prev_loot = FALSE;
int num_conts = 0;
nobj = cobj->nexthere;
if (Is_container(cobj)) {
- c = ynq(safe_qbuf(qbuf, "There is ", " here, loot it?",
- cobj, doname, ansimpleoname,
- "a container"));
- if (c == 'q')
- return (timepassed ? ECMD_TIME : ECMD_OK);
- if (c == 'n')
- continue;
anyfound = TRUE;
-
timepassed |= do_loot_cont(&cobj, 1, 1);
if (g.abort_looting)
/* chest trap or magic bag explosion or <esc> */