00001
00002
00003
00004
00005
00006 #ifndef _ATTRS_H
00007 #define _ATTRS_H
00008
00009
00010 #define AF_ODARK 0x00000001UL // players other than owner can't see it.
00011 #define AF_DARK 0x00000002UL // Only #1 can see it.
00012 #define AF_WIZARD 0x00000004UL // only wizards can change it.
00013 #define AF_MDARK 0x00000008UL // Only wizards can see it. Dark to mortals.
00014 #define AF_INTERNAL 0x00000010UL // Don't show even to #1.
00015 #define AF_NOCMD 0x00000020UL // Don't create a @ command for it.
00016 #define AF_LOCK 0x00000040UL // Attribute is locked.
00017 #define AF_DELETED 0x00000080UL // Attribute should be ignored.
00018 #define AF_NOPROG 0x00000100UL // Don't process $-commands from this attr.
00019 #define AF_GOD 0x00000200UL // Only #1 can change it.
00020 #define AF_IS_LOCK 0x00000400UL // Attribute is a lock.
00021 #define AF_VISUAL 0x00000800UL // Anyone can see.
00022 #define AF_PRIVATE 0x00001000UL // Not inherited by children.
00023 #define AF_HTML 0x00002000UL // Don't HTML escape this in did_it().
00024 #define AF_NOPARSE 0x00004000UL // Don't evaluate when checking for $-cmds.
00025 #define AF_REGEXP 0x00008000UL // Do a regexp rather than wildcard match.
00026 #define AF_NOCLONE 0x00010000UL // Don't copy this attr when cloning.
00027 #define AF_CONST 0x00020000UL // No one can change it (set by server).
00028 #define AF_CASE 0x00040000UL // Regexp matches are case-sensitive.
00029 #define AF_ISUSED 0x00080000UL // Used to make efficient sweeps of stale
00030
00031
00032 #define A_OSUCC 1
00033 #define A_OFAIL 2
00034 #define A_FAIL 3
00035 #define A_SUCC 4
00036 #define A_PASS 5
00037 #define A_DESC 6
00038 #define A_SEX 7
00039 #define A_ODROP 8
00040 #define A_DROP 9
00041 #define A_OKILL 10
00042 #define A_KILL 11
00043 #define A_ASUCC 12
00044 #define A_AFAIL 13
00045 #define A_ADROP 14
00046 #define A_AKILL 15
00047 #define A_AUSE 16
00048 #define A_CHARGES 17
00049 #define A_RUNOUT 18
00050 #define A_STARTUP 19
00051 #define A_ACLONE 20
00052 #define A_APAY 21
00053 #define A_OPAY 22
00054 #define A_PAY 23
00055 #define A_COST 24
00056 #define A_MONEY 25
00057 #define A_LISTEN 26
00058 #define A_AAHEAR 27
00059 #define A_AMHEAR 28
00060 #define A_AHEAR 29
00061 #define A_LAST 30
00062 #define A_QUEUEMAX 31
00063 #define A_IDESC 32
00064 #define A_ENTER 33
00065 #define A_OXENTER 34
00066 #define A_AENTER 35
00067 #define A_ADESC 36
00068 #define A_ODESC 37
00069 #define A_RQUOTA 38
00070 #define A_ACONNECT 39
00071 #define A_ADISCONNECT 40
00072 #define A_ALLOWANCE 41
00073 #define A_LOCK 42
00074 #define A_NAME 43
00075 #define A_COMMENT 44
00076 #define A_USE 45
00077 #define A_OUSE 46
00078 #define A_SEMAPHORE 47
00079 #define A_TIMEOUT 48
00080 #define A_QUOTA 49
00081 #define A_LEAVE 50
00082 #define A_OLEAVE 51
00083 #define A_ALEAVE 52
00084 #define A_OENTER 53
00085 #define A_OXLEAVE 54
00086 #define A_MOVE 55
00087 #define A_OMOVE 56
00088 #define A_AMOVE 57
00089 #define A_ALIAS 58
00090 #define A_LENTER 59
00091 #define A_LLEAVE 60
00092 #define A_LPAGE 61
00093 #define A_LUSE 62
00094 #define A_LGIVE 63
00095 #define A_EALIAS 64
00096 #define A_LALIAS 65
00097 #define A_EFAIL 66
00098 #define A_OEFAIL 67
00099 #define A_AEFAIL 68
00100 #define A_LFAIL 69
00101 #define A_OLFAIL 70
00102 #define A_ALFAIL 71
00103 #define A_REJECT 72
00104 #define A_AWAY 73
00105 #define A_IDLE 74
00106 #define A_UFAIL 75
00107 #define A_OUFAIL 76
00108 #define A_AUFAIL 77
00109 #define A_PFAIL 78
00110 #define A_TPORT 79
00111 #define A_OTPORT 80
00112 #define A_OXTPORT 81
00113 #define A_ATPORT 82
00114 #define A_PRIVS 83
00115 #define A_LOGINDATA 84
00116 #define A_LTPORT 85
00117 #define A_LDROP 86
00118 #define A_LRECEIVE 87
00119 #define A_LASTSITE 88
00120 #define A_INPREFIX 89
00121 #define A_PREFIX 90
00122 #define A_INFILTER 91
00123 #define A_FILTER 92
00124 #define A_LLINK 93
00125 #define A_LTELOUT 94
00126 #define A_FORWARDLIST 95
00127 #define A_MAILFOLDERS 96
00128 #define A_LUSER 97
00129 #define A_LPARENT 98
00130 #define A_LCONTROL 99
00131 #define A_VA 100
00132
00133 #define A_LGET 127
00134 #define A_MFAIL 128
00135 #define A_GFAIL 129
00136 #define A_OGFAIL 130
00137 #define A_AGFAIL 131
00138 #define A_RFAIL 132
00139 #define A_ORFAIL 133
00140 #define A_ARFAIL 134
00141 #define A_DFAIL 135
00142 #define A_ODFAIL 136
00143 #define A_ADFAIL 137
00144 #define A_TFAIL 138
00145 #define A_OTFAIL 139
00146 #define A_ATFAIL 140
00147 #define A_TOFAIL 141
00148 #define A_OTOFAIL 142
00149 #define A_ATOFAIL 143
00150 #define A_LASTIP 144
00151
00152
00153
00154 #ifdef WOD_REALMS
00155 #define A_UMBRADESC 145
00156 #define A_WRAITHDESC 146
00157 #define A_FAEDESC 147
00158 #define A_MATRIXDESC 148
00159 #endif // WOD_REALMS
00160
00161
00162 #define A_CMDCHECK 198 // For @icmd. (From RhostMUSH)
00163 #define A_MONIKER 199 // Ansi-colored and/or accented name of object.
00164 #define A_LASTPAGE 200
00165 #define A_MAIL 201
00166 #define A_AMAIL 202
00167 #define A_SIGNATURE 203
00168 #define A_DAILY 204
00169 #define A_MAILTO 205
00170 #define A_MAILMSG 206
00171 #define A_MAILSUB 207
00172 #define A_MAILCURF 208
00173 #define A_LSPEECH 209
00174 #define A_PROGCMD 210
00175 #define A_MAILFLAGS 211
00176 #define A_DESTROYER 212
00177
00178 #define A_NEWOBJS 213
00179 #define A_SAYSTRING 214 // Replaces 'says,'
00180 #define A_SPEECHMOD 215 // Softcode to be applied to speech
00181 #define A_EXITVARDEST 216
00182 #define A_LCHOWN 217
00183 #define A_CREATED 218 // Date/time created
00184 #define A_MODIFIED 219 // Date/time last modified
00185
00186 #define A_VRML_URL 220
00187 #define A_HTDESC 221
00188
00189
00190
00191 #define A_REASON 222 // Disconnect reason
00192 #ifdef GAME_DOOFERMUX
00193 #define A_REGINFO 223 // Registration Information
00194 #endif // GAME_DOOFERMUX
00195 #define A_CONNINFO 224 // Connection info: (total connected time,
00196
00197
00198 #define A_LMAIL 225 // Lock who may @mail you
00199 #define A_LOPEN 226 // Lock for controlling OPEN_OK locations
00200
00201 #define A_IDLETMOUT 240
00202
00203 #define A_EXITFORMAT 241
00204 #define A_CONFORMAT 242
00205 #define A_NAMEFORMAT 243
00206 #define A_DESCFORMAT 244
00207
00208
00209 #ifdef REALITY_LVLS
00210 #define A_RLEVEL 250
00211 #endif
00212
00213
00214 #define A_VLIST 252
00215 #define A_LIST 253
00216 #define A_STRUCT 254
00217 #define A_TEMP 255
00218
00219 #define A_USER_START 256 // Start of user-named attributes.
00220
00221 #define ATR_BUF_CHUNK 100
00222 #define ATR_BUF_INCR 6
00223
00224 #endif // _ATTRS_H