mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-01-12 03:31:07 +01:00
Added setting to toggle pip/number display
This commit is contained in:
parent
9b773bcd54
commit
8a832fa142
3 changed files with 7 additions and 1 deletions
|
|
@ -2249,7 +2249,8 @@
|
|||
"target": {
|
||||
"label": "Target"
|
||||
}
|
||||
}
|
||||
},
|
||||
"useResourcePips": { "label": "Pip Display For Resources" }
|
||||
},
|
||||
"fearDisplay": {
|
||||
"token": "Tokens",
|
||||
|
|
|
|||
|
|
@ -18,6 +18,7 @@ export default class DhAppearance extends foundry.abstract.DataModel {
|
|||
});
|
||||
|
||||
return {
|
||||
useResourcePips: new BooleanField({ initial: false }),
|
||||
displayFear: new StringField({
|
||||
required: true,
|
||||
choices: CONFIG.DH.GENERAL.fearDisplay,
|
||||
|
|
|
|||
|
|
@ -1,4 +1,8 @@
|
|||
<section class="tab {{#if tab.active}} active{{/if}}" data-group="{{tab.group}}" data-tab="{{tab.id}}">
|
||||
{{formGroup
|
||||
fields.useResourcePips
|
||||
value=setting.useResourcePips
|
||||
localize=true}}
|
||||
{{formGroup
|
||||
fields.displayFear
|
||||
value=setting.displayFear
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue