From the NannyMUD documentation
2003-04-21
NAME
description_bins - Gather descriptions of objects into bins.LOCATION
/obj/supportSYNTAX
varargs mapping description_bins(object *obs, int use_txt)DESCRIPTION
This function calls generic_name() for every object, and then groups them into a mapping. In the mapping, the indices are the generic names, and the values are how many times the name occured. This mapping is returned, unless the 'use_txt' argument is non-zero. If 'use_txt' is non-zero, the mapping is further processed. For each desc, the value is set a suitable number/desc combination, such as "an axe", "thirteen monsters", etc. The mapping is then returned.EXAMPLE
Try this: eval "/obj/support"->description_bins(all_inventory(this_player()));EXAMPLE
Try this: eval "/obj/support"->description_bins(all_inventory(this_player()), 1);SEE ALSO
a_name in support/a_nameSEE ALSO
pluralize in obj/linguaSEE ALSO
number_to_string in obj/numerical