1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38
|
#ifndef _ITEMFLAGS_H_
#define _ITEMFLAGS_H_
#define ITEMFLAG_CONTAINER 0 // is a container object
#define ITEMFLAG_LIGHTABLE 1 // you can light and extinquish it
#define ITEMFLAG_LIT 2 // it is lit to start with
#define ITEMFLAG_GLOWING 3 // it is magically giving off light
#define ITEMFLAG_BOOZE 4 // Will eating this make them drunk
#define ITEMFLAG_ISTIED 5 // The rope is currently tied
#define ITEMFLAG_LOCKABLE 6 // Lockable container
#define ITEMFLAG_CLOSEABLE 7 // closeable container
#define ITEMFLAG_LOCKED 8 // container is locked
#define ITEMFLAG_CLOSED 9 // container is closed, not locked
#define ITEMFLAG_MAILBOX 10 // obj is a mailbox or mailman. Mail can
// be read if this object is in the room
#define ITEMFLAG_WORN 11 // is the object worn
#ifdef ITEM_C
char *itemflagnames[] = {"Container", "Lightable", "Lit", "Glowing",
"Booze", "IsTied", "Lockable", "Closeable", "Locked",
"Closed", "Mailbox", "Worn", NULL};
int itemflagfrozen[] = {ITEMFLAG_ISTIED, ITEMFLAG_WORN, -1};
#else
extern char *itemflagnames[];
extern int itemflagfrozen[];
#endif
#endif
|