My bad, originally it was in case 3, but since the e-mail's been sent, I
moved it to case 5. Unfortunately, still nothing comes of the prog.
Just as a side note, would this have anything to do with the pcdata
involvement, instead of the char_data?  I've noticed no other checks use
the pcdata structure. 
And yeah, odor, hair, disposition are the last 3 on the list (as the
list ended with 51, I increased from there.
-------------------------------------------
TJW: Head tech, Dreamless Realms Mud
Personal: http://twhiting.kyndig.com
Mud: http://drealms.kyndig.com
Snippets http://drealms.kyndig.com/snippets
Telnet telnet://drealms.kyndig.com:9275
The OLC2 Pages http://olc.kyndig.com
-------------------------------------------

> #define CHK_ODOR        (52)          /*how does $n smell*/
> #define CHK_HAIR        (53)          /*how long is $n's hair*/
> #define CHK_DISPOSITION (54)          /*what kind of character is $n*/
>
> in the keywords (the last 3):
>
>    "odor",
>    "hair",
>    "disposition",
>
> in int cmd_eval_mob (case 3)
> case CHK_ODOR: if ( lval_char != NULL && !IS_NPC(lval_char) ) lval =
> lval_char->pcdata->bathe; break;
> case CHK_HAIR:
> if ( lval_char != NULL && !IS_NPC(lval_char) ) lval = lval_char->
> pcdata->hlength; break;
> case CHK_DISPOSITION:
> if ( lval_char != NULL && !IS_NPC(lval_char) ) lval = lval_char->
> pcdata->disposition; break;
>

Make sure that odor, hair and disposition are in the same place on the
list.  Also, looking over my mob_prog.c file.  Shouldn't those 3 lines
above be in case 5: Keyword, actor, comparison and value?  The stuff in
case 3 is for CHK_ISPC, things that are true/false.  Try moving those
three to case 5 and retry.
Your code may be completely different than mine so it may be in the
right
place.
Jef




Reply via email to