From the NannyMUD documentation

LAST CHANGE

2003-04-21

FUNCTION


NAME

        description_bins - Gather descriptions of objects into bins.

LOCATION

	/obj/support

SYNTAX

	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_name

SEE ALSO

        pluralize in obj/lingua

SEE ALSO

        number_to_string in obj/numerical