mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-01-14 12:41:07 +01:00
Merge branch 'development' into feature/313-preset-measured-templates
This commit is contained in:
commit
c02f44faf1
146 changed files with 4403 additions and 569 deletions
|
|
@ -85,6 +85,10 @@ Hooks.once('init', () => {
|
|||
types: ['environment'],
|
||||
makeDefault: true
|
||||
});
|
||||
Actors.registerSheet(SYSTEM.id, applications.sheets.actors.Party, {
|
||||
types: ['party'],
|
||||
makeDefault: true
|
||||
});
|
||||
|
||||
CONFIG.ActiveEffect.documentClass = documents.DhActiveEffect;
|
||||
CONFIG.ActiveEffect.dataModels = models.activeEffects.config;
|
||||
|
|
@ -163,12 +167,14 @@ Hooks.on('setup', () => {
|
|||
});
|
||||
|
||||
Hooks.on('ready', async () => {
|
||||
const appearanceSettings = game.settings.get(SYSTEM.id, SYSTEM.SETTINGS.gameSettings.appearance);
|
||||
ui.resources = new CONFIG.ui.resources();
|
||||
if (game.settings.get(SYSTEM.id, SYSTEM.SETTINGS.gameSettings.appearance).displayFear !== 'hide')
|
||||
ui.resources.render({ force: true });
|
||||
if (appearanceSettings.displayFear !== 'hide') ui.resources.render({ force: true });
|
||||
|
||||
ui.countdowns = new CONFIG.ui.countdowns();
|
||||
ui.countdowns.render({ force: true });
|
||||
if (appearanceSettings.displayCountdownUI) {
|
||||
ui.countdowns = new CONFIG.ui.countdowns();
|
||||
ui.countdowns.render({ force: true });
|
||||
}
|
||||
|
||||
if (!(ui.compendiumBrowser instanceof applications.ui.ItemBrowser))
|
||||
ui.compendiumBrowser = new applications.ui.ItemBrowser();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue