diff options
author | Fate <fate-tmw@googlemail.com> | 2008-12-11 22:28:30 -0700 |
---|---|---|
committer | Fate <fate-tmw@googlemail.com> | 2008-12-11 22:28:30 -0700 |
commit | 5e32a6be59536a6810bf558ec07dd3a615569c39 (patch) | |
tree | 8306d38892f6802ce7ce11541738cd947de568d8 /src/map/map.h | |
parent | c9e5567e98cf7e26c549f4a512eeece24a0d9c81 (diff) | |
download | tmwa-5e32a6be59536a6810bf558ec07dd3a615569c39.tar.gz tmwa-5e32a6be59536a6810bf558ec07dd3a615569c39.tar.bz2 tmwa-5e32a6be59536a6810bf558ec07dd3a615569c39.tar.xz tmwa-5e32a6be59536a6810bf558ec07dd3a615569c39.zip |
Added @invisible and @visible GM commands
Diffstat (limited to 'src/map/map.h')
-rw-r--r-- | src/map/map.h | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/src/map/map.h b/src/map/map.h index afaf61e..d407016 100644 --- a/src/map/map.h +++ b/src/map/map.h @@ -41,7 +41,22 @@ #define DEFAULT_AUTOSAVE_INTERVAL 60*1000 -#define OPTION_HIDE 0x40 +// [Fate] status.option properties. These are persistent status changes. +// IDs that are not listed are not used in the code (to the best of my knowledge) +#define OPTION_HIDE2 0x0002 // apparently some weaker non-GM hide +#define OPTION_CLOAK 0x0004 +#define OPTION_10 0x0010 +#define OPTION_20 0x0020 +#define OPTION_HIDE 0x0040 // [Fate] This is the GM `@hide' flag +#define OPTION_800 0x0800 +#define OPTION_INVISIBILITY 0x1000 // [Fate] Complete invisibility to other clients +#define OPTION_SCRIBE 0x2000 // [Fate] Auto-logging of nearby comments +#define OPTION_CHASEWALK 0x4000 + +// Below are special clif_changestatus() IDs reserved for option updates +#define CLIF_OPTION_SC_BASE 0x1000 +#define CLIF_OPTION_SC_INVISIBILITY (CLIF_OPTION_SC_BASE) +#define CLIF_OPTION_SC_SCRIBE (CLIF_OPTION_SC_BASE + 1) enum { BL_NUL, BL_PC, BL_NPC, BL_MOB, BL_ITEM, BL_CHAT, BL_SKILL, BL_PET, BL_SPELL }; enum { WARP, SHOP, SCRIPT, MONS, MESSAGE }; |