query_objlist callback: return TRUE if obj's count is >= reference value */
| 457 | |
| 458 | /* query_objlist callback: return TRUE if obj's count is >= reference value */ |
| 459 | staticfn boolean |
| 460 | n_or_more(struct obj *obj) |
| 461 | { |
| 462 | if (obj == uchain) |
| 463 | return FALSE; |
| 464 | return (boolean) (obj->quan >= gv.val_for_n_or_more); |
| 465 | } |
| 466 | |
| 467 | /* check valid_menu_classes[] for an entry; also used by askchain() */ |
| 468 | boolean |
nothing calls this directly
no outgoing calls
no test coverage detected