Added @setcmdalias for creating aliases for commands (l -> look etc). Also moved the hard-coded defaults to settings.py instead.
This commit is contained in:
parent
a286841030
commit
0c29d359f6
6 changed files with 119 additions and 15 deletions
|
|
@ -66,6 +66,20 @@ DATABASE_HOST = ''
|
|||
# Empty string defaults to localhost. Not used with sqlite3.
|
||||
DATABASE_PORT = ''
|
||||
|
||||
## Command aliases
|
||||
# These are convenient aliases set up when the game is started
|
||||
# for the very first time. You can add/delete aliases in-game using
|
||||
# the @cmdalias command.
|
||||
COMMAND_ALIASES = {"@desc":"@describe",
|
||||
"@dest":"@destroy", "@nuke":"@destroy",
|
||||
"@tel":"@teleport",
|
||||
"i":"inventory", "inv":"inventory",
|
||||
"l":"look",
|
||||
"ex":"examine",
|
||||
"sa":"say",
|
||||
"emote":"pose",
|
||||
"p":"page" }
|
||||
|
||||
## Permissions
|
||||
## The variables in this section are used by each evennia subsystem to tell which permissions to define.
|
||||
## These variables are called by the respective subsystem ('application' in django lingo) of Evennia. The final
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue