nodot = (!strcmp(word, "nodot") || !strcmp(word, "drop") || ident
|| takeoff || take_out || put_in);
ininv = (*objchn == invent);
- bycat = (menu_class_present('B') || menu_class_present('U')
+ bycat = (menu_class_present('u')
+ || menu_class_present('B') || menu_class_present('U')
|| menu_class_present('C') || menu_class_present('X'));
/* someday maybe we'll sort by 'olets' too (temporarily replace
}
if (itemcount && menu_on_demand)
ilets[iletct++] = 'm';
+ if (count_unpaid(objs))
+ ilets[iletct++] = 'u';
tally_BUCX(objs, here, &bcnt, &ucnt, &ccnt, &xcnt, &ocnt);
if (bcnt)
goto ask_again;
} else if (sym == 'm') {
m_seen = TRUE;
- } else if (index("BUCX", sym)) {
- add_valid_menu_class(sym); /* 'B','U','C',or 'X' */
+ } else if (index("uBUCX", sym)) {
+ add_valid_menu_class(sym); /* 'u' or 'B','U','C',or 'X' */
filtered = TRUE;
} else {
oc_of_sym = def_char_to_objclass(sym);
} else if (flags.menu_style == MENU_FULL) {
all_categories = FALSE;
Sprintf(buf, "%s what type of objects?", action);
- mflags = (ALL_TYPES | BUCX_TYPES);
+ mflags = (ALL_TYPES | UNPAID_TYPES | BUCX_TYPES);
if (put_in)
mflags |= CHOOSE_ALL;
n = query_category(buf, put_in ? invent : current_container->cobj,