rework fear tracker application, add static positions to hold the tracker, enhance token and bar display, create custom dragger and resize methods

This commit is contained in:
Murilo Brito 2026-07-21 11:45:29 -03:00
parent 79d6522614
commit 6f040532aa
9 changed files with 469 additions and 112 deletions

View file

@ -41,6 +41,11 @@ export default class DhAppearance extends foundry.abstract.DataModel {
choices: CONFIG.DH.GENERAL.fearDisplay,
initial: CONFIG.DH.GENERAL.fearDisplay.token.value
}),
fearPosition: new StringField({
required: true,
choices: CONFIG.DH.GENERAL.fearPosition,
initial: CONFIG.DH.GENERAL.fearPosition.free.value
}),
displayCountdownUI: new BooleanField({ initial: true }),
diceSoNice: new SchemaField({
hope: diceStyle({ fg: '#ffffff', bg: '#ffe760', outline: '#000000', edge: '#ffffff' }),