diff --git a/include/define.h b/include/define.h index eb76496..9d6a997 100644 --- a/include/define.h +++ b/include/define.h @@ -298,8 +298,9 @@ error - Your ANSI C compiler should be defining __STDC__; #define BUILDER 160 /**< Generic item builder, see subtypes * below */ #define MATERIAL 161 /**< Material for building */ +#define EARRING 162 -#define OBJECT_TYPE_MAX 162 /**< Update if you add new types */ +#define OBJECT_TYPE_MAX 163 /**< Update if you add new types */ /* END TYPE DEFINE */ /*@}*/ @@ -627,7 +628,8 @@ typedef struct typedata { #define FLAG_AFK 111 /**< Player is AFK */ #define FLAG_BLESSED 112 /**< Item has a blessing, opposite of cursed/damned. */ #define FLAG_KNOWN_BLESSED 113 /**< Item is known to be blessed. */ -#define NUM_FLAGS 113 /**< Should always be equal to the last +#define FLAG_USE_EARRING 114 /**< (Monster) can use rings, boots, gauntlets, etc */ +#define NUM_FLAGS 114 /**< Should always be equal to the last * defined flag. If you change this, * make sure you update the flag_links * in common/loader.l