Added VALID_HANDLER and some starting VALIDFUNCS to Evennia.

This commit is contained in:
Andrew Bastien 2019-04-10 01:54:17 -04:00
parent cd5e38fe14
commit 92e773ad24
4 changed files with 199 additions and 2 deletions

View file

@ -521,7 +521,7 @@ TIME_GAME_EPOCH = None
TIME_IGNORE_DOWNTIMES = False
######################################################################
# Inlinefunc & PrototypeFuncs
# Inlinefunc, PrototypeFuncs, and ValidFuncs
######################################################################
# Evennia supports inline function preprocessing. This allows users
# to supply inline calls on the form $func(arg, arg, ...) to do
@ -538,6 +538,10 @@ INLINEFUNC_MODULES = ["evennia.utils.inlinefuncs",
PROTOTYPEFUNC_MODULES = ["evennia.utils.prototypefuncs",
"server.conf.prototypefuncs"]
# Module holding validator functions. functions in later modules will
# override those in earlier ones.
VALIDFUNC_MODULES = ['evennia.utils.validfuncs', ]
######################################################################
# Default Account setup and access
######################################################################