/** * This stores the name of your sheet for use in the logging functions {@link log} and {@link debug}. Accessible by `k.sheetName` * @var * @type {string} */ let sheetName = 'kScaffold Powered Sheet'; kFuncs.sheetName = sheetName; /** * This stores the version of your sheet for use in the logging functions{@link log} and {@link debug}. It is also stored in the sheet_version attribute on your character sheet. Accessible via `k.version` * @var * @type {number} */ let version = 0; kFuncs.version = version; /** * A boolean flag that tells the script whether to enable or disable {@link debug} calls. If the version of the sheet is `0`, or an attribute named `debug_mode` is found on opening this is set to true for your entire session. Otherwise, it remains false. * @var * @type {boolean} */ let debugMode = false; kFuncs.debugMode = debugMode; const funcs = {}; kFuncs.funcs = funcs; const updateHandlers = {}; const openHandlers = {}; const initialSetups = {}; const allHandlers = {}; const addFuncs = {}; const kscaffoldJSVersion = '0.0.4'; const kscaffoldPUGVersion = '0.0.4';