Re: [NEWBIE][Code] Race Abilities

From: Mike Stilson (mike@velgarian.sytes.net)
Date: 12/15/02


On Sun, Dec 15, 2002 at 12:16:04AM -0500, Mike Stilson wrote:
just to follow up to myself yet again, an even easier way is:
>>       Shade 0 eat/drink / perm sneak
>and in limits.c:gain_condition()
>case FULL:
>if(GET_RACE(ch) == RACE_SHADE) return;
>
>case THIRSTY:
>if(GET_RACE(ch) == RACE_SHADE) return;

Instead of this, just put, somewhere in char creation:
if(GET_RACE(ch) == RACE_SHADE)) {
    GET_COND(ch, FULL) = -1;
    GET_COND(ch, THIRSTY) = -1;
}


-me

--
   +---------------------------------------------------------------+
   | FAQ: http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html |
   | Archives: http://post.queensu.ca/listserv/wwwarch/circle.html |
   | Newbie List:  http://groups.yahoo.com/group/circle-newbies/   |
   +---------------------------------------------------------------+



This archive was generated by hypermail 2b30 : 06/25/03 PDT