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

@ -109,6 +109,7 @@ TASK_HANDLER = None
TICKER_HANDLER = None
MONITOR_HANDLER = None
CHANNEL_HANDLER = None
VALID_HANDLER = None
def _create_version():
@ -152,7 +153,7 @@ def _init():
global search_object, search_script, search_account, search_channel, search_help, search_tag, search_message
global create_object, create_script, create_account, create_channel, create_message, create_help_entry
global settings, lockfuncs, logger, utils, gametime, ansi, spawn, managers
global contrib, TICKER_HANDLER, MONITOR_HANDLER, SESSION_HANDLER, CHANNEL_HANDLER, TASK_HANDLER
global contrib, TICKER_HANDLER, MONITOR_HANDLER, SESSION_HANDLER, CHANNEL_HANDLER, TASK_HANDLER, VALID_HANDLER
global EvMenu, EvTable, EvForm, EvMore, EvEditor
global ANSIString
@ -213,6 +214,7 @@ def _init():
from .server.sessionhandler import SESSION_HANDLER
from .comms.channelhandler import CHANNEL_HANDLER
from .scripts.monitorhandler import MONITOR_HANDLER
from .utils.valid import VALID_HANDLER
# initialize the doc string
global __doc__