I lost 20k gold when I bought an item I couldn't use. So I found something simple that could be put into the code to help me see what items I should buy.
shops.c ( do_list )
after this line in the AFK code
mxp_obj_str( ch, obj ), obj->short_descr, mxp_obj_str_close( ch ) );
Put this Ifcheck in:
if ( nifty_is_name( arg, obj->name ) )
Where you can put information about the item for sale. Such as something like this:
if ( !can_wear_obj(ch, obj))
send_to_pager( "You can not use this item.\r\n", ch );
So then when someone types " list sword " it will show all the items with the keyword sword and the infromation you want to put in about the item.