diff --git a/contrib/chargen.py b/contrib/chargen.py index 27d552b25..7ca7d7f22 100644 --- a/contrib/chargen.py +++ b/contrib/chargen.py @@ -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 diff --git a/game/gamesrc/commands/basecmdset.py b/game/gamesrc/commands/basecmdset.py index 3e9532084..93b602de4 100644 --- a/game/gamesrc/commands/basecmdset.py +++ b/game/gamesrc/commands/basecmdset.py @@ -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. #