Skip to content

Commit

Permalink
feat(system core): import dice and import the chat_template
Browse files Browse the repository at this point in the history
  • Loading branch information
SouOWendel committed Dec 21, 2023
1 parent 2a1f36a commit b072dd1
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion module/ordemparanormal_fvtt.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,11 @@ import displayMessages from './components/message-system.mjs';
import registerSystemSettings from './components/settings.mjs';

import * as documents from './documents/_partial_module.mjs';
import * as dice from './dice/_module.mjs';

globalThis.ordemparanormal = {
documents
documents,
dice
};

/* -------------------------------------------- */
Expand All @@ -45,6 +47,8 @@ Hooks.once('init', async function () {
// Add custom constants for configuration.
CONFIG.ordemparanormal = ordemparanormal;

CONFIG.Dice.rolls[0].CHAT_TEMPLATE = 'systems/ordemparanormal/templates/dice/roll.html';

/**
* Set an initiative formula for the system
* @type {String}
Expand Down

0 comments on commit b072dd1

Please sign in to comment.