import datetime from evennia import logger from evennia.utils.ansi import strip_ansi from evennia.utils.validatorfuncs import _TZ_DICT from evennia.utils.utils import crop from evennia.utils import validatorfuncs class BaseOption: """ Abstract Class to deal with encapsulating individual Options. An Option has a name/key, a description to display in relevant commands and menus, and a default value. It saves to the owner's Attributes using its Handler's save category. Designed to be extremely overloadable as some options can be cantankerous. Properties: valid: Shortcut to the loaded VALID_HANDLER. validator_key (str): The key of the Validator this uses. """ def __str__(self): return "