More doc cleanup
This commit is contained in:
parent
06e2c9cd74
commit
993b10b92f
1 changed files with 3 additions and 6 deletions
|
|
@ -14,12 +14,9 @@ It adds a new `+desc` command (where the + is optional in Evennia).
|
||||||
|
|
||||||
## Installation
|
## Installation
|
||||||
|
|
||||||
Edit `mygame/commands/default_cmdsets.py` and add
|
Like for any custom command, you just add the new `+desc` command to a default
|
||||||
`from evennia.contrib.game_systems.multidescer import CmdMultiDesc` to the top.
|
cmdset: Import the `evennia.contrib.game_systems.multidescer.CmdMultiDesc` into
|
||||||
|
`mygame/commands/default_cmdsets.py` and add it to the `CharacterCmdSet` class.
|
||||||
Next, look up the `at_cmdset_create` method of the `CharacterCmdSet`
|
|
||||||
class and add a line `self.add(CmdMultiDesc())` to the end
|
|
||||||
of it.
|
|
||||||
|
|
||||||
Reload the server and you should have the `+desc` command available (it
|
Reload the server and you should have the `+desc` command available (it
|
||||||
will replace the default `desc` command).
|
will replace the default `desc` command).
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue