merge.
This commit is contained in:
commit
d928d25ac7
3 changed files with 13 additions and 10 deletions
|
|
@ -17,16 +17,19 @@ Installation:
|
||||||
Import this module in game.gamesrc.basecmdset and
|
Import this module in game.gamesrc.basecmdset and
|
||||||
add the following line to the end of OOCCmdSet's at_cmdset_creation():
|
add the following line to the end of OOCCmdSet's at_cmdset_creation():
|
||||||
|
|
||||||
self.add(character_creation.OOCCmdSetExtended)
|
self.add(character_creation.OOCCmdSetCharGen)
|
||||||
|
|
||||||
You could also add/edit this line to your game/settings.py file:
|
|
||||||
|
|
||||||
CMDSET_OOC = "contrib.character_creation.OOCCmdSetExtended"
|
If you have a freshly installed database you could also instead add/edit
|
||||||
|
this line to your game/settings.py file:
|
||||||
|
|
||||||
(uncomment the super() statement in OOCCmdSetExtended in this case
|
CMDSET_OOC = "contrib.character_creation.OOCCmdSetCharGen"
|
||||||
too) This will however only affect NEWLY created players, not those
|
|
||||||
already in the game, so you'd usually only do this if you are starting
|
This will replace the default OOCCmdset to look to this module
|
||||||
from scratch.
|
instead of the one in game.gamesrc.basecmdset. If you do this, uncomment
|
||||||
|
the super() statement in OOCCmdSetCharGen (end of this file) too. This will
|
||||||
|
however only affect NEWLY created players, not those already in the game, which i
|
||||||
|
s why you'd usually only do this if you are starting from scratch.
|
||||||
|
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
|
@ -190,7 +193,7 @@ class OOCCmdSetCharGen(OOCCmdSet):
|
||||||
"""
|
"""
|
||||||
def at_cmdset_creation(self):
|
def at_cmdset_creation(self):
|
||||||
"Install everything from the default set, then overload"
|
"Install everything from the default set, then overload"
|
||||||
super(OOCCmdSetCharGen, self).at_cmdset_creation()
|
#super(OOCCmdSetCharGen, self).at_cmdset_creation()
|
||||||
self.add(CmdOOCLook())
|
self.add(CmdOOCLook())
|
||||||
self.add(CmdOOCCharacterCreate())
|
self.add(CmdOOCCharacterCreate())
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -15,7 +15,7 @@ Install is simple:
|
||||||
|
|
||||||
To your settings file, add/edit the line:
|
To your settings file, add/edit the line:
|
||||||
|
|
||||||
CMDSET_UNLOGGEDIN = "contrib.alt_login.UnloggedInCmdSet"
|
CMDSET_UNLOGGEDIN = "contrib.menu_login.UnloggedInCmdSet"
|
||||||
|
|
||||||
That's it. The cmdset in this module will now be used instead of the
|
That's it. The cmdset in this module will now be used instead of the
|
||||||
default one.
|
default one.
|
||||||
|
|
|
||||||
|
|
@ -420,7 +420,7 @@ def error_check_python_modules():
|
||||||
imp(settings.SEARCH_AT_RESULT)
|
imp(settings.SEARCH_AT_RESULT)
|
||||||
imp(settings.SEARCH_AT_MULTIMATCH_INPUT)
|
imp(settings.SEARCH_AT_MULTIMATCH_INPUT)
|
||||||
imp(settings.CONNECTION_SCREEN_MODULE, split=False)
|
imp(settings.CONNECTION_SCREEN_MODULE, split=False)
|
||||||
imp(settings.AT_INITIAL_SETUP_HOOK_MODULE, split=False)
|
#imp(settings.AT_INITIAL_SETUP_HOOK_MODULE, split=False)
|
||||||
for path in settings.LOCK_FUNC_MODULES:
|
for path in settings.LOCK_FUNC_MODULES:
|
||||||
imp(path, split=False)
|
imp(path, split=False)
|
||||||
# cmdsets
|
# cmdsets
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue