mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-07-21 18:09:54 +02:00
[Feature] Add support for GM Notes (#2082)
Some checks failed
Project CI / build (24.x) (push) Has been cancelled
Some checks failed
Project CI / build (24.x) (push) Has been cancelled
* Add support for GM Notes * Localize GM Notes header label * Fix active editor height and menu auto sizing * Add tooltip to add gm note button
This commit is contained in:
parent
0c2d257871
commit
79d6522614
17 changed files with 278 additions and 64 deletions
|
|
@ -267,6 +267,10 @@ Hooks.on('i18nInit', () => {
|
|||
});
|
||||
|
||||
Hooks.on('setup', () => {
|
||||
if (game.user.isGM) {
|
||||
document.body.dataset.gm = true;
|
||||
}
|
||||
|
||||
CONFIG.statusEffects = [
|
||||
...CONFIG.statusEffects.filter(x => !['dead', 'unconscious'].includes(x.id)),
|
||||
...Object.values(SYSTEM.GENERAL.conditions()).map(x => ({
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue