mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-04-21 15:03:37 +02:00
* . * Fixed translation * Remove fieldset * DiceSoNice Animation Overrides (#1726) * . * . * Fixed hope/fear animation input * Visual tweaks to general tab * Move general tab to top * Fixed localizaiton --------- Co-authored-by: Carlos Fernandez <cfern1990@gmail.com>
88 lines
1.9 KiB
JavaScript
88 lines
1.9 KiB
JavaScript
/**
|
|
* Full custom typing:
|
|
* id
|
|
* initial
|
|
* max
|
|
* reverse
|
|
* label
|
|
* images {
|
|
* full { value, isIcon, noColorFilter }
|
|
* empty { value, isIcon noColorFilter }
|
|
* }
|
|
*/
|
|
|
|
const characterBaseResources = Object.freeze({
|
|
hitPoints: {
|
|
id: 'hitPoints',
|
|
initial: 0,
|
|
max: 0,
|
|
reverse: true,
|
|
label: 'DAGGERHEART.GENERAL.HitPoints.plural',
|
|
maxLabel: 'DAGGERHEART.ACTORS.Character.maxHPBonus'
|
|
},
|
|
stress: {
|
|
id: 'stress',
|
|
initial: 0,
|
|
max: 6,
|
|
reverse: true,
|
|
label: 'DAGGERHEART.GENERAL.stress'
|
|
},
|
|
hope: {
|
|
id: 'hope',
|
|
initial: 2,
|
|
reverse: false,
|
|
label: 'DAGGERHEART.GENERAL.hope'
|
|
}
|
|
});
|
|
|
|
const adversaryBaseResources = Object.freeze({
|
|
hitPoints: {
|
|
id: 'hitPoints',
|
|
initial: 0,
|
|
max: 0,
|
|
reverse: true,
|
|
label: 'DAGGERHEART.GENERAL.HitPoints.plural',
|
|
maxLabel: 'DAGGERHEART.ACTORS.Character.maxHPBonus'
|
|
},
|
|
stress: {
|
|
id: 'stress',
|
|
initial: 0,
|
|
max: 0,
|
|
reverse: true,
|
|
label: 'DAGGERHEART.GENERAL.stress'
|
|
}
|
|
});
|
|
|
|
const companionBaseResources = Object.freeze({
|
|
stress: {
|
|
id: 'stress',
|
|
initial: 0,
|
|
max: 0,
|
|
reverse: true,
|
|
label: 'DAGGERHEART.GENERAL.stress'
|
|
},
|
|
hope: {
|
|
id: 'hope',
|
|
initial: 0,
|
|
reverse: false,
|
|
label: 'DAGGERHEART.GENERAL.hope'
|
|
}
|
|
});
|
|
|
|
export const character = {
|
|
base: characterBaseResources,
|
|
custom: {}, // module stuff goes here
|
|
all: { ...characterBaseResources }
|
|
};
|
|
|
|
export const adversary = {
|
|
base: adversaryBaseResources,
|
|
custom: {}, // module stuff goes here
|
|
all: { ...adversaryBaseResources }
|
|
};
|
|
|
|
export const companion = {
|
|
base: companionBaseResources,
|
|
custom: {}, // module stuff goes here
|
|
all: { ...companionBaseResources }
|
|
};
|