Make better recommendations for install of slow_exit in docstring.
This commit is contained in:
parent
381e91b822
commit
a903182b8f
1 changed files with 3 additions and 4 deletions
|
|
@ -17,10 +17,9 @@ using something like this:
|
||||||
|
|
||||||
Installation:
|
Installation:
|
||||||
|
|
||||||
To make all new exits of this type, add the following line to your
|
To make this your new default exit, modify mygame/typeclasses/exits.py
|
||||||
settings:
|
to import this module and change the default Exit class to inherit
|
||||||
|
from SlowExit instead.
|
||||||
BASE_EXIT_TYPECLASS = "contrib.slow_exit.SlowExit"
|
|
||||||
|
|
||||||
To get the ability to change your speed and abort your movement,
|
To get the ability to change your speed and abort your movement,
|
||||||
simply import and add CmdSetSpeed and CmdStop from this module to your
|
simply import and add CmdSetSpeed and CmdStop from this module to your
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue