Set the default settings file to point to the files in game/gamesrc/commands - these now make for good starts for overriding the default systems. The system now also matches the examples given in the wiki.

This commit is contained in:
Griatch 2010-11-23 18:10:41 +00:00
parent 72d40285b8
commit ecefbfac01
3 changed files with 50 additions and 24 deletions

View file

@ -111,7 +111,7 @@ def import_cmdset(python_path, cmdsetobj, emit_to_obj=None, no_logging=False):
raise
except KeyError:
errstring = "Error in loading cmdset: No cmdset class '%s' in %s."
errstring = errstring % (modulepath, classname)
errstring = errstring % (classname, modulepath)
raise
except Exception:
errstring = "\n%s\nCompile/Run error when loading cmdset '%s'."

View file

@ -136,9 +136,9 @@ ALTERNATE_OBJECT_SEARCH_MULTIMATCH_PARSER = ""
###################################################
# Command set used before player has logged in
CMDSET_UNLOGGEDIN = "src.commands.default.cmdset_unloggedin.UnloggedinCmdSet"
CMDSET_UNLOGGEDIN = "game.gamesrc.commands.basecmdset.UnloggedinCmdSet"
# Default set for logged in players (fallback)
CMDSET_DEFAULT = "src.commands.default.cmdset_default.DefaultCmdSet"
CMDSET_DEFAULT = "game.gamesrc.commands.basecmdset.DefaultCmdSet"
###################################################