As is in Penn (I think), we'll use two underscores to denote a hidden server attribute. Finished up moving the two hidden attributes that I know need to be hidden and read-only over to the double underscore names as per Issue 27.
This commit is contained in:
parent
131f6410d4
commit
82f35f3b84
3 changed files with 8 additions and 7 deletions
|
|
@ -30,10 +30,11 @@ NOSAVE_FLAGS = ["CONNECTED"]
|
|||
NOSET_FLAGS = ["CONNECTED"]
|
||||
|
||||
# These attribute names can't be modified by players.
|
||||
NOSET_ATTRIBS = ["MONEY", "ALIAS", "LASTPAGED", "CHANLIST", "LAST", "LASTSITE"]
|
||||
NOSET_ATTRIBS = ["MONEY", "ALIAS", "LASTPAGED", "__CHANLIST", "LAST",
|
||||
"__PARENT", "LASTSITE"]
|
||||
|
||||
# These attributes don't show up on objects when examined.
|
||||
HIDDEN_ATTRIBS = ["CHANLIST"]
|
||||
HIDDEN_ATTRIBS = ["__CHANLIST", "__PARENT"]
|
||||
|
||||
# Server version number.
|
||||
REVISION = '$Rev$'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue