Re: converting into golds and silvers

From: spaz (
Date: 02/26/96

To Ben leibig Is this the message you were looking for?

>I would have made a routine that returns a pointer to a string, containing
>the coins converted into amound of gold, silver and coppers, so you 
>can use it like sprintf(buf, "Ok, hand over %s.\r\n", convert_gold(amount));
>and send_to_char(buf); So, you can also use it when displaying gold one
>carries, as sprintf(buf, "You have %s.", convert_gold(ch->gold /* was there
>a member like gold in struct char_data? */ ) );
>Of course, the convert_gold() routine is to be implemented first :)
                    GRATUITOUS HOME PAGE PLUG!                         *
              CHECK IT OUT AT                    *

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