--- deliantra/server/include/map.h 2006/08/13 17:16:02 1.6 +++ deliantra/server/include/map.h 2006/08/15 17:35:50 1.8 @@ -157,6 +157,11 @@ #define AB_NO_PASS 0x04 /*#define P_PASS_THRU 0x08 *//* */ +#define P_SAFE 0x08 /* If this is set the map is a safe map, + * that means, nothing harmful there will be done, + * like: bombs, potion usage, alchemy, spells + * this was introduced to make shops more safe + * and propably other maps */ #define P_IS_ALIVE 0x10 /* something alive is on this space */ #define P_NO_CLERIC 0x20 /* no clerical spells cast here */ #define P_NEED_UPDATE 0x40 /* this space is out of date */ @@ -287,6 +292,7 @@ * players entering/exiting map */ uint32 unique:1; /* if set, this is a per player unique map */ + uint32 safe_map:1; /* if set, this map doesn't allow using magic or harmful stuff in any way */ uint32 templatemap:1; /* if set, this is a template map */ uint32 nosmooth:1; /* if set the content of this map has smoothlevel=0 forced*/ sint32 timeout; /* swapout is set to this */