*extra_types++ = 'C';
if (!xcnt)
*extra_types++ = 'X';
+ if (!jcnt)
+ *extra_types++ = 'P';
*extra_types = '\0'; /* for index() */
for (i = 0; i < MAXOCLASSES; i++)
if (!index(types, def_oc_syms[i].sym)) {
after = " whose blessed/uncursed/cursed status is unknown";
break; /* better phrasing is desirable */
case 'P':
- after = " you just picked up";
+ after = " that were just picked up";
break;
default:
/* 'c' is an object class, because we've already handled
char tmpbuf[BUFSZ];
if (num_justpicked == 1)
- Sprintf(tmpbuf, "%s", doname(find_justpicked(olist)));
+ Sprintf(tmpbuf, "Just picked up: %s",
+ doname(find_justpicked(olist)));
else
Sprintf(tmpbuf, "Items you just picked up");
invlet = 'P';
flags.verbose ? obuf : shortestname);
/* "Dip <the object> into the fountain?" */
if (yn(qbuf) == 'y') {
+ obj->pickup_prev = 0;
dipfountain(obj);
return ECMD_TIME;
}
&& P_SKILL(P_RIDING) < P_BASIC) {
rider_cant_reach(); /* not skilled enough to reach */
} else {
+ obj->pickup_prev = 0;
if (obj->otyp == POT_ACID)
obj->in_use = 1;
if (water_damage(obj, 0, TRUE) != ER_DESTROYED && obj->in_use)
pline("That is a potion bottle, not a Klein bottle!");
return ECMD_OK;
}
+
+ obj->pickup_prev = 0; /* no longer 'recently picked up' */
potion->in_use = TRUE; /* assume it will be used up */
if (potion->otyp == POT_WATER) {
boolean useeit = !Blind || (obj == ublindf && Blindfolded_only);
/* KMH, conduct */
if (!u.uconduct.polypiles++)
- livelog_printf(LL_CONDUCT, "polymorphed %s first item", uhis());
+ livelog_printf(LL_CONDUCT, "polymorphed %s first item",
+ uhis());
obj = poly_obj(obj, STRANGE_OBJECT);
if (!scroll)
return ECMD_CANCEL;
otyp = scroll->otyp;
+ scroll->pickup_prev = 0; /* no longer 'just picked up' */
/* outrumor has its own blindness check */
if (otyp == FORTUNE_COOKIE) {