feat: rename augments and register default features to system configuration on init
This commit is contained in:
parent
e77007a29b
commit
80d2d95617
2 changed files with 28 additions and 6 deletions
|
|
@ -1,4 +1,4 @@
|
|||
import { patchDHWeapon, patchIkonisLogic, patchDhCharacter, seedIkonisHomebrew } from './ikonis-data.js';
|
||||
import { patchDHWeapon, patchIkonisLogic, patchDhCharacter, seedIkonisHomebrew, registerIkonisFeatures } from './ikonis-data.js';
|
||||
import { patchIkonisSheet } from './ikonis-sheet.js';
|
||||
|
||||
const MODULE_ID = 'dh-ikonis';
|
||||
|
|
@ -6,6 +6,9 @@ const MODULE_ID = 'dh-ikonis';
|
|||
Hooks.once('init', () => {
|
||||
console.log(`${MODULE_ID} | Initializing Ikonis Module`);
|
||||
|
||||
// Register default features in CONFIG immediately
|
||||
registerIkonisFeatures();
|
||||
|
||||
// --- Slot Settings ---
|
||||
[1, 2, 3, 4].forEach(tier => {
|
||||
game.settings.register(MODULE_ID, `slotsTier${tier}`, {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue