ok, i've searched for any information on wear locations, there was a few, but not waht i needed. i've come across something strange. or so i think? I added new wear locs in my mud. they all work fine and dandy. i ordered them head to toe. fine and dandy. works great. but now, i forgot to add two wear locs taht i am going to put in. so i put them in. and now, nothing will set right. i put those other wear locs in a couple months ago, and now i just tried the two new ones. and i can't get them to work properly, everything gets misaligned from the new wear loc down and i don't know how to fix it. so here's what i've got. see if you can all find anything:
***amended*****
I put in bicep
***************
build.c
char * const w_flags [] =
{
"take", "over", "head", "ears", "face", "eyes", "neck", "r1", "shoulder",
"body", "about", "waist", "r2", "r3", "shield", "bicep", "arms",
"wrist", "hands", "finger", "wield", "_dual_", "missile", "hold", "legs",
"ankle", "feet", "r4","r5","r6", "lodge_rib", "lodge_arm", "lodge_leg",
"r10","r11","r12","r13"
};
char * const item_w_flags [] =
{
"take", "light", "over", "over", "over", "head", "ears", "face", "eyes", "neck",
"neck", "strap", "strap", "shoulder", "body", "about", "waist", "attach",
"sheath", "sheath", "sheath", "sheath", "sheath",
"shield", "bicep", "arms", "wrist", "wrist", "hands", "finger",
"finger", "wield", "dual", "missile" "hold", "legs", "ankle", "ankle", "feet",
"lodge_rib", "lodge_arm", "lodge_leg","r7","r8","r9","r10","r11","r12","r13"
};
further down...
char * const wear_locs [] =
{
"light", "finger1", "finger2", "neck1", "neck2", "body", "head", "legs",
"feet", "hands", "arms", "shield", "about", "waist", "wrist1", "wrist2",
"wield", "hold", "dual_wield", "ears", "eyes", "missile_wield", "back",
"face", "ankle1", "ankle2", "strap1", "strap2", "attach", "sheath1",
"sheath2", "sheath3", "sheath4", "sheath5", "over1", "over2", "over3", "shoulder",
"bicep"
};
mud.h
#define ITEM_WEAR_WAIST BV11
#define ITEM_WEAR_ATTACH BV12
#define ITEM_WEAR_SHEATH BV13
#define ITEM_WEAR_SHIELD BV14
#define ITEM_WEAR_BICEP BV15
#define ITEM_WEAR_ARMS BV16
#define ITEM_WEAR_WRIST BV17
#define ITEM_WEAR_HANDS BV18
#define ITEM_WEAR_FINGER BV19
#define ITEM_WIELD BV20
further down...
...
WEAR_SHOULDER,
WEAR_BODY,
WEAR_ABOUT,
WEAR_WAIST,
WEAR_ATTACH,
WEAR_SHEATH_1,
WEAR_SHEATH_2,
WEAR_SHEATH_3,
WEAR_SHEATH_4,
WEAR_SHEATH_5,
WEAR_SHIELD,
WEAR_BICEP,
WEAR_ARMS,
WEAR_WRIST_L,
WEAR_WRIST_R,
WEAR_HANDS,
WEAR_FINGER_L,
...
act_obj.c
case ITEM_WEAR_BICEP:
if ( !remove_obj( ch, WEAR_BICEP, fReplace ) )
return;
if ( !oprog_use_trigger( ch, obj, NULL, NULL, NULL ) )
{
act( AT_ACTION, "&w$n wear $p &won $s bicep.", ch, obj, NULL, TO_ROOM );
act( AT_ACTION, "&wYou wear $p &won your bicep.", ch, obj, NULL, TO_CHAR );
}
equip_char( ch, obj, WEAR_BICEP );
oprog_wear_trigger( ch, obj );
return;
act_info.c
char * const where_name [] =
{
"&w<used as light> ",
"&w<worn over head> ",
"&w<worn over head> ",
"&w<worn over head> ",
"&w<worn on head> ",
"&w<worn on ears> ",
"&w<worn over face> ",
"&w<worn on eyes> ",
"&w<worn around neck> ",
"&w<worn around neck> ",
"&w<strapped> ",
"&w<strapped> ",
"&w<worn over shoulders> ",
"&w<worn on body> ",
"&w<worn about body> ",
"&w<worn on waist> ",
"&w<attached to belt> ",
"&w<sheathed> ",
"&w<sheathed> ",
"&w<sheathed> ",
"&w<sheathed> ",
"&w<sheathed> ",
"&w<worn as shield> ",
"&w<worn on bicep> ",
"&w<worn on arms> ",
"&w<worn around wrist> ",
"&w<worn around wrist> ",
"&w<worn on hands> ",
"&w<worn on finger> ",
"&w<worn on finger> ",
"&w<wielded, Primary> ",
"&w<wielded, Secondary> ",
"&w<missile wielded> ",
"&w<held> ",
"&w<worn on legs> ",
"&w<worn around ankle> ",
"&w<worn around ankle> ",
"&w<worn on feet> ",
"&w<lodged in a rib> ",
"&w<lodged in an arm> ",
"&w<lodged in a leg> ",
"&r<BUG Inform Nivek> ",
"&r<BUG Inform Nivek> ",
"&r<BUG Inform Nivek> "
};
i'll put in what it's doing. |