more '*' and perminv_mode==inuse
If any items are in use and hero isn't wielding anything, include | - bare hands in the primary weapon slot of the display of used items as an alert. More useful for perm_invent than for #seeall. If no items at all are in use, continue to show "not using any items" without any specific weaponless alert. When sortloot() is called for inuse_only, pass a filter that screens out items which aren't in use so they won't be needlessly sorted.
This commit is contained in:
@@ -1178,6 +1178,7 @@ extern struct obj *o_on(unsigned int, struct obj *);
|
||||
extern boolean obj_here(struct obj *, coordxy, coordxy);
|
||||
extern boolean wearing_armor(void);
|
||||
extern boolean is_worn(struct obj *);
|
||||
extern boolean is_inuse(struct obj *);
|
||||
extern struct obj *g_at(coordxy, coordxy);
|
||||
extern boolean splittable(struct obj *);
|
||||
extern int any_obj_ok(struct obj *);
|
||||
|
||||
Reference in New Issue
Block a user