--- deliantra/server/include/define.h 2007/01/06 14:42:30 1.36 +++ deliantra/server/include/define.h 2007/01/11 01:10:01 1.38 @@ -582,25 +582,25 @@ #define FLAG_NEUTRAL 100 /* monster is from type neutral */ #define FLAG_NO_ATTACK 101 /* monster don't attack */ #define FLAG_NO_DAMAGE 102 /* monster can't be damaged */ - -//TODO schmorp: removed in rewrite, not yet readded #define FLAG_OBJ_ORIGINAL 103 /* NEVER SET THIS. Item was loaded by - * load_original_map() */ + * load_original_map() */ #define FLAG_OBJ_SAVE_ON_OVL 104 /* this object should be saved on - * the overlay, and is not subject to - * decay. */ + * the overlay, and is not subject to + * decay. */ #define FLAG_ACTIVATE_ON_PUSH 105 /* connected object is activated when 'pushed' */ #define FLAG_ACTIVATE_ON_RELEASE 106 /* connected object is activated when 'released' */ #define FLAG_IS_WATER 107 #define FLAG_CONTENT_ON_GEN 108 #define FLAG_IS_A_TEMPLATE 109 /* Object has no ingame life until instanciated */ #define FLAG_IS_BUILDABLE 110 /* Can build on item */ +#define FLAG_DESTROY_ON_DEATH 111 /* Object will be destroyed when env dies */ +#define FLAG_NO_SAVE 112 // item doesn't get saved with map -#define NUM_FLAGS 111 /* Should always be equal to the last - * defined flag + 1. If you change this, - * make sure you update the flag_links - * in common/loader.l - */ +#define NUM_FLAGS 113 /* Should always be equal to the last + * defined flag + 1. If you change this, + * make sure you update the flag_links + * in common/loader.l + */ /* Values can go up to 127 before the size of the flags array in the * object structure needs to be enlarged.