1 """Global variable objects for the MUFF Engine"""
3 # Copyright (c) 2005 MUDpy, The Fungi <fungi@yuggoth.org>, all rights reserved.
4 # Licensed per terms in the LICENSE file distributed with this software.
6 # persistent variables are stored in ini-style files supported by ConfigParser
9 # need to be able to create the variable save file's directory
12 # hack to load all modules in the muff package
14 for module in muff.__all__:
15 exec("import " + module)
17 # if there is no userlist, create an empty one
23 # if there is no listening socket, create an empty one
29 # flag to raise when the world should be shut down
30 terminate_world = False
32 # flag to raise when all code modules, config and data should be reloaded
33 reload_modules = False
35 # a dict of replacement macros
38 "$(bld)": chr(27) + "[1m",
39 "$(nrm)": chr(27) + "[0m",
40 "$(blk)": chr(27) + "[30m",
41 "$(grn)": chr(27) + "[32m",
42 "$(red)": chr(27) + "[31m"