mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-01-15 13:11:08 +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": {
|
"target": {
|
||||||
"label": "Target"
|
"label": "Target"
|
||||||
}
|
}
|
||||||
}
|
},
|
||||||
|
"useResourcePips": { "label": "Pip Display For Resources" }
|
||||||
},
|
},
|
||||||
"fearDisplay": {
|
"fearDisplay": {
|
||||||
"token": "Tokens",
|
"token": "Tokens",
|
||||||
|
|
|
||||||
|
|
@ -18,6 +18,7 @@ export default class DhAppearance extends foundry.abstract.DataModel {
|
||||||
});
|
});
|
||||||
|
|
||||||
return {
|
return {
|
||||||
|
useResourcePips: new BooleanField({ initial: false }),
|
||||||
displayFear: new StringField({
|
displayFear: new StringField({
|
||||||
required: true,
|
required: true,
|
||||||
choices: CONFIG.DH.GENERAL.fearDisplay,
|
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}}">
|
<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
|
{{formGroup
|
||||||
fields.displayFear
|
fields.displayFear
|
||||||
value=setting.displayFear
|
value=setting.displayFear
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue