Added a minor fix in the instructions to chargen.

This commit is contained in:
Griatch 2011-11-13 18:58:10 +01:00
parent 4c0d4a0294
commit 88c1b0601f
2 changed files with 5 additions and 6 deletions

View file

@ -17,13 +17,13 @@ Installation:
Import this module in game.gamesrc.basecmdset and
add the following line to the end of OOCCmdSet's at_cmdset_creation():
self.add(character_creation.OOCCmdSetCharGen)
self.add(chargen.OOCCmdSetCharGen)
If you have a freshly installed database you could also instead add/edit
this line to your game/settings.py file:
CMDSET_OOC = "contrib.character_creation.OOCCmdSetCharGen"
CMDSET_OOC = "contrib.chargen.OOCCmdSetCharGen"
This will replace the default OOCCmdset to look to this module
instead of the one in game.gamesrc.basecmdset. If you do this, uncomment

View file

@ -24,7 +24,7 @@ from game.gamesrc.commands.basecommand import Command
#from contrib import menusystem, lineeditor
#from contrib import misc_commands
#from contrib import chargen, menu_login
#from contrib import chargen
class DefaultCmdSet(cmdset_default.DefaultCmdSet):
"""
@ -49,8 +49,8 @@ class DefaultCmdSet(cmdset_default.DefaultCmdSet):
# any commands you add below will overload the default ones.
#
#self.add(menusystem.CmdMenuTest())
#self.add(lineeditor.CmdEditor())
#self.add(misc_commands.CmdQuell())
#self.add(lineeditor.CmdEditor())
#self.add(misc_commands.CmdQuell())
class UnloggedinCmdSet(cmdset_unloggedin.UnloggedinCmdSet):
"""
@ -89,7 +89,6 @@ class OOCCmdSet(cmdset_ooc.OOCCmdSet):
"""
# calling setup in src.commands.default.cmdset_ooc
super(OOCCmdSet, self).at_cmdset_creation()
#
# any commands you add below will overload the default ones.
#