19 lines
396 B
JavaScript

import { helpers } from './helpers.js'
import { shim, log } from './shim.js'
import { powerEffects } from './powerEffects.js'
export class api {
static registerFunctions () {
log('SWADE MB Helpers initialized')
api.globals()
}
static globals () {
const moduleName = 'swade-mb-helpers'
game.modules.get(moduleName).api = {
DEBUG: true,
powerEffects
}
}
}