mirror of
https://github.com/evennia/evennia.git
synced 2026-03-16 21:06:30 +01:00
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
|
||||
|
||||
Edit `mygame/commands/default_cmdsets.py` and add
|
||||
`from evennia.contrib.game_systems.multidescer import CmdMultiDesc` to the top.
|
||||
|
||||
Next, look up the `at_cmdset_create` method of the `CharacterCmdSet`
|
||||
class and add a line `self.add(CmdMultiDesc())` to the end
|
||||
of it.
|
||||
Like for any custom command, you just add the new `+desc` command to a default
|
||||
cmdset: Import the `evennia.contrib.game_systems.multidescer.CmdMultiDesc` into
|
||||
`mygame/commands/default_cmdsets.py` and add it to the `CharacterCmdSet` class.
|
||||
|
||||
Reload the server and you should have the `+desc` command available (it
|
||||
will replace the default `desc` command).
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue