Sorry to dredge this up, but I have questions on this.
Quote:
the where_location array that contains wear_loc strings for show_char_to_char and do_eq is connected to the wear_loc enumeration in mud.h
IE: typedef enum {..., wear_holster=25, ...};
is connected to the where_location array.
so where_location[25] should hopefully be "<holster>"
As for the wear_flag, in build.c...
w_flag[x] is used as 1 << x...
so if w_flag[8] = "holster", then 1 << 8 is my holster BV, and in mud.h I need to have my ITEM_HOLSTER wear flag set as BV08
#define ITEM_HOLSTER BV08
I assume you're not using extended bitvectors...
Once you have this, you need to modify wear_obj to know how to handle your ITEM_HOLSTER wear flag, and depending on how different this piece of equipment is, you might just be able to copy an already existant segment from wear_obj and modify it to your desire.
I hope this was helpful.
What's the difference between w_flags and item_w_flags?
w_flags correspond to ITEM_WEAR_loc and item_w_flags correspond to wear_locations in mud.h? Then you have to have your where_name in act_info to match up exactly to wear_locations in mud.h correct?