Re: adding another wear bit?

From: Jonathan Barrett (mixtli@SINFO.NET)
Date: 11/24/97


> ok i have almost completely added to ITEM_WEAR_ANKLE_R or L
> and i got it to compile and every thing is running great
> the thing is when i create the new obj to wear on the ankles and try
> flagging it for Ankle , then i ostat it, i get UNDEFINED.
> i was having problem in lines do_oset of the act.build file.
> anyone now what i may have did wrong?
>

Did you remember to change the name in constant.c?

/* ITEM_WEAR_ (wear bitvector) */
const char *wear_bits[] = {
  "TAKE",
  "FINGER",
  "NECK",
  "BODY",
  "HEAD",
  "LEGS",
  "FEET",
  "HANDS",
  "ARMS",
  "SHIELD",
  "ABOUT",
  "WAIST",
  "WRIST",
  "WIELD",
  "HOLD",
  "\n"
};

You must add ANKLE here or it will display UNDEFINED.  Make sure that the
position corresponds to the number of the bitvector.  That should be easy
enough.

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



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