re: Long item-list fix

Trice@lol2
Date: 06/15/95


    Also, on this subject, you don't need to sacrafice the long
    descriptions, just adjust your code to allow for them.  My
    preliminary idea, lacking any real code (maybe pseudo), is to
    not just show `a', or `an', but:

    A red coat is lying here.
    Three red coats are lying here.
    etc.

    The pluralization of the name can be handled by act, or something
    else.  Not sure..  Some pseudo-code with a psuedo-macro :)

	#define OBJ_HEADER(obj, amount)		\
		(amount == 1 ? A_AN(obj) :	\
		 amount < 11 ? number_table[amount] : 	\
		 number_table[11] )

         const char * number_table[] = {
         "One",
         "Two",
         "Three",
         "Four",
         "Five",
         "Six",
         "Seven",
         "Eight",
         "Nine",
         "Ten",
         "A lot of",
         "\n"
         }

    Very preliminary, just an idea... what do you think?  Can those
    of you that are familar with and use CircleMUD code turn this idea
    into a reality?


    Trice



This archive was generated by hypermail 2b30 : 12/18/00 PST