[CODING]: Object Extra Flags

From: Ryan Kahn (padishar@bellsouth.net)
Date: 11/18/99


I have added flags for !RACE(as in, ITEM_ANTI_FAIRY, ITEM_ANTI_OGRE..

I added the checks in handler.c and objsave.c where the game checked to
see if the item was wearable by that specific person. Everything over
ITEM_ANTI_HUMAN,
which is (1 << 19) .. Does strange things.  If the item is ITEM_ANTI_
for each race except one, above human, that race cannot wear it...

Example: Item is anti to all races except draconian (1 << 25) , even a
draconian would not be allowed to wear it.. I don't know what the
problem is. Does anyone else know?


     +------------------------------------------------------------+
     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
     |  http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html  |
     +------------------------------------------------------------+



This archive was generated by hypermail 2b30 : 12/15/00 PST