Re: pet shops

From: Benjamin Draper (satrycus@drachenburg.demon.co.uk)
Date: 12/28/98


This is taken from spec_procs.c in SPECIAL(pet_shops) :

  pet_room = ch->in_room + 1;

just below this you find:

    send_to_char("Available pets are:\r\n", ch);
    for (pet = world[pet_room].people; pet; pet = pet->next_in_room) {
      sprintf(buf, "%8d - %s\r\n", PET_PRICE(pet), GET_NAME(pet));
      send_to_char(buf, ch);
    }

Simple enough...

Irmas wrote:
> Okay, this may be a stupid question, but I gotta ask it.  I;m sorry

Apology accepted =P

-> Ben


     +------------------------------------------------------------+
     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
     |  http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html  |
     +------------------------------------------------------------+



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