When autopicking objects, you can count to two

Show "two" instead of "a few" when autopicking up objects, and
there's some left you didn't pick up.
This commit is contained in:
Pasi Kallinen
2022-04-11 11:31:28 +03:00
parent b9abd2a185
commit 32fa807050

View File

@@ -3939,11 +3939,10 @@ look_here(int obj_cnt, /* obj_cnt > 0 implies that autopickup is in progress */
There("is %s object here.", picked_some ? "another" : "an");
else
There("are %s%s objects here.",
(obj_cnt < 5)
? "a few"
: (obj_cnt < 10)
? "several"
: "many",
(obj_cnt == 2) ? "two"
: (obj_cnt < 5) ? "a few"
: (obj_cnt < 10) ? "several"
: "many",
picked_some ? " more" : "");
for (; otmp; otmp = otmp->nexthere)
if (otmp->otyp == CORPSE && will_feel_cockatrice(otmp, FALSE)) {