Re: How hard is it to add a flag?

From: Acido (acido@dvmud.net)
Date: 02/07/99


At 03:16 AM 1/27/99 +0000, you wrote:
>  Hello, now how do I add a new object flag?  Is there a document (simple)
>that can explain to me how to add a new flag to my mud?

in structs.h add to the item types
#define ITEM_YOURNEWFLAG        highest number eg. 20

add it to your constants.c file with all the others
increase your item types in olc.h if you use oasisolc

That's about it


     +------------------------------------------------------------+
     | 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