Capitalized initial system localization categories

This commit is contained in:
WBHarry 2025-07-06 17:26:02 +02:00
parent ea6b84fc4b
commit 0fe72669c8
125 changed files with 861 additions and 861 deletions

View file

@ -212,7 +212,7 @@ Hooks.on('chatMessage', (_, message) => {
? game.i18n.format('DAGGERHEART.UI.Chat.dualityRoll.abilitychecktitle', { ? game.i18n.format('DAGGERHEART.UI.Chat.dualityRoll.abilitychecktitle', {
ability: game.i18n.localize(SYSTEM.ACTOR.abilities[traitValue].label) ability: game.i18n.localize(SYSTEM.ACTOR.abilities[traitValue].label)
}) })
: game.i18n.localize('DAGGERHEART.General.duality'); : game.i18n.localize('DAGGERHEART.GENERAL.duality');
const config = { const config = {
title: title, title: title,
@ -247,8 +247,8 @@ Hooks.on('renderJournalDirectory', async (tab, html, _, options) => {
if (options.parts && !options.parts.includes('footer')) return; if (options.parts && !options.parts.includes('footer')) return;
const buttons = tab.element.querySelector('.directory-footer.action-buttons'); const buttons = tab.element.querySelector('.directory-footer.action-buttons');
const title = game.i18n.format('DAGGERHEART.Applications.Countdown.title', { const title = game.i18n.format('DAGGERHEART.APPLICATIONS.Countdown.title', {
type: game.i18n.localize('DAGGERHEART.Applications.Countdown.types.narrative') type: game.i18n.localize('DAGGERHEART.APPLICATIONS.Countdown.types.narrative')
}); });
buttons.insertAdjacentHTML( buttons.insertAdjacentHTML(
'afterbegin', 'afterbegin',

View file

@ -21,7 +21,7 @@
} }
}, },
"DAGGERHEART": { "DAGGERHEART": {
"Actions": { "ACTIONS": {
"Config": { "Config": {
"beastform": { "beastform": {
"exact": "Beastform Max Tier", "exact": "Beastform Max Tier",
@ -34,7 +34,7 @@
"label": "Formula based on Hope/Fear result." "label": "Formula based on Hope/Fear result."
} }
}, },
"Types": { "TYPES": {
"attack": { "attack": {
"name": "Attack" "name": "Attack"
}, },
@ -58,7 +58,7 @@
} }
} }
}, },
"Actors": { "ACTORS": {
"Adversary": { "Adversary": {
"FIELDS": { "FIELDS": {
"attack": { "attack": {
@ -156,7 +156,7 @@
"newAdversary": "New Adversary" "newAdversary": "New Adversary"
} }
}, },
"Applications": { "APPLICATIONS": {
"CharacterCreation": { "CharacterCreation": {
"choice": "Choice", "choice": "Choice",
"finishCreation": "Finish Character Setup", "finishCreation": "Finish Character Setup",
@ -376,7 +376,7 @@
"default": "Default Ownership" "default": "Default Ownership"
} }
}, },
"Config": { "CONFIG": {
"ActionType": { "ActionType": {
"passive": "Passive", "passive": "Passive",
"action": "Action", "action": "Action",
@ -909,7 +909,7 @@
} }
} }
}, },
"Effects": { "EFFECTS": {
"ApplyLocations": { "ApplyLocations": {
"attackRoll": { "attackRoll": {
"name": "Attack Roll" "name": "Attack Roll"
@ -937,7 +937,7 @@
} }
} }
}, },
"General": { "GENERAL": {
"Action": { "Action": {
"single": "Action", "single": "Action",
"plural": "Actions" "plural": "Actions"
@ -1103,7 +1103,7 @@
"unarmored": "Unarmored", "unarmored": "Unarmored",
"use": "Use" "use": "Use"
}, },
"Items": { "ITEMS": {
"Armor": { "Armor": {
"baseScore": "Base Score", "baseScore": "Base Score",
"baseThresholds": { "baseThresholds": {
@ -1161,7 +1161,7 @@
"secondaryWeapon": "Secondary Weapon" "secondaryWeapon": "Secondary Weapon"
} }
}, },
"Settings": { "SETTINGS": {
"Appearance": { "Appearance": {
"FIELDS": { "FIELDS": {
"displayFear": { "label": "Fear Display" } "displayFear": { "label": "Fear Display" }

View file

@ -41,7 +41,7 @@ export default class DhCharacterCreation extends HandlebarsApplicationMixin(Appl
} }
get title() { get title() {
return game.i18n.format('DAGGERHEART.Applications.CharacterCreation.title', { actor: this.character.name }); return game.i18n.format('DAGGERHEART.APPLICATIONS.CharacterCreation.title', { actor: this.character.name });
} }
static DEFAULT_OPTIONS = { static DEFAULT_OPTIONS = {
@ -87,14 +87,14 @@ export default class DhCharacterCreation extends HandlebarsApplicationMixin(Appl
cssClass: '', cssClass: '',
group: 'primary', group: 'primary',
id: 'setup', id: 'setup',
label: 'DAGGERHEART.General.Tabs.setup' label: 'DAGGERHEART.GENERAL.Tabs.setup'
}, },
equipment: { equipment: {
active: false, active: false,
cssClass: '', cssClass: '',
group: 'primary', group: 'primary',
id: 'equipment', id: 'equipment',
label: 'DAGGERHEART.General.Tabs.equipment', label: 'DAGGERHEART.GENERAL.Tabs.equipment',
optional: true optional: true
} }
// story: { // story: {
@ -102,7 +102,7 @@ export default class DhCharacterCreation extends HandlebarsApplicationMixin(Appl
// cssClass: '', // cssClass: '',
// group: 'primary', // group: 'primary',
// id: 'story', // id: 'story',
// label: 'DAGGERHEART.General.Tabs.story', // label: 'DAGGERHEART.GENERAL.Tabs.story',
// optional: true // optional: true
// } // }
}; };
@ -188,7 +188,7 @@ export default class DhCharacterCreation extends HandlebarsApplicationMixin(Appl
context.suggestedTraits = this.setup.class.system context.suggestedTraits = this.setup.class.system
? Object.keys(this.setup.class.system.characterGuide.suggestedTraits).map(traitKey => { ? Object.keys(this.setup.class.system.characterGuide.suggestedTraits).map(traitKey => {
const trait = this.setup.class.system.characterGuide.suggestedTraits[traitKey]; const trait = this.setup.class.system.characterGuide.suggestedTraits[traitKey];
return `${game.i18n.localize(`DAGGERHEART.Config.Traits.${traitKey}.short`)} ${trait > 0 ? `+${trait}` : trait}`; return `${game.i18n.localize(`DAGGERHEART.CONFIG.Traits.${traitKey}.short`)} ${trait > 0 ? `+${trait}` : trait}`;
}) })
: []; : [];
context.traits = { context.traits = {

View file

@ -27,7 +27,7 @@ export default class BeastformDialog extends HandlebarsApplicationMixin(Applicat
}; };
get title() { get title() {
return game.i18n.localize('DAGGERHEART.Items.Beastform.dialogTitle'); return game.i18n.localize('DAGGERHEART.ITEMS.Beastform.dialogTitle');
} }
/** @override */ /** @override */

View file

@ -45,7 +45,7 @@ export default class DamageReductionDialog extends HandlebarsApplicationMixin(Ap
} }
get title() { get title() {
return game.i18n.localize('DAGGERHEART.Applications.DamageReduction.title'); return game.i18n.localize('DAGGERHEART.APPLICATIONS.DamageReduction.title');
} }
static DEFAULT_OPTIONS = { static DEFAULT_OPTIONS = {
@ -79,7 +79,7 @@ export default class DamageReductionDialog extends HandlebarsApplicationMixin(Ap
/** @inheritDoc */ /** @inheritDoc */
get title() { get title() {
return game.i18n.localize('DAGGERHEART.Applications.DamageReduction.title'); return game.i18n.localize('DAGGERHEART.APPLICATIONS.DamageReduction.title');
} }
async _prepareContext(_options) { async _prepareContext(_options) {

View file

@ -9,7 +9,7 @@ export default class DhpDeathMove extends HandlebarsApplicationMixin(Application
} }
get title() { get title() {
return game.i18n.format('DAGGERHEART.Applications.DeathMove.title', { actor: this.actor.name }); return game.i18n.format('DAGGERHEART.APPLICATIONS.DeathMove.title', { actor: this.actor.name });
} }
static DEFAULT_OPTIONS = { static DEFAULT_OPTIONS = {

View file

@ -88,7 +88,7 @@ export default class DhpDowntime extends HandlebarsApplicationMixin(ApplicationV
content: await foundry.applications.handlebars.renderTemplate( content: await foundry.applications.handlebars.renderTemplate(
'systems/daggerheart/templates/ui/chat/downtime.hbs', 'systems/daggerheart/templates/ui/chat/downtime.hbs',
{ {
title: `${this.actor.name} - ${game.i18n.localize(`DAGGERHEART.Applications.Downtime.${this.shortRest ? 'shortRest' : 'longRest'}.title`)}`, title: `${this.actor.name} - ${game.i18n.localize(`DAGGERHEART.APPLICATIONS.Downtime.${this.shortRest ? 'shortRest' : 'longRest'}.title`)}`,
moves: moves moves: moves
} }
) )

View file

@ -27,7 +27,7 @@ export default class OwnershipSelection extends HandlebarsApplicationMixin(Appli
}; };
get title() { get title() {
return game.i18n.format('DAGGERHEART.Applications.OwnershipSelection.title', { name: this.name }); return game.i18n.format('DAGGERHEART.APPLICATIONS.OwnershipSelection.title', { name: this.name });
} }
async _prepareContext(_options) { async _prepareContext(_options) {

View file

@ -112,7 +112,7 @@ export default class DhCharacterLevelUp extends LevelUpBase {
? Math.min(domainCard.secondaryData.limit, levelBase) ? Math.min(domainCard.secondaryData.limit, levelBase)
: levelBase; : levelBase;
return game.i18n.format('DAGGERHEART.Applications.Levelup.selections.emptyDomainCardHint', { return game.i18n.format('DAGGERHEART.APPLICATIONS.Levelup.selections.emptyDomainCardHint', {
domain: game.i18n.localize(domains[domain.domain].label), domain: game.i18n.localize(domains[domain.domain].label),
level: levelMax level: levelMax
}); });

View file

@ -63,8 +63,8 @@ export default class DhCompanionLevelUp extends BaseLevelUp {
context.vicious = advancementChoices.vicious ? Object.values(advancementChoices.vicious) : null; context.vicious = advancementChoices.vicious ? Object.values(advancementChoices.vicious) : null;
context.viciousChoices = { context.viciousChoices = {
damage: game.i18n.localize('DAGGERHEART.Applications.Levelup.selections.viciousDamage'), damage: game.i18n.localize('DAGGERHEART.APPLICATIONS.Levelup.selections.viciousDamage'),
range: game.i18n.localize('DAGGERHEART.Applications.Levelup.selections.viciousRange') range: game.i18n.localize('DAGGERHEART.APPLICATIONS.Levelup.selections.viciousRange')
}; };
break; break;
@ -142,7 +142,7 @@ export default class DhCompanionLevelUp extends BaseLevelUp {
: null, : null,
range: advancement.vicious?.range range: advancement.vicious?.range
? { ? {
old: game.i18n.localize(`DAGGERHEART.Config.Range.${actorRange}.name`), old: game.i18n.localize(`DAGGERHEART.CONFIG.Range.${actorRange}.name`),
new: game.i18n.localize(advancement.vicious.range.label) new: game.i18n.localize(advancement.vicious.range.label)
} }
: null : null

View file

@ -15,7 +15,7 @@ export default class DhlevelUp extends HandlebarsApplicationMixin(ApplicationV2)
} }
get title() { get title() {
return game.i18n.format('DAGGERHEART.Applications.Levelup.title', { actor: this.actor.name }); return game.i18n.format('DAGGERHEART.APPLICATIONS.Levelup.title', { actor: this.actor.name });
} }
static DEFAULT_OPTIONS = { static DEFAULT_OPTIONS = {
@ -56,7 +56,7 @@ export default class DhlevelUp extends HandlebarsApplicationMixin(ApplicationV2)
group: 'primary', group: 'primary',
id: 'advancements', id: 'advancements',
icon: null, icon: null,
label: 'DAGGERHEART.General.Tabs.advancement' label: 'DAGGERHEART.GENERAL.Tabs.advancement'
}, },
selections: { selections: {
active: false, active: false,
@ -64,7 +64,7 @@ export default class DhlevelUp extends HandlebarsApplicationMixin(ApplicationV2)
group: 'primary', group: 'primary',
id: 'selections', id: 'selections',
icon: null, icon: null,
label: 'DAGGERHEART.General.Tabs.selections' label: 'DAGGERHEART.GENERAL.Tabs.selections'
}, },
summary: { summary: {
active: false, active: false,
@ -72,7 +72,7 @@ export default class DhlevelUp extends HandlebarsApplicationMixin(ApplicationV2)
group: 'primary', group: 'primary',
id: 'summary', id: 'summary',
icon: null, icon: null,
label: 'DAGGERHEART.General.Tabs.summary' label: 'DAGGERHEART.GENERAL.Tabs.summary'
} }
}; };
@ -110,14 +110,14 @@ export default class DhlevelUp extends HandlebarsApplicationMixin(ApplicationV2)
previous: { previous: {
disabled: !previous, disabled: !previous,
label: previous label: previous
? game.i18n.format('DAGGERHEART.Applications.Levelup.navigateLevel', { level: previous }) ? game.i18n.format('DAGGERHEART.APPLICATIONS.Levelup.navigateLevel', { level: previous })
: '', : '',
fromSummary: this.tabGroups.primary === 'summary' fromSummary: this.tabGroups.primary === 'summary'
}, },
next: { next: {
disabled: !this.levelup.currentLevelFinished, disabled: !this.levelup.currentLevelFinished,
label: next label: next
? game.i18n.format('DAGGERHEART.Applications.Levelup.navigateLevel', { level: next }) ? game.i18n.format('DAGGERHEART.APPLICATIONS.Levelup.navigateLevel', { level: next })
: '', : '',
toSummary: !next, toSummary: !next,
show: this.tabGroups.primary !== 'summary' show: this.tabGroups.primary !== 'summary'
@ -559,9 +559,9 @@ export default class DhlevelUp extends HandlebarsApplicationMixin(ApplicationV2)
if (!button.dataset.forward) { if (!button.dataset.forward) {
const confirmed = await foundry.applications.api.DialogV2.confirm({ const confirmed = await foundry.applications.api.DialogV2.confirm({
window: { window: {
title: game.i18n.localize('DAGGERHEART.Applications.Levelup.delevel.title') title: game.i18n.localize('DAGGERHEART.APPLICATIONS.Levelup.delevel.title')
}, },
content: game.i18n.format('DAGGERHEART.Applications.Levelup.delevel.content') content: game.i18n.format('DAGGERHEART.APPLICATIONS.Levelup.delevel.content')
}); });
if (!confirmed) return; if (!confirmed) return;

View file

@ -12,7 +12,7 @@ export default class DHAppearanceSettings extends HandlebarsApplicationMixin(App
} }
get title() { get title() {
return game.i18n.localize('DAGGERHEART.Settings.Menu.appearance.name'); return game.i18n.localize('DAGGERHEART.SETTINGS.Menu.appearance.name');
} }
static DEFAULT_OPTIONS = { static DEFAULT_OPTIONS = {

View file

@ -12,7 +12,7 @@ export default class DhAutomationSettings extends HandlebarsApplicationMixin(App
} }
get title() { get title() {
return game.i18n.localize('DAGGERHEART.Settings.Menu.automation.name'); return game.i18n.localize('DAGGERHEART.SETTINGS.Menu.automation.name');
} }
static DEFAULT_OPTIONS = { static DEFAULT_OPTIONS = {

View file

@ -13,7 +13,7 @@ export default class DhHomebrewSettings extends HandlebarsApplicationMixin(Appli
} }
get title() { get title() {
return game.i18n.localize('DAGGERHEART.Settings.Menu.homebrew.name'); return game.i18n.localize('DAGGERHEART.SETTINGS.Menu.homebrew.name');
} }
static DEFAULT_OPTIONS = { static DEFAULT_OPTIONS = {
@ -59,7 +59,7 @@ export default class DhHomebrewSettings extends HandlebarsApplicationMixin(Appli
static async addItem(_, target) { static async addItem(_, target) {
await this.settings.updateSource({ await this.settings.updateSource({
[`restMoves.${target.dataset.type}.moves.${foundry.utils.randomID()}`]: { [`restMoves.${target.dataset.type}.moves.${foundry.utils.randomID()}`]: {
name: game.i18n.localize('DAGGERHEART.Settings.Homebrew.newDowntimeMove'), name: game.i18n.localize('DAGGERHEART.SETTINGS.Homebrew.newDowntimeMove'),
img: 'icons/magic/life/cross-worn-green.webp', img: 'icons/magic/life/cross-worn-green.webp',
description: '', description: '',
actions: [] actions: []
@ -74,7 +74,7 @@ export default class DhHomebrewSettings extends HandlebarsApplicationMixin(Appli
new DhSettingsActionView( new DhSettingsActionView(
resolve, resolve,
reject, reject,
game.i18n.localize('DAGGERHEART.Settings.Homebrew.downtimeMoves'), game.i18n.localize('DAGGERHEART.SETTINGS.Homebrew.downtimeMoves'),
move.name, move.name,
move.img, move.img,
move.description, move.description,
@ -104,13 +104,13 @@ export default class DhHomebrewSettings extends HandlebarsApplicationMixin(Appli
static async resetMoves(_, target) { static async resetMoves(_, target) {
const confirmed = await foundry.applications.api.DialogV2.confirm({ const confirmed = await foundry.applications.api.DialogV2.confirm({
window: { window: {
title: game.i18n.format('DAGGERHEART.Settings.Homebrew.resetMovesTitle', { title: game.i18n.format('DAGGERHEART.SETTINGS.Homebrew.resetMovesTitle', {
type: game.i18n.localize( type: game.i18n.localize(
`DAGGERHEART.Applications.Downtime.${target.dataset.type === 'shortRest' ? 'shortRest' : 'longRest'}.title` `DAGGERHEART.APPLICATIONS.Downtime.${target.dataset.type === 'shortRest' ? 'shortRest' : 'longRest'}.title`
) )
}) })
}, },
content: game.i18n.localize('DAGGERHEART.Settings.Homebrew.resetMovesText') content: game.i18n.localize('DAGGERHEART.SETTINGS.Homebrew.resetMovesText')
}); });
if (!confirmed) return; if (!confirmed) return;

View file

@ -12,7 +12,7 @@ export default class DhRangeMeasurementSettings extends HandlebarsApplicationMix
} }
get title() { get title() {
return game.i18n.localize('DAGGERHEART.Settings.Menu.automation.name'); return game.i18n.localize('DAGGERHEART.SETTINGS.Menu.automation.name');
} }
static DEFAULT_OPTIONS = { static DEFAULT_OPTIONS = {

View file

@ -12,7 +12,7 @@ export default class DHVariantRuleSettings extends HandlebarsApplicationMixin(Ap
} }
get title() { get title() {
return game.i18n.localize('DAGGERHEART.Settings.Menu.variantRules.name'); return game.i18n.localize('DAGGERHEART.SETTINGS.Menu.variantRules.name');
} }
static DEFAULT_OPTIONS = { static DEFAULT_OPTIONS = {

View file

@ -10,7 +10,7 @@ export default class DHActionConfig extends DaggerheartSheet(ApplicationV2) {
} }
get title() { get title() {
return `${game.i18n.localize('DAGGERHEART.General.Tabs.settings')}: ${this.action.name}`; return `${game.i18n.localize('DAGGERHEART.GENERAL.Tabs.settings')}: ${this.action.name}`;
} }
static DEFAULT_OPTIONS = { static DEFAULT_OPTIONS = {
@ -117,7 +117,7 @@ export default class DHActionConfig extends DaggerheartSheet(ApplicationV2) {
const settingsTiers = game.settings.get(CONFIG.DH.id, CONFIG.DH.SETTINGS.gameSettings.LevelTiers).tiers; const settingsTiers = game.settings.get(CONFIG.DH.id, CONFIG.DH.SETTINGS.gameSettings.LevelTiers).tiers;
context.tierOptions = [ context.tierOptions = [
{ key: 1, label: game.i18n.localize('DAGGERHEART.General.Tiers.tier1') }, { key: 1, label: game.i18n.localize('DAGGERHEART.GENERAL.Tiers.tier1') },
...Object.values(settingsTiers).map(x => ({ key: x.tier, label: x.name })) ...Object.values(settingsTiers).map(x => ({ key: x.tier, label: x.name }))
]; ];

View file

@ -9,7 +9,7 @@ export default class DHAdversarySettings extends HandlebarsApplicationMixin(Appl
} }
get title() { get title() {
return `${game.i18n.localize('DAGGERHEART.General.Tabs.settings')}`; return `${game.i18n.localize('DAGGERHEART.GENERAL.Tabs.settings')}`;
} }
static DEFAULT_OPTIONS = { static DEFAULT_OPTIONS = {
@ -69,7 +69,7 @@ export default class DHAdversarySettings extends HandlebarsApplicationMixin(Appl
group: 'primary', group: 'primary',
id: 'details', id: 'details',
icon: null, icon: null,
label: 'DAGGERHEART.General.Tabs.details' label: 'DAGGERHEART.GENERAL.Tabs.details'
}, },
attack: { attack: {
active: false, active: false,
@ -77,7 +77,7 @@ export default class DHAdversarySettings extends HandlebarsApplicationMixin(Appl
group: 'primary', group: 'primary',
id: 'attack', id: 'attack',
icon: null, icon: null,
label: 'DAGGERHEART.General.Tabs.attack' label: 'DAGGERHEART.GENERAL.Tabs.attack'
}, },
experiences: { experiences: {
active: false, active: false,
@ -85,7 +85,7 @@ export default class DHAdversarySettings extends HandlebarsApplicationMixin(Appl
group: 'primary', group: 'primary',
id: 'experiences', id: 'experiences',
icon: null, icon: null,
label: 'DAGGERHEART.General.Tabs.experiences' label: 'DAGGERHEART.GENERAL.Tabs.experiences'
}, },
features: { features: {
active: false, active: false,
@ -93,7 +93,7 @@ export default class DHAdversarySettings extends HandlebarsApplicationMixin(Appl
group: 'primary', group: 'primary',
id: 'features', id: 'features',
icon: null, icon: null,
label: 'DAGGERHEART.General.Tabs.features' label: 'DAGGERHEART.GENERAL.Tabs.features'
} }
}; };

View file

@ -11,7 +11,7 @@ export default class DHCompanionSettings extends HandlebarsApplicationMixin(Appl
} }
get title() { get title() {
return `${game.i18n.localize('DAGGERHEART.General.Tabs.settings')}`; return `${game.i18n.localize('DAGGERHEART.GENERAL.Tabs.settings')}`;
} }
static DEFAULT_OPTIONS = { static DEFAULT_OPTIONS = {
@ -59,7 +59,7 @@ export default class DHCompanionSettings extends HandlebarsApplicationMixin(Appl
group: 'primary', group: 'primary',
id: 'details', id: 'details',
icon: null, icon: null,
label: 'DAGGERHEART.General.Tabs.details' label: 'DAGGERHEART.GENERAL.Tabs.details'
}, },
experiences: { experiences: {
active: false, active: false,
@ -67,7 +67,7 @@ export default class DHCompanionSettings extends HandlebarsApplicationMixin(Appl
group: 'primary', group: 'primary',
id: 'experiences', id: 'experiences',
icon: null, icon: null,
label: 'DAGGERHEART.General.Tabs.experiences' label: 'DAGGERHEART.GENERAL.Tabs.experiences'
}, },
attack: { attack: {
active: false, active: false,
@ -75,7 +75,7 @@ export default class DHCompanionSettings extends HandlebarsApplicationMixin(Appl
group: 'primary', group: 'primary',
id: 'attack', id: 'attack',
icon: null, icon: null,
label: 'DAGGERHEART.General.Tabs.attack' label: 'DAGGERHEART.GENERAL.Tabs.attack'
} }
}; };

View file

@ -9,7 +9,7 @@ export default class DHEnvironmentSettings extends HandlebarsApplicationMixin(Ap
} }
get title() { get title() {
return `${game.i18n.localize('DAGGERHEART.General.Tabs.settings')}`; return `${game.i18n.localize('DAGGERHEART.GENERAL.Tabs.settings')}`;
} }
static DEFAULT_OPTIONS = { static DEFAULT_OPTIONS = {
@ -68,7 +68,7 @@ export default class DHEnvironmentSettings extends HandlebarsApplicationMixin(Ap
group: 'primary', group: 'primary',
id: 'details', id: 'details',
icon: null, icon: null,
label: 'DAGGERHEART.General.Tabs.details' label: 'DAGGERHEART.GENERAL.Tabs.details'
}, },
features: { features: {
active: false, active: false,
@ -76,7 +76,7 @@ export default class DHEnvironmentSettings extends HandlebarsApplicationMixin(Ap
group: 'primary', group: 'primary',
id: 'features', id: 'features',
icon: null, icon: null,
label: 'DAGGERHEART.General.Tabs.features' label: 'DAGGERHEART.GENERAL.Tabs.features'
}, },
adversaries: { adversaries: {
active: false, active: false,
@ -84,7 +84,7 @@ export default class DHEnvironmentSettings extends HandlebarsApplicationMixin(Ap
group: 'primary', group: 'primary',
id: 'adversaries', id: 'adversaries',
icon: null, icon: null,
label: 'DAGGERHEART.General.Tabs.adversaries' label: 'DAGGERHEART.GENERAL.Tabs.adversaries'
} }
}; };
@ -146,7 +146,7 @@ export default class DHEnvironmentSettings extends HandlebarsApplicationMixin(Ap
static async #addCategory() { static async #addCategory() {
await this.actor.update({ await this.actor.update({
[`system.potentialAdversaries.${foundry.utils.randomID()}.label`]: game.i18n.localize( [`system.potentialAdversaries.${foundry.utils.randomID()}.label`]: game.i18n.localize(
'DAGGERHEART.Actors.Environment.newAdversary' 'DAGGERHEART.ACTORS.Environment.newAdversary'
) )
}); });
this.render(); this.render();

View file

@ -41,7 +41,7 @@ export default class AdversarySheet extends DaggerheartSheet(ActorSheetV2) {
group: 'primary', group: 'primary',
id: 'features', id: 'features',
icon: null, icon: null,
label: 'DAGGERHEART.General.Tabs.features' label: 'DAGGERHEART.GENERAL.Tabs.features'
}, },
notes: { notes: {
active: false, active: false,
@ -49,7 +49,7 @@ export default class AdversarySheet extends DaggerheartSheet(ActorSheetV2) {
group: 'primary', group: 'primary',
id: 'notes', id: 'notes',
icon: null, icon: null,
label: 'DAGGERHEART.General.Tabs.notes' label: 'DAGGERHEART.GENERAL.Tabs.notes'
}, },
effects: { effects: {
active: false, active: false,
@ -57,7 +57,7 @@ export default class AdversarySheet extends DaggerheartSheet(ActorSheetV2) {
group: 'primary', group: 'primary',
id: 'effects', id: 'effects',
icon: null, icon: null,
label: 'DAGGERHEART.General.Tabs.effects' label: 'DAGGERHEART.GENERAL.Tabs.effects'
} }
}; };
@ -118,7 +118,7 @@ export default class AdversarySheet extends DaggerheartSheet(ActorSheetV2) {
const experience = this.document.system.experiences[button.dataset.uuid]; const experience = this.document.system.experiences[button.dataset.uuid];
const cls = getDocumentClass('ChatMessage'); const cls = getDocumentClass('ChatMessage');
const systemData = { const systemData = {
name: game.i18n.localize('DAGGERHEART.General.Experience.single'), name: game.i18n.localize('DAGGERHEART.GENERAL.Experience.single'),
description: `${experience.name} ${ description: `${experience.name} ${
experience.modifier < 0 ? experience.modifier : `+${experience.modifier}` experience.modifier < 0 ? experience.modifier : `+${experience.modifier}`
}` }`

View file

@ -99,7 +99,7 @@ export default class CharacterSheet extends DaggerheartSheet(ActorSheetV2) {
group: 'primary', group: 'primary',
id: 'features', id: 'features',
icon: null, icon: null,
label: 'DAGGERHEART.General.Tabs.features' label: 'DAGGERHEART.GENERAL.Tabs.features'
}, },
loadout: { loadout: {
active: false, active: false,
@ -107,7 +107,7 @@ export default class CharacterSheet extends DaggerheartSheet(ActorSheetV2) {
group: 'primary', group: 'primary',
id: 'loadout', id: 'loadout',
icon: null, icon: null,
label: 'DAGGERHEART.General.Tabs.loadout' label: 'DAGGERHEART.GENERAL.Tabs.loadout'
}, },
inventory: { inventory: {
active: false, active: false,
@ -115,7 +115,7 @@ export default class CharacterSheet extends DaggerheartSheet(ActorSheetV2) {
group: 'primary', group: 'primary',
id: 'inventory', id: 'inventory',
icon: null, icon: null,
label: 'DAGGERHEART.General.Tabs.inventory' label: 'DAGGERHEART.GENERAL.Tabs.inventory'
}, },
biography: { biography: {
active: false, active: false,
@ -123,7 +123,7 @@ export default class CharacterSheet extends DaggerheartSheet(ActorSheetV2) {
group: 'primary', group: 'primary',
id: 'biography', id: 'biography',
icon: null, icon: null,
label: 'DAGGERHEART.General.Tabs.biography' label: 'DAGGERHEART.GENERAL.Tabs.biography'
}, },
effects: { effects: {
active: false, active: false,
@ -131,7 +131,7 @@ export default class CharacterSheet extends DaggerheartSheet(ActorSheetV2) {
group: 'primary', group: 'primary',
id: 'effects', id: 'effects',
icon: null, icon: null,
label: 'DAGGERHEART.General.Tabs.effects' label: 'DAGGERHEART.GENERAL.Tabs.effects'
} }
}; };
@ -150,7 +150,7 @@ export default class CharacterSheet extends DaggerheartSheet(ActorSheetV2) {
group: 'primary', group: 'primary',
id: 'features', id: 'features',
icon: null, icon: null,
label: game.i18n.localize('DAGGERHEART.General.Tabs.features') label: game.i18n.localize('DAGGERHEART.GENERAL.Tabs.features')
}, },
loadout: { loadout: {
active: false, active: false,
@ -158,7 +158,7 @@ export default class CharacterSheet extends DaggerheartSheet(ActorSheetV2) {
group: 'primary', group: 'primary',
id: 'loadout', id: 'loadout',
icon: null, icon: null,
label: game.i18n.localize('DAGGERHEART.General.Tabs.loadout') label: game.i18n.localize('DAGGERHEART.GENERAL.Tabs.loadout')
}, },
inventory: { inventory: {
active: false, active: false,
@ -166,7 +166,7 @@ export default class CharacterSheet extends DaggerheartSheet(ActorSheetV2) {
group: 'primary', group: 'primary',
id: 'inventory', id: 'inventory',
icon: null, icon: null,
label: game.i18n.localize('DAGGERHEART.General.Tabs.inventory') label: game.i18n.localize('DAGGERHEART.GENERAL.Tabs.inventory')
}, },
story: { story: {
active: false, active: false,
@ -174,7 +174,7 @@ export default class CharacterSheet extends DaggerheartSheet(ActorSheetV2) {
group: 'primary', group: 'primary',
id: 'story', id: 'story',
icon: null, icon: null,
label: game.i18n.localize('DAGGERHEART.General.Tabs.story') label: game.i18n.localize('DAGGERHEART.GENERAL.Tabs.story')
} }
}; };
const secondaryTabs = { const secondaryTabs = {
@ -184,7 +184,7 @@ export default class CharacterSheet extends DaggerheartSheet(ActorSheetV2) {
group: 'secondary', group: 'secondary',
id: 'foundation', id: 'foundation',
icon: null, icon: null,
label: game.i18n.localize('DAGGERHEART.General.Tabs.foundation') label: game.i18n.localize('DAGGERHEART.GENERAL.Tabs.foundation')
}, },
loadout: { loadout: {
active: false, active: false,
@ -192,7 +192,7 @@ export default class CharacterSheet extends DaggerheartSheet(ActorSheetV2) {
group: 'secondary', group: 'secondary',
id: 'loadout', id: 'loadout',
icon: null, icon: null,
label: game.i18n.localize('DAGGERHEART.General.Tabs.loadout') label: game.i18n.localize('DAGGERHEART.GENERAL.Tabs.loadout')
}, },
vault: { vault: {
active: false, active: false,
@ -200,7 +200,7 @@ export default class CharacterSheet extends DaggerheartSheet(ActorSheetV2) {
group: 'secondary', group: 'secondary',
id: 'vault', id: 'vault',
icon: null, icon: null,
label: game.i18n.localize('DAGGERHEART.General.Tabs.vault') label: game.i18n.localize('DAGGERHEART.GENERAL.Tabs.vault')
} }
}; };
@ -230,7 +230,7 @@ export default class CharacterSheet extends DaggerheartSheet(ActorSheetV2) {
_createContextMenues() { _createContextMenues() {
const allOptions = { const allOptions = {
useItem: { useItem: {
name: 'DAGGERHEART.General.use', name: 'DAGGERHEART.GENERAL.use',
icon: '<i class="fa-solid fa-burst"></i>', icon: '<i class="fa-solid fa-burst"></i>',
condition: el => { condition: el => {
const item = this.getItem(el); const item = this.getItem(el);
@ -239,7 +239,7 @@ export default class CharacterSheet extends DaggerheartSheet(ActorSheetV2) {
callback: (button, event) => this.constructor.useItem.bind(this)(event, button) callback: (button, event) => this.constructor.useItem.bind(this)(event, button)
}, },
equip: { equip: {
name: 'DAGGERHEART.Actors.Character.contextMenu.equip', name: 'DAGGERHEART.ACTORS.Character.contextMenu.equip',
icon: '<i class="fa-solid fa-hands"></i>', icon: '<i class="fa-solid fa-hands"></i>',
condition: el => { condition: el => {
const item = this.getItem(el); const item = this.getItem(el);
@ -248,7 +248,7 @@ export default class CharacterSheet extends DaggerheartSheet(ActorSheetV2) {
callback: this.constructor.toggleEquipItem.bind(this) callback: this.constructor.toggleEquipItem.bind(this)
}, },
unequip: { unequip: {
name: 'DAGGERHEART.Actors.Character.contextMenu.unequip', name: 'DAGGERHEART.ACTORS.Character.contextMenu.unequip',
icon: '<i class="fa-solid fa-hands"></i>', icon: '<i class="fa-solid fa-hands"></i>',
condition: el => { condition: el => {
const item = this.getItem(el); const item = this.getItem(el);
@ -257,7 +257,7 @@ export default class CharacterSheet extends DaggerheartSheet(ActorSheetV2) {
callback: this.constructor.toggleEquipItem.bind(this) callback: this.constructor.toggleEquipItem.bind(this)
}, },
sendToLoadout: { sendToLoadout: {
name: 'DAGGERHEART.Actors.Character.contextMenu.toLoadout', name: 'DAGGERHEART.ACTORS.Character.contextMenu.toLoadout',
icon: '<i class="fa-solid fa-arrow-up"></i>', icon: '<i class="fa-solid fa-arrow-up"></i>',
condition: el => { condition: el => {
const item = this.getItem(el); const item = this.getItem(el);
@ -266,7 +266,7 @@ export default class CharacterSheet extends DaggerheartSheet(ActorSheetV2) {
callback: this.constructor.toggleVault.bind(this) callback: this.constructor.toggleVault.bind(this)
}, },
sendToVault: { sendToVault: {
name: 'DAGGERHEART.Actors.Character.contextMenu.toVault', name: 'DAGGERHEART.ACTORS.Character.contextMenu.toVault',
icon: '<i class="fa-solid fa-arrow-down"></i>', icon: '<i class="fa-solid fa-arrow-down"></i>',
condition: el => { condition: el => {
const item = this.getItem(el); const item = this.getItem(el);
@ -275,7 +275,7 @@ export default class CharacterSheet extends DaggerheartSheet(ActorSheetV2) {
callback: this.constructor.toggleVault.bind(this) callback: this.constructor.toggleVault.bind(this)
}, },
sendToChat: { sendToChat: {
name: 'DAGGERHEART.Actors.Character.contextMenu.sendToChat', name: 'DAGGERHEART.ACTORS.Character.contextMenu.sendToChat',
icon: '<i class="fa-regular fa-message"></i>', icon: '<i class="fa-regular fa-message"></i>',
callback: this.constructor.toChat.bind(this) callback: this.constructor.toChat.bind(this)
}, },
@ -349,11 +349,11 @@ export default class CharacterSheet extends DaggerheartSheet(ActorSheetV2) {
context.inventory = { context.inventory = {
currency: { currency: {
title: game.i18n.localize('DAGGERHEART.Config.Gold.title'), title: game.i18n.localize('DAGGERHEART.CONFIG.Gold.title'),
coins: game.i18n.localize('DAGGERHEART.Config.Gold.coins'), coins: game.i18n.localize('DAGGERHEART.CONFIG.Gold.coins'),
handfulls: game.i18n.localize('DAGGERHEART.Config.Gold.handfulls'), handfulls: game.i18n.localize('DAGGERHEART.CONFIG.Gold.handfulls'),
bags: game.i18n.localize('DAGGERHEART.Config.Gold.bags'), bags: game.i18n.localize('DAGGERHEART.CONFIG.Gold.bags'),
chests: game.i18n.localize('DAGGERHEART.Config.Gold.chests') chests: game.i18n.localize('DAGGERHEART.CONFIG.Gold.chests')
} }
}; };
@ -493,7 +493,7 @@ export default class CharacterSheet extends DaggerheartSheet(ActorSheetV2) {
const abilityLabel = game.i18n.localize(abilities[button.dataset.attribute].label); const abilityLabel = game.i18n.localize(abilities[button.dataset.attribute].label);
const config = { const config = {
event: event, event: event,
title: `${game.i18n.localize('DAGGERHEART.General.dualityRoll')}: ${this.actor.name}`, title: `${game.i18n.localize('DAGGERHEART.GENERAL.dualityRoll')}: ${this.actor.name}`,
headerTitle: game.i18n.format('DAGGERHEART.UI.Chat.dualityRoll.abilitychecktitle', { headerTitle: game.i18n.format('DAGGERHEART.UI.Chat.dualityRoll.abilitychecktitle', {
ability: abilityLabel ability: abilityLabel
}), }),
@ -838,7 +838,7 @@ export default class CharacterSheet extends DaggerheartSheet(ActorSheetV2) {
const experience = this.document.system.experiences[button.dataset.uuid]; const experience = this.document.system.experiences[button.dataset.uuid];
const cls = getDocumentClass('ChatMessage'); const cls = getDocumentClass('ChatMessage');
const systemData = { const systemData = {
name: game.i18n.localize('DAGGERHEART.General.Experience.single'), name: game.i18n.localize('DAGGERHEART.GENERAL.Experience.single'),
description: `${experience.name} ${experience.total < 0 ? experience.total : `+${experience.total}`}` description: `${experience.name} ${experience.total < 0 ? experience.total : `+${experience.total}`}`
}; };
const msg = new cls({ const msg = new cls({
@ -866,7 +866,7 @@ export default class CharacterSheet extends DaggerheartSheet(ActorSheetV2) {
: this.document.system.class.subclass; : this.document.system.class.subclass;
const ability = item.system[`${button.dataset.key}Feature`]; const ability = item.system[`${button.dataset.key}Feature`];
const title = `${item.name} - ${game.i18n.localize( const title = `${item.name} - ${game.i18n.localize(
`DAGGERHEART.Items.DomainCard.${capitalize(button.dataset.key)}Title` `DAGGERHEART.ITEMS.DomainCard.${capitalize(button.dataset.key)}Title`
)}`; )}`;
const cls = getDocumentClass('ChatMessage'); const cls = getDocumentClass('ChatMessage');

View file

@ -33,7 +33,7 @@ export default class DhCompanionSheet extends DaggerheartSheet(ActorSheetV2) {
group: 'primary', group: 'primary',
id: 'details', id: 'details',
icon: null, icon: null,
label: 'DAGGERHEART.General.Tabs.details' label: 'DAGGERHEART.GENERAL.Tabs.details'
}, },
effects: { effects: {
active: false, active: false,
@ -41,7 +41,7 @@ export default class DhCompanionSheet extends DaggerheartSheet(ActorSheetV2) {
group: 'primary', group: 'primary',
id: 'effects', id: 'effects',
icon: null, icon: null,
label: 'DAGGERHEART.General.Tabs.effects' label: 'DAGGERHEART.GENERAL.Tabs.effects'
} }
}; };
@ -82,7 +82,7 @@ export default class DhCompanionSheet extends DaggerheartSheet(ActorSheetV2) {
const experience = this.document.system.experiences[button.dataset.uuid]; const experience = this.document.system.experiences[button.dataset.uuid];
const cls = getDocumentClass('ChatMessage'); const cls = getDocumentClass('ChatMessage');
const systemData = { const systemData = {
name: game.i18n.localize('DAGGERHEART.General.Experience.single'), name: game.i18n.localize('DAGGERHEART.GENERAL.Experience.single'),
description: `${experience.name} ${experience.total < 0 ? experience.total : `+${experience.total}`}` description: `${experience.name} ${experience.total < 0 ? experience.total : `+${experience.total}`}`
}; };
const msg = new cls({ const msg = new cls({

View file

@ -40,7 +40,7 @@ export default class DhpEnvironment extends DaggerheartSheet(ActorSheetV2) {
group: 'primary', group: 'primary',
id: 'features', id: 'features',
icon: null, icon: null,
label: 'DAGGERHEART.General.Tabs.features' label: 'DAGGERHEART.GENERAL.Tabs.features'
}, },
potentialAdversaries: { potentialAdversaries: {
active: false, active: false,
@ -48,7 +48,7 @@ export default class DhpEnvironment extends DaggerheartSheet(ActorSheetV2) {
group: 'primary', group: 'primary',
id: 'potentialAdversaries', id: 'potentialAdversaries',
icon: null, icon: null,
label: 'DAGGERHEART.General.Tabs.potentialAdversaries' label: 'DAGGERHEART.GENERAL.Tabs.potentialAdversaries'
}, },
notes: { notes: {
active: false, active: false,
@ -56,7 +56,7 @@ export default class DhpEnvironment extends DaggerheartSheet(ActorSheetV2) {
group: 'primary', group: 'primary',
id: 'notes', id: 'notes',
icon: null, icon: null,
label: 'DAGGERHEART.General.Tabs.notes' label: 'DAGGERHEART.GENERAL.Tabs.notes'
} }
}; };
@ -91,7 +91,7 @@ export default class DhpEnvironment extends DaggerheartSheet(ActorSheetV2) {
static async addAdversary() { static async addAdversary() {
await this.document.update({ await this.document.update({
[`system.potentialAdversaries.${foundry.utils.randomID()}.label`]: game.i18n.localize( [`system.potentialAdversaries.${foundry.utils.randomID()}.label`]: game.i18n.localize(
'DAGGERHEART.Actors.Environment.newAdversary' 'DAGGERHEART.ACTORS.Environment.newAdversary'
) )
}); });
this.render(); this.render();

View file

@ -37,7 +37,7 @@ export default class DHBaseItemSheet extends DHApplicationMixin(ItemSheetV2) {
primary: { primary: {
tabs: [{ id: 'description' }, { id: 'actions' }, { id: 'settings' }], tabs: [{ id: 'description' }, { id: 'actions' }, { id: 'settings' }],
initial: 'description', initial: 'description',
labelPrefix: 'DAGGERHEART.General.Tabs' labelPrefix: 'DAGGERHEART.GENERAL.Tabs'
} }
}; };

View file

@ -25,7 +25,7 @@ export default class DHHeritageSheet extends DHBaseItemSheet {
primary: { primary: {
tabs: [{ id: 'description' }, { id: 'features' }, { id: 'effects' }], tabs: [{ id: 'description' }, { id: 'features' }, { id: 'effects' }],
initial: 'description', initial: 'description',
labelPrefix: 'DAGGERHEART.General.Tabs' labelPrefix: 'DAGGERHEART.GENERAL.Tabs'
} }
}; };
} }

View file

@ -25,7 +25,7 @@ export default class BeastformSheet extends DHBaseItemSheet {
primary: { primary: {
tabs: [{ id: 'settings' }, { id: 'features' }, { id: 'effects' }], tabs: [{ id: 'settings' }, { id: 'features' }, { id: 'effects' }],
initial: 'settings', initial: 'settings',
labelPrefix: 'DAGGERHEART.General.Tabs' labelPrefix: 'DAGGERHEART.GENERAL.Tabs'
} }
}; };

View file

@ -54,7 +54,7 @@ export default class ClassSheet extends DHBaseItemSheet {
primary: { primary: {
tabs: [{ id: 'description' }, { id: 'features' }, { id: 'settings' }], tabs: [{ id: 'description' }, { id: 'features' }, { id: 'settings' }],
initial: 'description', initial: 'description',
labelPrefix: 'DAGGERHEART.General.Tabs' labelPrefix: 'DAGGERHEART.GENERAL.Tabs'
} }
}; };

View file

@ -12,7 +12,7 @@ export default class DomainCardSheet extends DHBaseItemSheet {
primary: { primary: {
tabs: [{ id: 'description' }, { id: 'actions' }, { id: 'settings' }, { id: 'effects' }], tabs: [{ id: 'description' }, { id: 'actions' }, { id: 'settings' }, { id: 'effects' }],
initial: 'description', initial: 'description',
labelPrefix: 'DAGGERHEART.General.Tabs' labelPrefix: 'DAGGERHEART.GENERAL.Tabs'
} }
}; };

View file

@ -36,7 +36,7 @@ export default class FeatureSheet extends DHBaseItemSheet {
primary: { primary: {
tabs: [{ id: 'description' }, { id: 'actions' }, { id: 'effects' }], tabs: [{ id: 'description' }, { id: 'actions' }, { id: 'effects' }],
initial: 'description', initial: 'description',
labelPrefix: 'DAGGERHEART.General.Tabs' labelPrefix: 'DAGGERHEART.GENERAL.Tabs'
} }
}; };

View file

@ -33,7 +33,7 @@ export default class SubclassSheet extends DHBaseItemSheet {
primary: { primary: {
tabs: [{ id: 'description' }, { id: 'features' }, { id: 'settings' }], tabs: [{ id: 'description' }, { id: 'features' }, { id: 'settings' }],
initial: 'description', initial: 'description',
labelPrefix: 'DAGGERHEART.General.Tabs' labelPrefix: 'DAGGERHEART.GENERAL.Tabs'
} }
}; };

View file

@ -13,8 +13,8 @@ class Countdowns extends HandlebarsApplicationMixin(ApplicationV2) {
} }
get title() { get title() {
return game.i18n.format('DAGGERHEART.Applications.Countdown.Title', { return game.i18n.format('DAGGERHEART.APPLICATIONS.Countdown.Title', {
type: game.i18n.localize(`DAGGERHEART.Applications.Countdown.types.${this.basePath}`) type: game.i18n.localize(`DAGGERHEART.APPLICATIONS.Countdown.types.${this.basePath}`)
}); });
} }
@ -78,7 +78,7 @@ class Countdowns extends HandlebarsApplicationMixin(ApplicationV2) {
const button = constructHTMLButton({ const button = constructHTMLButton({
label: '', label: '',
classes: ['header-control', 'icon', 'fa-solid', 'fa-wrench'], classes: ['header-control', 'icon', 'fa-solid', 'fa-wrench'],
dataset: { action: 'toggleSimpleView', tooltip: 'DAGGERHEART.Applications.Countdown.toggleSimple' } dataset: { action: 'toggleSimpleView', tooltip: 'DAGGERHEART.APPLICATIONS.Countdown.toggleSimple' }
}); });
this.window.controls.after(button); this.window.controls.after(button);
} }
@ -265,7 +265,7 @@ class Countdowns extends HandlebarsApplicationMixin(ApplicationV2) {
const countdownSetting = game.settings.get(CONFIG.DH.id, CONFIG.DH.SETTINGS.gameSettings.Countdowns); const countdownSetting = game.settings.get(CONFIG.DH.id, CONFIG.DH.SETTINGS.gameSettings.Countdowns);
await countdownSetting.updateSource({ await countdownSetting.updateSource({
[`${this.basePath}.countdowns.${foundry.utils.randomID()}`]: { [`${this.basePath}.countdowns.${foundry.utils.randomID()}`]: {
name: game.i18n.localize('DAGGERHEART.Applications.Countdown.newCountdown'), name: game.i18n.localize('DAGGERHEART.APPLICATIONS.Countdown.newCountdown'),
ownership: game.user.isGM ownership: game.user.isGM
? {} ? {}
: { : {
@ -285,9 +285,9 @@ class Countdowns extends HandlebarsApplicationMixin(ApplicationV2) {
const confirmed = await foundry.applications.api.DialogV2.confirm({ const confirmed = await foundry.applications.api.DialogV2.confirm({
window: { window: {
title: game.i18n.localize('DAGGERHEART.Applications.Countdown.removeCountdownTitle') title: game.i18n.localize('DAGGERHEART.APPLICATIONS.Countdown.removeCountdownTitle')
}, },
content: game.i18n.format('DAGGERHEART.Applications.Countdown.removeCountdownText', { name: countdownName }) content: game.i18n.format('DAGGERHEART.APPLICATIONS.Countdown.removeCountdownText', { name: countdownName })
}); });
if (!confirmed) return; if (!confirmed) return;

View file

@ -178,7 +178,7 @@ export default class FilterMenu extends foundry.applications.ux.ContextMenu {
})); }));
const burdenFilter = Object.values(CONFIG.DH.GENERAL.burden).map(({ value, label }) => ({ const burdenFilter = Object.values(CONFIG.DH.GENERAL.burden).map(({ value, label }) => ({
group: game.i18n.localize('DAGGERHEART.General.burden'), group: game.i18n.localize('DAGGERHEART.GENERAL.burden'),
name: game.i18n.localize(label), name: game.i18n.localize(label),
filter: { filter: {
field: 'system.burden', field: 'system.burden',
@ -220,7 +220,7 @@ export default class FilterMenu extends foundry.applications.ux.ContextMenu {
})); }));
const domainFilter = Object.values(CONFIG.DH.DOMAIN.domains).map(({ id, label }) => ({ const domainFilter = Object.values(CONFIG.DH.DOMAIN.domains).map(({ id, label }) => ({
group: game.i18n.localize('DAGGERHEART.General.Domain.single'), group: game.i18n.localize('DAGGERHEART.GENERAL.Domain.single'),
name: game.i18n.localize(label), name: game.i18n.localize(label),
filter: { filter: {
field: 'system.domain', field: 'system.domain',

View file

@ -18,19 +18,19 @@ export default class DhMeasuredTemplate extends foundry.canvas.placeables.Measur
static getDistanceLabel(distance, settings) { static getDistanceLabel(distance, settings) {
if (distance <= settings.melee) { if (distance <= settings.melee) {
return game.i18n.localize('DAGGERHEART.Config.Range.melee.name'); return game.i18n.localize('DAGGERHEART.CONFIG.Range.melee.name');
} }
if (distance <= settings.veryClose) { if (distance <= settings.veryClose) {
return game.i18n.localize('DAGGERHEART.Config.Range.veryClose.name'); return game.i18n.localize('DAGGERHEART.CONFIG.Range.veryClose.name');
} }
if (distance <= settings.close) { if (distance <= settings.close) {
return game.i18n.localize('DAGGERHEART.Config.Range.close.name'); return game.i18n.localize('DAGGERHEART.CONFIG.Range.close.name');
} }
if (distance <= settings.far) { if (distance <= settings.far) {
return game.i18n.localize('DAGGERHEART.Config.Range.far.name'); return game.i18n.localize('DAGGERHEART.CONFIG.Range.far.name');
} }
if (distance <= settings.veryFar) { if (distance <= settings.veryFar) {
return game.i18n.localize('DAGGERHEART.Config.Range.veryFar.name'); return game.i18n.localize('DAGGERHEART.CONFIG.Range.veryFar.name');
} }
return ''; return '';

View file

@ -1,37 +1,37 @@
export const actionTypes = { export const actionTypes = {
attack: { attack: {
id: 'attack', id: 'attack',
name: 'DAGGERHEART.Actions.Types.attack.name', name: 'DAGGERHEART.ACTIONS.TYPES.attack.name',
icon: 'fa-swords' icon: 'fa-swords'
}, },
healing: { healing: {
id: 'healing', id: 'healing',
name: 'DAGGERHEART.Actions.Types.healing.name', name: 'DAGGERHEART.ACTIONS.TYPES.healing.name',
icon: 'fa-kit-medical' icon: 'fa-kit-medical'
}, },
damage: { damage: {
id: 'damage', id: 'damage',
name: 'DAGGERHEART.Actions.Types.damage.name', name: 'DAGGERHEART.ACTIONS.TYPES.damage.name',
icon: 'fa-bone-break' icon: 'fa-bone-break'
}, },
summon: { summon: {
id: 'summon', id: 'summon',
name: 'DAGGERHEART.Actions.Types.summon.name', name: 'DAGGERHEART.ACTIONS.TYPES.summon.name',
icon: 'fa-ghost' icon: 'fa-ghost'
}, },
effect: { effect: {
id: 'effect', id: 'effect',
name: 'DAGGERHEART.Actions.Types.effect.name', name: 'DAGGERHEART.ACTIONS.TYPES.effect.name',
icon: 'fa-person-rays' icon: 'fa-person-rays'
}, },
macro: { macro: {
id: 'macro', id: 'macro',
name: 'DAGGERHEART.Actions.Types.macro.name', name: 'DAGGERHEART.ACTIONS.TYPES.macro.name',
icon: 'fa-scroll' icon: 'fa-scroll'
}, },
beastform: { beastform: {
id: 'beastform', id: 'beastform',
name: 'DAGGERHEART.Actions.Types.beastform.name', name: 'DAGGERHEART.ACTIONS.TYPES.beastform.name',
icon: 'fa-paw' icon: 'fa-paw'
} }
}; };
@ -103,15 +103,15 @@ export const diceCompare = {
export const advandtageState = { export const advandtageState = {
disadvantage: { disadvantage: {
label: 'DAGGERHEART.General.Disadvantage.full', label: 'DAGGERHEART.GENERAL.Disadvantage.full',
value: -1 value: -1
}, },
neutral: { neutral: {
label: 'DAGGERHEART.General.Neutral.full', label: 'DAGGERHEART.GENERAL.Neutral.full',
value: 0 value: 0
}, },
advantage: { advantage: {
label: 'DAGGERHEART.General.Advantage.full', label: 'DAGGERHEART.GENERAL.Advantage.full',
value: 1 value: 1
} }
}; };

View file

@ -1,77 +1,77 @@
export const abilities = { export const abilities = {
agility: { agility: {
label: 'DAGGERHEART.Config.Traits.agility.name', label: 'DAGGERHEART.CONFIG.Traits.agility.name',
verbs: [ verbs: [
'DAGGERHEART.Config.Traits.agility.verb.sprint', 'DAGGERHEART.CONFIG.Traits.agility.verb.sprint',
'DAGGERHEART.Config.Traits.agility.verb.leap', 'DAGGERHEART.CONFIG.Traits.agility.verb.leap',
'DAGGERHEART.Config.Traits.agility.verb.maneuver' 'DAGGERHEART.CONFIG.Traits.agility.verb.maneuver'
] ]
}, },
strength: { strength: {
label: 'DAGGERHEART.Config.Traits.strength.name', label: 'DAGGERHEART.CONFIG.Traits.strength.name',
verbs: [ verbs: [
'DAGGERHEART.Config.Traits.strength.verb.lift', 'DAGGERHEART.CONFIG.Traits.strength.verb.lift',
'DAGGERHEART.Config.Traits.strength.verb.smash', 'DAGGERHEART.CONFIG.Traits.strength.verb.smash',
'DAGGERHEART.Config.Traits.strength.verb.grapple' 'DAGGERHEART.CONFIG.Traits.strength.verb.grapple'
] ]
}, },
finesse: { finesse: {
label: 'DAGGERHEART.Config.Traits.finesse.name', label: 'DAGGERHEART.CONFIG.Traits.finesse.name',
verbs: [ verbs: [
'DAGGERHEART.Config.Traits.finesse.verb.control', 'DAGGERHEART.CONFIG.Traits.finesse.verb.control',
'DAGGERHEART.Config.Traits.finesse.verb.hide', 'DAGGERHEART.CONFIG.Traits.finesse.verb.hide',
'DAGGERHEART.Config.Traits.finesse.verb.tinker' 'DAGGERHEART.CONFIG.Traits.finesse.verb.tinker'
] ]
}, },
instinct: { instinct: {
label: 'DAGGERHEART.Config.Traits.instinct.name', label: 'DAGGERHEART.CONFIG.Traits.instinct.name',
verbs: [ verbs: [
'DAGGERHEART.Config.Traits.instinct.verb.perceive', 'DAGGERHEART.CONFIG.Traits.instinct.verb.perceive',
'DAGGERHEART.Config.Traits.instinct.verb.sense', 'DAGGERHEART.CONFIG.Traits.instinct.verb.sense',
'DAGGERHEART.Config.Traits.instinct.verb.navigate' 'DAGGERHEART.CONFIG.Traits.instinct.verb.navigate'
] ]
}, },
presence: { presence: {
label: 'DAGGERHEART.Config.Traits.presence.name', label: 'DAGGERHEART.CONFIG.Traits.presence.name',
verbs: [ verbs: [
'DAGGERHEART.Config.Traits.presence.verb.charm', 'DAGGERHEART.CONFIG.Traits.presence.verb.charm',
'DAGGERHEART.Config.Traits.presence.verb.perform', 'DAGGERHEART.CONFIG.Traits.presence.verb.perform',
'DAGGERHEART.Config.Traits.presence.verb.deceive' 'DAGGERHEART.CONFIG.Traits.presence.verb.deceive'
] ]
}, },
knowledge: { knowledge: {
label: 'DAGGERHEART.Config.Traits.knowledge.name', label: 'DAGGERHEART.CONFIG.Traits.knowledge.name',
verbs: [ verbs: [
'DAGGERHEART.Config.Traits.knowledge.verb.recall', 'DAGGERHEART.CONFIG.Traits.knowledge.verb.recall',
'DAGGERHEART.Config.Traits.knowledge.verb.analyze', 'DAGGERHEART.CONFIG.Traits.knowledge.verb.analyze',
'DAGGERHEART.Config.Traits.knowledge.verb.comprehend' 'DAGGERHEART.CONFIG.Traits.knowledge.verb.comprehend'
] ]
} }
}; };
export const featureProperties = { export const featureProperties = {
agility: { agility: {
name: 'DAGGERHEART.Config.Traits.agility.name', name: 'DAGGERHEART.CONFIG.Traits.agility.name',
path: actor => actor.system.traits.agility.data.value path: actor => actor.system.traits.agility.data.value
}, },
strength: { strength: {
name: 'DAGGERHEART.Config.Traits.strength.name', name: 'DAGGERHEART.CONFIG.Traits.strength.name',
path: actor => actor.system.traits.strength.data.value path: actor => actor.system.traits.strength.data.value
}, },
finesse: { finesse: {
name: 'DAGGERHEART.Config.Traits.finesse.name', name: 'DAGGERHEART.CONFIG.Traits.finesse.name',
path: actor => actor.system.traits.finesse.data.value path: actor => actor.system.traits.finesse.data.value
}, },
instinct: { instinct: {
name: 'DAGGERHEART.Config.Traits.instinct.name', name: 'DAGGERHEART.CONFIG.Traits.instinct.name',
path: actor => actor.system.traits.instinct.data.value path: actor => actor.system.traits.instinct.data.value
}, },
presence: { presence: {
name: 'DAGGERHEART.Config.Traits.presence.name', name: 'DAGGERHEART.CONFIG.Traits.presence.name',
path: actor => actor.system.traits.presence.data.value path: actor => actor.system.traits.presence.data.value
}, },
knowledge: { knowledge: {
name: 'DAGGERHEART.Config.Traits.knowledge.name', name: 'DAGGERHEART.CONFIG.Traits.knowledge.name',
path: actor => actor.system.traits.knowledge.data.value path: actor => actor.system.traits.knowledge.data.value
}, },
spellcastingTrait: { spellcastingTrait: {
@ -83,90 +83,90 @@ export const featureProperties = {
export const adversaryTypes = { export const adversaryTypes = {
bruiser: { bruiser: {
id: 'bruiser', id: 'bruiser',
label: 'DAGGERHEART.Config.AdversaryType.bruiser.label', label: 'DAGGERHEART.CONFIG.AdversaryType.bruiser.label',
description: 'DAGGERHEART.Actors.Adversary.bruiser.description' description: 'DAGGERHEART.ACTORS.Adversary.bruiser.description'
}, },
horde: { horde: {
id: 'horde', id: 'horde',
label: 'DAGGERHEART.Config.AdversaryType.horde.label', label: 'DAGGERHEART.CONFIG.AdversaryType.horde.label',
description: 'DAGGERHEART.Actors.Adversary.horde.description' description: 'DAGGERHEART.ACTORS.Adversary.horde.description'
}, },
leader: { leader: {
id: 'leader', id: 'leader',
label: 'DAGGERHEART.Config.AdversaryType.leader.label', label: 'DAGGERHEART.CONFIG.AdversaryType.leader.label',
description: 'DAGGERHEART.Actors.Adversary.leader.description' description: 'DAGGERHEART.ACTORS.Adversary.leader.description'
}, },
minion: { minion: {
id: 'minion', id: 'minion',
label: 'DAGGERHEART.Config.AdversaryType.minion.label', label: 'DAGGERHEART.CONFIG.AdversaryType.minion.label',
description: 'DAGGERHEART.Actors.Adversary.minion.description' description: 'DAGGERHEART.ACTORS.Adversary.minion.description'
}, },
ranged: { ranged: {
id: 'ranged', id: 'ranged',
label: 'DAGGERHEART.Config.AdversaryType.ranged.label', label: 'DAGGERHEART.CONFIG.AdversaryType.ranged.label',
description: 'DAGGERHEART.Actors.Adversary.ranged.description' description: 'DAGGERHEART.ACTORS.Adversary.ranged.description'
}, },
skulk: { skulk: {
id: 'skulk', id: 'skulk',
label: 'DAGGERHEART.Config.AdversaryType.skulk.label', label: 'DAGGERHEART.CONFIG.AdversaryType.skulk.label',
description: 'DAGGERHEART.Actors.Adversary.skulk.description' description: 'DAGGERHEART.ACTORS.Adversary.skulk.description'
}, },
social: { social: {
id: 'social', id: 'social',
label: 'DAGGERHEART.Config.AdversaryTypee.social.label', label: 'DAGGERHEART.CONFIG.AdversaryTypee.social.label',
description: 'DAGGERHEART.Actors.Adversary.social.description' description: 'DAGGERHEART.ACTORS.Adversary.social.description'
}, },
solo: { solo: {
id: 'solo', id: 'solo',
label: 'DAGGERHEART.Config.AdversaryType.solo.label', label: 'DAGGERHEART.CONFIG.AdversaryType.solo.label',
description: 'DAGGERHEART.Actors.Adversary.solo.description' description: 'DAGGERHEART.ACTORS.Adversary.solo.description'
}, },
standard: { standard: {
id: 'standard', id: 'standard',
label: 'DAGGERHEART.Config.AdversaryType.standard.label', label: 'DAGGERHEART.CONFIG.AdversaryType.standard.label',
description: 'DAGGERHEART.Actors.Adversary.standard.description' description: 'DAGGERHEART.ACTORS.Adversary.standard.description'
}, },
support: { support: {
id: 'support', id: 'support',
label: 'DAGGERHEART.Config.AdversaryType.support.label', label: 'DAGGERHEART.CONFIG.AdversaryType.support.label',
description: 'DAGGERHEART.Actors.Adversary.support.description' description: 'DAGGERHEART.ACTORS.Adversary.support.description'
} }
}; };
export const environmentTypes = { export const environmentTypes = {
exploration: { exploration: {
label: 'Daggerheart.Config.EnvironmentType.exploration.label', label: 'DAGGERHEART.CONFIG.EnvironmentType.exploration.label',
description: 'Daggerheart.Config.EnvironmentType.exploration.description' description: 'DAGGERHEART.CONFIG.EnvironmentType.exploration.description'
}, },
social: { social: {
label: 'Daggerheart.Config.EnvironmentType.social.label', label: 'DAGGERHEART.CONFIG.EnvironmentType.social.label',
description: 'Daggerheart.Config.EnvironmentType.social.description' description: 'DAGGERHEART.CONFIG.EnvironmentType.social.description'
}, },
traversal: { traversal: {
label: 'Daggerheart.Config.EnvironmentType.traversal.label', label: 'DAGGERHEART.CONFIG.EnvironmentType.traversal.label',
description: 'Daggerheart.Config.EnvironmentType.traversal.description' description: 'DAGGERHEART.CONFIG.EnvironmentType.traversal.description'
}, },
event: { event: {
label: 'Daggerheart.Config.EnvironmentType.event.label', label: 'DAGGERHEART.CONFIG.EnvironmentType.event.label',
description: 'Daggerheart.Config.EnvironmentType.event.description' description: 'DAGGERHEART.CONFIG.EnvironmentType.event.description'
} }
}; };
export const adversaryTraits = { export const adversaryTraits = {
relentless: { relentless: {
name: 'DAGGERHEART.Config.AdversaryTrait.relentless.name', name: 'DAGGERHEART.CONFIG.AdversaryTrait.relentless.name',
description: 'DAGGERHEART.Config.AdversaryTrait.relentless.description', description: 'DAGGERHEART.CONFIG.AdversaryTrait.relentless.description',
tip: 'DAGGERHEART.Config.AdversaryTrait.relentless.tip' tip: 'DAGGERHEART.CONFIG.AdversaryTrait.relentless.tip'
}, },
slow: { slow: {
name: 'DAGGERHEART.Config.AdversaryTrait.slow.name', name: 'DAGGERHEART.CONFIG.AdversaryTrait.slow.name',
description: 'DAGGERHEART.Config.AdversaryTrait.slow.description', description: 'DAGGERHEART.CONFIG.AdversaryTrait.slow.description',
tip: 'DAGGERHEART.Config.AdversaryTrait.slow.tip' tip: 'DAGGERHEART.CONFIG.AdversaryTrait.slow.tip'
}, },
minion: { minion: {
name: 'DAGGERHEART.Config.AdversaryTrait.slow.name', name: 'DAGGERHEART.CONFIG.AdversaryTrait.slow.name',
description: 'DAGGERHEART.Config.AdversaryTrait.slow.description', description: 'DAGGERHEART.CONFIG.AdversaryTrait.slow.description',
tip: 'DAGGERHEART.Config.AdversaryTrait.slow.tip' tip: 'DAGGERHEART.CONFIG.AdversaryTrait.slow.tip'
} }
}; };
@ -265,41 +265,41 @@ export const levelupData = {
id: '2_4', id: '2_4',
tier: 1, tier: 1,
levels: [2, 3, 4], levels: [2, 3, 4],
label: 'DAGGERHEART.Applications.Levelup.tier1.Label', label: 'DAGGERHEART.APPLICATIONS.Levelup.tier1.Label',
info: 'DAGGERHEART.Applications.Levelup.tier1.InfoLabel', info: 'DAGGERHEART.APPLICATIONS.Levelup.tier1.InfoLabel',
pretext: 'DAGGERHEART.Applications.Levelup.tier1.Pretext', pretext: 'DAGGERHEART.APPLICATIONS.Levelup.tier1.Pretext',
posttext: 'DAGGERHEART.Applications.Levelup.tier1.Posttext', posttext: 'DAGGERHEART.APPLICATIONS.Levelup.tier1.Posttext',
choices: { choices: {
[levelChoices.attributes.name]: { [levelChoices.attributes.name]: {
description: 'DAGGERHEART.Applications.Levelup.choiceDescriptions.attributes', description: 'DAGGERHEART.APPLICATIONS.Levelup.choiceDescriptions.attributes',
maxChoices: 3 maxChoices: 3
}, },
[levelChoices.hitPointSlots.name]: { [levelChoices.hitPointSlots.name]: {
description: 'DAGGERHEART.Applications.Levelup.choiceDescriptions.hitPointSlots', description: 'DAGGERHEART.APPLICATIONS.Levelup.choiceDescriptions.hitPointSlots',
maxChoices: 1 maxChoices: 1
}, },
[levelChoices.stressSlots.name]: { [levelChoices.stressSlots.name]: {
description: 'DAGGERHEART.Applications.Levelup.choiceDescriptions.stressSlots', description: 'DAGGERHEART.APPLICATIONS.Levelup.choiceDescriptions.stressSlots',
maxChoices: 1 maxChoices: 1
}, },
[levelChoices.experiences.name]: { [levelChoices.experiences.name]: {
description: 'DAGGERHEART.Applications.Levelup.choiceDescriptions.experiences', description: 'DAGGERHEART.APPLICATIONS.Levelup.choiceDescriptions.experiences',
maxChoices: 1 maxChoices: 1
}, },
[levelChoices.proficiency.name]: { [levelChoices.proficiency.name]: {
description: 'DAGGERHEART.Applications.Levelup.choiceDescriptions.proficiency', description: 'DAGGERHEART.APPLICATIONS.Levelup.choiceDescriptions.proficiency',
maxChoices: 1 maxChoices: 1
}, },
[levelChoices.armorOrEvasionSlot.name]: { [levelChoices.armorOrEvasionSlot.name]: {
description: 'DAGGERHEART.Applications.Levelup.choiceDescriptions.armorOrEvasionSlot', description: 'DAGGERHEART.APPLICATIONS.Levelup.choiceDescriptions.armorOrEvasionSlot',
maxChoices: 1 maxChoices: 1
}, },
[levelChoices.majorDamageThreshold2.name]: { [levelChoices.majorDamageThreshold2.name]: {
description: 'DAGGERHEART.Applications.Levelup.choiceDescriptions.majorDamageThreshold2', description: 'DAGGERHEART.APPLICATIONS.Levelup.choiceDescriptions.majorDamageThreshold2',
maxChoices: 1 maxChoices: 1
}, },
[levelChoices.severeDamageThreshold2.name]: { [levelChoices.severeDamageThreshold2.name]: {
description: 'DAGGERHEART.Applications.Levelup.choiceDescriptions.severeDamageThreshold2', description: 'DAGGERHEART.APPLICATIONS.Levelup.choiceDescriptions.severeDamageThreshold2',
maxChoices: 1 maxChoices: 1
} }
} }
@ -308,49 +308,49 @@ export const levelupData = {
id: '5_7', id: '5_7',
tier: 2, tier: 2,
levels: [5, 6, 7], levels: [5, 6, 7],
label: 'DAGGERHEART.Applications.Levelup.tier2.Label', label: 'DAGGERHEART.APPLICATIONS.Levelup.tier2.Label',
info: 'DAGGERHEART.Applications.Levelup.tier2.InfoLabel', info: 'DAGGERHEART.APPLICATIONS.Levelup.tier2.InfoLabel',
pretext: 'DAGGERHEART.Applications.Levelup.tier2.Pretext', pretext: 'DAGGERHEART.APPLICATIONS.Levelup.tier2.Pretext',
posttext: 'DAGGERHEART.Applications.Levelup.tier2.Posttext', posttext: 'DAGGERHEART.APPLICATIONS.Levelup.tier2.Posttext',
choices: { choices: {
[levelChoices.attributes.name]: { [levelChoices.attributes.name]: {
description: 'DAGGERHEART.Applications.Levelup.choiceDescriptions.attributes', description: 'DAGGERHEART.APPLICATIONS.Levelup.choiceDescriptions.attributes',
maxChoices: 3 maxChoices: 3
}, },
[levelChoices.hitPointSlots.name]: { [levelChoices.hitPointSlots.name]: {
description: 'DAGGERHEART.Applications.Levelup.choiceDescriptions.hitPointSlots', description: 'DAGGERHEART.APPLICATIONS.Levelup.choiceDescriptions.hitPointSlots',
maxChoices: 2 maxChoices: 2
}, },
[levelChoices.stressSlots.name]: { [levelChoices.stressSlots.name]: {
description: 'DAGGERHEART.Applications.Levelup.choiceDescriptions.stressSlots', description: 'DAGGERHEART.APPLICATIONS.Levelup.choiceDescriptions.stressSlots',
maxChoices: 2 maxChoices: 2
}, },
[levelChoices.experiences.name]: { [levelChoices.experiences.name]: {
description: 'DAGGERHEART.Applications.Levelup.choiceDescriptions.experiences', description: 'DAGGERHEART.APPLICATIONS.Levelup.choiceDescriptions.experiences',
maxChoices: 1 maxChoices: 1
}, },
[levelChoices.proficiency.name]: { [levelChoices.proficiency.name]: {
description: 'DAGGERHEART.Applications.Levelup.choiceDescriptions.proficiency', description: 'DAGGERHEART.APPLICATIONS.Levelup.choiceDescriptions.proficiency',
maxChoices: 2 maxChoices: 2
}, },
[levelChoices.armorOrEvasionSlot.name]: { [levelChoices.armorOrEvasionSlot.name]: {
description: 'DAGGERHEART.Applications.Levelup.choiceDescriptions.armorOrEvasionSlot', description: 'DAGGERHEART.APPLICATIONS.Levelup.choiceDescriptions.armorOrEvasionSlot',
maxChoices: 2 maxChoices: 2
}, },
[levelChoices.majorDamageThreshold2.name]: { [levelChoices.majorDamageThreshold2.name]: {
description: 'DAGGERHEART.Applications.Levelup.choiceDescriptions.majorDamageThreshold2', description: 'DAGGERHEART.APPLICATIONS.Levelup.choiceDescriptions.majorDamageThreshold2',
maxChoices: 1 maxChoices: 1
}, },
[levelChoices.severeDamageThreshold3.name]: { [levelChoices.severeDamageThreshold3.name]: {
description: 'DAGGERHEART.Applications.Levelup.choiceDescriptions.severeDamageThreshold3', description: 'DAGGERHEART.APPLICATIONS.Levelup.choiceDescriptions.severeDamageThreshold3',
maxChoices: 1 maxChoices: 1
}, },
[levelChoices.subclass.name]: { [levelChoices.subclass.name]: {
description: 'DAGGERHEART.Applications.Levelup.choiceDescriptions.subclass', description: 'DAGGERHEART.APPLICATIONS.Levelup.choiceDescriptions.subclass',
maxChoices: 1 maxChoices: 1
}, },
[levelChoices.multiclass.name]: { [levelChoices.multiclass.name]: {
description: 'DAGGERHEART.Applications.Levelup.choiceDescriptions.multiclass', description: 'DAGGERHEART.APPLICATIONS.Levelup.choiceDescriptions.multiclass',
maxChoices: 1, maxChoices: 1,
cost: 2 cost: 2
} }
@ -360,49 +360,49 @@ export const levelupData = {
id: '8_10', id: '8_10',
tier: 3, tier: 3,
levels: [8, 9, 10], levels: [8, 9, 10],
label: 'DAGGERHEART.Applications.Levelup.tier3.Label', label: 'DAGGERHEART.APPLICATIONS.Levelup.tier3.Label',
info: 'DAGGERHEART.Applications.Levelup.tier3.InfoLabel', info: 'DAGGERHEART.APPLICATIONS.Levelup.tier3.InfoLabel',
pretext: 'DAGGERHEART.Applications.Levelup.tier3.Pretext', pretext: 'DAGGERHEART.APPLICATIONS.Levelup.tier3.Pretext',
posttext: 'DAGGERHEART.Applications.Levelup.tier3.Posttext', posttext: 'DAGGERHEART.APPLICATIONS.Levelup.tier3.Posttext',
choices: { choices: {
[levelChoices.attributes.name]: { [levelChoices.attributes.name]: {
description: 'DAGGERHEART.Applications.Levelup.choiceDescriptions.attributes', description: 'DAGGERHEART.APPLICATIONS.Levelup.choiceDescriptions.attributes',
maxChoices: 3 maxChoices: 3
}, },
[levelChoices.hitPointSlots.name]: { [levelChoices.hitPointSlots.name]: {
description: 'DAGGERHEART.Applications.Levelup.choiceDescriptions.hitPointSlots', description: 'DAGGERHEART.APPLICATIONS.Levelup.choiceDescriptions.hitPointSlots',
maxChoices: 2 maxChoices: 2
}, },
[levelChoices.stressSlots.name]: { [levelChoices.stressSlots.name]: {
description: 'DAGGERHEART.Applications.Levelup.choiceDescriptions.stressSlots', description: 'DAGGERHEART.APPLICATIONS.Levelup.choiceDescriptions.stressSlots',
maxChoices: 2 maxChoices: 2
}, },
[levelChoices.experiences.name]: { [levelChoices.experiences.name]: {
description: 'DAGGERHEART.Applications.Levelup.choiceDescriptions.experiences', description: 'DAGGERHEART.APPLICATIONS.Levelup.choiceDescriptions.experiences',
maxChoices: 1 maxChoices: 1
}, },
[levelChoices.proficiency.name]: { [levelChoices.proficiency.name]: {
description: 'DAGGERHEART.Applications.Levelup.choiceDescriptions.proficiency', description: 'DAGGERHEART.APPLICATIONS.Levelup.choiceDescriptions.proficiency',
maxChoices: 2 maxChoices: 2
}, },
[levelChoices.armorOrEvasionSlot.name]: { [levelChoices.armorOrEvasionSlot.name]: {
description: 'DAGGERHEART.Applications.Levelup.choiceDescriptions.armorOrEvasionSlot', description: 'DAGGERHEART.APPLICATIONS.Levelup.choiceDescriptions.armorOrEvasionSlot',
maxChoices: 2 maxChoices: 2
}, },
[levelChoices.majorDamageThreshold2.name]: { [levelChoices.majorDamageThreshold2.name]: {
description: 'DAGGERHEART.Applications.Levelup.choiceDescriptions.majorDamageThreshold2', description: 'DAGGERHEART.APPLICATIONS.Levelup.choiceDescriptions.majorDamageThreshold2',
maxChoices: 1 maxChoices: 1
}, },
[levelChoices.severeDamageThreshold4.name]: { [levelChoices.severeDamageThreshold4.name]: {
description: 'DAGGERHEART.Applications.Levelup.choiceDescriptions.severeDamageThreshold4', description: 'DAGGERHEART.APPLICATIONS.Levelup.choiceDescriptions.severeDamageThreshold4',
maxChoices: 1 maxChoices: 1
}, },
[levelChoices.subclass.name]: { [levelChoices.subclass.name]: {
description: 'DAGGERHEART.Applications.Levelup.choiceDescriptions.subclass', description: 'DAGGERHEART.APPLICATIONS.Levelup.choiceDescriptions.subclass',
maxChoices: 1 maxChoices: 1
}, },
[levelChoices.multiclass.name]: { [levelChoices.multiclass.name]: {
description: 'DAGGERHEART.Applications.Levelup.choiceDescriptions.multiclass', description: 'DAGGERHEART.APPLICATIONS.Levelup.choiceDescriptions.multiclass',
maxChoices: 1, maxChoices: 1,
cost: 2 cost: 2
} }
@ -411,7 +411,7 @@ export const levelupData = {
}; };
export const subclassFeatureLabels = { export const subclassFeatureLabels = {
1: 'DAGGERHEART.Items.DomainCard.foundation', 1: 'DAGGERHEART.ITEMS.DomainCard.foundation',
2: 'DAGGERHEART.Items.DomainCard.specializationTitle', 2: 'DAGGERHEART.ITEMS.DomainCard.specializationTitle',
3: 'DAGGERHEART.Items.DomainCard.masteryTitle' 3: 'DAGGERHEART.ITEMS.DomainCard.masteryTitle'
}; };

View file

@ -1,57 +1,57 @@
export const domains = { export const domains = {
arcana: { arcana: {
id: 'arcana', id: 'arcana',
label: 'DAGGERHEART.General.Domain.arcana.label', label: 'DAGGERHEART.GENERAL.Domain.arcana.label',
src: 'systems/daggerheart/assets/icons/domains/arcana.svg', src: 'systems/daggerheart/assets/icons/domains/arcana.svg',
description: 'DAGGERHEART.General.Domain.Arcana' description: 'DAGGERHEART.GENERAL.Domain.Arcana'
}, },
blade: { blade: {
id: 'blade', id: 'blade',
label: 'DAGGERHEART.General.Domain.blade.label', label: 'DAGGERHEART.GENERAL.Domain.blade.label',
src: 'systems/daggerheart/assets/icons/domains/blade.svg', src: 'systems/daggerheart/assets/icons/domains/blade.svg',
description: 'DAGGERHEART.General.Domain.Blade' description: 'DAGGERHEART.GENERAL.Domain.Blade'
}, },
bone: { bone: {
id: 'bone', id: 'bone',
label: 'DAGGERHEART.General.Domain.bone.label', label: 'DAGGERHEART.GENERAL.Domain.bone.label',
src: 'systems/daggerheart/assets/icons/domains/bone.svg', src: 'systems/daggerheart/assets/icons/domains/bone.svg',
description: 'DAGGERHEART.General.Domain.Bone' description: 'DAGGERHEART.GENERAL.Domain.Bone'
}, },
codex: { codex: {
id: 'codex', id: 'codex',
label: 'DAGGERHEART.General.Domain.codex.label', label: 'DAGGERHEART.GENERAL.Domain.codex.label',
src: 'systems/daggerheart/assets/icons/domains/codex.svg', src: 'systems/daggerheart/assets/icons/domains/codex.svg',
description: 'DAGGERHEART.General.Domain.Codex' description: 'DAGGERHEART.GENERAL.Domain.Codex'
}, },
grace: { grace: {
id: 'grace', id: 'grace',
label: 'DAGGERHEART.General.Domain.grace.label', label: 'DAGGERHEART.GENERAL.Domain.grace.label',
src: 'systems/daggerheart/assets/icons/domains/grace.svg', src: 'systems/daggerheart/assets/icons/domains/grace.svg',
description: 'DAGGERHEART.General.Domain.Grace' description: 'DAGGERHEART.GENERAL.Domain.Grace'
}, },
midnight: { midnight: {
id: 'midnight', id: 'midnight',
label: 'DAGGERHEART.General.Domain.midnight.label', label: 'DAGGERHEART.GENERAL.Domain.midnight.label',
src: 'systems/daggerheart/assets/icons/domains/midnight.svg', src: 'systems/daggerheart/assets/icons/domains/midnight.svg',
description: 'DAGGERHEART.General.Domain.Midnight' description: 'DAGGERHEART.GENERAL.Domain.Midnight'
}, },
sage: { sage: {
id: 'sage', id: 'sage',
label: 'DAGGERHEART.General.Domain.sage.label', label: 'DAGGERHEART.GENERAL.Domain.sage.label',
src: 'systems/daggerheart/assets/icons/domains/sage.svg', src: 'systems/daggerheart/assets/icons/domains/sage.svg',
description: 'DAGGERHEART.General.Domain.Sage' description: 'DAGGERHEART.GENERAL.Domain.Sage'
}, },
splendor: { splendor: {
id: 'splendor', id: 'splendor',
label: 'DAGGERHEART.General.Domain.splendor.label', label: 'DAGGERHEART.GENERAL.Domain.splendor.label',
src: 'systems/daggerheart/assets/icons/domains/splendor.svg', src: 'systems/daggerheart/assets/icons/domains/splendor.svg',
description: 'DAGGERHEART.General.Domain.Splendor' description: 'DAGGERHEART.GENERAL.Domain.Splendor'
}, },
valor: { valor: {
id: 'valor', id: 'valor',
label: 'DAGGERHEART.General.Domain.valor.label', label: 'DAGGERHEART.GENERAL.Domain.valor.label',
src: 'systems/daggerheart/assets/icons/domains/valor.svg', src: 'systems/daggerheart/assets/icons/domains/valor.svg',
description: 'DAGGERHEART.General.Domain.Valor' description: 'DAGGERHEART.GENERAL.Domain.Valor'
} }
}; };
@ -84,17 +84,17 @@ export const classMap = {
export const cardTypes = { export const cardTypes = {
ability: { ability: {
id: 'ability', id: 'ability',
label: 'DAGGERHEART.Config.DomainCardTypes.ability', label: 'DAGGERHEART.CONFIG.DomainCardTypes.ability',
img: '' img: ''
}, },
spell: { spell: {
id: 'spell', id: 'spell',
label: 'DAGGERHEART.Config.DomainCardTypes.spell', label: 'DAGGERHEART.CONFIG.DomainCardTypes.spell',
img: '' img: ''
}, },
grimoire: { grimoire: {
id: 'grimoire', id: 'grimoire',
label: 'DAGGERHEART.Config.DomainCardTypes.grimoire', label: 'DAGGERHEART.CONFIG.DomainCardTypes.grimoire',
img: '' img: ''
} }
}; };

View file

@ -21,38 +21,38 @@ export const parseTypes = {
export const applyLocations = { export const applyLocations = {
attackRoll: { attackRoll: {
id: 'attackRoll', id: 'attackRoll',
name: 'DAGGERHEART.Effects.ApplyLocations.attackRoll.name' name: 'DAGGERHEART.EFFECTS.ApplyLocations.attackRoll.name'
}, },
damageRoll: { damageRoll: {
id: 'damageRoll', id: 'damageRoll',
name: 'DAGGERHEART.Effects.ApplyLocations.damageRoll.name' name: 'DAGGERHEART.EFFECTS.ApplyLocations.damageRoll.name'
} }
}; };
export const effectTypes = { export const effectTypes = {
health: { health: {
id: 'health', id: 'health',
name: 'DAGGERHEART.Effects.Types.HitPoints.name', name: 'DAGGERHEART.EFFECTS.Types.HitPoints.name',
values: [], values: [],
valueType: valueTypes.numberString.id, valueType: valueTypes.numberString.id,
parseType: parseTypes.number.id parseType: parseTypes.number.id
}, },
stress: { stress: {
id: 'stress', id: 'stress',
name: 'DAGGERHEART.Effects.Types.Stress.name', name: 'DAGGERHEART.EFFECTS.Types.Stress.name',
valueType: valueTypes.numberString.id, valueType: valueTypes.numberString.id,
parseType: parseTypes.number.id parseType: parseTypes.number.id
}, },
reach: { reach: {
id: 'reach', id: 'reach',
name: 'DAGGERHEART.Effects.Types.Reach.name', name: 'DAGGERHEART.EFFECTS.Types.Reach.name',
valueType: valueTypes.select.id, valueType: valueTypes.select.id,
parseType: parseTypes.string.id, parseType: parseTypes.string.id,
options: Object.keys(range).map(x => ({ name: range[x].name, value: x })) options: Object.keys(range).map(x => ({ name: range[x].name, value: x }))
}, },
damage: { damage: {
id: 'damage', id: 'damage',
name: 'DAGGERHEART.Effects.Types.Damage.name', name: 'DAGGERHEART.EFFECTS.Types.Damage.name',
valueType: valueTypes.numberString.id, valueType: valueTypes.numberString.id,
parseType: parseTypes.string.id, parseType: parseTypes.string.id,
appliesOn: applyLocations.damageRoll.id, appliesOn: applyLocations.damageRoll.id,

View file

@ -2,43 +2,43 @@ export const range = {
self: { self: {
id: 'self', id: 'self',
short: 's', short: 's',
label: 'DAGGERHEART.Config.Range.self.name', label: 'DAGGERHEART.CONFIG.Range.self.name',
description: 'DAGGERHEART.Config.Range.self.description', description: 'DAGGERHEART.CONFIG.Range.self.description',
distance: 0 distance: 0
}, },
melee: { melee: {
id: 'melee', id: 'melee',
short: 'm', short: 'm',
label: 'DAGGERHEART.Config.Range.melee.name', label: 'DAGGERHEART.CONFIG.Range.melee.name',
description: 'DAGGERHEART.Config.Range.melee.description', description: 'DAGGERHEART.CONFIG.Range.melee.description',
distance: 1 distance: 1
}, },
veryClose: { veryClose: {
id: 'veryClose', id: 'veryClose',
short: 'vc', short: 'vc',
label: 'DAGGERHEART.Config.Range.veryClose.name', label: 'DAGGERHEART.CONFIG.Range.veryClose.name',
description: 'DAGGERHEART.Config.Range.veryClose.description', description: 'DAGGERHEART.CONFIG.Range.veryClose.description',
distance: 3 distance: 3
}, },
close: { close: {
id: 'close', id: 'close',
short: 'c', short: 'c',
label: 'DAGGERHEART.Config.Range.close.name', label: 'DAGGERHEART.CONFIG.Range.close.name',
description: 'DAGGERHEART.Config.Range.close.description', description: 'DAGGERHEART.CONFIG.Range.close.description',
distance: 10 distance: 10
}, },
far: { far: {
id: 'far', id: 'far',
short: 'f', short: 'f',
label: 'DAGGERHEART.Config.Range.far.name', label: 'DAGGERHEART.CONFIG.Range.far.name',
description: 'DAGGERHEART.Config.Range.far.description', description: 'DAGGERHEART.CONFIG.Range.far.description',
distance: 20 distance: 20
}, },
veryFar: { veryFar: {
id: 'veryFar', id: 'veryFar',
short: 'vf', short: 'vf',
label: 'DAGGERHEART.Config.Range.veryFar.name', label: 'DAGGERHEART.CONFIG.Range.veryFar.name',
description: 'DAGGERHEART.Config.Range.veryFar.description', description: 'DAGGERHEART.CONFIG.Range.veryFar.description',
distance: 30 distance: 30
} }
}; };
@ -46,68 +46,68 @@ export const range = {
export const burden = { export const burden = {
oneHanded: { oneHanded: {
value: 'oneHanded', value: 'oneHanded',
label: 'DAGGERHEART.Config.Burden.oneHanded' label: 'DAGGERHEART.CONFIG.Burden.oneHanded'
}, },
twoHanded: { twoHanded: {
value: 'twoHanded', value: 'twoHanded',
label: 'DAGGERHEART.Config.Burden.twoHanded' label: 'DAGGERHEART.CONFIG.Burden.twoHanded'
} }
}; };
export const damageTypes = { export const damageTypes = {
physical: { physical: {
id: 'physical', id: 'physical',
label: 'DAGGERHEART.Config.DamageType.physical.name', label: 'DAGGERHEART.CONFIG.DamageType.physical.name',
abbreviation: 'DAGGERHEART.Config.DamageType.physical.abbreviation' abbreviation: 'DAGGERHEART.CONFIG.DamageType.physical.abbreviation'
}, },
magical: { magical: {
id: 'magical', id: 'magical',
label: 'DAGGERHEART.Config.DamageType.magical.name', label: 'DAGGERHEART.CONFIG.DamageType.magical.name',
abbreviation: 'DAGGERHEART.Config.DamageType.magical.abbreviation' abbreviation: 'DAGGERHEART.CONFIG.DamageType.magical.abbreviation'
} }
}; };
export const healingTypes = { export const healingTypes = {
hitPoints: { hitPoints: {
id: 'hitPoints', id: 'hitPoints',
label: 'DAGGERHEART.Config.HealingType.hitPoints.name', label: 'DAGGERHEART.CONFIG.HealingType.hitPoints.name',
abbreviation: 'DAGGERHEART.Config.HealingType.hitPoints.abbreviation' abbreviation: 'DAGGERHEART.CONFIG.HealingType.hitPoints.abbreviation'
}, },
stress: { stress: {
id: 'stress', id: 'stress',
label: 'DAGGERHEART.Config.HealingType.stress.name', label: 'DAGGERHEART.CONFIG.HealingType.stress.name',
abbreviation: 'DAGGERHEART.Config.HealingType.stress.abbreviation' abbreviation: 'DAGGERHEART.CONFIG.HealingType.stress.abbreviation'
}, },
hope: { hope: {
id: 'hope', id: 'hope',
label: 'DAGGERHEART.Config.HealingType.hope.name', label: 'DAGGERHEART.CONFIG.HealingType.hope.name',
abbreviation: 'DAGGERHEART.Config.HealingType.hope.abbreviation' abbreviation: 'DAGGERHEART.CONFIG.HealingType.hope.abbreviation'
}, },
armorStack: { armorStack: {
id: 'armorStack', id: 'armorStack',
label: 'DAGGERHEART.Config.HealingType.armorStack.name', label: 'DAGGERHEART.CONFIG.HealingType.armorStack.name',
abbreviation: 'DAGGERHEART.Config.HealingType.armorStack.abbreviation' abbreviation: 'DAGGERHEART.CONFIG.HealingType.armorStack.abbreviation'
} }
}; };
export const conditions = { export const conditions = {
vulnerable: { vulnerable: {
id: 'vulnerable', id: 'vulnerable',
name: 'DAGGERHEART.Config.Condition.vulnerable.name', name: 'DAGGERHEART.CONFIG.Condition.vulnerable.name',
icon: 'icons/magic/control/silhouette-fall-slip-prone.webp', icon: 'icons/magic/control/silhouette-fall-slip-prone.webp',
description: 'DAGGERHEART.Config.Condition.vulnerable.description' description: 'DAGGERHEART.CONFIG.Condition.vulnerable.description'
}, },
hidden: { hidden: {
id: 'hidden', id: 'hidden',
name: 'DAGGERHEART.Config.Condition.hidden.name', name: 'DAGGERHEART.CONFIG.Condition.hidden.name',
icon: 'icons/magic/perception/silhouette-stealth-shadow.webp', icon: 'icons/magic/perception/silhouette-stealth-shadow.webp',
description: 'DAGGERHEART.Config.Condition.hidden.description' description: 'DAGGERHEART.CONFIG.Condition.hidden.description'
}, },
restrained: { restrained: {
id: 'restrained', id: 'restrained',
name: 'DAGGERHEART.Config.Condition.restrained.name', name: 'DAGGERHEART.CONFIG.Condition.restrained.name',
icon: 'icons/magic/control/debuff-chains-shackle-movement-red.webp', icon: 'icons/magic/control/debuff-chains-shackle-movement-red.webp',
description: 'DAGGERHEART.Config.Condition.restrained.description' description: 'DAGGERHEART.CONFIG.Condition.restrained.description'
} }
}; };
@ -115,13 +115,13 @@ export const defaultRestOptions = {
shortRest: () => ({ shortRest: () => ({
tendToWounds: { tendToWounds: {
id: 'tendToWounds', id: 'tendToWounds',
name: game.i18n.localize('DAGGERHEART.Applications.Downtime.shortRest.tendToWounds.name'), name: game.i18n.localize('DAGGERHEART.APPLICATIONS.Downtime.shortRest.tendToWounds.name'),
img: 'icons/magic/life/cross-worn-green.webp', img: 'icons/magic/life/cross-worn-green.webp',
description: game.i18n.localize('DAGGERHEART.Applications.Downtime.shortRest.tendToWounds.description'), description: game.i18n.localize('DAGGERHEART.APPLICATIONS.Downtime.shortRest.tendToWounds.description'),
actions: [ actions: [
{ {
type: 'healing', type: 'healing',
name: game.i18n.localize('DAGGERHEART.Applications.Downtime.shortRest.tendToWounds.name'), name: game.i18n.localize('DAGGERHEART.APPLICATIONS.Downtime.shortRest.tendToWounds.name'),
img: 'icons/magic/life/cross-worn-green.webp', img: 'icons/magic/life/cross-worn-green.webp',
actionType: 'action', actionType: 'action',
healing: { healing: {
@ -138,13 +138,13 @@ export const defaultRestOptions = {
}, },
clearStress: { clearStress: {
id: 'clearStress', id: 'clearStress',
name: game.i18n.localize('DAGGERHEART.Applications.Downtime.shortRest.clearStress.name'), name: game.i18n.localize('DAGGERHEART.APPLICATIONS.Downtime.shortRest.clearStress.name'),
img: 'icons/magic/perception/eye-ringed-green.webp', img: 'icons/magic/perception/eye-ringed-green.webp',
description: game.i18n.localize('DAGGERHEART.Applications.Downtime.shortRest.clearStress.description'), description: game.i18n.localize('DAGGERHEART.APPLICATIONS.Downtime.shortRest.clearStress.description'),
actions: [ actions: [
{ {
type: 'healing', type: 'healing',
name: game.i18n.localize('DAGGERHEART.Applications.Downtime.shortRest.clearStress.name'), name: game.i18n.localize('DAGGERHEART.APPLICATIONS.Downtime.shortRest.clearStress.name'),
img: 'icons/magic/perception/eye-ringed-green.webp', img: 'icons/magic/perception/eye-ringed-green.webp',
actionType: 'action', actionType: 'action',
healing: { healing: {
@ -161,53 +161,53 @@ export const defaultRestOptions = {
}, },
repairArmor: { repairArmor: {
id: 'repairArmor', id: 'repairArmor',
name: game.i18n.localize('DAGGERHEART.Applications.Downtime.shortRest.repairArmor.name'), name: game.i18n.localize('DAGGERHEART.APPLICATIONS.Downtime.shortRest.repairArmor.name'),
img: 'icons/skills/trades/smithing-anvil-silver-red.webp', img: 'icons/skills/trades/smithing-anvil-silver-red.webp',
description: game.i18n.localize('DAGGERHEART.Applications.Downtime.shortRest.repairArmor.description'), description: game.i18n.localize('DAGGERHEART.APPLICATIONS.Downtime.shortRest.repairArmor.description'),
actions: [] actions: []
}, },
prepare: { prepare: {
id: 'prepare', id: 'prepare',
name: game.i18n.localize('DAGGERHEART.Applications.Downtime.shortRest.prepare.name'), name: game.i18n.localize('DAGGERHEART.APPLICATIONS.Downtime.shortRest.prepare.name'),
img: 'icons/skills/trades/academics-merchant-scribe.webp', img: 'icons/skills/trades/academics-merchant-scribe.webp',
description: game.i18n.localize('DAGGERHEART.Applications.Downtime.shortRest.prepare.description'), description: game.i18n.localize('DAGGERHEART.APPLICATIONS.Downtime.shortRest.prepare.description'),
actions: [] actions: []
} }
}), }),
longRest: () => ({ longRest: () => ({
tendToWounds: { tendToWounds: {
id: 'tendToWounds', id: 'tendToWounds',
name: game.i18n.localize('DAGGERHEART.Applications.Downtime.longRest.tendToWounds.name'), name: game.i18n.localize('DAGGERHEART.APPLICATIONS.Downtime.longRest.tendToWounds.name'),
img: 'icons/magic/life/cross-worn-green.webp', img: 'icons/magic/life/cross-worn-green.webp',
description: game.i18n.localize('DAGGERHEART.Applications.Downtime.longRest.tendToWounds.description'), description: game.i18n.localize('DAGGERHEART.APPLICATIONS.Downtime.longRest.tendToWounds.description'),
actions: [] actions: []
}, },
clearStress: { clearStress: {
id: 'clearStress', id: 'clearStress',
name: game.i18n.localize('DAGGERHEART.Applications.Downtime.longRest.clearStress.name'), name: game.i18n.localize('DAGGERHEART.APPLICATIONS.Downtime.longRest.clearStress.name'),
img: 'icons/magic/perception/eye-ringed-green.webp', img: 'icons/magic/perception/eye-ringed-green.webp',
description: game.i18n.localize('DAGGERHEART.Applications.Downtime.longRest.clearStress.description'), description: game.i18n.localize('DAGGERHEART.APPLICATIONS.Downtime.longRest.clearStress.description'),
actions: [] actions: []
}, },
repairArmor: { repairArmor: {
id: 'repairArmor', id: 'repairArmor',
name: game.i18n.localize('DAGGERHEART.Applications.Downtime.longRest.repairArmor.name'), name: game.i18n.localize('DAGGERHEART.APPLICATIONS.Downtime.longRest.repairArmor.name'),
img: 'icons/skills/trades/smithing-anvil-silver-red.webp', img: 'icons/skills/trades/smithing-anvil-silver-red.webp',
description: game.i18n.localize('DAGGERHEART.Applications.Downtime.longRest.repairArmor.description'), description: game.i18n.localize('DAGGERHEART.APPLICATIONS.Downtime.longRest.repairArmor.description'),
actions: [] actions: []
}, },
prepare: { prepare: {
id: 'prepare', id: 'prepare',
name: game.i18n.localize('DAGGERHEART.Applications.Downtime.longRest.prepare.name'), name: game.i18n.localize('DAGGERHEART.APPLICATIONS.Downtime.longRest.prepare.name'),
img: 'icons/skills/trades/academics-merchant-scribe.webp', img: 'icons/skills/trades/academics-merchant-scribe.webp',
description: game.i18n.localize('DAGGERHEART.Applications.Downtime.longRest.prepare.description'), description: game.i18n.localize('DAGGERHEART.APPLICATIONS.Downtime.longRest.prepare.description'),
actions: [] actions: []
}, },
workOnAProject: { workOnAProject: {
id: 'workOnAProject', id: 'workOnAProject',
name: game.i18n.localize('DAGGERHEART.Applications.Downtime.longRest.workOnAProject.name'), name: game.i18n.localize('DAGGERHEART.APPLICATIONS.Downtime.longRest.workOnAProject.name'),
img: 'icons/skills/social/thumbsup-approval-like.webp', img: 'icons/skills/social/thumbsup-approval-like.webp',
description: game.i18n.localize('DAGGERHEART.Applications.Downtime.longRest.workOnAProject.description'), description: game.i18n.localize('DAGGERHEART.APPLICATIONS.Downtime.longRest.workOnAProject.description'),
actions: [] actions: []
} }
}), }),
@ -216,51 +216,51 @@ export const defaultRestOptions = {
name: '', name: '',
img: 'icons/skills/trades/academics-investigation-puzzles.webp', img: 'icons/skills/trades/academics-investigation-puzzles.webp',
description: '', description: '',
namePlaceholder: 'DAGGERHEART.Applications.Downtime.custom.namePlaceholder', namePlaceholder: 'DAGGERHEART.APPLICATIONS.Downtime.custom.namePlaceholder',
placeholder: 'DAGGERHEART.Applications.Downtime.custom.placeholder' placeholder: 'DAGGERHEART.APPLICATIONS.Downtime.custom.placeholder'
} }
}; };
export const deathMoves = { export const deathMoves = {
avoidDeath: { avoidDeath: {
id: 'avoidDeath', id: 'avoidDeath',
name: 'DAGGERHEART.Config.DeathMoves.avoidDeath.name', name: 'DAGGERHEART.CONFIG.DeathMoves.avoidDeath.name',
img: 'icons/magic/time/hourglass-yellow-green.webp', img: 'icons/magic/time/hourglass-yellow-green.webp',
description: 'DAGGERHEART.Config.DeathMoves.avoidDeath.description' description: 'DAGGERHEART.CONFIG.DeathMoves.avoidDeath.description'
}, },
riskItAll: { riskItAll: {
id: 'riskItAll', id: 'riskItAll',
name: 'DAGGERHEART.Config.DeathMoves.riskItAll.name', name: 'DAGGERHEART.CONFIG.DeathMoves.riskItAll.name',
img: 'icons/sundries/gaming/dice-pair-white-green.webp', img: 'icons/sundries/gaming/dice-pair-white-green.webp',
description: 'DAGGERHEART.Config.DeathMoves.riskItAll.description' description: 'DAGGERHEART.CONFIG.DeathMoves.riskItAll.description'
}, },
blazeOfGlory: { blazeOfGlory: {
id: 'blazeOfGlory', id: 'blazeOfGlory',
name: 'DAGGERHEART.Config.DeathMoves.blazeOfGlory.name', name: 'DAGGERHEART.CONFIG.DeathMoves.blazeOfGlory.name',
img: 'icons/magic/life/heart-cross-strong-flame-purple-orange.webp', img: 'icons/magic/life/heart-cross-strong-flame-purple-orange.webp',
description: 'DAGGERHEART.Config.DeathMoves.blazeOfGlory.description' description: 'DAGGERHEART.CONFIG.DeathMoves.blazeOfGlory.description'
} }
}; };
export const tiers = { export const tiers = {
tier1: { tier1: {
id: 'tier1', id: 'tier1',
label: 'DAGGERHEART.General.Tiers.tier1', label: 'DAGGERHEART.GENERAL.Tiers.tier1',
value: 1 value: 1
}, },
tier2: { tier2: {
id: 'tier2', id: 'tier2',
label: 'DAGGERHEART.General.Tiers.tier2', label: 'DAGGERHEART.GENERAL.Tiers.tier2',
value: 2 value: 2
}, },
tier3: { tier3: {
id: 'tier3', id: 'tier3',
label: 'DAGGERHEART.General.Tiers.tier3', label: 'DAGGERHEART.GENERAL.Tiers.tier3',
value: 3 value: 3
}, },
tier4: { tier4: {
id: 'tier4', id: 'tier4',
label: 'DAGGERHEART.General.Tiers.tier4', label: 'DAGGERHEART.GENERAL.Tiers.tier4',
value: 4 value: 4
} }
}; };
@ -331,15 +331,15 @@ export const getDiceSoNicePresets = () => {
export const refreshTypes = { export const refreshTypes = {
session: { session: {
id: 'session', id: 'session',
label: 'DAGGERHEART.General.RefreshType.session' label: 'DAGGERHEART.GENERAL.RefreshType.session'
}, },
shortRest: { shortRest: {
id: 'shortRest', id: 'shortRest',
label: 'DAGGERHEART.General.RefreshType.shortrest' label: 'DAGGERHEART.GENERAL.RefreshType.shortrest'
}, },
longRest: { longRest: {
id: 'longRest', id: 'longRest',
label: 'DAGGERHEART.General.RefreshType.longrest' label: 'DAGGERHEART.GENERAL.RefreshType.longrest'
} }
}; };
@ -351,7 +351,7 @@ export const abilityCosts = {
}, },
stress: { stress: {
id: 'stress', id: 'stress',
label: 'DAGGERHEART.Config.HealingType.Stress.Name', label: 'DAGGERHEART.CONFIG.HealingType.Stress.Name',
group: 'TYPES.Actor.character' group: 'TYPES.Actor.character'
}, },
armor: { armor: {
@ -361,7 +361,7 @@ export const abilityCosts = {
}, },
hp: { hp: {
id: 'hp', id: 'hp',
label: 'DAGGERHEART.Config.HealingType.HitPoints.Name', label: 'DAGGERHEART.CONFIG.HealingType.HitPoints.Name',
group: 'TYPES.Actor.character' group: 'TYPES.Actor.character'
}, },
prayer: { prayer: {
@ -399,38 +399,38 @@ export const abilityCosts = {
export const countdownTypes = { export const countdownTypes = {
spotlight: { spotlight: {
id: 'spotlight', id: 'spotlight',
label: 'DAGGERHEART.Config.CountdownTypes.Spotlight' label: 'DAGGERHEART.CONFIG.CountdownTypes.Spotlight'
}, },
characterAttack: { characterAttack: {
id: 'characterAttack', id: 'characterAttack',
label: 'DAGGERHEART.Config.CountdownTypes.CharacterAttack' label: 'DAGGERHEART.CONFIG.CountdownTypes.CharacterAttack'
}, },
custom: { custom: {
id: 'custom', id: 'custom',
label: 'DAGGERHEART.Config.CountdownTypes.Custom' label: 'DAGGERHEART.CONFIG.CountdownTypes.Custom'
} }
}; };
export const rollTypes = { export const rollTypes = {
weapon: { weapon: {
id: 'weapon', id: 'weapon',
label: 'DAGGERHEART.Config.RollTypes.weapon.name' label: 'DAGGERHEART.CONFIG.RollTypes.weapon.name'
}, },
spellcast: { spellcast: {
id: 'spellcast', id: 'spellcast',
label: 'DAGGERHEART.Config.RollTypes.spellcast.name' label: 'DAGGERHEART.CONFIG.RollTypes.spellcast.name'
}, },
ability: { ability: {
id: 'ability', id: 'ability',
label: 'DAGGERHEART.Config.RollTypes.ability.name' label: 'DAGGERHEART.CONFIG.RollTypes.ability.name'
}, },
diceSet: { diceSet: {
id: 'diceSet', id: 'diceSet',
label: 'DAGGERHEART.Config.RollTypes.diceSet.name' label: 'DAGGERHEART.CONFIG.RollTypes.diceSet.name'
} }
}; };
export const fearDisplay = { export const fearDisplay = {
token: { value: 'token', label: 'DAGGERHEART.Settings.Appearance.fearDisplay.token' }, token: { value: 'token', label: 'DAGGERHEART.SETTINGS.Appearance.fearDisplay.token' },
bar: { value: 'bar', label: 'DAGGERHEART.Settings.Appearance.fearDisplay.bar' }, bar: { value: 'bar', label: 'DAGGERHEART.SETTINGS.Appearance.fearDisplay.bar' },
hide: { value: 'hide', label: 'DAGGERHEART.Settings.Appearance.fearDisplay.hide' } hide: { value: 'hide', label: 'DAGGERHEART.SETTINGS.Appearance.fearDisplay.hide' }
}; };

View file

@ -1,11 +1,11 @@
export const armorFeatures = { export const armorFeatures = {
burning: { burning: {
label: 'DAGGERHEART.Config.ArmorFeature.burning.name', label: 'DAGGERHEART.CONFIG.ArmorFeature.burning.name',
description: 'DAGGERHEART.Config.ArmorFeature.burning.description' description: 'DAGGERHEART.CONFIG.ArmorFeature.burning.description'
}, },
channeling: { channeling: {
label: 'DAGGERHEART.Config.ArmorFeature.channeling.name', label: 'DAGGERHEART.CONFIG.ArmorFeature.channeling.name',
description: 'DAGGERHEART.Config.ArmorFeature.channeling.description', description: 'DAGGERHEART.CONFIG.ArmorFeature.channeling.description',
effects: [ effects: [
{ {
changes: [ changes: [
@ -19,8 +19,8 @@ export const armorFeatures = {
] ]
}, },
difficult: { difficult: {
label: 'DAGGERHEART.Config.ArmorFeature.difficult.name', label: 'DAGGERHEART.CONFIG.ArmorFeature.difficult.name',
description: 'DAGGERHEART.Config.ArmorFeature.difficult.description', description: 'DAGGERHEART.CONFIG.ArmorFeature.difficult.description',
effects: [ effects: [
{ {
changes: [ changes: [
@ -64,8 +64,8 @@ export const armorFeatures = {
] ]
}, },
flexible: { flexible: {
label: 'DAGGERHEART.Config.ArmorFeature.flexible.name', label: 'DAGGERHEART.CONFIG.ArmorFeature.flexible.name',
description: 'DAGGERHEART.Config.ArmorFeature.flexible.description', description: 'DAGGERHEART.CONFIG.ArmorFeature.flexible.description',
effects: [ effects: [
{ {
changes: [ changes: [
@ -79,12 +79,12 @@ export const armorFeatures = {
] ]
}, },
fortified: { fortified: {
label: 'DAGGERHEART.Config.ArmorFeature.fortified.name', label: 'DAGGERHEART.CONFIG.ArmorFeature.fortified.name',
description: 'DAGGERHEART.Config.ArmorFeature.fortified.description' description: 'DAGGERHEART.CONFIG.ArmorFeature.fortified.description'
}, },
gilded: { gilded: {
label: 'DAGGERHEART.Config.ArmorFeature.gilded.name', label: 'DAGGERHEART.CONFIG.ArmorFeature.gilded.name',
description: 'DAGGERHEART.Config.ArmorFeature.gilded.description', description: 'DAGGERHEART.CONFIG.ArmorFeature.gilded.description',
effects: [ effects: [
{ {
changes: [ changes: [
@ -98,8 +98,8 @@ export const armorFeatures = {
] ]
}, },
heavy: { heavy: {
label: 'DAGGERHEART.Config.ArmorFeature.heavy.name', label: 'DAGGERHEART.CONFIG.ArmorFeature.heavy.name',
description: 'DAGGERHEART.Config.ArmorFeature.heavy.description', description: 'DAGGERHEART.CONFIG.ArmorFeature.heavy.description',
effects: [ effects: [
{ {
changes: [ changes: [
@ -113,56 +113,56 @@ export const armorFeatures = {
] ]
}, },
hopeful: { hopeful: {
label: 'DAGGERHEART.Config.ArmorFeature.hopeful.name', label: 'DAGGERHEART.CONFIG.ArmorFeature.hopeful.name',
description: 'DAGGERHEART.Config.ArmorFeature.hopeful.description' description: 'DAGGERHEART.CONFIG.ArmorFeature.hopeful.description'
}, },
impenetrable: { impenetrable: {
label: 'DAGGERHEART.Config.ArmorFeature.impenetrable.name', label: 'DAGGERHEART.CONFIG.ArmorFeature.impenetrable.name',
description: 'DAGGERHEART.Config.ArmorFeature.impenetrable.description' description: 'DAGGERHEART.CONFIG.ArmorFeature.impenetrable.description'
}, },
magic: { magic: {
label: 'DAGGERHEART.Config.ArmorFeature.magic.name', label: 'DAGGERHEART.CONFIG.ArmorFeature.magic.name',
description: 'DAGGERHEART.Config.ArmorFeature.magic.description' description: 'DAGGERHEART.CONFIG.ArmorFeature.magic.description'
}, },
painful: { painful: {
label: 'DAGGERHEART.Config.ArmorFeature.painful.name', label: 'DAGGERHEART.CONFIG.ArmorFeature.painful.name',
description: 'DAGGERHEART.Config.ArmorFeature.painful.description' description: 'DAGGERHEART.CONFIG.ArmorFeature.painful.description'
}, },
physical: { physical: {
label: 'DAGGERHEART.Config.ArmorFeature.physical.name', label: 'DAGGERHEART.CONFIG.ArmorFeature.physical.name',
description: 'DAGGERHEART.Config.ArmorFeature.physical.description' description: 'DAGGERHEART.CONFIG.ArmorFeature.physical.description'
}, },
quiet: { quiet: {
label: 'DAGGERHEART.Config.ArmorFeature.quiet.name', label: 'DAGGERHEART.CONFIG.ArmorFeature.quiet.name',
description: 'DAGGERHEART.Config.ArmorFeature.quiet.description' description: 'DAGGERHEART.CONFIG.ArmorFeature.quiet.description'
}, },
reinforced: { reinforced: {
label: 'DAGGERHEART.Config.ArmorFeature.reinforced.name', label: 'DAGGERHEART.CONFIG.ArmorFeature.reinforced.name',
description: 'DAGGERHEART.Config.ArmorFeature.reinforced.description' description: 'DAGGERHEART.CONFIG.ArmorFeature.reinforced.description'
}, },
resilient: { resilient: {
label: 'DAGGERHEART.Config.ArmorFeature.resilient.name', label: 'DAGGERHEART.CONFIG.ArmorFeature.resilient.name',
description: 'DAGGERHEART.Config.ArmorFeature.resilient.description' description: 'DAGGERHEART.CONFIG.ArmorFeature.resilient.description'
}, },
sharp: { sharp: {
label: 'DAGGERHEART.Config.ArmorFeature.sharp.name', label: 'DAGGERHEART.CONFIG.ArmorFeature.sharp.name',
description: 'DAGGERHEART.Config.ArmorFeature.sharp.description' description: 'DAGGERHEART.CONFIG.ArmorFeature.sharp.description'
}, },
shifting: { shifting: {
label: 'DAGGERHEART.Config.ArmorFeature.shifting.name', label: 'DAGGERHEART.CONFIG.ArmorFeature.shifting.name',
description: 'DAGGERHEART.Config.ArmorFeature.shifting.description' description: 'DAGGERHEART.CONFIG.ArmorFeature.shifting.description'
}, },
timeslowing: { timeslowing: {
label: 'DAGGERHEART.Config.ArmorFeature.timeslowing.name', label: 'DAGGERHEART.CONFIG.ArmorFeature.timeslowing.name',
description: 'DAGGERHEART.Config.ArmorFeature.timeslowing.description' description: 'DAGGERHEART.CONFIG.ArmorFeature.timeslowing.description'
}, },
truthseeking: { truthseeking: {
label: 'DAGGERHEART.Config.ArmorFeature.truthseeking.name', label: 'DAGGERHEART.CONFIG.ArmorFeature.truthseeking.name',
description: 'DAGGERHEART.Config.ArmorFeature.truthseeking.description' description: 'DAGGERHEART.CONFIG.ArmorFeature.truthseeking.description'
}, },
veryheavy: { veryheavy: {
label: 'DAGGERHEART.Config.ArmorFeature.veryHeavy.name', label: 'DAGGERHEART.CONFIG.ArmorFeature.veryHeavy.name',
description: 'DAGGERHEART.Config.ArmorFeature.veryHeavy.description', description: 'DAGGERHEART.CONFIG.ArmorFeature.veryHeavy.description',
effects: [ effects: [
{ {
changes: [ changes: [
@ -181,15 +181,15 @@ export const armorFeatures = {
] ]
}, },
warded: { warded: {
label: 'DAGGERHEART.Config.ArmorFeature.warded.name', label: 'DAGGERHEART.CONFIG.ArmorFeature.warded.name',
description: 'DAGGERHEART.Config.ArmorFeature.warded.description' description: 'DAGGERHEART.CONFIG.ArmorFeature.warded.description'
} }
}; };
export const weaponFeatures = { export const weaponFeatures = {
barrier: { barrier: {
label: 'DAGGERHEART.Config.WeaponFeature.barrier.name', label: 'DAGGERHEART.CONFIG.WeaponFeature.barrier.name',
description: 'DAGGERHEART.Config.WeaponFeature.barrier.description', description: 'DAGGERHEART.CONFIG.WeaponFeature.barrier.description',
effects: [ effects: [
{ {
changes: [ changes: [
@ -212,8 +212,8 @@ export const weaponFeatures = {
] ]
}, },
bonded: { bonded: {
label: 'DAGGERHEART.Config.WeaponFeature.bonded.name', label: 'DAGGERHEART.CONFIG.WeaponFeature.bonded.name',
description: 'DAGGERHEART.Config.WeaponFeature.bonded.description', description: 'DAGGERHEART.CONFIG.WeaponFeature.bonded.description',
effects: [ effects: [
{ {
changes: [ changes: [
@ -227,12 +227,12 @@ export const weaponFeatures = {
] ]
}, },
bouncing: { bouncing: {
label: 'DAGGERHEART.Config.WeaponFeature.bouncing.name', label: 'DAGGERHEART.CONFIG.WeaponFeature.bouncing.name',
description: 'DAGGERHEART.Config.WeaponFeature.bouncing.description' description: 'DAGGERHEART.CONFIG.WeaponFeature.bouncing.description'
}, },
brave: { brave: {
label: 'DAGGERHEART.Config.WeaponFeature.brave.name', label: 'DAGGERHEART.CONFIG.WeaponFeature.brave.name',
description: 'DAGGERHEART.Config.WeaponFeature.brave.description', description: 'DAGGERHEART.CONFIG.WeaponFeature.brave.description',
effects: [ effects: [
{ {
changes: [ changes: [
@ -255,16 +255,16 @@ export const weaponFeatures = {
] ]
}, },
brutal: { brutal: {
label: 'DAGGERHEART.Config.WeaponFeature.brutal.name', label: 'DAGGERHEART.CONFIG.WeaponFeature.brutal.name',
description: 'DAGGERHEART.Config.WeaponFeature.brutal.description' description: 'DAGGERHEART.CONFIG.WeaponFeature.brutal.description'
}, },
charged: { charged: {
label: 'DAGGERHEART.Config.WeaponFeature.charged.name', label: 'DAGGERHEART.CONFIG.WeaponFeature.charged.name',
description: 'DAGGERHEART.Config.WeaponFeature.charged.description', description: 'DAGGERHEART.CONFIG.WeaponFeature.charged.description',
actions: [ actions: [
{ {
type: 'effect', type: 'effect',
name: 'DAGGERHEART.Config.WeaponFeature.concussive.name', name: 'DAGGERHEART.CONFIG.WeaponFeature.concussive.name',
img: 'icons/skills/melee/shield-damaged-broken-brown.webp', img: 'icons/skills/melee/shield-damaged-broken-brown.webp',
actionType: 'action', actionType: 'action',
cost: [ cost: [
@ -278,12 +278,12 @@ export const weaponFeatures = {
] ]
}, },
concussive: { concussive: {
label: 'DAGGERHEART.Config.WeaponFeature.concussive.name', label: 'DAGGERHEART.CONFIG.WeaponFeature.concussive.name',
description: 'DAGGERHEART.Config.WeaponFeature.concussive.description', description: 'DAGGERHEART.CONFIG.WeaponFeature.concussive.description',
actions: [ actions: [
{ {
type: 'resource', type: 'resource',
name: 'DAGGERHEART.Config.WeaponFeature.concussive.name', name: 'DAGGERHEART.CONFIG.WeaponFeature.concussive.name',
img: 'icons/skills/melee/shield-damaged-broken-brown.webp', img: 'icons/skills/melee/shield-damaged-broken-brown.webp',
actionType: 'action', actionType: 'action',
cost: [ cost: [
@ -296,8 +296,8 @@ export const weaponFeatures = {
] ]
}, },
cumbersome: { cumbersome: {
label: 'DAGGERHEART.Config.WeaponFeature.cumbersome.name', label: 'DAGGERHEART.CONFIG.WeaponFeature.cumbersome.name',
description: 'DAGGERHEART.Config.WeaponFeature.cumbersome.description', description: 'DAGGERHEART.CONFIG.WeaponFeature.cumbersome.description',
effects: [ effects: [
{ {
changes: [ changes: [
@ -311,15 +311,15 @@ export const weaponFeatures = {
] ]
}, },
deadly: { deadly: {
label: 'DAGGERHEART.Config.WeaponFeature.deadly.name', label: 'DAGGERHEART.CONFIG.WeaponFeature.deadly.name',
description: 'DAGGERHEART.Config.WeaponFeature.deadly.description' description: 'DAGGERHEART.CONFIG.WeaponFeature.deadly.description'
}, },
deflecting: { deflecting: {
label: 'DAGGERHEART.Config.WeaponFeature.deflecting.name', label: 'DAGGERHEART.CONFIG.WeaponFeature.deflecting.name',
description: 'DAGGERHEART.Config.WeaponFeature.deflecting.description' description: 'DAGGERHEART.CONFIG.WeaponFeature.deflecting.description'
// actions: [{ // actions: [{
// type: 'effect', // type: 'effect',
// name: 'DAGGERHEART.Config.WeaponFeature.Deflecting.Name', // name: 'DAGGERHEART.CONFIG.WeaponFeature.Deflecting.Name',
// img: 'icons/skills/melee/strike-flail-destructive-yellow.webp', // img: 'icons/skills/melee/strike-flail-destructive-yellow.webp',
// actionType: 'reaction', // actionType: 'reaction',
// cost: [{ // cost: [{
@ -329,8 +329,8 @@ export const weaponFeatures = {
// }], // }],
}, },
destructive: { destructive: {
label: 'DAGGERHEART.Config.WeaponFeature.destructive.name', label: 'DAGGERHEART.CONFIG.WeaponFeature.destructive.name',
description: 'DAGGERHEART.Config.WeaponFeature.destructive.description', description: 'DAGGERHEART.CONFIG.WeaponFeature.destructive.description',
effects: [ effects: [
{ {
changes: [ changes: [
@ -344,12 +344,12 @@ export const weaponFeatures = {
] ]
}, },
devastating: { devastating: {
label: 'DAGGERHEART.Config.WeaponFeature.devastating.name', label: 'DAGGERHEART.CONFIG.WeaponFeature.devastating.name',
description: 'DAGGERHEART.Config.WeaponFeature.devastating.description', description: 'DAGGERHEART.CONFIG.WeaponFeature.devastating.description',
actions: [ actions: [
{ {
type: 'resource', type: 'resource',
name: 'DAGGERHEART.Config.WeaponFeature.devastating.name', name: 'DAGGERHEART.CONFIG.WeaponFeature.devastating.name',
img: 'icons/skills/melee/strike-flail-destructive-yellow.webp', img: 'icons/skills/melee/strike-flail-destructive-yellow.webp',
actionType: 'action', actionType: 'action',
cost: [ cost: [
@ -362,8 +362,8 @@ export const weaponFeatures = {
] ]
}, },
doubleduty: { doubleduty: {
label: 'DAGGERHEART.Config.WeaponFeature.doubleDuty.name', label: 'DAGGERHEART.CONFIG.WeaponFeature.doubleDuty.name',
description: 'DAGGERHEART.Config.WeaponFeature.doubleDuty.description', description: 'DAGGERHEART.CONFIG.WeaponFeature.doubleDuty.description',
effects: [ effects: [
{ {
changes: [ changes: [
@ -377,24 +377,24 @@ export const weaponFeatures = {
] ]
}, },
doubledup: { doubledup: {
label: 'DAGGERHEART.Config.WeaponFeature.doubledUp.name', label: 'DAGGERHEART.CONFIG.WeaponFeature.doubledUp.name',
description: 'DAGGERHEART.Config.WeaponFeature.doubledUp.description' description: 'DAGGERHEART.CONFIG.WeaponFeature.doubledUp.description'
}, },
dueling: { dueling: {
label: 'DAGGERHEART.Config.WeaponFeature.dueling.name', label: 'DAGGERHEART.CONFIG.WeaponFeature.dueling.name',
description: 'DAGGERHEART.Config.WeaponFeature.dueling.description' description: 'DAGGERHEART.CONFIG.WeaponFeature.dueling.description'
}, },
eruptive: { eruptive: {
label: 'DAGGERHEART.Config.WeaponFeature.eruptive.name', label: 'DAGGERHEART.CONFIG.WeaponFeature.eruptive.name',
description: 'DAGGERHEART.Config.WeaponFeature.eruptive.description' description: 'DAGGERHEART.CONFIG.WeaponFeature.eruptive.description'
}, },
grappling: { grappling: {
label: 'DAGGERHEART.Config.WeaponFeature.grappling.name', label: 'DAGGERHEART.CONFIG.WeaponFeature.grappling.name',
description: 'DAGGERHEART.Config.WeaponFeature.grappling.description', description: 'DAGGERHEART.CONFIG.WeaponFeature.grappling.description',
actions: [ actions: [
{ {
type: 'resource', type: 'resource',
name: 'DAGGERHEART.Config.WeaponFeature.grappling.name', name: 'DAGGERHEART.CONFIG.WeaponFeature.grappling.name',
img: 'icons/magic/control/debuff-chains-ropes-net-white.webp', img: 'icons/magic/control/debuff-chains-ropes-net-white.webp',
actionType: 'action', actionType: 'action',
cost: [ cost: [
@ -407,16 +407,16 @@ export const weaponFeatures = {
] ]
}, },
greedy: { greedy: {
label: 'DAGGERHEART.Config.WeaponFeature.greedy.name', label: 'DAGGERHEART.CONFIG.WeaponFeature.greedy.name',
description: 'DAGGERHEART.Config.WeaponFeature.greedy.description' description: 'DAGGERHEART.CONFIG.WeaponFeature.greedy.description'
}, },
healing: { healing: {
label: 'DAGGERHEART.Config.WeaponFeature.healing.name', label: 'DAGGERHEART.CONFIG.WeaponFeature.healing.name',
description: 'DAGGERHEART.Config.WeaponFeature.healing.description', description: 'DAGGERHEART.CONFIG.WeaponFeature.healing.description',
actions: [ actions: [
{ {
type: 'healing', type: 'healing',
name: 'DAGGERHEART.Config.WeaponFeature.healing.name', name: 'DAGGERHEART.CONFIG.WeaponFeature.healing.name',
img: 'icons/magic/life/cross-beam-green.webp', img: 'icons/magic/life/cross-beam-green.webp',
actionType: 'action', actionType: 'action',
healing: { healing: {
@ -432,8 +432,8 @@ export const weaponFeatures = {
] ]
}, },
heavy: { heavy: {
label: 'DAGGERHEART.Config.WeaponFeature.heavy.name', label: 'DAGGERHEART.CONFIG.WeaponFeature.heavy.name',
description: 'DAGGERHEART.Config.WeaponFeature.heavy.description', description: 'DAGGERHEART.CONFIG.WeaponFeature.heavy.description',
effects: [ effects: [
{ {
changes: [ changes: [
@ -447,36 +447,36 @@ export const weaponFeatures = {
] ]
}, },
hooked: { hooked: {
label: 'DAGGERHEART.Config.WeaponFeature.hooked.name', label: 'DAGGERHEART.CONFIG.WeaponFeature.hooked.name',
description: 'DAGGERHEART.Config.WeaponFeature.hooked.description' description: 'DAGGERHEART.CONFIG.WeaponFeature.hooked.description'
}, },
hot: { hot: {
label: 'DAGGERHEART.Config.WeaponFeature.hot.name', label: 'DAGGERHEART.CONFIG.WeaponFeature.hot.name',
description: 'DAGGERHEART.Config.WeaponFeature.hot.description' description: 'DAGGERHEART.CONFIG.WeaponFeature.hot.description'
}, },
invigorating: { invigorating: {
label: 'DAGGERHEART.Config.WeaponFeature.invigorating.name', label: 'DAGGERHEART.CONFIG.WeaponFeature.invigorating.name',
description: 'DAGGERHEART.Config.WeaponFeature.invigorating.description' description: 'DAGGERHEART.CONFIG.WeaponFeature.invigorating.description'
}, },
lifestealing: { lifestealing: {
label: 'DAGGERHEART.Config.WeaponFeature.lifestealing.name', label: 'DAGGERHEART.CONFIG.WeaponFeature.lifestealing.name',
description: 'DAGGERHEART.Config.WeaponFeature.lifestealing.description' description: 'DAGGERHEART.CONFIG.WeaponFeature.lifestealing.description'
}, },
lockedon: { lockedon: {
label: 'DAGGERHEART.Config.WeaponFeature.lockedOn.name', label: 'DAGGERHEART.CONFIG.WeaponFeature.lockedOn.name',
description: 'DAGGERHEART.Config.WeaponFeature.lockedOn.description' description: 'DAGGERHEART.CONFIG.WeaponFeature.lockedOn.description'
}, },
long: { long: {
label: 'DAGGERHEART.Config.WeaponFeature.long.name', label: 'DAGGERHEART.CONFIG.WeaponFeature.long.name',
description: 'DAGGERHEART.Config.WeaponFeature.long.description' description: 'DAGGERHEART.CONFIG.WeaponFeature.long.description'
}, },
lucky: { lucky: {
label: 'DAGGERHEART.Config.WeaponFeature.lucky.name', label: 'DAGGERHEART.CONFIG.WeaponFeature.lucky.name',
description: 'DAGGERHEART.Config.WeaponFeature.lucky.description', description: 'DAGGERHEART.CONFIG.WeaponFeature.lucky.description',
actions: [ actions: [
{ {
type: 'resource', type: 'resource',
name: 'DAGGERHEART.Config.WeaponFeature.lucky.name', name: 'DAGGERHEART.CONFIG.WeaponFeature.lucky.name',
img: 'icons/magic/control/buff-luck-fortune-green.webp', img: 'icons/magic/control/buff-luck-fortune-green.webp',
actionType: 'action', actionType: 'action',
cost: [ cost: [
@ -489,8 +489,8 @@ export const weaponFeatures = {
] ]
}, },
massive: { massive: {
label: 'DAGGERHEART.Config.WeaponFeature.massive.name', label: 'DAGGERHEART.CONFIG.WeaponFeature.massive.name',
description: 'DAGGERHEART.Config.WeaponFeature.massive.description', description: 'DAGGERHEART.CONFIG.WeaponFeature.massive.description',
effects: [ effects: [
{ {
changes: [ changes: [
@ -504,12 +504,12 @@ export const weaponFeatures = {
] ]
}, },
painful: { painful: {
label: 'DAGGERHEART.Config.WeaponFeature.painful.name', label: 'DAGGERHEART.CONFIG.WeaponFeature.painful.name',
description: 'DAGGERHEART.Config.WeaponFeature.painful.description', description: 'DAGGERHEART.CONFIG.WeaponFeature.painful.description',
actions: [ actions: [
{ {
type: 'resource', type: 'resource',
name: 'DAGGERHEART.Config.WeaponFeature.painful.name', name: 'DAGGERHEART.CONFIG.WeaponFeature.painful.name',
img: 'icons/skills/wounds/injury-face-impact-orange.webp', img: 'icons/skills/wounds/injury-face-impact-orange.webp',
actionType: 'action', actionType: 'action',
cost: [ cost: [
@ -522,31 +522,31 @@ export const weaponFeatures = {
] ]
}, },
paired: { paired: {
label: 'DAGGERHEART.Config.WeaponFeature.paired.name', label: 'DAGGERHEART.CONFIG.WeaponFeature.paired.name',
description: 'DAGGERHEART.Config.WeaponFeature.paired.description', description: 'DAGGERHEART.CONFIG.WeaponFeature.paired.description',
override: { override: {
bonusDamage: 1 bonusDamage: 1
} }
}, },
parry: { parry: {
label: 'DAGGERHEART.Config.WeaponFeature.parry.name', label: 'DAGGERHEART.CONFIG.WeaponFeature.parry.name',
description: 'DAGGERHEART.Config.WeaponFeature.parry.description' description: 'DAGGERHEART.CONFIG.WeaponFeature.parry.description'
}, },
persuasive: { persuasive: {
label: 'DAGGERHEART.Config.WeaponFeature.persuasive.name', label: 'DAGGERHEART.CONFIG.WeaponFeature.persuasive.name',
description: 'DAGGERHEART.Config.WeaponFeature.persuasive.description' description: 'DAGGERHEART.CONFIG.WeaponFeature.persuasive.description'
}, },
pompous: { pompous: {
label: 'DAGGERHEART.Config.WeaponFeature.pompous.name', label: 'DAGGERHEART.CONFIG.WeaponFeature.pompous.name',
description: 'DAGGERHEART.Config.WeaponFeature.pompous.description' description: 'DAGGERHEART.CONFIG.WeaponFeature.pompous.description'
}, },
powerful: { powerful: {
label: 'DAGGERHEART.Config.WeaponFeature.powerful.name', label: 'DAGGERHEART.CONFIG.WeaponFeature.powerful.name',
description: 'DAGGERHEART.Config.WeaponFeature.powerful.description' description: 'DAGGERHEART.CONFIG.WeaponFeature.powerful.description'
}, },
protective: { protective: {
label: 'DAGGERHEART.Config.WeaponFeature.protective.name', label: 'DAGGERHEART.CONFIG.WeaponFeature.protective.name',
description: 'DAGGERHEART.Config.WeaponFeature.protective.description', description: 'DAGGERHEART.CONFIG.WeaponFeature.protective.description',
effects: [ effects: [
{ {
changes: [ changes: [
@ -560,12 +560,12 @@ export const weaponFeatures = {
] ]
}, },
quick: { quick: {
label: 'DAGGERHEART.Config.WeaponFeature.quick.name', label: 'DAGGERHEART.CONFIG.WeaponFeature.quick.name',
description: 'DAGGERHEART.Config.WeaponFeature.quick.description', description: 'DAGGERHEART.CONFIG.WeaponFeature.quick.description',
actions: [ actions: [
{ {
type: 'resource', type: 'resource',
name: 'DAGGERHEART.Config.WeaponFeature.quick.name', name: 'DAGGERHEART.CONFIG.WeaponFeature.quick.name',
img: 'icons/skills/movement/arrow-upward-yellow.webp', img: 'icons/skills/movement/arrow-upward-yellow.webp',
actionType: 'action', actionType: 'action',
cost: [ cost: [
@ -578,8 +578,8 @@ export const weaponFeatures = {
] ]
}, },
reliable: { reliable: {
label: 'DAGGERHEART.Config.WeaponFeature.reliable.name', label: 'DAGGERHEART.CONFIG.WeaponFeature.reliable.name',
description: 'DAGGERHEART.Config.WeaponFeature.reliable.description', description: 'DAGGERHEART.CONFIG.WeaponFeature.reliable.description',
effects: [ effects: [
{ {
changes: [ changes: [
@ -593,40 +593,40 @@ export const weaponFeatures = {
] ]
}, },
reloading: { reloading: {
label: 'DAGGERHEART.Config.WeaponFeature.reloading.name', label: 'DAGGERHEART.CONFIG.WeaponFeature.reloading.name',
description: 'DAGGERHEART.Config.WeaponFeature.reloading.description' description: 'DAGGERHEART.CONFIG.WeaponFeature.reloading.description'
}, },
retractable: { retractable: {
label: 'DAGGERHEART.Config.WeaponFeature.retractable.name', label: 'DAGGERHEART.CONFIG.WeaponFeature.retractable.name',
description: 'DAGGERHEART.Config.WeaponFeature.retractable.description' description: 'DAGGERHEART.CONFIG.WeaponFeature.retractable.description'
}, },
returning: { returning: {
label: 'DAGGERHEART.Config.WeaponFeature.returning.name', label: 'DAGGERHEART.CONFIG.WeaponFeature.returning.name',
description: 'DAGGERHEART.Config.WeaponFeature.returning.description' description: 'DAGGERHEART.CONFIG.WeaponFeature.returning.description'
}, },
scary: { scary: {
label: 'DAGGERHEART.Config.WeaponFeature.scary.name', label: 'DAGGERHEART.CONFIG.WeaponFeature.scary.name',
description: 'DAGGERHEART.Config.WeaponFeature.scary.description' description: 'DAGGERHEART.CONFIG.WeaponFeature.scary.description'
}, },
serrated: { serrated: {
label: 'DAGGERHEART.Config.WeaponFeature.serrated.name', label: 'DAGGERHEART.CONFIG.WeaponFeature.serrated.name',
description: 'DAGGERHEART.Config.WeaponFeature.serrated.description' description: 'DAGGERHEART.CONFIG.WeaponFeature.serrated.description'
}, },
sharpwing: { sharpwing: {
label: 'DAGGERHEART.Config.WeaponFeature.sharpwing.name', label: 'DAGGERHEART.CONFIG.WeaponFeature.sharpwing.name',
description: 'DAGGERHEART.Config.WeaponFeature.sharpwing.description' description: 'DAGGERHEART.CONFIG.WeaponFeature.sharpwing.description'
}, },
sheltering: { sheltering: {
label: 'DAGGERHEART.Config.WeaponFeature.sheltering.name', label: 'DAGGERHEART.CONFIG.WeaponFeature.sheltering.name',
description: 'DAGGERHEART.Config.WeaponFeature.sheltering.description' description: 'DAGGERHEART.CONFIG.WeaponFeature.sheltering.description'
}, },
startling: { startling: {
label: 'DAGGERHEART.Config.WeaponFeature.startling.name', label: 'DAGGERHEART.CONFIG.WeaponFeature.startling.name',
description: 'DAGGERHEART.Config.WeaponFeature.startling.description', description: 'DAGGERHEART.CONFIG.WeaponFeature.startling.description',
actions: [ actions: [
{ {
type: 'resource', type: 'resource',
name: 'DAGGERHEART.Config.WeaponFeature.startling.name', name: 'DAGGERHEART.CONFIG.WeaponFeature.startling.name',
img: 'icons/magic/control/fear-fright-mask-orange.webp', img: 'icons/magic/control/fear-fright-mask-orange.webp',
actionType: 'action', actionType: 'action',
cost: [ cost: [
@ -639,12 +639,12 @@ export const weaponFeatures = {
] ]
}, },
timebending: { timebending: {
label: 'DAGGERHEART.Config.WeaponFeature.timebending.name', label: 'DAGGERHEART.CONFIG.WeaponFeature.timebending.name',
description: 'DAGGERHEART.Config.WeaponFeature.timebending.description' description: 'DAGGERHEART.CONFIG.WeaponFeature.timebending.description'
}, },
versatile: { versatile: {
label: 'DAGGERHEART.Config.WeaponFeature.versatile.name', label: 'DAGGERHEART.CONFIG.WeaponFeature.versatile.name',
description: 'DAGGERHEART.Config.WeaponFeature.versatile.description', description: 'DAGGERHEART.CONFIG.WeaponFeature.versatile.description',
versatile: { versatile: {
characterTrait: '', characterTrait: '',
range: '', range: '',
@ -703,14 +703,14 @@ export const featureTypes = {
export const actionTypes = { export const actionTypes = {
passive: { passive: {
id: 'passive', id: 'passive',
label: 'DAGGERHEART.Config.ActionType.passive' label: 'DAGGERHEART.CONFIG.ActionType.passive'
}, },
action: { action: {
id: 'action', id: 'action',
label: 'DAGGERHEART.Config.ActionType.action' label: 'DAGGERHEART.CONFIG.ActionType.action'
}, },
reaction: { reaction: {
id: 'reaction', id: 'reaction',
label: 'DAGGERHEART.Config.ActionType.reaction' label: 'DAGGERHEART.CONFIG.ActionType.reaction'
} }
}; };

View file

@ -33,10 +33,10 @@ export const gameSettings = {
export const DualityRollColor = { export const DualityRollColor = {
colorful: { colorful: {
value: 0, value: 0,
label: 'DAGGERHEART.Settings.DualityRollColor.options.colorful' label: 'DAGGERHEART.SETTINGS.DualityRollColor.options.colorful'
}, },
normal: { normal: {
value: 1, value: 1,
label: 'DAGGERHEART.Settings.DualityRollColor.options.normal' label: 'DAGGERHEART.SETTINGS.DualityRollColor.options.normal'
} }
}; };

View file

@ -113,7 +113,7 @@ export class DHDamageData extends foundry.abstract.DataModel {
}), }),
resultBased: new fields.BooleanField({ resultBased: new fields.BooleanField({
initial: false, initial: false,
label: 'DAGGERHEART.Actions.Settings.resultBased.label' label: 'DAGGERHEART.ACTIONS.Settings.resultBased.label'
}), }),
value: new fields.EmbeddedDataField(DHActionDiceData), value: new fields.EmbeddedDataField(DHActionDiceData),
valueAlt: new fields.EmbeddedDataField(DHActionDiceData) valueAlt: new fields.EmbeddedDataField(DHActionDiceData)

View file

@ -110,7 +110,7 @@ export default class DHBaseAction extends foundry.abstract.DataModel {
}), }),
resultBased: new fields.BooleanField({ resultBased: new fields.BooleanField({
initial: false, initial: false,
label: 'DAGGERHEART.Actions.Settings.resultBased.label' label: 'DAGGERHEART.ACTIONS.Settings.resultBased.label'
}), }),
value: new fields.EmbeddedDataField(DHActionDiceData), value: new fields.EmbeddedDataField(DHActionDiceData),
valueAlt: new fields.EmbeddedDataField(DHActionDiceData) valueAlt: new fields.EmbeddedDataField(DHActionDiceData)
@ -563,7 +563,7 @@ export default class DHBaseAction extends foundry.abstract.DataModel {
async toChat(origin) { async toChat(origin) {
const cls = getDocumentClass('ChatMessage'); const cls = getDocumentClass('ChatMessage');
const systemData = { const systemData = {
title: game.i18n.localize('DAGGERHEART.Config.ActionType.action'), title: game.i18n.localize('DAGGERHEART.CONFIG.ActionType.action'),
origin: origin, origin: origin,
img: this.img, img: this.img,
name: this.name, name: this.name,

View file

@ -8,7 +8,7 @@ const resourceField = () =>
}); });
export default class DhpAdversary extends BaseDataActor { export default class DhpAdversary extends BaseDataActor {
static LOCALIZATION_PREFIXES = ['DAGGERHEART.Actors.Adversary']; static LOCALIZATION_PREFIXES = ['DAGGERHEART.ACTORS.Adversary'];
static get metadata() { static get metadata() {
return foundry.utils.mergeObject(super.metadata, { return foundry.utils.mergeObject(super.metadata, {

View file

@ -251,11 +251,11 @@ export default class DhCharacter extends BaseDataActor {
values: subclassFeatures values: subclassFeatures
}, },
companionFeatures: { companionFeatures: {
title: game.i18n.localize('DAGGERHEART.Actors.Character.companionFeatures'), title: game.i18n.localize('DAGGERHEART.ACTORS.Character.companionFeatures'),
type: 'companion', type: 'companion',
values: companionFeatures values: companionFeatures
}, },
features: { title: game.i18n.localize('DAGGERHEART.General.features'), type: 'feature', values: features } features: { title: game.i18n.localize('DAGGERHEART.GENERAL.features'), type: 'feature', values: features }
}; };
} }

View file

@ -5,7 +5,7 @@ import ActionField from '../fields/actionField.mjs';
import { adjustDice, adjustRange } from '../../helpers/utils.mjs'; import { adjustDice, adjustRange } from '../../helpers/utils.mjs';
export default class DhCompanion extends BaseDataActor { export default class DhCompanion extends BaseDataActor {
static LOCALIZATION_PREFIXES = ['DAGGERHEART.Actors.Companion']; static LOCALIZATION_PREFIXES = ['DAGGERHEART.ACTORS.Companion'];
static get metadata() { static get metadata() {
return foundry.utils.mergeObject(super.metadata, { return foundry.utils.mergeObject(super.metadata, {

View file

@ -2,7 +2,7 @@ import BaseDataActor from './base.mjs';
import ForeignDocumentUUIDArrayField from '../fields/foreignDocumentUUIDArrayField.mjs'; import ForeignDocumentUUIDArrayField from '../fields/foreignDocumentUUIDArrayField.mjs';
export default class DhEnvironment extends BaseDataActor { export default class DhEnvironment extends BaseDataActor {
static LOCALIZATION_PREFIXES = ['DAGGERHEART.Actors.Environment']; static LOCALIZATION_PREFIXES = ['DAGGERHEART.ACTORS.Environment'];
static get metadata() { static get metadata() {
return foundry.utils.mergeObject(super.metadata, { return foundry.utils.mergeObject(super.metadata, {

View file

@ -14,7 +14,7 @@ export default class DhCountdowns extends foundry.abstract.DataModel {
} }
class DhCountdownData extends foundry.abstract.DataModel { class DhCountdownData extends foundry.abstract.DataModel {
static LOCALIZATION_PREFIXES = ['DAGGERHEART.Applications.Countdown']; // Nots ure why this won't work. Setting labels manually for now static LOCALIZATION_PREFIXES = ['DAGGERHEART.APPLICATIONS.Countdown']; // Nots ure why this won't work. Setting labels manually for now
static defineSchema() { static defineSchema() {
const fields = foundry.data.fields; const fields = foundry.data.fields;
@ -62,7 +62,7 @@ class DhCountdown extends foundry.abstract.DataModel {
return { return {
name: new fields.StringField({ name: new fields.StringField({
required: true, required: true,
label: 'DAGGERHEART.Applications.Countdown.FIELDS.countdowns.element.name.label' label: 'DAGGERHEART.APPLICATIONS.Countdown.FIELDS.countdowns.element.name.label'
}), }),
img: new fields.FilePathField({ img: new fields.FilePathField({
categories: ['IMAGE'], categories: ['IMAGE'],
@ -90,23 +90,23 @@ class DhCountdown extends foundry.abstract.DataModel {
required: true, required: true,
integer: true, integer: true,
initial: 1, initial: 1,
label: 'DAGGERHEART.Applications.Countdown.FIELDS.countdowns.element.progress.current.label' label: 'DAGGERHEART.APPLICATIONS.Countdown.FIELDS.countdowns.element.progress.current.label'
}), }),
max: new fields.NumberField({ max: new fields.NumberField({
required: true, required: true,
integer: true, integer: true,
initial: 1, initial: 1,
label: 'DAGGERHEART.Applications.Countdown.FIELDS.countdowns.element.progress.max.label' label: 'DAGGERHEART.APPLICATIONS.Countdown.FIELDS.countdowns.element.progress.max.label'
}), }),
type: new fields.SchemaField({ type: new fields.SchemaField({
value: new fields.StringField({ value: new fields.StringField({
required: true, required: true,
choices: CONFIG.DH.GENERAL.countdownTypes, choices: CONFIG.DH.GENERAL.countdownTypes,
initial: CONFIG.DH.GENERAL.countdownTypes.spotlight.id, initial: CONFIG.DH.GENERAL.countdownTypes.spotlight.id,
label: 'DAGGERHEART.Applications.Countdown.FIELDS.countdowns.element.progress.type.value.label' label: 'DAGGERHEART.APPLICATIONS.Countdown.FIELDS.countdowns.element.progress.type.value.label'
}), }),
label: new fields.StringField({ label: new fields.StringField({
label: 'DAGGERHEART.Applications.Countdown.FIELDS.countdowns.element.progress.type.label.label' label: 'DAGGERHEART.APPLICATIONS.Countdown.FIELDS.countdowns.element.progress.type.label.label'
}) })
}) })
}) })

View file

@ -64,7 +64,7 @@ export default class DHBeastform extends BaseDataItem {
await this.parent.parent.createEmbeddedDocuments('ActiveEffect', [ await this.parent.parent.createEmbeddedDocuments('ActiveEffect', [
{ {
type: 'beastform', type: 'beastform',
name: game.i18n.localize('DAGGERHEART.Items.Beastform.beastformEffect'), name: game.i18n.localize('DAGGERHEART.ITEMS.Beastform.beastformEffect'),
img: 'icons/creatures/abilities/paw-print-pair-purple.webp', img: 'icons/creatures/abilities/paw-print-pair-purple.webp',
system: { system: {
isBeastform: true, isBeastform: true,

View file

@ -24,9 +24,9 @@ export default class DHClass extends BaseDataItem {
integer: true, integer: true,
min: 1, min: 1,
initial: 5, initial: 5,
label: 'DAGGERHEART.General.hitPoints' label: 'DAGGERHEART.GENERAL.hitPoints'
}), }),
evasion: new fields.NumberField({ initial: 0, integer: true, label: 'DAGGERHEART.General.evasion' }), evasion: new fields.NumberField({ initial: 0, integer: true, label: 'DAGGERHEART.GENERAL.evasion' }),
hopeFeatures: new ForeignDocumentUUIDArrayField({ type: 'Item' }), hopeFeatures: new ForeignDocumentUUIDArrayField({ type: 'Item' }),
classFeatures: new ForeignDocumentUUIDArrayField({ type: 'Item' }), classFeatures: new ForeignDocumentUUIDArrayField({ type: 'Item' }),
subclasses: new ForeignDocumentUUIDArrayField({ type: 'Item', required: false }), subclasses: new ForeignDocumentUUIDArrayField({ type: 'Item', required: false }),

View file

@ -68,9 +68,9 @@ export const CompanionLevelOptionType = {
label: 'Creature Comfort', label: 'Creature Comfort',
features: [ features: [
{ {
name: 'DAGGERHEART.Applications.Levelup.actions.creatureComfort.name', name: 'DAGGERHEART.APPLICATIONS.Levelup.actions.creatureComfort.name',
img: 'icons/magic/life/heart-cross-purple-orange.webp', img: 'icons/magic/life/heart-cross-purple-orange.webp',
description: 'DAGGERHEART.Applications.Levelup.actions.creatureComfort.description' description: 'DAGGERHEART.APPLICATIONS.Levelup.actions.creatureComfort.description'
} }
] ]
}, },
@ -79,9 +79,9 @@ export const CompanionLevelOptionType = {
label: 'Armored', label: 'Armored',
features: [ features: [
{ {
name: 'DAGGERHEART.Applications.Levelup.actions.armored.name', name: 'DAGGERHEART.APPLICATIONS.Levelup.actions.armored.name',
img: 'icons/equipment/shield/kite-wooden-oak-glow.webp', img: 'icons/equipment/shield/kite-wooden-oak-glow.webp',
description: 'DAGGERHEART.Applications.Levelup.actions.armored.description' description: 'DAGGERHEART.APPLICATIONS.Levelup.actions.armored.description'
} }
] ]
}, },
@ -98,9 +98,9 @@ export const CompanionLevelOptionType = {
label: 'Bonded', label: 'Bonded',
features: [ features: [
{ {
name: 'DAGGERHEART.Applications.Levelup.actions.bonded.name', name: 'DAGGERHEART.APPLICATIONS.Levelup.actions.bonded.name',
img: 'icons/magic/life/heart-red-blue.webp', img: 'icons/magic/life/heart-red-blue.webp',
description: 'DAGGERHEART.Applications.Levelup.actions.bonded.description' description: 'DAGGERHEART.APPLICATIONS.Levelup.actions.bonded.description'
} }
] ]
}, },
@ -182,14 +182,14 @@ export const defaultLevelTiers = {
domainCardByLevel: 1, domainCardByLevel: 1,
options: { options: {
trait: { trait: {
label: 'DAGGERHEART.Applications.Levelup.options.trait', label: 'DAGGERHEART.APPLICATIONS.Levelup.options.trait',
checkboxSelections: 3, checkboxSelections: 3,
minCost: 1, minCost: 1,
type: LevelOptionType.trait.id, type: LevelOptionType.trait.id,
amount: 2 amount: 2
}, },
hitPoint: { hitPoint: {
label: 'DAGGERHEART.Applications.Levelup.options.hitPoint', label: 'DAGGERHEART.APPLICATIONS.Levelup.options.hitPoint',
checkboxSelections: 2, checkboxSelections: 2,
minCost: 1, minCost: 1,
type: LevelOptionType.hitPoint.id, type: LevelOptionType.hitPoint.id,
@ -197,14 +197,14 @@ export const defaultLevelTiers = {
value: 1 value: 1
}, },
stress: { stress: {
label: 'DAGGERHEART.Applications.Levelup.options.stress', label: 'DAGGERHEART.APPLICATIONS.Levelup.options.stress',
checkboxSelections: 2, checkboxSelections: 2,
minCost: 1, minCost: 1,
type: LevelOptionType.stress.id, type: LevelOptionType.stress.id,
value: 1 value: 1
}, },
experience: { experience: {
label: 'DAGGERHEART.Applications.Levelup.options.experience', label: 'DAGGERHEART.APPLICATIONS.Levelup.options.experience',
checkboxSelections: 1, checkboxSelections: 1,
minCost: 1, minCost: 1,
type: LevelOptionType.experience.id, type: LevelOptionType.experience.id,
@ -212,14 +212,14 @@ export const defaultLevelTiers = {
amount: 2 amount: 2
}, },
domainCard: { domainCard: {
label: 'DAGGERHEART.Applications.Levelup.options.domainCard', label: 'DAGGERHEART.APPLICATIONS.Levelup.options.domainCard',
checkboxSelections: 1, checkboxSelections: 1,
minCost: 1, minCost: 1,
type: LevelOptionType.domainCard.id, type: LevelOptionType.domainCard.id,
amount: 1 amount: 1
}, },
evasion: { evasion: {
label: 'DAGGERHEART.Applications.Levelup.options.evasion', label: 'DAGGERHEART.APPLICATIONS.Levelup.options.evasion',
checkboxSelections: 1, checkboxSelections: 1,
minCost: 1, minCost: 1,
type: LevelOptionType.evasion.id, type: LevelOptionType.evasion.id,
@ -245,28 +245,28 @@ export const defaultLevelTiers = {
domainCardByLevel: 1, domainCardByLevel: 1,
options: { options: {
trait: { trait: {
label: 'DAGGERHEART.Applications.Levelup.options.trait', label: 'DAGGERHEART.APPLICATIONS.Levelup.options.trait',
checkboxSelections: 3, checkboxSelections: 3,
minCost: 1, minCost: 1,
type: LevelOptionType.trait.id, type: LevelOptionType.trait.id,
amount: 2 amount: 2
}, },
hitPoint: { hitPoint: {
label: 'DAGGERHEART.Applications.Levelup.options.hitPoint', label: 'DAGGERHEART.APPLICATIONS.Levelup.options.hitPoint',
checkboxSelections: 2, checkboxSelections: 2,
minCost: 1, minCost: 1,
type: LevelOptionType.hitPoint.id, type: LevelOptionType.hitPoint.id,
value: 1 value: 1
}, },
stress: { stress: {
label: 'DAGGERHEART.Applications.Levelup.options.stress', label: 'DAGGERHEART.APPLICATIONS.Levelup.options.stress',
checkboxSelections: 2, checkboxSelections: 2,
minCost: 1, minCost: 1,
type: LevelOptionType.stress.id, type: LevelOptionType.stress.id,
value: 1 value: 1
}, },
experience: { experience: {
label: 'DAGGERHEART.Applications.Levelup.options.experience', label: 'DAGGERHEART.APPLICATIONS.Levelup.options.experience',
checkboxSelections: 1, checkboxSelections: 1,
minCost: 1, minCost: 1,
type: LevelOptionType.experience.id, type: LevelOptionType.experience.id,
@ -274,34 +274,34 @@ export const defaultLevelTiers = {
amount: 2 amount: 2
}, },
domainCard: { domainCard: {
label: 'DAGGERHEART.Applications.Levelup.options.domainCard', label: 'DAGGERHEART.APPLICATIONS.Levelup.options.domainCard',
checkboxSelections: 1, checkboxSelections: 1,
minCost: 1, minCost: 1,
type: LevelOptionType.domainCard.id, type: LevelOptionType.domainCard.id,
amount: 1 amount: 1
}, },
evasion: { evasion: {
label: 'DAGGERHEART.Applications.Levelup.options.evasion', label: 'DAGGERHEART.APPLICATIONS.Levelup.options.evasion',
checkboxSelections: 1, checkboxSelections: 1,
minCost: 1, minCost: 1,
type: LevelOptionType.evasion.id, type: LevelOptionType.evasion.id,
value: 1 value: 1
}, },
subclass: { subclass: {
label: 'DAGGERHEART.Applications.Levelup.options.subclass', label: 'DAGGERHEART.APPLICATIONS.Levelup.options.subclass',
checkboxSelections: 1, checkboxSelections: 1,
minCost: 1, minCost: 1,
type: LevelOptionType.subclass.id type: LevelOptionType.subclass.id
}, },
proficiency: { proficiency: {
label: 'DAGGERHEART.Applications.Levelup.options.proficiency', label: 'DAGGERHEART.APPLICATIONS.Levelup.options.proficiency',
checkboxSelections: 2, checkboxSelections: 2,
minCost: 2, minCost: 2,
type: LevelOptionType.proficiency.id, type: LevelOptionType.proficiency.id,
value: 1 value: 1
}, },
multiclass: { multiclass: {
label: 'DAGGERHEART.Applications.Levelup.options.multiclass', label: 'DAGGERHEART.APPLICATIONS.Levelup.options.multiclass',
checkboxSelections: 2, checkboxSelections: 2,
minCost: 2, minCost: 2,
type: LevelOptionType.multiclass.id type: LevelOptionType.multiclass.id
@ -326,28 +326,28 @@ export const defaultLevelTiers = {
domainCardByLevel: 1, domainCardByLevel: 1,
options: { options: {
trait: { trait: {
label: 'DAGGERHEART.Applications.Levelup.options.trait', label: 'DAGGERHEART.APPLICATIONS.Levelup.options.trait',
checkboxSelections: 3, checkboxSelections: 3,
minCost: 1, minCost: 1,
type: LevelOptionType.trait.id, type: LevelOptionType.trait.id,
amount: 2 amount: 2
}, },
hitPoint: { hitPoint: {
label: 'DAGGERHEART.Applications.Levelup.options.hitPoint', label: 'DAGGERHEART.APPLICATIONS.Levelup.options.hitPoint',
checkboxSelections: 2, checkboxSelections: 2,
minCost: 1, minCost: 1,
type: LevelOptionType.hitPoint.id, type: LevelOptionType.hitPoint.id,
value: 1 value: 1
}, },
stress: { stress: {
label: 'DAGGERHEART.Applications.Levelup.options.stress', label: 'DAGGERHEART.APPLICATIONS.Levelup.options.stress',
checkboxSelections: 2, checkboxSelections: 2,
minCost: 1, minCost: 1,
type: LevelOptionType.stress.id, type: LevelOptionType.stress.id,
value: 1 value: 1
}, },
experience: { experience: {
label: 'DAGGERHEART.Applications.Levelup.options.experience', label: 'DAGGERHEART.APPLICATIONS.Levelup.options.experience',
checkboxSelections: 1, checkboxSelections: 1,
minCost: 1, minCost: 1,
type: LevelOptionType.experience.id, type: LevelOptionType.experience.id,
@ -355,34 +355,34 @@ export const defaultLevelTiers = {
amount: 2 amount: 2
}, },
domainCard: { domainCard: {
label: 'DAGGERHEART.Applications.Levelup.options.domainCard', label: 'DAGGERHEART.APPLICATIONS.Levelup.options.domainCard',
checkboxSelections: 1, checkboxSelections: 1,
minCost: 1, minCost: 1,
type: LevelOptionType.domainCard.id, type: LevelOptionType.domainCard.id,
amount: 1 amount: 1
}, },
evasion: { evasion: {
label: 'DAGGERHEART.Applications.Levelup.options.evasion', label: 'DAGGERHEART.APPLICATIONS.Levelup.options.evasion',
checkboxSelections: 1, checkboxSelections: 1,
minCost: 1, minCost: 1,
type: LevelOptionType.evasion.id, type: LevelOptionType.evasion.id,
value: 1 value: 1
}, },
subclass: { subclass: {
label: 'DAGGERHEART.Applications.Levelup.options.subclass', label: 'DAGGERHEART.APPLICATIONS.Levelup.options.subclass',
checkboxSelections: 1, checkboxSelections: 1,
minCost: 1, minCost: 1,
type: LevelOptionType.subclass.id type: LevelOptionType.subclass.id
}, },
proficiency: { proficiency: {
label: 'DAGGERHEART.Applications.Levelup.options.proficiency', label: 'DAGGERHEART.APPLICATIONS.Levelup.options.proficiency',
checkboxSelections: 2, checkboxSelections: 2,
minCost: 2, minCost: 2,
type: LevelOptionType.proficiency.id, type: LevelOptionType.proficiency.id,
value: 1 value: 1
}, },
multiclass: { multiclass: {
label: 'DAGGERHEART.Applications.Levelup.options.multiclass', label: 'DAGGERHEART.APPLICATIONS.Levelup.options.multiclass',
checkboxSelections: 2, checkboxSelections: 2,
minCost: 2, minCost: 2,
type: LevelOptionType.multiclass.id type: LevelOptionType.multiclass.id
@ -406,7 +406,7 @@ export const defaultCompanionTier = {
domainCardByLevel: 0, domainCardByLevel: 0,
options: { options: {
experience: { experience: {
label: 'DAGGERHEART.Applications.Levelup.options.intelligent', label: 'DAGGERHEART.APPLICATIONS.Levelup.options.intelligent',
checkboxSelections: 3, checkboxSelections: 3,
minCost: 1, minCost: 1,
type: LevelOptionType.experience.id, type: LevelOptionType.experience.id,
@ -414,28 +414,28 @@ export const defaultCompanionTier = {
amount: 1 amount: 1
}, },
hope: { hope: {
label: 'DAGGERHEART.Applications.Levelup.options.lightInTheDark', label: 'DAGGERHEART.APPLICATIONS.Levelup.options.lightInTheDark',
checkboxSelections: 1, checkboxSelections: 1,
minCost: 1, minCost: 1,
type: CompanionLevelOptionType.hope.id, type: CompanionLevelOptionType.hope.id,
value: 1 value: 1
}, },
creatureComfort: { creatureComfort: {
label: 'DAGGERHEART.Applications.Levelup.options.creatureComfort', label: 'DAGGERHEART.APPLICATIONS.Levelup.options.creatureComfort',
checkboxSelections: 1, checkboxSelections: 1,
minCost: 1, minCost: 1,
type: CompanionLevelOptionType.creatureComfort.id, type: CompanionLevelOptionType.creatureComfort.id,
value: 1 value: 1
}, },
armored: { armored: {
label: 'DAGGERHEART.Applications.Levelup.options.armored', label: 'DAGGERHEART.APPLICATIONS.Levelup.options.armored',
checkboxSelections: 1, checkboxSelections: 1,
minCost: 1, minCost: 1,
type: CompanionLevelOptionType.armored.id, type: CompanionLevelOptionType.armored.id,
value: 1 value: 1
}, },
vicious: { vicious: {
label: 'DAGGERHEART.Applications.Levelup.options.vicious', label: 'DAGGERHEART.APPLICATIONS.Levelup.options.vicious',
checkboxSelections: 3, checkboxSelections: 3,
minCost: 1, minCost: 1,
type: CompanionLevelOptionType.vicious.id, type: CompanionLevelOptionType.vicious.id,
@ -443,21 +443,21 @@ export const defaultCompanionTier = {
amount: 1 amount: 1
}, },
stress: { stress: {
label: 'DAGGERHEART.Applications.Levelup.options.resilient', label: 'DAGGERHEART.APPLICATIONS.Levelup.options.resilient',
checkboxSelections: 3, checkboxSelections: 3,
minCost: 1, minCost: 1,
type: LevelOptionType.stress.id, type: LevelOptionType.stress.id,
value: 1 value: 1
}, },
bonded: { bonded: {
label: 'DAGGERHEART.Applications.Levelup.options.bonded', label: 'DAGGERHEART.APPLICATIONS.Levelup.options.bonded',
checkboxSelections: 1, checkboxSelections: 1,
minCost: 1, minCost: 1,
type: CompanionLevelOptionType.bonded.id, type: CompanionLevelOptionType.bonded.id,
value: 1 value: 1
}, },
evasion: { evasion: {
label: 'DAGGERHEART.Applications.Levelup.options.aware', label: 'DAGGERHEART.APPLICATIONS.Levelup.options.aware',
checkboxSelections: 3, checkboxSelections: 3,
minCost: 1, minCost: 1,
type: LevelOptionType.evasion.id, type: LevelOptionType.evasion.id,

View file

@ -8,7 +8,7 @@ export default class DhAppearance extends foundry.abstract.DataModel {
required: true, required: true,
choices: fearDisplay, choices: fearDisplay,
initial: fearDisplay.token.value, initial: fearDisplay.token.value,
label: 'DAGGERHEART.Settings.Appearance.FIELDS.displayFear.label' label: 'DAGGERHEART.SETTINGS.Appearance.FIELDS.displayFear.label'
}), }),
dualityColorScheme: new fields.StringField({ dualityColorScheme: new fields.StringField({
required: true, required: true,
@ -48,10 +48,10 @@ export default class DhAppearance extends foundry.abstract.DataModel {
export const DualityRollColor = { export const DualityRollColor = {
colorful: { colorful: {
value: 'colorful', value: 'colorful',
label: 'DAGGERHEART.Settings.DualityRollColor.options.colorful' label: 'DAGGERHEART.SETTINGS.DualityRollColor.options.colorful'
}, },
normal: { normal: {
value: 'normal', value: 'normal',
label: 'DAGGERHEART.Settings.DualityRollColor.options.normal' label: 'DAGGERHEART.SETTINGS.DualityRollColor.options.normal'
} }
}; };

View file

@ -1,5 +1,5 @@
export default class DhAutomation extends foundry.abstract.DataModel { export default class DhAutomation extends foundry.abstract.DataModel {
static LOCALIZATION_PREFIXES = ['DAGGERHEART.Settings.Automation']; // Doesn't work for some reason static LOCALIZATION_PREFIXES = ['DAGGERHEART.SETTINGS.Automation']; // Doesn't work for some reason
static defineSchema() { static defineSchema() {
const fields = foundry.data.fields; const fields = foundry.data.fields;

View file

@ -1,7 +1,7 @@
import { defaultRestOptions } from '../../config/generalConfig.mjs'; import { defaultRestOptions } from '../../config/generalConfig.mjs';
export default class DhHomebrew extends foundry.abstract.DataModel { export default class DhHomebrew extends foundry.abstract.DataModel {
static LOCALIZATION_PREFIXES = ['DAGGERHEART.Settings.Homebrew']; // Doesn't work for some reason static LOCALIZATION_PREFIXES = ['DAGGERHEART.SETTINGS.Homebrew']; // Doesn't work for some reason
static defineSchema() { static defineSchema() {
const fields = foundry.data.fields; const fields = foundry.data.fields;
@ -11,7 +11,7 @@ export default class DhHomebrew extends foundry.abstract.DataModel {
integer: true, integer: true,
min: 0, min: 0,
initial: 12, initial: 12,
label: 'DAGGERHEART.Settings.Homebrew.FIELDS.maxFear.label' label: 'DAGGERHEART.SETTINGS.Homebrew.FIELDS.maxFear.label'
}), }),
traitArray: new fields.ArrayField(new fields.NumberField({ required: true, integer: true }), { traitArray: new fields.ArrayField(new fields.NumberField({ required: true, integer: true }), {
initial: () => [2, 1, 1, 0, 0, -1] initial: () => [2, 1, 1, 0, 0, -1]
@ -20,32 +20,32 @@ export default class DhHomebrew extends foundry.abstract.DataModel {
enabled: new fields.BooleanField({ enabled: new fields.BooleanField({
required: true, required: true,
initial: false, initial: false,
label: 'DAGGERHEART.Settings.Homebrew.currency.enabled' label: 'DAGGERHEART.SETTINGS.Homebrew.currency.enabled'
}), }),
title: new fields.StringField({ title: new fields.StringField({
required: true, required: true,
initial: 'Gold', initial: 'Gold',
label: 'DAGGERHEART.Settings.Homebrew.currency.currencyName' label: 'DAGGERHEART.SETTINGS.Homebrew.currency.currencyName'
}), }),
coins: new fields.StringField({ coins: new fields.StringField({
required: true, required: true,
initial: 'Coins', initial: 'Coins',
label: 'DAGGERHEART.Settings.Homebrew.currency.coinName' label: 'DAGGERHEART.SETTINGS.Homebrew.currency.coinName'
}), }),
handfulls: new fields.StringField({ handfulls: new fields.StringField({
required: true, required: true,
initial: 'Handfulls', initial: 'Handfulls',
label: 'DAGGERHEART.Settings.Homebrew.currency.handfullName' label: 'DAGGERHEART.SETTINGS.Homebrew.currency.handfullName'
}), }),
bags: new fields.StringField({ bags: new fields.StringField({
required: true, required: true,
initial: 'Bags', initial: 'Bags',
label: 'DAGGERHEART.Settings.Homebrew.currency.bagName' label: 'DAGGERHEART.SETTINGS.Homebrew.currency.bagName'
}), }),
chests: new fields.StringField({ chests: new fields.StringField({
required: true, required: true,
initial: 'Chests', initial: 'Chests',
label: 'DAGGERHEART.Settings.Homebrew.currency.chestName' label: 'DAGGERHEART.SETTINGS.Homebrew.currency.chestName'
}) })
}), }),
restMoves: new fields.SchemaField({ restMoves: new fields.SchemaField({

View file

@ -2,23 +2,23 @@ export default class DhRangeMeasurement extends foundry.abstract.DataModel {
static defineSchema() { static defineSchema() {
const fields = foundry.data.fields; const fields = foundry.data.fields;
return { return {
enabled: new fields.BooleanField({ required: true, initial: false, label: 'DAGGERHEART.General.enabled' }), enabled: new fields.BooleanField({ required: true, initial: false, label: 'DAGGERHEART.GENERAL.enabled' }),
melee: new fields.NumberField({ required: true, initial: 5, label: 'DAGGERHEART.Config.Range.melee.name' }), melee: new fields.NumberField({ required: true, initial: 5, label: 'DAGGERHEART.CONFIG.Range.melee.name' }),
veryClose: new fields.NumberField({ veryClose: new fields.NumberField({
required: true, required: true,
initial: 15, initial: 15,
label: 'DAGGERHEART.Config.Range.veryClose.name' label: 'DAGGERHEART.CONFIG.Range.veryClose.name'
}), }),
close: new fields.NumberField({ close: new fields.NumberField({
required: true, required: true,
initial: 30, initial: 30,
label: 'DAGGERHEART.Config.Range.close.name' label: 'DAGGERHEART.CONFIG.Range.close.name'
}), }),
far: new fields.NumberField({ required: true, initial: 60, label: 'DAGGERHEART.Config.Range.far.name' }), far: new fields.NumberField({ required: true, initial: 60, label: 'DAGGERHEART.CONFIG.Range.far.name' }),
veryFar: new fields.NumberField({ veryFar: new fields.NumberField({
required: true, required: true,
initial: 120, initial: 120,
label: 'DAGGERHEART.Config.Range.veryFar.name' label: 'DAGGERHEART.CONFIG.Range.veryFar.name'
}) })
}; };
} }

View file

@ -1,5 +1,5 @@
export default class DhVariantRules extends foundry.abstract.DataModel { export default class DhVariantRules extends foundry.abstract.DataModel {
static LOCALIZATION_PREFIXES = ['DAGGERHEART.Settings.VariantRules']; static LOCALIZATION_PREFIXES = ['DAGGERHEART.SETTINGS.VariantRules'];
static defineSchema() { static defineSchema() {
const fields = foundry.data.fields; const fields = foundry.data.fields;
@ -8,18 +8,18 @@ export default class DhVariantRules extends foundry.abstract.DataModel {
enabled: new fields.BooleanField({ enabled: new fields.BooleanField({
required: true, required: true,
initial: false, initial: false,
label: 'DAGGERHEART.Settings.VariantRules.FIELDS.actionTokens.enabled.label' label: 'DAGGERHEART.SETTINGS.VariantRules.FIELDS.actionTokens.enabled.label'
}), }),
tokens: new fields.NumberField({ tokens: new fields.NumberField({
required: true, required: true,
integer: true, integer: true,
initial: 3, initial: 3,
label: 'DAGGERHEART.Settings.VariantRules.FIELDS.actionTokens.tokens.label' label: 'DAGGERHEART.SETTINGS.VariantRules.FIELDS.actionTokens.tokens.label'
}) })
}), }),
useCoins: new fields.BooleanField({ useCoins: new fields.BooleanField({
initial: false, initial: false,
label: 'DAGGERHEART.Settings.VariantRules.FIELDS.useCoins.label' label: 'DAGGERHEART.SETTINGS.VariantRules.FIELDS.useCoins.label'
}) })
}; };
} }

View file

@ -71,10 +71,10 @@ export default class DualityRoll extends D20Roll {
get totalLabel() { get totalLabel() {
const label = this.withHope const label = this.withHope
? 'DAGGERHEART.General.hope' ? 'DAGGERHEART.GENERAL.hope'
: this.withFear : this.withFear
? 'DAGGERHEART.General.fear' ? 'DAGGERHEART.GENERAL.fear'
: 'DAGGERHEART.General.criticalSuccess'; : 'DAGGERHEART.GENERAL.criticalSuccess';
return game.i18n.localize(label); return game.i18n.localize(label);
} }
@ -119,7 +119,7 @@ export default class DualityRoll extends D20Roll {
this.options.roll.modifiers = []; this.options.roll.modifiers = [];
if (!this.options.roll.trait) return; if (!this.options.roll.trait) return;
this.options.roll.modifiers.push({ this.options.roll.modifiers.push({
label: `DAGGERHEART.Config.Traits.${this.options.roll.trait}.name`, label: `DAGGERHEART.CONFIG.Traits.${this.options.roll.trait}.name`,
value: Roll.replaceFormulaData(`@traits.${this.options.roll.trait}.total`, this.data) value: Roll.replaceFormulaData(`@traits.${this.options.roll.trait}.total`, this.data)
}); });
} }

View file

@ -32,7 +32,7 @@ export default class DhActiveEffect extends ActiveEffect {
async toChat(origin) { async toChat(origin) {
const cls = getDocumentClass('ChatMessage'); const cls = getDocumentClass('ChatMessage');
const systemData = { const systemData = {
title: game.i18n.localize('DAGGERHEART.Config.ActionType.action'), title: game.i18n.localize('DAGGERHEART.CONFIG.ActionType.action'),
origin: origin, origin: origin,
img: this.img, img: this.img,
name: this.name, name: this.name,

View file

@ -11,15 +11,15 @@ export default function DhDualityRollEnricher(match, _options) {
export function getDualityMessage(roll) { export function getDualityMessage(roll) {
const traitLabel = const traitLabel =
roll.trait && abilities[roll.trait] roll.trait && abilities[roll.trait]
? game.i18n.format('DAGGERHEART.General.check', { ? game.i18n.format('DAGGERHEART.GENERAL.check', {
check: game.i18n.localize(abilities[roll.trait].label) check: game.i18n.localize(abilities[roll.trait].label)
}) })
: null; : null;
const label = traitLabel ?? game.i18n.localize('DAGGERHEART.General.duality'); const label = traitLabel ?? game.i18n.localize('DAGGERHEART.GENERAL.duality');
const dataLabel = traitLabel const dataLabel = traitLabel
? game.i18n.localize(abilities[roll.trait].label) ? game.i18n.localize(abilities[roll.trait].label)
: game.i18n.localize('DAGGERHEART.General.duality'); : game.i18n.localize('DAGGERHEART.GENERAL.duality');
const dualityElement = document.createElement('span'); const dualityElement = document.createElement('span');
dualityElement.innerHTML = ` dualityElement.innerHTML = `

View file

@ -31,7 +31,7 @@ export default function DhTemplateEnricher(match, _options) {
const templateElement = document.createElement('span'); const templateElement = document.createElement('span');
templateElement.innerHTML = ` templateElement.innerHTML = `
<button class="measured-template-button" data-type="${type}" data-range="${range}"> <button class="measured-template-button" data-type="${type}" data-range="${range}">
${game.i18n.localize(`TEMPLATE.TYPES.${type}`)} - ${game.i18n.localize(`DAGGERHEART.Config.Range.${range}.name`)} ${game.i18n.localize(`TEMPLATE.TYPES.${type}`)} - ${game.i18n.localize(`DAGGERHEART.CONFIG.Range.${range}.name`)}
</button> </button>
`; `;

View file

@ -236,13 +236,13 @@ Roll.replaceFormulaData = function (formula, data = {}, { missing, warn = false
export const getDamageLabel = damage => { export const getDamageLabel = damage => {
switch (damage) { switch (damage) {
case 3: case 3:
return game.i18n.localize('DAGGERHEART.General.Damage.severe'); return game.i18n.localize('DAGGERHEART.GENERAL.Damage.severe');
case 2: case 2:
return game.i18n.localize('DAGGERHEART.General.Damage.major'); return game.i18n.localize('DAGGERHEART.GENERAL.Damage.major');
case 1: case 1:
return game.i18n.localize('DAGGERHEART.General.Damage.minor'); return game.i18n.localize('DAGGERHEART.GENERAL.Damage.minor');
case 0: case 0:
return game.i18n.localize('DAGGERHEART.General.Damage.none'); return game.i18n.localize('DAGGERHEART.GENERAL.Damage.none');
} }
}; };

View file

@ -68,43 +68,43 @@ const registerMenuSettings = () => {
const registerMenus = () => { const registerMenus = () => {
game.settings.registerMenu(CONFIG.DH.id, CONFIG.DH.SETTINGS.menu.Automation.Name, { game.settings.registerMenu(CONFIG.DH.id, CONFIG.DH.SETTINGS.menu.Automation.Name, {
name: game.i18n.localize('DAGGERHEART.Settings.Menu.automation.name'), name: game.i18n.localize('DAGGERHEART.SETTINGS.Menu.automation.name'),
label: game.i18n.localize('DAGGERHEART.Settings.Menu.automation.label'), label: game.i18n.localize('DAGGERHEART.SETTINGS.Menu.automation.label'),
hint: game.i18n.localize('DAGGERHEART.Settings.Menu.automation.hint'), hint: game.i18n.localize('DAGGERHEART.SETTINGS.Menu.automation.hint'),
icon: CONFIG.DH.SETTINGS.menu.Automation.Icon, icon: CONFIG.DH.SETTINGS.menu.Automation.Icon,
type: DhAutomationSettings, type: DhAutomationSettings,
restricted: true restricted: true
}); });
game.settings.registerMenu(CONFIG.DH.id, CONFIG.DH.SETTINGS.menu.Homebrew.Name, { game.settings.registerMenu(CONFIG.DH.id, CONFIG.DH.SETTINGS.menu.Homebrew.Name, {
name: game.i18n.localize('DAGGERHEART.Settings.Menu.homebrew.name'), name: game.i18n.localize('DAGGERHEART.SETTINGS.Menu.homebrew.name'),
label: game.i18n.localize('DAGGERHEART.Settings.Menu.homebrew.label'), label: game.i18n.localize('DAGGERHEART.SETTINGS.Menu.homebrew.label'),
hint: game.i18n.localize('DAGGERHEART.Settings.Menu.homebrew.hint'), hint: game.i18n.localize('DAGGERHEART.SETTINGS.Menu.homebrew.hint'),
icon: CONFIG.DH.SETTINGS.menu.Homebrew.Icon, icon: CONFIG.DH.SETTINGS.menu.Homebrew.Icon,
type: DhHomebrewSettings, type: DhHomebrewSettings,
restricted: true restricted: true
}); });
game.settings.registerMenu(CONFIG.DH.id, CONFIG.DH.SETTINGS.menu.Range.Name, { game.settings.registerMenu(CONFIG.DH.id, CONFIG.DH.SETTINGS.menu.Range.Name, {
name: game.i18n.localize('DAGGERHEART.Settings.Menu.range.name'), name: game.i18n.localize('DAGGERHEART.SETTINGS.Menu.range.name'),
label: game.i18n.localize('DAGGERHEART.Settings.Menu.range.label'), label: game.i18n.localize('DAGGERHEART.SETTINGS.Menu.range.label'),
hint: game.i18n.localize('DAGGERHEART.Settings.Menu.range.hint'), hint: game.i18n.localize('DAGGERHEART.SETTINGS.Menu.range.hint'),
icon: CONFIG.DH.SETTINGS.menu.Range.Icon, icon: CONFIG.DH.SETTINGS.menu.Range.Icon,
type: DhRangeMeasurementSettings, type: DhRangeMeasurementSettings,
restricted: true restricted: true
}); });
game.settings.registerMenu(CONFIG.DH.id, CONFIG.DH.SETTINGS.gameSettings.appearance, { game.settings.registerMenu(CONFIG.DH.id, CONFIG.DH.SETTINGS.gameSettings.appearance, {
name: game.i18n.localize('DAGGERHEART.Settings.Menu.appearance.title'), name: game.i18n.localize('DAGGERHEART.SETTINGS.Menu.appearance.title'),
label: game.i18n.localize('DAGGERHEART.Settings.Menu.appearance.label'), label: game.i18n.localize('DAGGERHEART.SETTINGS.Menu.appearance.label'),
hint: game.i18n.localize('DAGGERHEART.Settings.Menu.appearance.hint'), hint: game.i18n.localize('DAGGERHEART.SETTINGS.Menu.appearance.hint'),
icon: 'fa-solid fa-palette', icon: 'fa-solid fa-palette',
type: DhAppearanceSettings, type: DhAppearanceSettings,
restricted: false restricted: false
}); });
game.settings.registerMenu(CONFIG.DH.id, CONFIG.DH.SETTINGS.menu.VariantRules.Name, { game.settings.registerMenu(CONFIG.DH.id, CONFIG.DH.SETTINGS.menu.VariantRules.Name, {
name: game.i18n.localize('DAGGERHEART.Settings.Menu.variantRules.title'), name: game.i18n.localize('DAGGERHEART.SETTINGS.Menu.variantRules.title'),
label: game.i18n.localize('DAGGERHEART.Settings.Menu.variantRules.label'), label: game.i18n.localize('DAGGERHEART.SETTINGS.Menu.variantRules.label'),
hint: game.i18n.localize('DAGGERHEART.Settings.Menu.variantRules.hint'), hint: game.i18n.localize('DAGGERHEART.SETTINGS.Menu.variantRules.hint'),
icon: CONFIG.DH.SETTINGS.menu.VariantRules.Icon, icon: CONFIG.DH.SETTINGS.menu.VariantRules.Icon,
type: DhVariantRuleSettings, type: DhVariantRuleSettings,
restricted: false restricted: false
@ -120,8 +120,8 @@ const registerNonConfigSettings = () => {
}); });
game.settings.register(CONFIG.DH.id, CONFIG.DH.SETTINGS.gameSettings.Resources.Fear, { game.settings.register(CONFIG.DH.id, CONFIG.DH.SETTINGS.gameSettings.Resources.Fear, {
name: game.i18n.localize('DAGGERHEART.Settings.Resources.fear.name'), name: game.i18n.localize('DAGGERHEART.SETTINGS.Resources.fear.name'),
hint: game.i18n.localize('DAGGERHEART.Settings.Resources.fear.hint'), hint: game.i18n.localize('DAGGERHEART.SETTINGS.Resources.fear.hint'),
scope: 'world', scope: 'world',
config: false, config: false,
type: Number, type: Number,

View file

@ -1,17 +1,17 @@
<fieldset class="action-category"> <fieldset class="action-category">
<legend class="action-category-label"> <legend class="action-category-label">
<div>{{localize "DAGGERHEART.Actions.Config.beastform.label"}}</div> <div>{{localize "DAGGERHEART.ACTIONS.Config.beastform.label"}}</div>
</legend> </legend>
<div class="action-category-data open"> <div class="action-category-data open">
<div class="hint-group"> <div class="hint-group">
<div class="form-fields"> <div class="form-fields">
<label>{{localize "DAGGERHEART.Actions.Config.beastform.exact"}}</label> <label>{{localize "DAGGERHEART.ACTIONS.Config.beastform.exact"}}</label>
<select name="beastform.tierAccess.exact" data-dtype="Number"> <select name="beastform.tierAccess.exact" data-dtype="Number">
{{selectOptions tierOptions selected=@root.source.beastform.tierAccess.exact labelAttr="label" valueAttr="key" blank="" }} {{selectOptions tierOptions selected=@root.source.beastform.tierAccess.exact labelAttr="label" valueAttr="key" blank="" }}
</select> </select>
</div> </div>
<p class="hint">{{localize "DAGGERHEART.Actions.Config.beastform.exactHint"}}</p> <p class="hint">{{localize "DAGGERHEART.ACTIONS.Config.beastform.exactHint"}}</p>
</div> </div>
</div> </div>
</fieldset> </fieldset>

View file

@ -1,4 +1,4 @@
<section class="creation-action-footer"> <section class="creation-action-footer">
<button data-action="close">{{localize "Cancel"}}</button> <button data-action="close">{{localize "Cancel"}}</button>
<button {{#if tabs.setup.finished}}data-action="finish"{{else}}disabled{{/if}}>{{localize "DAGGERHEART.Applications.CharacterCreation.finishCreation"}}</button> <button {{#if tabs.setup.finished}}data-action="finish"{{else}}disabled{{/if}}>{{localize "DAGGERHEART.APPLICATIONS.CharacterCreation.finishCreation"}}</button>
</section> </section>

View file

@ -5,7 +5,7 @@
<a class='{{tab.id}} {{tab.cssClass}}' data-action='tab' data-group='{{tab.group}}' data-tab='{{tab.id}}'> <a class='{{tab.id}} {{tab.cssClass}}' data-action='tab' data-group='{{tab.group}}' data-tab='{{tab.id}}'>
{{localize tab.label}} {{localize tab.label}}
<div class="finish-marker {{#if (eq tab.cssClass 'active')}}active{{/if}}">{{#if tab.finished}}<i class="fa-solid fa-check"></i>{{/if}}</div> <div class="finish-marker {{#if (eq tab.cssClass 'active')}}active{{/if}}">{{#if tab.finished}}<i class="fa-solid fa-check"></i>{{/if}}</div>
{{#if tab.optional}}<div class="descriptor">{{localize "DAGGERHEART.General.Tabs.optional"}}</div>{{/if}} {{#if tab.optional}}<div class="descriptor">{{localize "DAGGERHEART.GENERAL.Tabs.optional"}}</div>{{/if}}
</a> </a>
{{/each}} {{/each}}
</nav> </nav>

View file

@ -6,11 +6,11 @@
<div class="main-selections-container"> <div class="main-selections-container">
<div class="main-equipment-selection"> <div class="main-equipment-selection">
<fieldset class="equipment-selection"> <fieldset class="equipment-selection">
<legend>{{localize "DAGGERHEART.Applications.CharacterCreation.suggestedArmor"}}</legend> <legend>{{localize "DAGGERHEART.APPLICATIONS.CharacterCreation.suggestedArmor"}}</legend>
<div class="selections-container armor-card"> <div class="selections-container armor-card">
{{#> "systems/daggerheart/templates/components/card-preview.hbs" armor }} {{#> "systems/daggerheart/templates/components/card-preview.hbs" armor }}
{{localize "DAGGERHEART.Applications.CharacterCreation.selectArmor"}} {{localize "DAGGERHEART.APPLICATIONS.CharacterCreation.selectArmor"}}
{{/"systems/daggerheart/templates/components/card-preview.hbs"}} {{/"systems/daggerheart/templates/components/card-preview.hbs"}}
</div> </div>
{{#if armor.suggestion}} {{#if armor.suggestion}}
@ -24,13 +24,13 @@
</fieldset> </fieldset>
<fieldset class="equipment-selection"> <fieldset class="equipment-selection">
<legend>{{localize "DAGGERHEART.Applications.CharacterCreation.suggestedWeapons"}}</legend> <legend>{{localize "DAGGERHEART.APPLICATIONS.CharacterCreation.suggestedWeapons"}}</legend>
<div class="equipment-subsection"> <div class="equipment-subsection">
<div class="equipment-wrapper"> <div class="equipment-wrapper">
<div class="selections-container primary-weapon-card"> <div class="selections-container primary-weapon-card">
{{#> "systems/daggerheart/templates/components/card-preview.hbs" primaryWeapon }} {{#> "systems/daggerheart/templates/components/card-preview.hbs" primaryWeapon }}
{{localize "DAGGERHEART.Applications.CharacterCreation.selectPrimaryWeapon"}} {{localize "DAGGERHEART.APPLICATIONS.CharacterCreation.selectPrimaryWeapon"}}
{{/"systems/daggerheart/templates/components/card-preview.hbs"}} {{/"systems/daggerheart/templates/components/card-preview.hbs"}}
</div> </div>
{{#if primaryWeapon.suggestion}} {{#if primaryWeapon.suggestion}}
@ -45,7 +45,7 @@
<div class="equipment-wrapper"> <div class="equipment-wrapper">
<div class="selections-container secondary-weapon-card"> <div class="selections-container secondary-weapon-card">
{{#> "systems/daggerheart/templates/components/card-preview.hbs" secondaryWeapon }} {{#> "systems/daggerheart/templates/components/card-preview.hbs" secondaryWeapon }}
{{localize "DAGGERHEART.Applications.CharacterCreation.selectSecondaryWeapon"}} {{localize "DAGGERHEART.APPLICATIONS.CharacterCreation.selectSecondaryWeapon"}}
{{/"systems/daggerheart/templates/components/card-preview.hbs"}} {{/"systems/daggerheart/templates/components/card-preview.hbs"}}
</div> </div>
{{#if secondaryWeapon.suggestion}} {{#if secondaryWeapon.suggestion}}
@ -65,7 +65,7 @@
</div> </div>
<div class="main-equipment-selection triple"> <div class="main-equipment-selection triple">
<fieldset class="equipment-selection"> <fieldset class="equipment-selection">
<legend>{{localize "DAGGERHEART.Applications.CharacterCreation.startingItems"}}</legend> <legend>{{localize "DAGGERHEART.APPLICATIONS.CharacterCreation.startingItems"}}</legend>
<div class="simple-equipment-container"> <div class="simple-equipment-container">
{{#each inventory.take}} {{#each inventory.take}}
@ -78,7 +78,7 @@
</fieldset> </fieldset>
<fieldset class="equipment-selection"> <fieldset class="equipment-selection">
<legend>{{localize "DAGGERHEART.Applications.CharacterCreation.choice"}}</legend> <legend>{{localize "DAGGERHEART.APPLICATIONS.CharacterCreation.choice"}}</legend>
<div class="simple-equipment-container"> <div class="simple-equipment-container">
{{#each inventory.choiceA.suggestions}} {{#each inventory.choiceA.suggestions}}
@ -91,7 +91,7 @@
</fieldset> </fieldset>
<fieldset class="equipment-selection"> <fieldset class="equipment-selection">
<legend>{{localize "DAGGERHEART.Applications.CharacterCreation.choice"}}</legend> <legend>{{localize "DAGGERHEART.APPLICATIONS.CharacterCreation.choice"}}</legend>
<div class="simple-equipment-container"> <div class="simple-equipment-container">
{{#each inventory.choiceB.suggestions}} {{#each inventory.choiceB.suggestions}}

View file

@ -9,13 +9,13 @@
<div class="selections-outer-container"> <div class="selections-outer-container">
<div class="selections-container class-card"> <div class="selections-container class-card">
{{#> "systems/daggerheart/templates/components/card-preview.hbs" class }} {{#> "systems/daggerheart/templates/components/card-preview.hbs" class }}
{{localize "DAGGERHEART.Applications.CharacterCreation.selectClass"}} {{localize "DAGGERHEART.APPLICATIONS.CharacterCreation.selectClass"}}
{{/"systems/daggerheart/templates/components/card-preview.hbs"}} {{/"systems/daggerheart/templates/components/card-preview.hbs"}}
</div> </div>
<div class="selections-container subclass-card"> <div class="selections-container subclass-card">
{{#> "systems/daggerheart/templates/components/card-preview.hbs" subclass disabled=(not class.img) }} {{#> "systems/daggerheart/templates/components/card-preview.hbs" subclass disabled=(not class.img) }}
{{localize "DAGGERHEART.Applications.CharacterCreation.selectSubclass"}} {{localize "DAGGERHEART.APPLICATIONS.CharacterCreation.selectSubclass"}}
{{/"systems/daggerheart/templates/components/card-preview.hbs"}} {{/"systems/daggerheart/templates/components/card-preview.hbs"}}
</div> </div>
</div> </div>
@ -23,17 +23,17 @@
{{#if (gte visibility 2)}} {{#if (gte visibility 2)}}
<fieldset class="section-container"> <fieldset class="section-container">
<legend>{{localize "DAGGERHEART.Applications.CharacterCreation.heritage"}}</legend> <legend>{{localize "DAGGERHEART.APPLICATIONS.CharacterCreation.heritage"}}</legend>
<div class="selections-outer-container"> <div class="selections-outer-container">
<div class="selections-container ancestry-card"> <div class="selections-container ancestry-card">
{{#> "systems/daggerheart/templates/components/card-preview.hbs" ancestry }} {{#> "systems/daggerheart/templates/components/card-preview.hbs" ancestry }}
{{localize "DAGGERHEART.Applications.CharacterCreation.selectAncestry"}} {{localize "DAGGERHEART.APPLICATIONS.CharacterCreation.selectAncestry"}}
{{/"systems/daggerheart/templates/components/card-preview.hbs"}} {{/"systems/daggerheart/templates/components/card-preview.hbs"}}
</div> </div>
<div class="selections-container community-card"> <div class="selections-container community-card">
{{#> "systems/daggerheart/templates/components/card-preview.hbs" community }} {{#> "systems/daggerheart/templates/components/card-preview.hbs" community }}
{{localize "DAGGERHEART.Applications.CharacterCreation.selectCommunity"}} {{localize "DAGGERHEART.APPLICATIONS.CharacterCreation.selectCommunity"}}
{{/"systems/daggerheart/templates/components/card-preview.hbs"}} {{/"systems/daggerheart/templates/components/card-preview.hbs"}}
</div> </div>
</div> </div>
@ -42,10 +42,10 @@
{{#if (gte visibility 3)}} {{#if (gte visibility 3)}}
<fieldset class="section-container"> <fieldset class="section-container">
<legend>{{localize "DAGGERHEART.Applications.CharacterCreation.traitIncreases"}} {{traits.nrSelected}}/{{traits.nrTotal}}</legend> <legend>{{localize "DAGGERHEART.APPLICATIONS.CharacterCreation.traitIncreases"}} {{traits.nrSelected}}/{{traits.nrTotal}}</legend>
<div class="traits-container"> <div class="traits-container">
<fieldset class="section-inner-container"> <fieldset class="section-inner-container">
<legend>{{localize "DAGGERHEART.Applications.CharacterCreation.suggestedTraits"}}</legend> <legend>{{localize "DAGGERHEART.APPLICATIONS.CharacterCreation.suggestedTraits"}}</legend>
<div class="suggested-traits-container"> <div class="suggested-traits-container">
{{#each suggestedTraits}} {{#each suggestedTraits}}
<div class="suggested-trait-container">{{this}}</div> <div class="suggested-trait-container">{{this}}</div>
@ -69,11 +69,11 @@
{{#if (gte visibility 4)}} {{#if (gte visibility 4)}}
<fieldset class="section-container"> <fieldset class="section-container">
<legend>{{localize "DAGGERHEART.Applications.CharacterCreation.initialExperiences"}} {{experience.nrSelected}}/{{experience.nrTotal}}</legend> <legend>{{localize "DAGGERHEART.APPLICATIONS.CharacterCreation.initialExperiences"}} {{experience.nrSelected}}/{{experience.nrTotal}}</legend>
<div class="experiences-inner-container"> <div class="experiences-inner-container">
{{#each experience.values as |experience id|}} {{#each experience.values as |experience id|}}
<div class="experience-container"> <div class="experience-container">
<input class="experience-description" type="text" name="{{concat "experiences." id ".description" }}" value="{{experience.description}}" placeholder="{{localize "DAGGERHEART.Applications.CharacterCreation.newExperience"}}" /> <input class="experience-description" type="text" name="{{concat "experiences." id ".description" }}" value="{{experience.description}}" placeholder="{{localize "DAGGERHEART.APPLICATIONS.CharacterCreation.newExperience"}}" />
<div class="experience-value">{{numberFormat this.value sign=true}}</div> <div class="experience-value">{{numberFormat this.value sign=true}}</div>
</div> </div>
{{/each}} {{/each}}
@ -89,7 +89,7 @@
<div class="selections-container domain-card" data-card="{{id}}"> <div class="selections-container domain-card" data-card="{{id}}">
{{#> "systems/daggerheart/templates/components/card-preview.hbs" domainCard }} {{#> "systems/daggerheart/templates/components/card-preview.hbs" domainCard }}
{{#each @root.class.system.domains }} {{#each @root.class.system.domains }}
<div>{{localize (concat "DAGGERHEART.General.Domain." this ".label")}}</div> <div>{{localize (concat "DAGGERHEART.GENERAL.Domain." this ".label")}}</div>
{{/each}} {{/each}}
{{/"systems/daggerheart/templates/components/card-preview.hbs"}} {{/"systems/daggerheart/templates/components/card-preview.hbs"}}
</div> </div>

View file

@ -13,6 +13,6 @@
{{/each}} {{/each}}
</div> </div>
<footer> <footer>
<button type="button" data-action="submitBeastform" {{#if (not canSubmit)}}disabled{{/if}}>{{localize "DAGGERHEART.Items.Beastform.transform"}}</button> <button type="button" data-action="submitBeastform" {{#if (not canSubmit)}}disabled{{/if}}>{{localize "DAGGERHEART.ITEMS.Beastform.transform"}}</button>
</footer> </footer>
</div> </div>

View file

@ -2,12 +2,12 @@
<div class="section-container padded"> <div class="section-container padded">
<div class="resources-container"> <div class="resources-container">
<div class="resource-container"> <div class="resource-container">
<h4 class="armor-title">{{localize "DAGGERHEART.Applications.DamageReduction.armorMarks"}}</h4> <h4 class="armor-title">{{localize "DAGGERHEART.APPLICATIONS.DamageReduction.armorMarks"}}</h4>
<div class="markers-subtitle">{{armorMarks}}/{{armorScore}}</div> <div class="markers-subtitle">{{armorMarks}}/{{armorScore}}</div>
</div> </div>
{{#if this.stress}} {{#if this.stress}}
<div class="resource-container"> <div class="resource-container">
<h4 class="armor-title">{{localize "DAGGERHEART.Applications.DamageReduction.stress"}}</h4> <h4 class="armor-title">{{localize "DAGGERHEART.APPLICATIONS.DamageReduction.stress"}}</h4>
<div class="markers-subtitle">{{this.stress.value}}/{{this.stress.maxTotal}}</div> <div class="markers-subtitle">{{this.stress.value}}/{{this.stress.maxTotal}}</div>
</div> </div>
{{/if}} {{/if}}
@ -30,19 +30,19 @@
{{#each marks.stress}} {{#each marks.stress}}
<div <div
class="mark-container {{#if this.selected}}selected{{/if}} {{#if (not @root.basicMarksUsed)}}inactive{{/if}}" class="mark-container {{#if this.selected}}selected{{/if}} {{#if (not @root.basicMarksUsed)}}inactive{{/if}}"
{{#if @root.basicMarksUsed}}data-action="setMarks"{{/if}} data-key="{{@key}}" data-type="stress" data-tooltip="{{#if @root.basicMarksUsed}}{{localize "DAGGERHEART.Applications.DamageReduction.armorWithStress"}}{{else}}{{localize "DAGGERHEART.Applications.DamageReduction.unncessaryStress"}}{{/if}}" {{#if @root.basicMarksUsed}}data-action="setMarks"{{/if}} data-key="{{@key}}" data-type="stress" data-tooltip="{{#if @root.basicMarksUsed}}{{localize "DAGGERHEART.APPLICATIONS.DamageReduction.armorWithStress"}}{{else}}{{localize "DAGGERHEART.APPLICATIONS.DamageReduction.unncessaryStress"}}{{/if}}"
> >
<i class="fa-solid fa-bolt"></i> <i class="fa-solid fa-bolt"></i>
</div> </div>
{{/each}} {{/each}}
</div> </div>
</h4> </h4>
<div class="markers-subtitle bold">{{localize "DAGGERHEART.Applications.DamageReduction.usedMarks"}}</div> <div class="markers-subtitle bold">{{localize "DAGGERHEART.APPLICATIONS.DamageReduction.usedMarks"}}</div>
</div> </div>
<div class="resources-container"> <div class="resources-container">
<div class="resource-container"> <div class="resource-container">
<h4 class="armor-title">{{localize "DAGGERHEART.Applications.DamageReduction.stressReduction"}}</h4> <h4 class="armor-title">{{localize "DAGGERHEART.APPLICATIONS.DamageReduction.stressReduction"}}</h4>
</div> </div>
</div> </div>

View file

@ -13,7 +13,7 @@
{{/each}} {{/each}}
</div> </div>
<footer class="flexrow"> <footer class="flexrow">
<button data-action="takeMove" {{#if (not this.selectedMove)}}disabled{{/if}}>{{localize "DAGGERHEART.Applications.DeathMove.takeMove"}}</button> <button data-action="takeMove" {{#if (not this.selectedMove)}}disabled{{/if}}>{{localize "DAGGERHEART.APPLICATIONS.DeathMove.takeMove"}}</button>
<button data-action="close">{{localize "DAGGERHEART.Application.Cancel"}}</button> <button data-action="close">{{localize "DAGGERHEART.Application.Cancel"}}</button>
</footer> </footer>
</div> </div>

View file

@ -97,7 +97,7 @@
{{else}} {{else}}
<span><i class="fa-regular fa-circle"></i></span> <span><i class="fa-regular fa-circle"></i></span>
{{/if}} {{/if}}
<span class="label">{{localize "DAGGERHEART.General.Advantage.full"}}</span> <span class="label">{{localize "DAGGERHEART.GENERAL.Advantage.full"}}</span>
</button> </button>
<button class="disadvantage-chip flex1 {{#if (eq advantage -1)}}selected{{/if}}" data-action="updateIsAdvantage" data-advantage="-1"> <button class="disadvantage-chip flex1 {{#if (eq advantage -1)}}selected{{/if}}" data-action="updateIsAdvantage" data-advantage="-1">
{{#if (eq advantage -1)}} {{#if (eq advantage -1)}}
@ -105,7 +105,7 @@
{{else}} {{else}}
<span><i class="fa-regular fa-circle"></i></span> <span><i class="fa-regular fa-circle"></i></span>
{{/if}} {{/if}}
<span class="label">{{localize "DAGGERHEART.General.Disadvantage.full"}}</span> <span class="label">{{localize "DAGGERHEART.GENERAL.Disadvantage.full"}}</span>
</button> </button>
{{#unless (eq @root.rollType 'D20Roll')}} {{#unless (eq @root.rollType 'D20Roll')}}
<select name="roll.dice.advantageFaces"> <select name="roll.dice.advantageFaces">

View file

@ -1,6 +1,6 @@
<div> <div>
<div class="downtime-container"> <div class="downtime-container">
<h2 class="downtime-header">{{localize "DAGGERHEART.Applications.Downtime.downtimeHeader" current=nrCurrentChoices max=moveData.nrChoices}}</h2> <h2 class="downtime-header">{{localize "DAGGERHEART.APPLICATIONS.Downtime.downtimeHeader" current=nrCurrentChoices max=moveData.nrChoices}}</h2>
{{#each moveData.moves as |move key|}} {{#each moveData.moves as |move key|}}
<div class="activity-container"> <div class="activity-container">
<div class="activity-title"> <div class="activity-title">

View file

@ -1,7 +1,7 @@
<div class="ownership-outer-container"> <div class="ownership-outer-container">
<div class="form-group"> <div class="form-group">
<div class="form-fields"> <div class="form-fields">
<label>{{localize "DAGGERHEART.Applications.OwnershipSelection.Default"}}</label> <label>{{localize "DAGGERHEART.APPLICATIONS.OwnershipSelection.Default"}}</label>
<select name="ownership.default" data-dtype="Number"> <select name="ownership.default" data-dtype="Number">
{{selectOptions @root.ownershipOptions selected=ownership.default labelAttr="label" valueAttr="value" }} {{selectOptions @root.ownershipOptions selected=ownership.default labelAttr="label" valueAttr="value" }}
</select> </select>

View file

@ -6,12 +6,12 @@
<div class="section-container levelup-selections-container"> <div class="section-container levelup-selections-container">
{{#if (gt this.newExperiences.length 0)}} {{#if (gt this.newExperiences.length 0)}}
<div> <div>
<h3>{{localize "DAGGERHEART.Applications.Levelup.summary.newExperiences"}}</h3> <h3>{{localize "DAGGERHEART.APPLICATIONS.Levelup.summary.newExperiences"}}</h3>
<div class="achievement-experience-cards"> <div class="achievement-experience-cards">
{{#each this.newExperiences}} {{#each this.newExperiences}}
<div class="achievement-experience-card"> <div class="achievement-experience-card">
<div class="flexrow"> <div class="flexrow">
<input type="text" name="{{concat "levelup.levels." this.level ".achievements.experiences." this.key ".name"}}" value="{{this.name}}" placeholder="{{localize "DAGGERHEART.Applications.Levelup.summary.experiencePlaceholder"}}" /> <input type="text" name="{{concat "levelup.levels." this.level ".achievements.experiences." this.key ".name"}}" value="{{this.name}}" placeholder="{{localize "DAGGERHEART.APPLICATIONS.Levelup.summary.experiencePlaceholder"}}" />
<div class="flex0">{{numberFormat this.modifier sign=true}}</div> <div class="flex0">{{numberFormat this.modifier sign=true}}</div>
</div> </div>
<div class="achievement-experience-marker"> <div class="achievement-experience-marker">
@ -26,7 +26,7 @@
{{#if this.traits.active}} {{#if this.traits.active}}
<div> <div>
<h3 class="levelup-selections-title"> <h3 class="levelup-selections-title">
<div>{{localize "DAGGERHEART.Applications.Levelup.summary.traits"}}</div> <div>{{localize "DAGGERHEART.APPLICATIONS.Levelup.summary.traits"}}</div>
<div>{{this.traits.progress.selected}}/{{this.traits.progress.max}}</div> <div>{{this.traits.progress.selected}}/{{this.traits.progress.max}}</div>
</h3> </h3>
@ -37,7 +37,7 @@
{{#if this.experienceIncreases.active}} {{#if this.experienceIncreases.active}}
<div> <div>
<h3 class="levelup-selections-title"> <h3 class="levelup-selections-title">
<div>{{localize "DAGGERHEART.Applications.Levelup.summary.experienceIncreases"}}</div> <div>{{localize "DAGGERHEART.APPLICATIONS.Levelup.summary.experienceIncreases"}}</div>
<div>{{this.experienceIncreases.progress.selected}}/{{this.experienceIncreases.progress.max}}</div> <div>{{this.experienceIncreases.progress.selected}}/{{this.experienceIncreases.progress.max}}</div>
</h3> </h3>
@ -47,7 +47,7 @@
{{#if (gt this.domainCards.length 0)}} {{#if (gt this.domainCards.length 0)}}
<div> <div>
<h3>{{localize "DAGGERHEART.Applications.Levelup.summary.domainCards"}}</h3> <h3>{{localize "DAGGERHEART.APPLICATIONS.Levelup.summary.domainCards"}}</h3>
<div class="levelup-card-selection domain-cards"> <div class="levelup-card-selection domain-cards">
{{#each this.domainCards}} {{#each this.domainCards}}
@ -63,7 +63,7 @@
{{#if (gt this.subclassCards.length 0)}} {{#if (gt this.subclassCards.length 0)}}
<div> <div>
<h3>{{localize "DAGGERHEART.Applications.Levelup.summary.subclass"}}</h3> <h3>{{localize "DAGGERHEART.APPLICATIONS.Levelup.summary.subclass"}}</h3>
<div class="levelup-card-selection subclass-cards"> <div class="levelup-card-selection subclass-cards">
{{#each this.subclassCards}} {{#each this.subclassCards}}
@ -75,7 +75,7 @@
{{#if this.multiclass}} {{#if this.multiclass}}
<div> <div>
<h3>{{localize "DAGGERHEART.Applications.Levelup.summary.multiclass"}}</h3> <h3>{{localize "DAGGERHEART.APPLICATIONS.Levelup.summary.multiclass"}}</h3>
<div class="levelup-card-selection multiclass-cards" data-path="{{this.multiclass.path}}" data-tier="{{this.multiclass.tier}}" data-min-cost="{{this.multiclass.minCost}}" data-amount="{{this.multiclass.amount}}" data-value="{{this.multiclass.value}}" data-type="{{this.multiclass.type}}"> <div class="levelup-card-selection multiclass-cards" data-path="{{this.multiclass.path}}" data-tier="{{this.multiclass.tier}}" data-min-cost="{{this.multiclass.minCost}}" data-amount="{{this.multiclass.amount}}" data-value="{{this.multiclass.value}}" data-type="{{this.multiclass.type}}">
{{#> "systems/daggerheart/templates/components/card-preview.hbs" this.multiclass }} {{#> "systems/daggerheart/templates/components/card-preview.hbs" this.multiclass }}
@ -114,7 +114,7 @@
{{#if this.vicious}} {{#if this.vicious}}
<div> <div>
<h3>{{localize "DAGGERHEART.Applications.Levelup.summary.vicious"}}</h3> <h3>{{localize "DAGGERHEART.APPLICATIONS.Levelup.summary.vicious"}}</h3>
{{#each this.vicious}} {{#each this.vicious}}
<div class="levelup-radio-choices"> <div class="levelup-radio-choices">
{{radioBoxes (concat "levelup." this.path ".data") @root.viciousChoices checked=(lookup this.data 0)}} {{radioBoxes (concat "levelup." this.path ".data") @root.viciousChoices checked=(lookup this.data 0)}}

View file

@ -6,13 +6,13 @@
<div class="section-container levelup-summary-container"> <div class="section-container levelup-summary-container">
{{#if this.achievements}} {{#if this.achievements}}
<fieldset> <fieldset>
<legend>{{localize "DAGGERHEART.Applications.Levelup.summary.levelAchievements"}}</legend> <legend>{{localize "DAGGERHEART.APPLICATIONS.Levelup.summary.levelAchievements"}}</legend>
<div class="level-achievements-container"> <div class="level-achievements-container">
{{#if this.achievements.proficiency.shown}} {{#if this.achievements.proficiency.shown}}
<div> <div>
<div class="increase-container"> <div class="increase-container">
{{localize "DAGGERHEART.Applications.Levelup.summary.proficiencyIncrease" proficiency=this.achievements.proficiency.old }} {{localize "DAGGERHEART.APPLICATIONS.Levelup.summary.proficiencyIncrease" proficiency=this.achievements.proficiency.old }}
<i class="fa-solid fa-arrow-right-long"></i> <i class="fa-solid fa-arrow-right-long"></i>
{{this.achievements.proficiency.new}} {{this.achievements.proficiency.new}}
</div> </div>
@ -20,14 +20,14 @@
{{/if}} {{/if}}
{{#if this.achievements.damageThresholds}} {{#if this.achievements.damageThresholds}}
<div> <div>
<h5 class="summary-section">{{localize "DAGGERHEART.Applications.Levelup.summary.damageThresholds"}}{{#if this.levelAchievements.damageThresholds.unarmored}}({{localize "DAGGERHEART.General.unarmored"}}){{/if}}</h5> <h5 class="summary-section">{{localize "DAGGERHEART.APPLICATIONS.Levelup.summary.damageThresholds"}}{{#if this.levelAchievements.damageThresholds.unarmored}}({{localize "DAGGERHEART.GENERAL.unarmored"}}){{/if}}</h5>
<div class="increase-container"> <div class="increase-container">
{{localize "DAGGERHEART.Applications.Levelup.summary.damageThresholdMajorIncrease" threshold=this.achievements.damageThresholds.major.old }} {{localize "DAGGERHEART.APPLICATIONS.Levelup.summary.damageThresholdMajorIncrease" threshold=this.achievements.damageThresholds.major.old }}
<i class="fa-solid fa-arrow-right-long"></i> <i class="fa-solid fa-arrow-right-long"></i>
{{this.achievements.damageThresholds.major.new}} {{this.achievements.damageThresholds.major.new}}
</div> </div>
<div class="increase-container"> <div class="increase-container">
{{localize "DAGGERHEART.Applications.Levelup.summary.damageThresholdSevereIncrease" threshold=this.achievements.damageThresholds.severe.old }} {{localize "DAGGERHEART.APPLICATIONS.Levelup.summary.damageThresholdSevereIncrease" threshold=this.achievements.damageThresholds.severe.old }}
<i class="fa-solid fa-arrow-right-long"></i> <i class="fa-solid fa-arrow-right-long"></i>
{{this.achievements.damageThresholds.severe.new}} {{this.achievements.damageThresholds.severe.new}}
</div> </div>
@ -35,7 +35,7 @@
{{/if}} {{/if}}
{{#if this.achievements.domainCards.shown}} {{#if this.achievements.domainCards.shown}}
<div> <div>
<h5>{{localize "DAGGERHEART.Applications.Levelup.summary.domainCards"}}</h5> <h5>{{localize "DAGGERHEART.APPLICATIONS.Levelup.summary.domainCards"}}</h5>
<div class="summary-selection-container"> <div class="summary-selection-container">
{{#each this.achievements.domainCards.values}} {{#each this.achievements.domainCards.values}}
<div class="summary-selection">{{this.name}}</div> <div class="summary-selection">{{this.name}}</div>
@ -45,7 +45,7 @@
{{/if}} {{/if}}
{{#if this.achievements.experiences.shown}} {{#if this.achievements.experiences.shown}}
<div> <div>
<h5>{{localize "DAGGERHEART.Applications.Levelup.summary.newExperiences"}}</h5> <h5>{{localize "DAGGERHEART.APPLICATIONS.Levelup.summary.newExperiences"}}</h5>
<div class="summary-selection-container"> <div class="summary-selection-container">
{{#each this.achievements.experiences.values}} {{#each this.achievements.experiences.values}}
<div class="summary-selection">{{this.name}} {{numberFormat this.modifier sign=true}}</div> <div class="summary-selection">{{this.name}} {{numberFormat this.modifier sign=true}}</div>
@ -57,14 +57,14 @@
</fieldset> </fieldset>
{{/if}} {{/if}}
<fieldset> <fieldset>
<legend>{{localize "DAGGERHEART.Applications.Levelup.summary.levelAdvancements"}}</legend> <legend>{{localize "DAGGERHEART.APPLICATIONS.Levelup.summary.levelAdvancements"}}</legend>
<div class="level-advancements-container"> <div class="level-advancements-container">
{{#if this.advancements.statistics.shown}} {{#if this.advancements.statistics.shown}}
<div> <div>
{{#if this.advancements.statistics.proficiency.shown}} {{#if this.advancements.statistics.proficiency.shown}}
<div class="increase-container"> <div class="increase-container">
{{localize "DAGGERHEART.Applications.Levelup.summary.proficiencyIncrease" proficiency=this.advancements.statistics.proficiency.old }} {{localize "DAGGERHEART.APPLICATIONS.Levelup.summary.proficiencyIncrease" proficiency=this.advancements.statistics.proficiency.old }}
<i class="fa-solid fa-arrow-right-long"></i> <i class="fa-solid fa-arrow-right-long"></i>
{{this.advancements.statistics.proficiency.new}} {{this.advancements.statistics.proficiency.new}}
</div> </div>
@ -72,7 +72,7 @@
{{#if this.advancements.statistics.hitPoints.shown}} {{#if this.advancements.statistics.hitPoints.shown}}
<div class="increase-container"> <div class="increase-container">
{{localize "DAGGERHEART.Applications.Levelup.summary.hpIncrease" hitPoints=this.advancements.statistics.hitPoints.old }} {{localize "DAGGERHEART.APPLICATIONS.Levelup.summary.hpIncrease" hitPoints=this.advancements.statistics.hitPoints.old }}
<i class="fa-solid fa-arrow-right-long"></i> <i class="fa-solid fa-arrow-right-long"></i>
{{this.advancements.statistics.hitPoints.new}} {{this.advancements.statistics.hitPoints.new}}
</div> </div>
@ -80,14 +80,14 @@
{{#if this.advancements.statistics.stress.shown}} {{#if this.advancements.statistics.stress.shown}}
<div class="increase-container"> <div class="increase-container">
{{localize "DAGGERHEART.Applications.Levelup.summary.stressIncrease" stress=this.advancements.statistics.stress.old }} {{localize "DAGGERHEART.APPLICATIONS.Levelup.summary.stressIncrease" stress=this.advancements.statistics.stress.old }}
<i class="fa-solid fa-arrow-right-long"></i> <i class="fa-solid fa-arrow-right-long"></i>
{{this.advancements.statistics.stress.new}} {{this.advancements.statistics.stress.new}}
</div> </div>
{{/if}} {{/if}}
{{#if this.advancements.statistics.evasion.shown}} {{#if this.advancements.statistics.evasion.shown}}
<div class="increase-container"> <div class="increase-container">
{{localize "DAGGERHEART.Applications.Levelup.summary.evasionIncrease" evasion=this.advancements.statistics.evasion.old }} {{localize "DAGGERHEART.APPLICATIONS.Levelup.summary.evasionIncrease" evasion=this.advancements.statistics.evasion.old }}
<i class="fa-solid fa-arrow-right-long"></i> <i class="fa-solid fa-arrow-right-long"></i>
{{this.advancements.statistics.evasion.new}} {{this.advancements.statistics.evasion.new}}
</div> </div>
@ -97,7 +97,7 @@
{{#if this.advancements.traits}} {{#if this.advancements.traits}}
<div> <div>
<h5>{{localize "DAGGERHEART.Applications.Levelup.summary.traits"}}</h5> <h5>{{localize "DAGGERHEART.APPLICATIONS.Levelup.summary.traits"}}</h5>
{{#each this.advancements.traits}} {{#each this.advancements.traits}}
<div class="increase-container"> <div class="increase-container">
@ -111,7 +111,7 @@
{{#if this.advancements.domainCards}} {{#if this.advancements.domainCards}}
<div> <div>
<h5>{{localize "DAGGERHEART.Applications.Levelup.summary.domainCards"}}</h5> <h5>{{localize "DAGGERHEART.APPLICATIONS.Levelup.summary.domainCards"}}</h5>
<div class="summary-selection-container"> <div class="summary-selection-container">
{{#each this.advancements.domainCards}} {{#each this.advancements.domainCards}}
<div class="summary-selection">{{this.name}}</div> <div class="summary-selection">{{this.name}}</div>
@ -122,7 +122,7 @@
{{#if this.advancements.experiences}} {{#if this.advancements.experiences}}
<div> <div>
<h5>{{localize "DAGGERHEART.Applications.Levelup.summary.experienceIncreases"}}</h5> <h5>{{localize "DAGGERHEART.APPLICATIONS.Levelup.summary.experienceIncreases"}}</h5>
<div class="summary-selection-container"> <div class="summary-selection-container">
{{#each this.advancements.experiences}} {{#each this.advancements.experiences}}
<div class="summary-selection">{{this.name}} {{numberFormat this.modifier sign=true}}</div> <div class="summary-selection">{{this.name}} {{numberFormat this.modifier sign=true}}</div>
@ -133,7 +133,7 @@
{{#if this.advancements.subclass}} {{#if this.advancements.subclass}}
<div> <div>
<h5>{{localize "DAGGERHEART.Applications.Levelup.summary.subclass"}}</h5> <h5>{{localize "DAGGERHEART.APPLICATIONS.Levelup.summary.subclass"}}</h5>
<div class="summary-selection-container"> <div class="summary-selection-container">
{{#each this.advancements.subclass}} {{#each this.advancements.subclass}}
<div class="summary-selection">{{this.name}} - {{this.featureLabel}}</div> <div class="summary-selection">{{this.name}} - {{this.featureLabel}}</div>
@ -145,7 +145,7 @@
{{#if this.advancements.multiclass}} {{#if this.advancements.multiclass}}
{{#with this.advancements.multiclass}} {{#with this.advancements.multiclass}}
<div> <div>
<h5>{{localize "DAGGERHEART.Applications.Levelup.summary.multiclass"}}</h5> <h5>{{localize "DAGGERHEART.APPLICATIONS.Levelup.summary.multiclass"}}</h5>
<div class="summary-selection-container"> <div class="summary-selection-container">
<div class="summary-selection">{{this.name}}</div> <div class="summary-selection">{{this.name}}</div>
<div class="summary-selection">{{this.domain}}</div> <div class="summary-selection">{{this.domain}}</div>
@ -157,21 +157,21 @@
{{#if this.advancements.vicious.damage}} {{#if this.advancements.vicious.damage}}
<div class="increase-container"> <div class="increase-container">
{{localize "DAGGERHEART.Applications.Levelup.summary.damageIncreased" damage=this.advancements.vicious.damage.old }} {{localize "DAGGERHEART.APPLICATIONS.Levelup.summary.damageIncreased" damage=this.advancements.vicious.damage.old }}
<i class="fa-solid fa-arrow-right-long"></i> <i class="fa-solid fa-arrow-right-long"></i>
{{this.advancements.vicious.damage.new}} {{this.advancements.vicious.damage.new}}
</div> </div>
{{/if}} {{/if}}
{{#if this.advancements.vicious.range}} {{#if this.advancements.vicious.range}}
<div class="increase-container"> <div class="increase-container">
{{localize "DAGGERHEART.Applications.Levelup.summary.rangeIncreased" range=this.advancements.vicious.range.old }} {{localize "DAGGERHEART.APPLICATIONS.Levelup.summary.rangeIncreased" range=this.advancements.vicious.range.old }}
<i class="fa-solid fa-arrow-right-long"></i> <i class="fa-solid fa-arrow-right-long"></i>
{{this.advancements.vicious.range.new}} {{this.advancements.vicious.range.new}}
</div> </div>
{{/if}} {{/if}}
{{#each this.advancements.simple}} {{#each this.advancements.simple}}
<div class="summary-selection-container"> <div class="summary-selection-container">
<div class="summary-selection">{{localize "DAGGERHEART.Applications.Levelup.summary.simpleFeature" feature=this}}</div> <div class="summary-selection">{{localize "DAGGERHEART.APPLICATIONS.Levelup.summary.simpleFeature" feature=this}}</div>
</div> </div>
{{/each}} {{/each}}
</div> </div>

View file

@ -19,7 +19,7 @@
{{/if}} {{/if}}
<div class="levelup-navigation-actions {{#if (not this.showTabs)}}test{{/if}}"> <div class="levelup-navigation-actions {{#if (not this.showTabs)}}test{{/if}}">
{{#if this.navigate.previous.fromSummary}} {{#if this.navigate.previous.fromSummary}}
<button data-action="activatePart" data-part="advancements">{{localize "DAGGERHEART.Applications.Levelup.navigateToLevelup"}}</button> <button data-action="activatePart" data-part="advancements">{{localize "DAGGERHEART.APPLICATIONS.Levelup.navigateToLevelup"}}</button>
{{else}} {{else}}
{{#if (not this.navigate.previous.disabled)}} {{#if (not this.navigate.previous.disabled)}}
<button data-action="updateCurrentLevel" >{{this.navigate.previous.label}}</button> <button data-action="updateCurrentLevel" >{{this.navigate.previous.label}}</button>
@ -27,7 +27,7 @@
{{/if}} {{/if}}
{{#if this.navigate.next.show}} {{#if this.navigate.next.show}}
{{#if this.navigate.next.toSummary}} {{#if this.navigate.next.toSummary}}
<button data-action="activatePart" data-part="summary" {{#if this.navigate.next.disabled}}disabled{{/if}}>{{localize "DAGGERHEART.Applications.Levelup.navigateToSummary"}}</button> <button data-action="activatePart" data-part="summary" {{#if this.navigate.next.disabled}}disabled{{/if}}>{{localize "DAGGERHEART.APPLICATIONS.Levelup.navigateToSummary"}}</button>
{{else}} {{else}}
<button data-action="updateCurrentLevel" data-forward="true" {{#if this.navigate.next.disabled}}disabled{{/if}}>{{this.navigate.next.label}}</button> <button data-action="updateCurrentLevel" data-forward="true" {{#if this.navigate.next.disabled}}disabled{{/if}}>{{this.navigate.next.label}}</button>
{{/if}} {{/if}}

View file

@ -2,104 +2,104 @@
{{formGroup settingFields.schema.fields.displayFear value=settingFields._source.displayFear localize=true}} {{formGroup settingFields.schema.fields.displayFear value=settingFields._source.displayFear localize=true}}
<fieldset> <fieldset>
<legend>{{localize "DAGGERHEART.Settings.Menu.appearance.duality"}}</legend> <legend>{{localize "DAGGERHEART.SETTINGS.Menu.appearance.duality"}}</legend>
{{formInput settingFields.schema.fields.dualityColorScheme value=settingFields._source.dualityColorScheme localize=true}} {{formInput settingFields.schema.fields.dualityColorScheme value=settingFields._source.dualityColorScheme localize=true}}
<h2>{{localize "DAGGERHEART.Settings.Menu.appearance.diceSoNice.title"}}</h2> <h2>{{localize "DAGGERHEART.SETTINGS.Menu.appearance.diceSoNice.title"}}</h2>
<div class="title-hint">{{localize "DAGGERHEART.Settings.Menu.appearance.diceSoNice.hint"}}</div> <div class="title-hint">{{localize "DAGGERHEART.SETTINGS.Menu.appearance.diceSoNice.hint"}}</div>
<fieldset> <fieldset>
<legend>{{localize "DAGGERHEART.General.hope"}}</legend> <legend>{{localize "DAGGERHEART.GENERAL.hope"}}</legend>
<div class="field-section"> <div class="field-section">
<div class="split-section"> <div class="split-section">
<div class="label-container"> <div class="label-container">
<label>{{localize "DAGGERHEART.Settings.Menu.appearance.diceSoNice.foreground"}}</label> <label>{{localize "DAGGERHEART.SETTINGS.Menu.appearance.diceSoNice.foreground"}}</label>
{{formInput settingFields.schema.fields.diceSoNice.fields.hope.fields.foreground value=settingFields._source.diceSoNice.hope.foreground localize=true}} {{formInput settingFields.schema.fields.diceSoNice.fields.hope.fields.foreground value=settingFields._source.diceSoNice.hope.foreground localize=true}}
</div> </div>
<div class="label-container"> <div class="label-container">
<label>{{localize "DAGGERHEART.Settings.Menu.appearance.diceSoNice.background"}}</label> <label>{{localize "DAGGERHEART.SETTINGS.Menu.appearance.diceSoNice.background"}}</label>
{{formInput settingFields.schema.fields.diceSoNice.fields.hope.fields.background value=settingFields._source.diceSoNice.hope.background localize=true}} {{formInput settingFields.schema.fields.diceSoNice.fields.hope.fields.background value=settingFields._source.diceSoNice.hope.background localize=true}}
</div> </div>
<div class="label-container"> <div class="label-container">
<label>{{localize "DAGGERHEART.Settings.Menu.appearance.diceSoNice.outline"}}</label> <label>{{localize "DAGGERHEART.SETTINGS.Menu.appearance.diceSoNice.outline"}}</label>
{{formInput settingFields.schema.fields.diceSoNice.fields.hope.fields.outline value=settingFields._source.diceSoNice.hope.outline localize=true}} {{formInput settingFields.schema.fields.diceSoNice.fields.hope.fields.outline value=settingFields._source.diceSoNice.hope.outline localize=true}}
</div> </div>
<div class="label-container"> <div class="label-container">
<label>{{localize "DAGGERHEART.Settings.Menu.appearance.diceSoNice.edge"}}</label> <label>{{localize "DAGGERHEART.SETTINGS.Menu.appearance.diceSoNice.edge"}}</label>
{{formInput settingFields.schema.fields.diceSoNice.fields.hope.fields.edge value=settingFields._source.diceSoNice.hope.edge localize=true}} {{formInput settingFields.schema.fields.diceSoNice.fields.hope.fields.edge value=settingFields._source.diceSoNice.hope.edge localize=true}}
</div> </div>
</div> </div>
</div> </div>
</fieldset> </fieldset>
<fieldset> <fieldset>
<legend>{{localize "DAGGERHEART.General.fear"}}</legend> <legend>{{localize "DAGGERHEART.GENERAL.fear"}}</legend>
<div class="field-section"> <div class="field-section">
<div class="split-section"> <div class="split-section">
<div class="label-container"> <div class="label-container">
<label>{{localize "DAGGERHEART.Settings.Menu.appearance.diceSoNice.foreground"}}</label> <label>{{localize "DAGGERHEART.SETTINGS.Menu.appearance.diceSoNice.foreground"}}</label>
{{formInput settingFields.schema.fields.diceSoNice.fields.fear.fields.foreground value=settingFields._source.diceSoNice.fear.foreground localize=true}} {{formInput settingFields.schema.fields.diceSoNice.fields.fear.fields.foreground value=settingFields._source.diceSoNice.fear.foreground localize=true}}
</div> </div>
<div class="label-container"> <div class="label-container">
<label>{{localize "DAGGERHEART.Settings.Menu.appearance.diceSoNice.background"}}</label> <label>{{localize "DAGGERHEART.SETTINGS.Menu.appearance.diceSoNice.background"}}</label>
{{formInput settingFields.schema.fields.diceSoNice.fields.fear.fields.background value=settingFields._source.diceSoNice.fear.background localize=true}} {{formInput settingFields.schema.fields.diceSoNice.fields.fear.fields.background value=settingFields._source.diceSoNice.fear.background localize=true}}
</div> </div>
<div class="label-container"> <div class="label-container">
<label>{{localize "DAGGERHEART.Settings.Menu.appearance.diceSoNice.outline"}}</label> <label>{{localize "DAGGERHEART.SETTINGS.Menu.appearance.diceSoNice.outline"}}</label>
{{formInput settingFields.schema.fields.diceSoNice.fields.fear.fields.outline value=settingFields._source.diceSoNice.fear.outline localize=true}} {{formInput settingFields.schema.fields.diceSoNice.fields.fear.fields.outline value=settingFields._source.diceSoNice.fear.outline localize=true}}
</div> </div>
<div class="label-container"> <div class="label-container">
<label>{{localize "DAGGERHEART.Settings.Menu.appearance.diceSoNice.edge"}}</label> <label>{{localize "DAGGERHEART.SETTINGS.Menu.appearance.diceSoNice.edge"}}</label>
{{formInput settingFields.schema.fields.diceSoNice.fields.fear.fields.edge value=settingFields._source.diceSoNice.fear.edge localize=true}} {{formInput settingFields.schema.fields.diceSoNice.fields.fear.fields.edge value=settingFields._source.diceSoNice.fear.edge localize=true}}
</div> </div>
</div> </div>
</div> </div>
</fieldset> </fieldset>
<fieldset> <fieldset>
<legend>{{localize "DAGGERHEART.General.Advantage.full"}}</legend> <legend>{{localize "DAGGERHEART.GENERAL.Advantage.full"}}</legend>
<div class="field-section"> <div class="field-section">
<div class="split-section"> <div class="split-section">
<div class="label-container"> <div class="label-container">
<label>{{localize "DAGGERHEART.Settings.Menu.appearance.diceSoNice.foreground"}}</label> <label>{{localize "DAGGERHEART.SETTINGS.Menu.appearance.diceSoNice.foreground"}}</label>
{{formInput settingFields.schema.fields.diceSoNice.fields.advantage.fields.foreground value=settingFields._source.diceSoNice.advantage.foreground localize=true}} {{formInput settingFields.schema.fields.diceSoNice.fields.advantage.fields.foreground value=settingFields._source.diceSoNice.advantage.foreground localize=true}}
</div> </div>
<div class="label-container"> <div class="label-container">
<label>{{localize "DAGGERHEART.Settings.Menu.appearance.diceSoNice.background"}}</label> <label>{{localize "DAGGERHEART.SETTINGS.Menu.appearance.diceSoNice.background"}}</label>
{{formInput settingFields.schema.fields.diceSoNice.fields.advantage.fields.background value=settingFields._source.diceSoNice.advantage.background localize=true}} {{formInput settingFields.schema.fields.diceSoNice.fields.advantage.fields.background value=settingFields._source.diceSoNice.advantage.background localize=true}}
</div> </div>
<div class="label-container"> <div class="label-container">
<label>{{localize "DAGGERHEART.Settings.Menu.appearance.diceSoNice.outline"}}</label> <label>{{localize "DAGGERHEART.SETTINGS.Menu.appearance.diceSoNice.outline"}}</label>
{{formInput settingFields.schema.fields.diceSoNice.fields.advantage.fields.outline value=settingFields._source.diceSoNice.advantage.outline localize=true}} {{formInput settingFields.schema.fields.diceSoNice.fields.advantage.fields.outline value=settingFields._source.diceSoNice.advantage.outline localize=true}}
</div> </div>
<div class="label-container"> <div class="label-container">
<label>{{localize "DAGGERHEART.Settings.Menu.appearance.diceSoNice.edge"}}</label> <label>{{localize "DAGGERHEART.SETTINGS.Menu.appearance.diceSoNice.edge"}}</label>
{{formInput settingFields.schema.fields.diceSoNice.fields.advantage.fields.edge value=settingFields._source.diceSoNice.advantage.edge localize=true}} {{formInput settingFields.schema.fields.diceSoNice.fields.advantage.fields.edge value=settingFields._source.diceSoNice.advantage.edge localize=true}}
</div> </div>
</div> </div>
</div> </div>
</fieldset> </fieldset>
<fieldset> <fieldset>
<legend>{{localize "DAGGERHEART.General.Disadvantage.full"}}</legend> <legend>{{localize "DAGGERHEART.GENERAL.Disadvantage.full"}}</legend>
<div class="field-section"> <div class="field-section">
<div class="split-section"> <div class="split-section">
<div class="label-container"> <div class="label-container">
<label>{{localize "DAGGERHEART.Settings.Menu.appearance.diceSoNice.foreground"}}</label> <label>{{localize "DAGGERHEART.SETTINGS.Menu.appearance.diceSoNice.foreground"}}</label>
{{formInput settingFields.schema.fields.diceSoNice.fields.disadvantage.fields.foreground value=settingFields._source.diceSoNice.disadvantage.foreground localize=true}} {{formInput settingFields.schema.fields.diceSoNice.fields.disadvantage.fields.foreground value=settingFields._source.diceSoNice.disadvantage.foreground localize=true}}
</div> </div>
<div class="label-container"> <div class="label-container">
<label>{{localize "DAGGERHEART.Settings.Menu.appearance.diceSoNice.background"}}</label> <label>{{localize "DAGGERHEART.SETTINGS.Menu.appearance.diceSoNice.background"}}</label>
{{formInput settingFields.schema.fields.diceSoNice.fields.disadvantage.fields.background value=settingFields._source.diceSoNice.disadvantage.background localize=true}} {{formInput settingFields.schema.fields.diceSoNice.fields.disadvantage.fields.background value=settingFields._source.diceSoNice.disadvantage.background localize=true}}
</div> </div>
<div class="label-container"> <div class="label-container">
<label>{{localize "DAGGERHEART.Settings.Menu.appearance.diceSoNice.outline"}}</label> <label>{{localize "DAGGERHEART.SETTINGS.Menu.appearance.diceSoNice.outline"}}</label>
{{formInput settingFields.schema.fields.diceSoNice.fields.disadvantage.fields.outline value=settingFields._source.diceSoNice.disadvantage.outline localize=true}} {{formInput settingFields.schema.fields.diceSoNice.fields.disadvantage.fields.outline value=settingFields._source.diceSoNice.disadvantage.outline localize=true}}
</div> </div>
<div class="label-container"> <div class="label-container">
<label>{{localize "DAGGERHEART.Settings.Menu.appearance.diceSoNice.edge"}}</label> <label>{{localize "DAGGERHEART.SETTINGS.Menu.appearance.diceSoNice.edge"}}</label>
{{formInput settingFields.schema.fields.diceSoNice.fields.disadvantage.fields.edge value=settingFields._source.diceSoNice.disadvantage.edge localize=true}} {{formInput settingFields.schema.fields.diceSoNice.fields.disadvantage.fields.edge value=settingFields._source.diceSoNice.disadvantage.edge localize=true}}
</div> </div>
</div> </div>

View file

@ -1,18 +1,18 @@
<div> <div>
<div class="form-group"> <div class="form-group">
<label>{{localize "DAGGERHEART.Settings.Automation.FIELDS.hope.label"}}</label> <label>{{localize "DAGGERHEART.SETTINGS.Automation.FIELDS.hope.label"}}</label>
<div class="form-fields"> <div class="form-fields">
{{formInput settingFields.schema.fields.hope value=settingFields._source.hope }} {{formInput settingFields.schema.fields.hope value=settingFields._source.hope }}
</div> </div>
</div> </div>
<div class="form-group"> <div class="form-group">
<label>{{localize "DAGGERHEART.Settings.Automation.FIELDS.actionPoints.label"}}</label> <label>{{localize "DAGGERHEART.SETTINGS.Automation.FIELDS.actionPoints.label"}}</label>
<div class="form-fields"> <div class="form-fields">
{{formInput settingFields.schema.fields.actionPoints value=settingFields._source.actionPoints }} {{formInput settingFields.schema.fields.actionPoints value=settingFields._source.actionPoints }}
</div> </div>
</div> </div>
<div class="form-group"> <div class="form-group">
<label>{{localize "DAGGERHEART.Settings.Automation.FIELDS.countdowns.label"}}</label> <label>{{localize "DAGGERHEART.SETTINGS.Automation.FIELDS.countdowns.label"}}</label>
<div class="form-fields"> <div class="form-fields">
{{formInput settingFields.schema.fields.countdowns value=settingFields._source.countdowns }} {{formInput settingFields.schema.fields.countdowns value=settingFields._source.countdowns }}
</div> </div>

View file

@ -1,11 +1,11 @@
<div class="scrollable"> <div class="scrollable">
{{formGroup settingFields.schema.fields.maxFear value=settingFields._source.maxFear localize=true}} {{formGroup settingFields.schema.fields.maxFear value=settingFields._source.maxFear localize=true}}
<h4>{{localize "DAGGERHEART.Settings.Homebrew.FIELDS.traitArray.label"}}</h4> <h4>{{localize "DAGGERHEART.SETTINGS.Homebrew.FIELDS.traitArray.label"}}</h4>
<div class="trait-array-container"> <div class="trait-array-container">
{{#each settingFields._source.traitArray as |trait index|}} {{#each settingFields._source.traitArray as |trait index|}}
<div class="trait-array-item"> <div class="trait-array-item">
<label>{{localize "DAGGERHEART.General.modifier"}} {{add index 1}}</label> <label>{{localize "DAGGERHEART.GENERAL.modifier"}} {{add index 1}}</label>
<input type="text" data-dtype="Number" name="{{concat "traitArray." index}}" value="{{this}}" /> <input type="text" data-dtype="Number" name="{{concat "traitArray." index}}" value="{{this}}" />
</div> </div>
{{/each}} {{/each}}
@ -13,7 +13,7 @@
<fieldset> <fieldset>
<legend> <legend>
{{localize "DAGGERHEART.Settings.Homebrew.currency.title"}} {{localize "DAGGERHEART.SETTINGS.Homebrew.currency.title"}}
</legend> </legend>
{{formGroup settingFields.schema.fields.currency.fields.enabled value=settingFields._source.currency.enabled localize=true}} {{formGroup settingFields.schema.fields.currency.fields.enabled value=settingFields._source.currency.enabled localize=true}}
{{formGroup settingFields.schema.fields.currency.fields.title value=settingFields._source.currency.title localize=true}} {{formGroup settingFields.schema.fields.currency.fields.title value=settingFields._source.currency.title localize=true}}
@ -25,17 +25,17 @@
</fieldset> </fieldset>
<fieldset class="two-columns even"> <fieldset class="two-columns even">
<legend>{{localize "DAGGERHEART.Settings.Homebrew.downtimeMoves"}}</legend> <legend>{{localize "DAGGERHEART.SETTINGS.Homebrew.downtimeMoves"}}</legend>
<fieldset> <fieldset>
<legend> <legend>
{{localize "DAGGERHEART.Applications.Downtime.longRest.title"}} {{localize "DAGGERHEART.APPLICATIONS.Downtime.longRest.title"}}
<a data-action="addItem" data-type="longRest"><i class="fa-solid fa-plus"></i></a> <a data-action="addItem" data-type="longRest"><i class="fa-solid fa-plus"></i></a>
<a data-action="resetMoves" data-type="longRest"><i class="fa-solid fa-arrow-rotate-left"></i></a> <a data-action="resetMoves" data-type="longRest"><i class="fa-solid fa-arrow-rotate-left"></i></a>
</legend> </legend>
<div class="form-group setting-group-field"> <div class="form-group setting-group-field">
<label>{{localize "DAGGERHEART.Settings.Homebrew.nrChoices"}}</label> <label>{{localize "DAGGERHEART.SETTINGS.Homebrew.nrChoices"}}</label>
<div class="form-fields"> <div class="form-fields">
<input type="text" name="restMoves.longRest.nrChoices" value="{{settingFields._source.restMoves.longRest.nrChoices}}" /> <input type="text" name="restMoves.longRest.nrChoices" value="{{settingFields._source.restMoves.longRest.nrChoices}}" />
</div> </div>
@ -50,13 +50,13 @@
<fieldset> <fieldset>
<legend> <legend>
{{localize "DAGGERHEART.Applications.Downtime.shortRest.title"}} {{localize "DAGGERHEART.APPLICATIONS.Downtime.shortRest.title"}}
<a data-action="addItem" data-type="shortRest"><i class="fa-solid fa-plus"></i></a> <a data-action="addItem" data-type="shortRest"><i class="fa-solid fa-plus"></i></a>
<a data-action="resetMoves" data-type="shortRest"><i class="fa-solid fa-arrow-rotate-left"></i></a> <a data-action="resetMoves" data-type="shortRest"><i class="fa-solid fa-arrow-rotate-left"></i></a>
</legend> </legend>
<div class="form-group setting-group-field"> <div class="form-group setting-group-field">
<label>{{localize "DAGGERHEART.Settings.Homebrew.nrChoices"}}</label> <label>{{localize "DAGGERHEART.SETTINGS.Homebrew.nrChoices"}}</label>
<div class="form-fields"> <div class="form-fields">
<input type="text" name="restMoves.shortRest.nrChoices" value="{{settingFields._source.restMoves.shortRest.nrChoices}}" /> <input type="text" name="restMoves.shortRest.nrChoices" value="{{settingFields._source.restMoves.shortRest.nrChoices}}" />
</div> </div>

View file

@ -1,6 +1,6 @@
<div> <div>
<div class="form-group"> <div class="form-group">
<label>{{localize "DAGGERHEART.Settings.Menu.variantRules.actionTokens"}}</label> <label>{{localize "DAGGERHEART.SETTINGS.Menu.variantRules.actionTokens"}}</label>
<div class="form-fields"> <div class="form-fields">
{{formGroup settingFields.schema.fields.actionTokens.fields.enabled value=settingFields._source.actionTokens.enabled localize=true}} {{formGroup settingFields.schema.fields.actionTokens.fields.enabled value=settingFields._source.actionTokens.enabled localize=true}}

View file

@ -4,12 +4,12 @@
data-group="{{tabs.attack.group}}" data-group="{{tabs.attack.group}}"
> >
<fieldset class="one-column"> <fieldset class="one-column">
<legend>{{localize "DAGGERHEART.General.basics"}}</legend> <legend>{{localize "DAGGERHEART.GENERAL.basics"}}</legend>
{{formGroup systemFields.attack.fields.img value=document.system.attack.img label="Image Path" name="system.attack.img"}} {{formGroup systemFields.attack.fields.img value=document.system.attack.img label="Image Path" name="system.attack.img"}}
{{formGroup systemFields.attack.fields.name value=document.system.attack.name label="Attack Name" name="system.attack.name"}} {{formGroup systemFields.attack.fields.name value=document.system.attack.name label="Attack Name" name="system.attack.name"}}
</fieldset> </fieldset>
<fieldset class="flex"> <fieldset class="flex">
<legend>{{localize "DAGGERHEART.General.attack"}}</legend> <legend>{{localize "DAGGERHEART.GENERAL.attack"}}</legend>
{{formField systemFields.attack.fields.roll.fields.bonus value=document.system.attack.roll.bonus label="Attack Bonus" name="system.attack.roll.bonus"}} {{formField systemFields.attack.fields.roll.fields.bonus value=document.system.attack.roll.bonus label="Attack Bonus" name="system.attack.roll.bonus"}}
{{formField systemFields.attack.fields.range value=document.system.attack.range label="Range" name="system.attack.range" localize=true}} {{formField systemFields.attack.fields.range value=document.system.attack.range label="Range" name="system.attack.range" localize=true}}
{{#if systemFields.attack.fields.target.fields}} {{#if systemFields.attack.fields.target.fields}}

View file

@ -4,34 +4,34 @@
data-group='{{tabs.details.group}}' data-group='{{tabs.details.group}}'
> >
<fieldset class="one-column"> <fieldset class="one-column">
<legend>{{localize 'DAGGERHEART.General.basics'}}</legend> <legend>{{localize 'DAGGERHEART.GENERAL.basics'}}</legend>
<div class="nest-inputs"> <div class="nest-inputs">
{{formGroup systemFields.tier value=document.system.tier localize=true}} {{formGroup systemFields.tier value=document.system.tier localize=true}}
{{formGroup systemFields.type value=document.system.type localize=true}} {{formGroup systemFields.type value=document.system.type localize=true}}
{{#if (eq document.system.type 'horde')}} {{#if (eq document.system.type 'horde')}}
{{formGroup systemFields.hordeHp value=document.system.hordeHp label=(localize "DAGGERHEART.Actors.Adversary.horderHp")}} {{formGroup systemFields.hordeHp value=document.system.hordeHp label=(localize "DAGGERHEART.ACTORS.Adversary.horderHp")}}
{{/if}} {{/if}}
{{formGroup systemFields.difficulty value=document.system.difficulty localize=true}} {{formGroup systemFields.difficulty value=document.system.difficulty localize=true}}
</div> </div>
{{formField systemFields.description value=document.system.description label=(localize "DAGGERHEART.Actors.Adversary.FIELDS.description.label")}} {{formField systemFields.description value=document.system.description label=(localize "DAGGERHEART.ACTORS.Adversary.FIELDS.description.label")}}
{{formField systemFields.motivesAndTactics value=document.system.motivesAndTactics label=(localize "DAGGERHEART.Actors.Adversary.FIELDS.motivesAndTactics.label")}} {{formField systemFields.motivesAndTactics value=document.system.motivesAndTactics label=(localize "DAGGERHEART.ACTORS.Adversary.FIELDS.motivesAndTactics.label")}}
</fieldset> </fieldset>
<div class="fieldsets-section"> <div class="fieldsets-section">
<fieldset class="flex"> <fieldset class="flex">
<legend>{{localize "DAGGERHEART.General.hitPoints"}}</legend> <legend>{{localize "DAGGERHEART.GENERAL.hitPoints"}}</legend>
{{formGroup systemFields.resources.fields.hitPoints.fields.value value=document.system.resources.hitPoints.value}} {{formGroup systemFields.resources.fields.hitPoints.fields.value value=document.system.resources.hitPoints.value}}
{{formGroup systemFields.resources.fields.hitPoints.fields.max value=document.system.resources.hitPoints.max}} {{formGroup systemFields.resources.fields.hitPoints.fields.max value=document.system.resources.hitPoints.max}}
</fieldset> </fieldset>
<fieldset class="flex"> <fieldset class="flex">
<legend>{{localize "DAGGERHEART.General.stress"}}</legend> <legend>{{localize "DAGGERHEART.GENERAL.stress"}}</legend>
{{formGroup systemFields.resources.fields.stress.fields.value value=document.system.resources.stress.value}} {{formGroup systemFields.resources.fields.stress.fields.value value=document.system.resources.stress.value}}
{{formGroup systemFields.resources.fields.stress.fields.max value=document.system.resources.stress.max}} {{formGroup systemFields.resources.fields.stress.fields.max value=document.system.resources.stress.max}}
</fieldset> </fieldset>
</div> </div>
<fieldset class="flex"> <fieldset class="flex">
<legend>{{localize "DAGGERHEART.General.DamageThresholds.title"}}</legend> <legend>{{localize "DAGGERHEART.GENERAL.DamageThresholds.title"}}</legend>
{{formGroup systemFields.damageThresholds.fields.major value=document.system.damageThresholds.major}} {{formGroup systemFields.damageThresholds.fields.major value=document.system.damageThresholds.major}}
{{formGroup systemFields.damageThresholds.fields.severe value=document.system.damageThresholds.severe}} {{formGroup systemFields.damageThresholds.fields.severe value=document.system.damageThresholds.severe}}
</fieldset> </fieldset>

View file

@ -4,12 +4,12 @@
data-group="{{tabs.attack.group}}" data-group="{{tabs.attack.group}}"
> >
<fieldset class="one-column"> <fieldset class="one-column">
<legend>{{localize "DAGGERHEART.General.basics"}}</legend> <legend>{{localize "DAGGERHEART.GENERAL.basics"}}</legend>
{{formGroup systemFields.attack.fields.img value=document.system.attack.img label="Image Path" name="system.attack.img"}} {{formGroup systemFields.attack.fields.img value=document.system.attack.img label="Image Path" name="system.attack.img"}}
{{formGroup systemFields.attack.fields.name value=document.system.attack.name label="Attack Name" name="system.attack.name"}} {{formGroup systemFields.attack.fields.name value=document.system.attack.name label="Attack Name" name="system.attack.name"}}
</fieldset> </fieldset>
<fieldset class="flex"> <fieldset class="flex">
<legend>{{localize "DAGGERHEART.General.attack"}}</legend> <legend>{{localize "DAGGERHEART.GENERAL.attack"}}</legend>
{{formField systemFields.attack.fields.range value=document.system.attack.range label="Range" name="system.attack.range" localize=true}} {{formField systemFields.attack.fields.range value=document.system.attack.range label="Range" name="system.attack.range" localize=true}}
{{#if systemFields.attack.fields.target.fields}} {{#if systemFields.attack.fields.target.fields}}
{{ formField systemFields.attack.fields.target.fields.type value=document.system.attack.target.type label="Target" name="system.attack.target.type" localize=true }} {{ formField systemFields.attack.fields.target.fields.type value=document.system.attack.target.type label="Target" name="system.attack.target.type" localize=true }}

View file

@ -4,7 +4,7 @@
data-group='{{tabs.details.group}}' data-group='{{tabs.details.group}}'
> >
<fieldset class="one-column"> <fieldset class="one-column">
<legend>{{localize 'DAGGERHEART.General.basics'}}</legend> <legend>{{localize 'DAGGERHEART.GENERAL.basics'}}</legend>
<div class="nest-inputs"> <div class="nest-inputs">
{{formGroup systemFields.evasion.fields.value value=document.system.evasion.value localize=true}} {{formGroup systemFields.evasion.fields.value value=document.system.evasion.value localize=true}}
{{formGroup systemFields.resources.fields.stress.fields.value value=document.system.resources.stress.value label='Current Stress'}} {{formGroup systemFields.resources.fields.stress.fields.value value=document.system.resources.stress.value label='Current Stress'}}
@ -12,7 +12,7 @@
</div> </div>
<div class="form-group"> <div class="form-group">
<div class="form-fields"> <div class="form-fields">
<label>{{localize "DAGGERHEART.Actors.Companion.FIELDS.partner.label"}}</label> <label>{{localize "DAGGERHEART.ACTORS.Companion.FIELDS.partner.label"}}</label>
<select class="partner-value"> <select class="partner-value">
{{selectOptions playerCharacters selected=document.system.partner.uuid labelAttr="name" valueAttr="key" blank=""}} {{selectOptions playerCharacters selected=document.system.partner.uuid labelAttr="name" valueAttr="key" blank=""}}
</select> </select>

View file

@ -4,13 +4,13 @@
data-group='{{tabs.details.group}}' data-group='{{tabs.details.group}}'
> >
<fieldset class="one-column"> <fieldset class="one-column">
<legend>{{localize 'DAGGERHEART.General.basics'}}</legend> <legend>{{localize 'DAGGERHEART.GENERAL.basics'}}</legend>
<div class="nest-inputs"> <div class="nest-inputs">
{{formGroup systemFields.tier value=document.system.tier localize=true}} {{formGroup systemFields.tier value=document.system.tier localize=true}}
{{formGroup systemFields.type value=document.system.type localize=true}} {{formGroup systemFields.type value=document.system.type localize=true}}
{{formGroup systemFields.difficulty value=document.system.difficulty localize=true}} {{formGroup systemFields.difficulty value=document.system.difficulty localize=true}}
</div> </div>
{{formField systemFields.description value=document.system.description label=(localize "DAGGERHEART.Actors.Environment.FIELDS.description.label")}} {{formField systemFields.description value=document.system.description label=(localize "DAGGERHEART.ACTORS.Environment.FIELDS.description.label")}}
{{formField systemFields.impulses value=document.system.impulses label=(localize "DAGGERHEART.Actors.Environment.FIELDS.impulses.label")}} {{formField systemFields.impulses value=document.system.impulses label=(localize "DAGGERHEART.ACTORS.Environment.FIELDS.impulses.label")}}
</fieldset> </fieldset>
</section> </section>

View file

@ -3,6 +3,6 @@
data-tab='{{tabs.effects.id}}' data-tab='{{tabs.effects.id}}'
data-group='{{tabs.effects.group}}' data-group='{{tabs.effects.group}}'
> >
{{> 'systems/daggerheart/templates/sheets/global/partials/inventory-fieldset-items.hbs' title=(localize 'DAGGERHEART.General.activeEffects') type='effect'}} {{> 'systems/daggerheart/templates/sheets/global/partials/inventory-fieldset-items.hbs' title=(localize 'DAGGERHEART.GENERAL.activeEffects') type='effect'}}
{{> 'systems/daggerheart/templates/sheets/global/partials/inventory-fieldset-items.hbs' title=(localize 'DAGGERHEART.General.inactiveEffects') type='effect'}} {{> 'systems/daggerheart/templates/sheets/global/partials/inventory-fieldset-items.hbs' title=(localize 'DAGGERHEART.GENERAL.inactiveEffects') type='effect'}}
</section> </section>

View file

@ -9,12 +9,12 @@
<div class="tags"> <div class="tags">
<div class="tag"> <div class="tag">
<span> <span>
{{localize (concat 'DAGGERHEART.General.Tiers.' source.system.tier)}} {{localize (concat 'DAGGERHEART.GENERAL.Tiers.' source.system.tier)}}
</span> </span>
</div> </div>
<div class="tag"> <div class="tag">
<span> <span>
{{localize (concat 'DAGGERHEART.Config.AdversaryType.' source.system.type '.label')}} {{localize (concat 'DAGGERHEART.CONFIG.AdversaryType.' source.system.type '.label')}}
</span> </span>
</div> </div>
{{#if (eq source.system.type 'horde')}} {{#if (eq source.system.type 'horde')}}
@ -30,7 +30,7 @@
<i>{{source.system.description}}</i> <i>{{source.system.description}}</i>
</div> </div>
<div class="motives-and-tatics"> <div class="motives-and-tatics">
<b>{{localize 'DAGGERHEART.Actors.Adversary.FIELDS.motivesAndTactics.label'}}: </b>{{{source.system.motivesAndTactics}}} <b>{{localize 'DAGGERHEART.ACTORS.Adversary.FIELDS.motivesAndTactics.label'}}: </b>{{{source.system.motivesAndTactics}}}
</div> </div>
</div> </div>

View file

@ -40,11 +40,11 @@
</div> </div>
<div class="status-section"> <div class="status-section">
<div class="threshold-section"> <div class="threshold-section">
<h4 class="threshold-label">{{localize "DAGGERHEART.General.DamageThresholds.minor"}}</h4> <h4 class="threshold-label">{{localize "DAGGERHEART.GENERAL.DamageThresholds.minor"}}</h4>
<h4 class="threshold-value">{{document.system.damageThresholds.major}}</h4> <h4 class="threshold-value">{{document.system.damageThresholds.major}}</h4>
<h4 class="threshold-label">{{localize "DAGGERHEART.General.DamageThresholds.major"}}</h4> <h4 class="threshold-label">{{localize "DAGGERHEART.GENERAL.DamageThresholds.major"}}</h4>
<h4 class="threshold-value">{{document.system.damageThresholds.severe}}</h4> <h4 class="threshold-value">{{document.system.damageThresholds.severe}}</h4>
<h4 class="threshold-label">{{localize "DAGGERHEART.General.DamageThresholds.severe"}}</h4> <h4 class="threshold-label">{{localize "DAGGERHEART.GENERAL.DamageThresholds.severe"}}</h4>
</div> </div>
</div> </div>
<div class="status-section"> <div class="status-section">

View file

@ -6,30 +6,30 @@
<div class="items-section"> <div class="items-section">
<fieldset class="flex"> <fieldset class="flex">
<legend>{{localize 'DAGGERHEART.Actors.Character.story.characteristics'}}</legend> <legend>{{localize 'DAGGERHEART.ACTORS.Character.story.characteristics'}}</legend>
<div class="input"> <div class="input">
<span>{{localize 'DAGGERHEART.Actors.Character.pronouns'}}</span> <span>{{localize 'DAGGERHEART.ACTORS.Character.pronouns'}}</span>
{{formInput systemFields.biography.fields.characteristics.fields.pronouns value=source.system.biography.characteristics.pronouns enriched=source.system.biography.characteristics.pronouns localize=true toggled=true}} {{formInput systemFields.biography.fields.characteristics.fields.pronouns value=source.system.biography.characteristics.pronouns enriched=source.system.biography.characteristics.pronouns localize=true toggled=true}}
</div> </div>
<div class="input"> <div class="input">
<span>{{localize 'DAGGERHEART.Actors.Character.age'}}</span> <span>{{localize 'DAGGERHEART.ACTORS.Character.age'}}</span>
{{formInput systemFields.biography.fields.characteristics.fields.age value=source.system.biography.characteristics.age enriched=source.system.biography.characteristics.age localize=true toggled=true}} {{formInput systemFields.biography.fields.characteristics.fields.age value=source.system.biography.characteristics.age enriched=source.system.biography.characteristics.age localize=true toggled=true}}
</div> </div>
<div class="input"> <div class="input">
<span>{{localize 'DAGGERHEART.Actors.Character.faith'}}</span> <span>{{localize 'DAGGERHEART.ACTORS.Character.faith'}}</span>
{{formInput systemFields.biography.fields.characteristics.fields.faith value=source.system.biography.characteristics.faith enriched=source.system.biography.characteristics.faith localize=true toggled=true}} {{formInput systemFields.biography.fields.characteristics.fields.faith value=source.system.biography.characteristics.faith enriched=source.system.biography.characteristics.faith localize=true toggled=true}}
</div> </div>
</fieldset> </fieldset>
<fieldset> <fieldset>
<legend>{{localize 'DAGGERHEART.Actors.Character.story.backgroundTitle'}}</legend> <legend>{{localize 'DAGGERHEART.ACTORS.Character.story.backgroundTitle'}}</legend>
{{formInput systemFields.biography.fields.background value=source.system.biography.background enriched=source.system.biography.background localize=true toggled=true}} {{formInput systemFields.biography.fields.background value=source.system.biography.background enriched=source.system.biography.background localize=true toggled=true}}
</fieldset> </fieldset>
<fieldset> <fieldset>
<legend>{{localize 'DAGGERHEART.Actors.Character.story.connectionsTitle'}}</legend> <legend>{{localize 'DAGGERHEART.ACTORS.Character.story.connectionsTitle'}}</legend>
{{formInput systemFields.biography.fields.connections value=source.system.biography.connections enriched=source.system.biography.connections localize=true toggled=true}} {{formInput systemFields.biography.fields.connections value=source.system.biography.connections enriched=source.system.biography.connections localize=true toggled=true}}
</fieldset> </fieldset>
</div> </div>

View file

@ -3,6 +3,6 @@
data-tab='{{tabs.effects.id}}' data-tab='{{tabs.effects.id}}'
data-group='{{tabs.effects.group}}' data-group='{{tabs.effects.group}}'
> >
{{> 'systems/daggerheart/templates/sheets/global/partials/inventory-fieldset-items.hbs' title=(localize 'DAGGERHEART.General.activeEffects') type='effect'}} {{> 'systems/daggerheart/templates/sheets/global/partials/inventory-fieldset-items.hbs' title=(localize 'DAGGERHEART.GENERAL.activeEffects') type='effect'}}
{{> 'systems/daggerheart/templates/sheets/global/partials/inventory-fieldset-items.hbs' title=(localize 'DAGGERHEART.General.inactiveEffects') type='effect'}} {{> 'systems/daggerheart/templates/sheets/global/partials/inventory-fieldset-items.hbs' title=(localize 'DAGGERHEART.GENERAL.inactiveEffects') type='effect'}}
</section> </section>

View file

@ -14,13 +14,13 @@
<h3 class='label'> <h3 class='label'>
{{#if (or document.system.needsCharacterSetup document.system.levelData.canLevelUp)}} {{#if (or document.system.needsCharacterSetup document.system.levelData.canLevelUp)}}
<button <button
class="level-button glow" data-tooltip="{{#if document.system.needsCharacterSetup}}{{localize "DAGGERHEART.Sheets.PC.CharacterSetup"}}{{else}}{{localize "DAGGERHEART.Actors.Character.levelUp"}}{{/if}}" class="level-button glow" data-tooltip="{{#if document.system.needsCharacterSetup}}{{localize "DAGGERHEART.Sheets.PC.CharacterSetup"}}{{else}}{{localize "DAGGERHEART.ACTORS.Character.levelUp"}}{{/if}}"
data-action="levelManagement" data-action="levelManagement"
> >
<i class="fa-solid fa-triangle-exclamation"></i> <i class="fa-solid fa-triangle-exclamation"></i>
</button> </button>
{{/if}} {{/if}}
{{localize 'DAGGERHEART.General.level'}} {{localize 'DAGGERHEART.GENERAL.level'}}
<input type="text" data-dtype="Number" class="level-value" value={{#if document.system.needsCharacterSetup}}0{{else}}{{document.system.levelData.level.changed}}{{/if}} {{#if document.system.needsCharacterSetup}}disabled{{/if}} /> <input type="text" data-dtype="Number" class="level-value" value={{#if document.system.needsCharacterSetup}}0{{else}}{{document.system.levelData.level.changed}}{{/if}} {{#if document.system.needsCharacterSetup}}disabled{{/if}} />
</h3> </h3>
</div> </div>
@ -57,7 +57,7 @@
{{#if document.system.multiclass.value}} {{#if document.system.multiclass.value}}
<span data-action="viewObject" data-value="{{document.system.multiclass.value.uuid}}">{{document.system.multiclass.value.name}}</span> <span data-action="viewObject" data-value="{{document.system.multiclass.value.uuid}}">{{document.system.multiclass.value.name}}</span>
{{else}} {{else}}
<span>{{localize 'DAGGERHEART.General.multiclass'}}</span> <span>{{localize 'DAGGERHEART.GENERAL.multiclass'}}</span>
{{/if}} {{/if}}
<span class="dot">•</span> <span class="dot">•</span>
{{#if document.system.multiclass.subclass}} {{#if document.system.multiclass.subclass}}
@ -73,7 +73,7 @@
<div class="character-row"> <div class="character-row">
<div class="hope-section"> <div class="hope-section">
<h4>{{localize "DAGGERHEART.General.hope"}}</h4> <h4>{{localize "DAGGERHEART.GENERAL.hope"}}</h4>
{{#times document.system.resources.hope.max}} {{#times document.system.resources.hope.max}}
<span class='hope-value' data-action='toggleHope' data-value="{{add this 1}}"> <span class='hope-value' data-action='toggleHope' data-value="{{add this 1}}">
{{#if (gte ../document.system.resources.hope.value (add this 1))}} {{#if (gte ../document.system.resources.hope.value (add this 1))}}
@ -85,11 +85,11 @@
{{/times}} {{/times}}
</div> </div>
<div class="threshold-section"> <div class="threshold-section">
<h4 class="threshold-label">{{localize "DAGGERHEART.General.DamageThresholds.minor"}}</h4> <h4 class="threshold-label">{{localize "DAGGERHEART.GENERAL.DamageThresholds.minor"}}</h4>
<h4 class="threshold-value">{{document.system.damageThresholds.major}}</h4> <h4 class="threshold-value">{{document.system.damageThresholds.major}}</h4>
<h4 class="threshold-label">{{localize "DAGGERHEART.General.DamageThresholds.major"}}</h4> <h4 class="threshold-label">{{localize "DAGGERHEART.GENERAL.DamageThresholds.major"}}</h4>
<h4 class="threshold-value">{{document.system.damageThresholds.severe}}</h4> <h4 class="threshold-value">{{document.system.damageThresholds.severe}}</h4>
<h4 class="threshold-label">{{localize "DAGGERHEART.General.DamageThresholds.severe"}}</h4> <h4 class="threshold-label">{{localize "DAGGERHEART.GENERAL.DamageThresholds.severe"}}</h4>
</div> </div>
</div> </div>
@ -97,7 +97,7 @@
{{#each this.attributes as |attribute key|}} {{#each this.attributes as |attribute key|}}
<div class="trait" data-tooltip="{{#each attribute.verbs}}{{this}}<br>{{/each}}" data-action="attributeRoll" data-attribute="{{key}}" data-value="{{attribute.total}}"> <div class="trait" data-tooltip="{{#each attribute.verbs}}{{this}}<br>{{/each}}" data-action="attributeRoll" data-attribute="{{key}}" data-value="{{attribute.total}}">
<div class="trait-name"> <div class="trait-name">
<span>{{localize (concat 'DAGGERHEART.Config.Traits.' key '.short')}}</span> <span>{{localize (concat 'DAGGERHEART.CONFIG.Traits.' key '.short')}}</span>
{{#if attribute.tierMarked}} {{#if attribute.tierMarked}}
<i class='fa-solid fa-circle'></i> <i class='fa-solid fa-circle'></i>
{{else}} {{else}}

View file

@ -25,15 +25,15 @@
<div class="items-section"> <div class="items-section">
{{#if this.abilities.loadout.listView}} {{#if this.abilities.loadout.listView}}
{{> 'systems/daggerheart/templates/sheets/global/partials/inventory-fieldset-items.hbs' title=(localize 'DAGGERHEART.General.Tabs.loadout') type='domainCard' isGlassy=true cardView='list'}} {{> 'systems/daggerheart/templates/sheets/global/partials/inventory-fieldset-items.hbs' title=(localize 'DAGGERHEART.GENERAL.Tabs.loadout') type='domainCard' isGlassy=true cardView='list'}}
{{else}} {{else}}
{{> 'systems/daggerheart/templates/sheets/global/partials/inventory-fieldset-items.hbs' title=(localize 'DAGGERHEART.General.Tabs.loadout') type='domainCard' isGlassy=true cardView='card'}} {{> 'systems/daggerheart/templates/sheets/global/partials/inventory-fieldset-items.hbs' title=(localize 'DAGGERHEART.GENERAL.Tabs.loadout') type='domainCard' isGlassy=true cardView='card'}}
{{/if}} {{/if}}
{{#if this.abilities.loadout.listView}} {{#if this.abilities.loadout.listView}}
{{> 'systems/daggerheart/templates/sheets/global/partials/inventory-fieldset-items.hbs' title=(localize 'DAGGERHEART.General.Tabs.vault') type='domainCard' isVault=true isGlassy=true cardView='list'}} {{> 'systems/daggerheart/templates/sheets/global/partials/inventory-fieldset-items.hbs' title=(localize 'DAGGERHEART.GENERAL.Tabs.vault') type='domainCard' isVault=true isGlassy=true cardView='list'}}
{{else}} {{else}}
{{> 'systems/daggerheart/templates/sheets/global/partials/inventory-fieldset-items.hbs' title=(localize 'DAGGERHEART.General.Tabs.vault') type='domainCard' isVault=true isGlassy=true cardView='card'}} {{> 'systems/daggerheart/templates/sheets/global/partials/inventory-fieldset-items.hbs' title=(localize 'DAGGERHEART.GENERAL.Tabs.vault') type='domainCard' isVault=true isGlassy=true cardView='card'}}
{{/if}} {{/if}}

View file

@ -14,7 +14,7 @@
{{> 'systems/daggerheart/templates/sheets/global/partials/inventory-item.hbs' item=document.system.partner type='actor' isSidebar=true isActor=true noTooltip=true}} {{> 'systems/daggerheart/templates/sheets/global/partials/inventory-item.hbs' item=document.system.partner type='actor' isSidebar=true isActor=true noTooltip=true}}
</ul> </ul>
{{else}} {{else}}
<span class="partner-placeholder">{{localize "DAGGERHEART.Actors.Companion.noPartner"}}</span> <span class="partner-placeholder">{{localize "DAGGERHEART.ACTORS.Companion.noPartner"}}</span>
{{/if}} {{/if}}
</div> </div>
<div class="attack-section"> <div class="attack-section">

View file

@ -3,6 +3,6 @@
data-tab='{{tabs.effects.id}}' data-tab='{{tabs.effects.id}}'
data-group='{{tabs.effects.group}}' data-group='{{tabs.effects.group}}'
> >
{{> 'systems/daggerheart/templates/sheets/global/partials/inventory-fieldset-items.hbs' title=(localize 'DAGGERHEART.General.activeEffects') type='effect'}} {{> 'systems/daggerheart/templates/sheets/global/partials/inventory-fieldset-items.hbs' title=(localize 'DAGGERHEART.GENERAL.activeEffects') type='effect'}}
{{> 'systems/daggerheart/templates/sheets/global/partials/inventory-fieldset-items.hbs' title=(localize 'DAGGERHEART.General.inactiveEffects') type='effect'}} {{> 'systems/daggerheart/templates/sheets/global/partials/inventory-fieldset-items.hbs' title=(localize 'DAGGERHEART.GENERAL.inactiveEffects') type='effect'}}
</section> </section>

View file

@ -33,7 +33,7 @@
</div> </div>
</div> </div>
<h3 class="level-up-label"> <h3 class="level-up-label">
{{localize "DAGGERHEART.General.level"}} {{localize "DAGGERHEART.GENERAL.level"}}
{{source.system.levelData.level.changed}} {{source.system.levelData.level.changed}}
</h3> </h3>
</div> </div>

View file

@ -2,7 +2,7 @@
<img class="profile" src="{{document.img}}" alt="{{document.name}}" data-action='editImage' data-edit="img"> <img class="profile" src="{{document.img}}" alt="{{document.name}}" data-action='editImage' data-edit="img">
<div class="form-group"> <div class="form-group">
<div class="form-fields"> <div class="form-fields">
<label>{{localize "DAGGERHEART.Actors.Companion.FIELDS.partner.label"}}</label> <label>{{localize "DAGGERHEART.ACTORS.Companion.FIELDS.partner.label"}}</label>
<select class="partner-value"> <select class="partner-value">
{{selectOptions playerCharacters selected=source.system.partner.uuid labelAttr="name" valueAttr="key" blank=""}} {{selectOptions playerCharacters selected=source.system.partner.uuid labelAttr="name" valueAttr="key" blank=""}}
</select> </select>
@ -12,7 +12,7 @@
{{formGroup systemFields.resources.fields.stress.fields.value value=source.system.resources.stress.value localize=true }} {{formGroup systemFields.resources.fields.stress.fields.value value=source.system.resources.stress.value localize=true }}
{{formGroup systemFields.evasion.fields.value value=source.system.evasion.value localize=true }} {{formGroup systemFields.evasion.fields.value value=source.system.evasion.value localize=true }}
<div>{{localize "DAGGERHEART.General.Experience.plural"}}</div> <div>{{localize "DAGGERHEART.GENERAL.Experience.plural"}}</div>
<div class="flexcol"> <div class="flexcol">
{{#each source.system.experiences as |experience key|}} {{#each source.system.experiences as |experience key|}}
<div class="flexrow"> <div class="flexrow">
@ -25,7 +25,7 @@
<div class="flexrow"> <div class="flexrow">
<div class="form-group"> <div class="form-group">
<div class="form-fields"> <div class="form-fields">
<label>{{localize "DAGGERHEART.Actors.Companion.FIELDS.attack.name.label"}}</label> <label>{{localize "DAGGERHEART.ACTORS.Companion.FIELDS.attack.name.label"}}</label>
<input type="text" name="system.attack.name" value="{{source.system.attack.name}}" /> <input type="text" name="system.attack.name" value="{{source.system.attack.name}}" />
<button data-action="attackRoll">Attack</button> <button data-action="attackRoll">Attack</button>
</div> </div>
@ -35,7 +35,7 @@
<div class="flexrow"> <div class="flexrow">
<div class="form-group"> <div class="form-group">
<div class="form-fields"> <div class="form-fields">
<label>{{localize "DAGGERHEART.General.level"}}</label> <label>{{localize "DAGGERHEART.GENERAL.level"}}</label>
<div>{{source.system.levelData.level.changed}}</div> <div>{{source.system.levelData.level.changed}}</div>
<button data-action="levelUp" {{#if (not source.system.levelData.canLevelUp)}}disabled{{/if}}>Level Up</button> <button data-action="levelUp" {{#if (not source.system.levelData.canLevelUp)}}disabled{{/if}}>Level Up</button>
</div> </div>

View file

@ -6,13 +6,13 @@
<div class="tags"> <div class="tags">
<div class="tag"> <div class="tag">
<span> <span>
{{localize (concat 'DAGGERHEART.General.Tiers.' source.system.tier)}} {{localize (concat 'DAGGERHEART.GENERAL.Tiers.' source.system.tier)}}
</span> </span>
</div> </div>
{{#if source.system.type}} {{#if source.system.type}}
<div class="tag"> <div class="tag">
<span> <span>
{{localize (concat 'Daggerheart.Config.EnvironmentType.' source.system.type '.label')}} {{localize (concat 'DAGGERHEART.CONFIG.EnvironmentType.' source.system.type '.label')}}
</span> </span>
</div> </div>
{{/if}} {{/if}}
@ -37,7 +37,7 @@
<i>{{source.system.description}}</i> <i>{{source.system.description}}</i>
</div> </div>
<div class="impulses"> <div class="impulses">
<b>{{localize 'DAGGERHEART.Actors.Environment.FIELDS.impulses.label'}}: </b>{{{source.system.impulses}}} <b>{{localize 'DAGGERHEART.ACTORS.Environment.FIELDS.impulses.label'}}: </b>{{{source.system.impulses}}}
</div> </div>
</div> </div>
<div class="environment-navigation"> <div class="environment-navigation">

View file

@ -11,24 +11,24 @@
{{#if isSidebar}} {{#if isSidebar}}
<div class="item-labels"> <div class="item-labels">
<div class="label"> <div class="label">
{{localize (concat 'DAGGERHEART.Config.Traits.' item.system.trait '.name')}} {{localize (concat 'DAGGERHEART.CONFIG.Traits.' item.system.trait '.name')}}
{{localize (concat 'DAGGERHEART.Config.Range.' item.system.range '.name')}} {{localize (concat 'DAGGERHEART.CONFIG.Range.' item.system.range '.name')}}
<span> - </span> <span> - </span>
{{item.system.damage.value}} {{item.system.damage.value}}
({{localize (concat 'DAGGERHEART.Config.DamageType.' item.system.damage.type '.abbreviation')}}) ({{localize (concat 'DAGGERHEART.CONFIG.DamageType.' item.system.damage.type '.abbreviation')}})
</div> </div>
</div> </div>
{{else}} {{else}}
<div class="tag"> <div class="tag">
{{localize (concat 'DAGGERHEART.Config.Traits.' item.system.trait '.name')}} {{localize (concat 'DAGGERHEART.CONFIG.Traits.' item.system.trait '.name')}}
{{localize (concat 'DAGGERHEART.Config.Range.' item.system.range '.name')}} {{localize (concat 'DAGGERHEART.CONFIG.Range.' item.system.range '.name')}}
</div> </div>
<div class="tag"> <div class="tag">
{{item.system.damage.value}} {{item.system.damage.value}}
({{localize (concat 'DAGGERHEART.Config.DamageType.' item.system.damage.type '.abbreviation')}}) ({{localize (concat 'DAGGERHEART.CONFIG.DamageType.' item.system.damage.type '.abbreviation')}})
</div> </div>
<div class="tag"> <div class="tag">
{{localize (concat 'DAGGERHEART.Config.Burden.' item.system.burden)}} {{localize (concat 'DAGGERHEART.CONFIG.Burden.' item.system.burden)}}
</div> </div>
{{/if}} {{/if}}
</div> </div>
@ -37,18 +37,18 @@
{{#if isSidebar}} {{#if isSidebar}}
<div class="item-labels"> <div class="item-labels">
<div class="label"> <div class="label">
{{localize "DAGGERHEART.Items.Armor.baseScore"}}: {{localize "DAGGERHEART.ITEMS.Armor.baseScore"}}:
{{item.system.baseScore}} {{item.system.baseScore}}
</div> </div>
</div> </div>
{{else}} {{else}}
<div class="item-tags"> <div class="item-tags">
<div class="tag"> <div class="tag">
{{localize "DAGGERHEART.Items.Armor.baseScore"}}: {{localize "DAGGERHEART.ITEMS.Armor.baseScore"}}:
{{item.system.baseScore}} {{item.system.baseScore}}
</div> </div>
<div class="tag"> <div class="tag">
{{localize "DAGGERHEART.Items.Armor.baseThresholds.base"}}: {{localize "DAGGERHEART.ITEMS.Armor.baseThresholds.base"}}:
{{item.system.baseThresholds.major}} {{item.system.baseThresholds.major}}
<span>/</span> <span>/</span>
{{item.system.baseThresholds.severe}} {{item.system.baseThresholds.severe}}
@ -60,9 +60,9 @@
{{#if isSidebar}} {{#if isSidebar}}
<div class="item-labels"> <div class="item-labels">
<div class="label"> <div class="label">
{{localize (concat 'DAGGERHEART.Config.DomainCardTypes.' item.system.type)}} {{localize (concat 'DAGGERHEART.CONFIG.DomainCardTypes.' item.system.type)}}
<span> - </span> <span> - </span>
{{localize (concat 'DAGGERHEART.General.Domain.' item.system.domain '.label')}} {{localize (concat 'DAGGERHEART.GENERAL.Domain.' item.system.domain '.label')}}
<span> - </span> <span> - </span>
<span class="recall-value">{{item.system.recallCost}}</span> <span class="recall-value">{{item.system.recallCost}}</span>
<i class="fa-solid fa-bolt"></i> <i class="fa-solid fa-bolt"></i>
@ -71,13 +71,13 @@
{{else}} {{else}}
<div class="item-tags"> <div class="item-tags">
<div class="tag"> <div class="tag">
{{localize (concat 'DAGGERHEART.Config.DomainCardTypes.' item.system.type)}} {{localize (concat 'DAGGERHEART.CONFIG.DomainCardTypes.' item.system.type)}}
</div> </div>
<div class="tag"> <div class="tag">
{{localize (concat 'DAGGERHEART.General.Domain.' item.system.domain '.label')}} {{localize (concat 'DAGGERHEART.GENERAL.Domain.' item.system.domain '.label')}}
</div> </div>
<div class="tag"> <div class="tag">
<span class="recall-label">{{localize "DAGGERHEART.Items.DomainCard.recallCost"}}: </span> <span class="recall-label">{{localize "DAGGERHEART.ITEMS.DomainCard.recallCost"}}: </span>
<span class="recall-value">{{item.system.recallCost}}</span> <span class="recall-value">{{item.system.recallCost}}</span>
</div> </div>
</div> </div>
@ -92,14 +92,14 @@
</div> </div>
<div class="tag"> <div class="tag">
{{#if item.duration.duration}} {{#if item.duration.duration}}
{{localize 'DAGGERHEART.Effects.Duration.temporary'}} {{localize 'DAGGERHEART.EFFECTS.Duration.temporary'}}
{{else}} {{else}}
{{localize 'DAGGERHEART.Effects.Duration.passive'}} {{localize 'DAGGERHEART.EFFECTS.Duration.passive'}}
{{/if}} {{/if}}
</div> </div>
{{#each item.statuses as |status|}} {{#each item.statuses as |status|}}
<div class="tag"> <div class="tag">
{{localize (concat 'DAGGERHEART.Config.Condition.' status '.name')}} {{localize (concat 'DAGGERHEART.CONFIG.Condition.' status '.name')}}
</div> </div>
{{/each}} {{/each}}
</div> </div>
@ -107,10 +107,10 @@
{{#if (eq type 'action')}} {{#if (eq type 'action')}}
<div class="item-tags"> <div class="item-tags">
<div class="tag"> <div class="tag">
{{localize (concat 'DAGGERHEART.Actions.Types.' item.type '.name')}} {{localize (concat 'DAGGERHEART.ACTIONS.TYPES.' item.type '.name')}}
</div> </div>
<div class="tag"> <div class="tag">
{{localize (concat 'DAGGERHEART.Config.ActionType.' item.actionType)}} {{localize (concat 'DAGGERHEART.CONFIG.ActionType.' item.actionType)}}
</div> </div>
</div> </div>
{{/if}} {{/if}}

View file

@ -4,7 +4,7 @@
data-group='{{tabs.actions.group}}' data-group='{{tabs.actions.group}}'
> >
<fieldset class="one-column"> <fieldset class="one-column">
<legend>{{localize "DAGGERHEART.General.Action.plural"}} <a><i class="fa-solid fa-plus icon-button" data-action="addAction"></i></a></legend> <legend>{{localize "DAGGERHEART.GENERAL.Action.plural"}} <a><i class="fa-solid fa-plus icon-button" data-action="addAction"></i></a></legend>
<div class="actions-list"> <div class="actions-list">
{{#each document.system.actions as |action index|}} {{#each document.system.actions as |action index|}}
<div class="action-item" <div class="action-item"

View file

@ -4,7 +4,7 @@
data-group='{{tabs.description.group}}' data-group='{{tabs.description.group}}'
> >
<fieldset> <fieldset>
<legend>{{localize "DAGGERHEART.General.description"}}</legend> <legend>{{localize "DAGGERHEART.GENERAL.description"}}</legend>
{{formInput systemFields.description value=document.system.description enriched=enrichedDescription toggled=true}} {{formInput systemFields.description value=document.system.description enriched=enrichedDescription toggled=true}}
</fieldset> </fieldset>
</section> </section>

Some files were not shown because too many files have changed in this diff Show more