Hmmm. I am still trying to get my wear locations correct. The snippet says this:
Locate char * const item_w_flags [] =
Add the following to the list, corresponding to the values used for the equipment wear locations in mud.h:
"lodge_rib", "lodge_arm", "lodge_leg"
Here's the pertinent area, with the modifications. My question is, how do I correspond them to the values used in equipment wear locations in mud.h?
char * const item_w_flags [] =
{
"take", "finger", "neck", "neck", "neck", "body", "head", "legs", "feet",
"hands", "arms", "shield", "about", "waist", "wrist", "wrist", "wield",
"hold", "dual", "ears", "eyes", "missile", "back", "face", "ankle", "ankle",
"lodge_rib", "lodge_arm", "lodge_leg",
"r4","r5","r6","r7","r8","r9","r10","r11","r12","r13"
};
Here is that area from mud.h
/*
* Equpiment wear locations.
* Used in #RESETS.
*/
typedef enum
{
WEAR_NONE = -1, WEAR_LIGHT = 0, WEAR_FINGER_L, WEAR_FINGER_R, WEAR_NECK_1,
WEAR_NECK_2, WEAR_BODY, WEAR_HEAD, WEAR_LEGS, WEAR_FEET, WEAR_HANDS,
WEAR_ARMS, WEAR_SHIELD, WEAR_ABOUT, WEAR_WAIST, WEAR_WRIST_L, WEAR_WRIST_R,
WEAR_WIELD, WEAR_HOLD, WEAR_DUAL_WIELD, WEAR_EARS, WEAR_EYES,
WEAR_MISSILE_WIELD, WEAR_BACK, WEAR_FACE, WEAR_ANKLE_L, WEAR_ANKLE_R,
WEAR_LODGE_RIB, WEAR_LODGE_ARM, WEAR_LODGE_LEG,
MAX_WEAR
} wear_locations;
I put the additions right after WEAR_ANKLE_R, and did the same in the array, but I'm not sure that is what is meant. Am I missing something?
Thanks,
Gadush
|