Compare commits

..

No commits in common. "94f1fbdd9b9ebb6705a70e7694699aec1cb61bbf" and "28d9254883c85f389fc33d4e5c26e0ec47ff0ef1" have entirely different histories.

44 changed files with 79 additions and 134 deletions

View file

@ -210,10 +210,7 @@
"type": { "label": "Type" } "type": { "label": "Type" }
}, },
"hordeDamage": "Horde Damage", "hordeDamage": "Horde Damage",
"horderHp": "Horde/HP", "horderHp": "Horde/HP"
"adversaryReactionRoll": {
"headerTitle": "Adversary Reaction Roll"
}
}, },
"Character": { "Character": {
"advantageSources": { "advantageSources": {
@ -336,8 +333,7 @@
"minor": "MIN", "minor": "MIN",
"major": "MAJ", "major": "MAJ",
"severe": "SEV" "severe": "SEV"
}, }
"triggerRestContent": "This will trigger a dialog to players make their downtime moves. Are you sure?"
} }
}, },
"APPLICATIONS": { "APPLICATIONS": {
@ -471,10 +467,6 @@
"defaultOwnershipTooltip": "The default player ownership of countdowns", "defaultOwnershipTooltip": "The default player ownership of countdowns",
"hideNewCountdowns": "Hide New Countdowns" "hideNewCountdowns": "Hide New Countdowns"
}, },
"CreateItemDialog": {
"createItem": "Create Item",
"browseCompendium": "Browse Compendium"
},
"DaggerheartMenu": { "DaggerheartMenu": {
"title": "GM Tools", "title": "GM Tools",
"refreshFeatures": "Refresh Features", "refreshFeatures": "Refresh Features",
@ -689,12 +681,6 @@
"noPlayers": "No players to assign ownership to", "noPlayers": "No players to assign ownership to",
"default": "Default Ownership" "default": "Default Ownership"
}, },
"PendingReactionsDialog": {
"title": "Pending Reaction Rolls Found",
"unfinishedRolls": "Some Tokens still need to roll their Reaction Roll.",
"confirmation": "Are you sure you want to continue ?",
"warning": "Undone reaction rolls will be considered as failed"
},
"ReactionRoll": { "ReactionRoll": {
"title": "Reaction Roll: {trait}" "title": "Reaction Roll: {trait}"
}, },
@ -749,11 +735,11 @@
}, },
"GroupRollSelect": { "GroupRollSelect": {
"title": "Group Roll", "title": "Group Roll",
"aidingCharacters": "Aiding Characters",
"leader": "Leader", "leader": "Leader",
"leaderRoll": "Leader Roll", "leaderRoll": "Leader Roll",
"openDialogForAll": "Open Dialog For All", "openDialogForAll": "Open Dialog For All",
"startGroupRoll": "Start Group Roll", "startGroupRoll": "Start Group Roll",
"cancelGroupRoll": "Cancel",
"finishGroupRoll": "Finish Group Roll", "finishGroupRoll": "Finish Group Roll",
"cancelConfirmTitle": "Cancel Group Roll", "cancelConfirmTitle": "Cancel Group Roll",
"cancelConfirmText": "Are you sure you want to cancel the Group Roll? This will close it for all other players too." "cancelConfirmText": "Are you sure you want to cancel the Group Roll? This will close it for all other players too."
@ -778,11 +764,6 @@
"session": "Next Session", "session": "Next Session",
"custom": "Custom" "custom": "Custom"
}, },
"ActionAutomationChoices": {
"never": "Never",
"showDialog": "Show Dialog Only",
"always": "Always"
},
"AdversaryTrait": { "AdversaryTrait": {
"relentless": { "relentless": {
"name": "Relentless", "name": "Relentless",
@ -1312,11 +1293,6 @@
"on": "On", "on": "On",
"onWithToggle": "On With Toggle" "onWithToggle": "On With Toggle"
}, },
"SceneRangeMeasurementTypes": {
"disable": "Disable Daggerheart Range Measurement",
"default": "Default",
"custom": "Custom"
},
"SelectAction": { "SelectAction": {
"selectType": "Select Action Type", "selectType": "Select Action Type",
"selectAction": "Action Selection" "selectAction": "Action Selection"
@ -2428,7 +2404,6 @@
"multiclass": "Multiclass", "multiclass": "Multiclass",
"newCategory": "New Category", "newCategory": "New Category",
"newThing": "New {thing}", "newThing": "New {thing}",
"next": "Next",
"none": "None", "none": "None",
"noTarget": "No current target", "noTarget": "No current target",
"partner": "Partner", "partner": "Partner",
@ -2460,7 +2435,6 @@
"scalable": "Scalable", "scalable": "Scalable",
"scars": "Scars", "scars": "Scars",
"situationalBonus": "Situational Bonus", "situationalBonus": "Situational Bonus",
"searchPlaceholder": "Search...",
"spent": "Spent", "spent": "Spent",
"step": "Step", "step": "Step",
"stress": "Stress", "stress": "Stress",
@ -3036,9 +3010,6 @@
"resourceRoll": { "resourceRoll": {
"playerMessage": "{user} rerolled their {name}" "playerMessage": "{user} rerolled their {name}"
}, },
"saveRoll": {
"reactionRollAllTargets": "Reaction Roll All Targets"
},
"tagTeam": { "tagTeam": {
"title": "Tag Team", "title": "Tag Team",
"membersTitle": "Members" "membersTitle": "Members"
@ -3069,6 +3040,7 @@
"title": "Daggerheart Compendium Browser", "title": "Daggerheart Compendium Browser",
"hint": "Select a Folder in sidebar to start browsing through the compendium", "hint": "Select a Folder in sidebar to start browsing through the compendium",
"browserSettings": "Browser Settings", "browserSettings": "Browser Settings",
"searchPlaceholder": "Search...",
"columnName": "Name", "columnName": "Name",
"tooltipFilters": "Filters", "tooltipFilters": "Filters",
"tooltipErase": "Erase", "tooltipErase": "Erase",
@ -3104,7 +3076,7 @@
"weapons": "Weapons", "weapons": "Weapons",
"armors": "Armors", "armors": "Armors",
"consumables": "Consumables", "consumables": "Consumables",
"loots": "Loot" "loots": "Loots"
} }
}, },
"Notifications": { "Notifications": {
@ -3199,7 +3171,6 @@
"companion": "Level {level} - {partner}", "companion": "Level {level} - {partner}",
"companionNoPartner": "No Partner", "companionNoPartner": "No Partner",
"duplicateToNewTier": "Duplicate to New Tier", "duplicateToNewTier": "Duplicate to New Tier",
"createAdversary": "Create Adversary",
"pickTierTitle": "Pick a new tier for this adversary" "pickTierTitle": "Pick a new tier for this adversary"
}, },
"daggerheartMenu": { "daggerheartMenu": {

View file

@ -116,7 +116,7 @@ export default class GroupRollDialog extends HandlebarsApplicationMixin(Applicat
initializationPart.insertAdjacentHTML('afterend', '<div class="team-container"></div>'); initializationPart.insertAdjacentHTML('afterend', '<div class="team-container"></div>');
initializationPart.insertAdjacentHTML( initializationPart.insertAdjacentHTML(
'afterend', 'afterend',
`<div class="section-title">${game.i18n.localize('DAGGERHEART.APPLICATIONS.GroupRollSelect.aidingCharacters')}</div>` `<div class="section-title">${game.i18n.localize('Aiding Characters')}</div>`
); );
const teamContainer = this.element.querySelector('.team-container'); const teamContainer = this.element.querySelector('.team-container');

View file

@ -118,13 +118,8 @@ export default class DHAppearanceSettings extends HandlebarsApplicationMixin(App
break; break;
case 'footer': case 'footer':
partContext.buttons = [ partContext.buttons = [
{ { type: 'button', action: 'reset', icon: 'fa-solid fa-arrow-rotate-left', label: 'Reset' },
type: 'button', { type: 'submit', icon: 'fa-solid fa-floppy-disk', label: 'Save Changes' }
action: 'reset',
icon: 'fa-solid fa-arrow-rotate-left',
label: game.i18n.localize('ACTIONS.Reset')
},
{ type: 'submit', icon: 'fa-solid fa-floppy-disk', label: game.i18n.localize('EDITOR.Save') }
]; ];
break; break;
} }

View file

@ -217,8 +217,8 @@ export default class AdversarySheet extends DHBaseActorSheet {
static #reactionRoll(event) { static #reactionRoll(event) {
const config = { const config = {
event, event,
title: game.i18n.localize('DAGGERHEART.GENERAL.reactionRoll'), title: `Reaction Roll: ${this.actor.name}`,
headerTitle: game.i18n.localize('DAGGERHEART.ACTORS.Adversary.adversaryReactionRoll.headerTitle'), headerTitle: 'Adversary Reaction Roll',
roll: { roll: {
type: 'trait' type: 'trait'
}, },

View file

@ -288,7 +288,7 @@ export default class Party extends DHBaseActorSheet {
title: game.i18n.localize(`DAGGERHEART.APPLICATIONS.Downtime.${button.dataset.type}.title`), title: game.i18n.localize(`DAGGERHEART.APPLICATIONS.Downtime.${button.dataset.type}.title`),
icon: button.dataset.type === 'shortRest' ? 'fa-solid fa-utensils' : 'fa-solid fa-bed' icon: button.dataset.type === 'shortRest' ? 'fa-solid fa-utensils' : 'fa-solid fa-bed'
}, },
content: game.i18n.localize('DAGGERHEART.ACTORS.Party.triggerRestContent'), content: 'This will trigger a dialog to players make their downtime moves, are you sure?',
classes: ['daggerheart', 'dialog', 'dh-style'] classes: ['daggerheart', 'dialog', 'dh-style']
}); });

View file

@ -644,12 +644,12 @@ export default function DHApplicationMixin(Base) {
buttons: [ buttons: [
{ {
action: 'create', action: 'create',
label: game.i18n.localize('DAGGERHEART.APPLICATIONS.CreateItemDialog.createItem'), label: 'Create Item',
icon: 'fa-solid fa-plus' icon: 'fa-solid fa-plus'
}, },
{ {
action: 'browse', action: 'browse',
label: game.i18n.localize('DAGGERHEART.APPLICATIONS.CreateItemDialog.browseCompendium'), label: 'Browse Compendium',
icon: 'fa-solid fa-book' icon: 'fa-solid fa-book'
} }
] ]

View file

@ -76,7 +76,7 @@ export default class DhActorDirectory extends foundry.applications.sidebar.tabs.
window: { title: 'DAGGERHEART.UI.Sidebar.actorDirectory.pickTierTitle' }, window: { title: 'DAGGERHEART.UI.Sidebar.actorDirectory.pickTierTitle' },
content, content,
ok: { ok: {
label: 'DAGGERHEART.UI.Sidebar.actorDirectory.createAdversary', label: 'Create Adversary',
callback: (event, button, dialog) => Number(button.form.elements.tier.value) callback: (event, button, dialog) => Number(button.form.elements.tier.value)
} }
}); });

View file

@ -22,7 +22,7 @@ export default class FearTracker extends HandlebarsApplicationMixin(ApplicationV
tag: 'div', tag: 'div',
window: { window: {
frame: true, frame: true,
title: 'DAGGERHEART.GENERAL.fear', title: 'Fear',
positioned: true, positioned: true,
resizable: true, resizable: true,
minimizable: false minimizable: false

View file

@ -207,23 +207,8 @@ export class ItemBrowser extends HandlebarsApplicationMixin(ApplicationV2) {
label: game.i18n.localize(col.label) label: game.i18n.localize(col.label)
})); }));
const splitPath = folderId?.split('.') ?? [];
const { pathLabels } = splitPath.reduce(
(acc, curr) => {
acc.currentPath = !acc.currentPath ? curr : [acc.currentPath, curr].join('.');
if (curr === 'folder') return acc;
const label = foundry.utils.getProperty(this.config, acc.currentPath)?.label;
if (label) acc.pathLabels.push(game.i18n.localize(label));
return acc;
},
{ pathLabels: [], currentPath: '' }
);
this.selectedMenu = { this.selectedMenu = {
path: splitPath, path: folderId?.split('.') ?? [],
pathLabels: pathLabels,
data: { data: {
...folderData, ...folderData,
columns: columns columns: columns

View file

@ -188,7 +188,7 @@ export default class FilterMenu extends foundry.applications.ux.ContextMenu {
})); }));
const damageTypeFilter = Object.values(CONFIG.DH.GENERAL.damageTypes).map(({ id, abbreviation }) => ({ const damageTypeFilter = Object.values(CONFIG.DH.GENERAL.damageTypes).map(({ id, abbreviation }) => ({
group: game.i18n.localize('DAGGERHEART.GENERAL.damageType'), group: 'Damage Type', //TODO localize
name: game.i18n.localize(abbreviation), name: game.i18n.localize(abbreviation),
filter: { filter: {
field: 'system.damage.type', field: 'system.damage.type',

View file

@ -955,15 +955,15 @@ export const countdownAppMode = {
export const sceneRangeMeasurementSetting = { export const sceneRangeMeasurementSetting = {
disable: { disable: {
id: 'disable', id: 'disable',
label: 'DAGGERHEART.CONFIG.SceneRangeMeasurementTypes.disable' label: 'Disable Daggerheart Range Measurement'
}, },
default: { default: {
id: 'default', id: 'default',
label: 'DAGGERHEART.CONFIG.SceneRangeMeasurementTypes.default' label: 'Default'
}, },
custom: { custom: {
id: 'custom', id: 'custom',
label: 'DAGGERHEART.CONFIG.SceneRangeMeasurementTypes.custom' label: 'Custom'
} }
}; };

View file

@ -7,12 +7,7 @@ export const typeConfig = {
}, },
{ {
key: 'system.type', key: 'system.type',
label: 'DAGGERHEART.GENERAL.type', label: 'DAGGERHEART.GENERAL.type'
format: type => {
if (!type) return '-';
return CONFIG.DH.ACTOR.allAdversaryTypes()[type].label;
}
} }
], ],
filters: [ filters: [
@ -323,14 +318,7 @@ export const typeConfig = {
}, },
{ {
key: 'system.domains', key: 'system.domains',
label: 'DAGGERHEART.GENERAL.Domain.plural', label: 'DAGGERHEART.GENERAL.Domain.plural'
format: domains => {
const config = CONFIG.DH.DOMAIN.allDomains();
return domains
.map(x => (x ? game.i18n.localize(config[x].label) : null))
.filter(x => x)
.join(', ');
}
} }
], ],
filters: [ filters: [
@ -379,8 +367,7 @@ export const typeConfig = {
}, },
{ {
key: 'system.spellcastingTrait', key: 'system.spellcastingTrait',
label: 'DAGGERHEART.ITEMS.Subclass.spellcastingTrait', label: 'DAGGERHEART.ITEMS.Subclass.spellcastingTrait'
format: trait => (trait ? `DAGGERHEART.CONFIG.Traits.${trait}.name` : '-')
} }
], ],
filters: [ filters: [

View file

@ -46,14 +46,18 @@ export const gameSettings = {
export const actionAutomationChoices = { export const actionAutomationChoices = {
never: { never: {
id: 'never', id: 'never',
label: 'DAGGERHEART.CONFIG.ActionAutomationChoices.never' label: 'Never'
}, },
showDialog: { showDialog: {
id: 'showDialog', id: 'showDialog',
label: 'DAGGERHEART.CONFIG.ActionAutomationChoices.showDialog' label: 'Show Dialog only'
}, },
// npcOnly: {
// id: "npcOnly",
// label: "Always for non-characters"
// },
always: { always: {
id: 'always', id: 'always',
label: 'DAGGERHEART.CONFIG.ActionAutomationChoices.always' label: 'Always'
} }
}; };

View file

@ -153,6 +153,7 @@ export default class DhCharacter extends DhCreature {
shortMoves: new fields.NumberField({ shortMoves: new fields.NumberField({
required: true, required: true,
integer: true, integer: true,
min: 0,
initial: 0, initial: 0,
label: 'DAGGERHEART.GENERAL.Bonuses.rest.shortRest.shortRestMoves.label', label: 'DAGGERHEART.GENERAL.Bonuses.rest.shortRest.shortRestMoves.label',
hint: 'DAGGERHEART.GENERAL.Bonuses.rest.shortRest.shortRestMoves.hint' hint: 'DAGGERHEART.GENERAL.Bonuses.rest.shortRest.shortRestMoves.hint'
@ -160,6 +161,7 @@ export default class DhCharacter extends DhCreature {
longMoves: new fields.NumberField({ longMoves: new fields.NumberField({
required: true, required: true,
integer: true, integer: true,
min: 0,
initial: 0, initial: 0,
label: 'DAGGERHEART.GENERAL.Bonuses.rest.shortRest.longRestMoves.label', label: 'DAGGERHEART.GENERAL.Bonuses.rest.shortRest.longRestMoves.label',
hint: 'DAGGERHEART.GENERAL.Bonuses.rest.shortRest.longRestMoves.hint' hint: 'DAGGERHEART.GENERAL.Bonuses.rest.shortRest.longRestMoves.hint'
@ -169,6 +171,7 @@ export default class DhCharacter extends DhCreature {
shortMoves: new fields.NumberField({ shortMoves: new fields.NumberField({
required: true, required: true,
integer: true, integer: true,
min: 0,
initial: 0, initial: 0,
label: 'DAGGERHEART.GENERAL.Bonuses.rest.longRest.shortRestMoves.label', label: 'DAGGERHEART.GENERAL.Bonuses.rest.longRest.shortRestMoves.label',
hint: 'DAGGERHEART.GENERAL.Bonuses.rest.longRest.shortRestMoves.hint' hint: 'DAGGERHEART.GENERAL.Bonuses.rest.longRest.shortRestMoves.hint'
@ -176,6 +179,7 @@ export default class DhCharacter extends DhCreature {
longMoves: new fields.NumberField({ longMoves: new fields.NumberField({
required: true, required: true,
integer: true, integer: true,
min: 0,
initial: 0, initial: 0,
label: 'DAGGERHEART.GENERAL.Bonuses.rest.longRest.longRestMoves.label', label: 'DAGGERHEART.GENERAL.Bonuses.rest.longRest.longRestMoves.label',
hint: 'DAGGERHEART.GENERAL.Bonuses.rest.longRest.longRestMoves.hint' hint: 'DAGGERHEART.GENERAL.Bonuses.rest.longRest.longRestMoves.hint'

View file

@ -320,7 +320,7 @@ export class DHDamageData extends DHResourceData {
required: true required: true
}), }),
{ {
label: game.i18n.localize('DAGGERHEART.GENERAL.type') label: 'Type'
} }
) )
}; };

View file

@ -33,7 +33,7 @@ export class MemberData extends foundry.abstract.DataModel {
required: true, required: true,
choices: CONFIG.DH.GENERAL.tagTeamRollTypes, choices: CONFIG.DH.GENERAL.tagTeamRollTypes,
initial: CONFIG.DH.GENERAL.tagTeamRollTypes.trait.id, initial: CONFIG.DH.GENERAL.tagTeamRollTypes.trait.id,
label: game.i18n.localize('DAGGERHEART.APPLICATIONS.TagTeamSelect.rollType') label: 'Roll Type'
}), }),
rollChoice: new fields.StringField({ nullable: true, initial: null }), rollChoice: new fields.StringField({ nullable: true, initial: null }),
rollData: new fields.JSONField({ nullable: true, initial: null }), rollData: new fields.JSONField({ nullable: true, initial: null }),

View file

@ -178,8 +178,8 @@ export default class DhpChatMessage extends foundry.documents.ChatMessage {
const pendingingSaves = targets.filter(t => t.saved.success === null); const pendingingSaves = targets.filter(t => t.saved.success === null);
if (pendingingSaves.length) { if (pendingingSaves.length) {
const confirm = await foundry.applications.api.DialogV2.confirm({ const confirm = await foundry.applications.api.DialogV2.confirm({
window: { title: game.i18n.localize('DAGGERHEART.APPLICATIONS.PendingReactionsDialog.title') }, window: { title: 'Pending Reaction Rolls found' },
content: `<p>${game.i18n.localize('DAGGERHEART.APPLICATIONS.PendingReactionsDialog.unfinishedRolls')}</p><p>${game.i18n.localize('DAGGERHEART.APPLICATIONS.PendingReactionsDialog.confirmation')}</p><p><i>${game.i18n.localize('DAGGERHEART.APPLICATIONS.PendingReactionsDialog.warning')}</i></p>` content: `<p>Some Tokens still need to roll their Reaction Roll.</p><p>Are you sure you want to continue ?</p><p><i>Undone reaction rolls will be considered as failed</i></p>`
}); });
if (!confirm) return; if (!confirm) return;
} }

View file

@ -25,7 +25,7 @@
} }
h4 { h4 {
font-size: var(--font-size-16); font-size: var(--font-size-16);
color: light-dark(@dark, @beige); color: @beige;
font-weight: 600; font-weight: 600;
} }

View file

@ -10,7 +10,6 @@
.encounter-battlepoints { .encounter-battlepoints {
display: flex; display: flex;
cursor: help; cursor: help;
color: light-dark(@dark, @beige);
} }
.inner-controls { .inner-controls {

View file

@ -8,9 +8,6 @@
"verified": "14.360", "verified": "14.360",
"maximum": "14" "maximum": "14"
}, },
"url": "https://github.com/Foundryborne/daggerheart",
"manifest": "https://raw.githubusercontent.com/Foundryborne/daggerheart/v14/system.json",
"download": "https://github.com/Foundryborne/daggerheart/releases/download/2.1.1/system.zip",
"authors": [ "authors": [
{ {
"name": "WBHarry" "name": "WBHarry"
@ -298,5 +295,8 @@
}, },
"background": "systems/daggerheart/assets/logos/FoundrybornBackgroundLogo.png", "background": "systems/daggerheart/assets/logos/FoundrybornBackgroundLogo.png",
"primaryTokenAttribute": "resources.hitPoints", "primaryTokenAttribute": "resources.hitPoints",
"secondaryTokenAttribute": "resources.stress" "secondaryTokenAttribute": "resources.stress",
"url": "https://github.com/Foundryborne/daggerheart",
"manifest": "https://raw.githubusercontent.com/Foundryborne/daggerheart/main/system.json",
"download": "https://github.com/Foundryborne/daggerheart/releases/download/2.1.1/system.zip"
} }

View file

@ -1,8 +1,8 @@
<section class="creation-action-footer"> <section class="creation-action-footer">
<button data-action="close">{{localize "COMMON.Cancel"}}</button> <button data-action="close">{{localize "Cancel"}}</button>
{{#if isLastTab}} {{#if isLastTab}}
<button data-action="finish">{{localize "DAGGERHEART.APPLICATIONS.CharacterCreation.finishCreation"}}</button> <button data-action="finish">{{localize "DAGGERHEART.APPLICATIONS.CharacterCreation.finishCreation"}}</button>
{{else}} {{else}}
<button data-action="setupGoNext" {{disabled nextDisabled}}>{{localize "DAGGERHEART.GENERAL.next"}}</button> <button data-action="setupGoNext" {{disabled nextDisabled}}>{{localize "Next"}}</button>
{{/if}} {{/if}}
</section> </section>

View file

@ -28,6 +28,6 @@
</div> </div>
</fieldset> </fieldset>
<button type="button" data-action="finishSelection">{{localize "ACTIONS.Reset"}}</button> <button type="button" data-action="finishSelection">{{localize "Reset"}}</button>
</div> </div>
</div> </div>

View file

@ -17,7 +17,7 @@
</div> </div>
<footer class="flexrow"> <footer class="flexrow">
<button data-action="close"> <button data-action="close">
<span>{{localize "COMMON.Cancel"}}</span> <span>{{localize "Cancel"}}</span>
</button> </button>
<button data-action="takeMove" {{#if (not this.selectedMove)}}disabled{{/if}}> <button data-action="takeMove" {{#if (not this.selectedMove)}}disabled{{/if}}>
<span> <span>

View file

@ -35,7 +35,7 @@
</span> </span>
</div> </div>
<div class="bonuses form-group flexrow"> <div class="bonuses form-group flexrow">
<input type="text" value="{{extraFormula}}" name="roll.{{ @index }}.extraFormula" placeholder="{{localize "DAGGERHEART.GENERAL.situationalBonus"}}"> <input type="text" value="{{extraFormula}}" name="roll.{{ @index }}.extraFormula" placeholder="Situational Bonus">
<button class="critical-chip" data-action="toggleCritical"> <button class="critical-chip" data-action="toggleCritical">
<span><i class="{{#if @root.isCritical}}fa-solid{{else}}fa-regular{{/if}} fa-circle"></i></span> <span><i class="{{#if @root.isCritical}}fa-solid{{else}}fa-regular{{/if}} fa-circle"></i></span>
<span class="label">{{localize "DAGGERHEART.GENERAL.criticalShort"}}</span> <span class="label">{{localize "DAGGERHEART.GENERAL.criticalShort"}}</span>

View file

@ -175,7 +175,7 @@
</select> </select>
{{/if}} {{/if}}
{{#if (eq @root.rollType 'DualityRoll')}}<span class="formula-label">{{localize "DAGGERHEART.GENERAL.situationalBonus"}}</span>{{/if}} {{#if (eq @root.rollType 'DualityRoll')}}<span class="formula-label">{{localize "DAGGERHEART.GENERAL.situationalBonus"}}</span>{{/if}}
<input type="text" value="{{extraFormula}}" name="extraFormula" placeholder="{{#if (eq @root.rollType 'DualityRoll')}}Ex: 1d6 + 5{{else}}{{localize "DAGGERHEART.GENERAL.situationalBonus"}}{{/if}}"> <input type="text" value="{{extraFormula}}" name="extraFormula" placeholder="{{#if (eq @root.rollType 'DualityRoll')}}Ex: 1d6 + 5{{else}}Situational Bonus{{/if}}">
</fieldset> </fieldset>
{{/if}} {{/if}}
{{/unless}} {{/unless}}

View file

@ -28,7 +28,7 @@
</fieldset> </fieldset>
<footer> <footer>
<button type="button" data-action="close">{{localize "COMMON.Cancel"}}</button> <button type="button" data-action="close">{{localize "Cancel"}}</button>
<button type="button" data-action="takeDowntime" {{#if disabledDowntime}}disabled{{/if}}>{{localize "DAGGERHEART.APPLICATIONS.Downtime.takeDowntime"}}</button> <button type="button" data-action="takeDowntime" {{#if disabledDowntime}}disabled{{/if}}>{{localize "DAGGERHEART.APPLICATIONS.Downtime.takeDowntime"}}</button>
</footer> </footer>
</div> </div>

View file

@ -1,6 +1,6 @@
<section class="tab {{#if tabs.groupRoll.active}} active{{/if}}" data-group="{{tabs.groupRoll.group}}" data-tab="{{tabs.groupRoll.id}}"> <section class="tab {{#if tabs.groupRoll.active}} active{{/if}}" data-group="{{tabs.groupRoll.group}}" data-tab="{{tabs.groupRoll.id}}">
<div class="finish-container"> <div class="finish-container">
<button type="button" data-action="cancelRoll">{{localize "COMMON.Cancel"}}</button> <button type="button" data-action="cancelRoll">{{localize "DAGGERHEART.APPLICATIONS.GroupRollSelect.cancelGroupRoll"}}</button>
<button type="button" data-action="finishRoll" {{#unless canFinishRoll}}disabled{{/unless}} class="finish-button">{{localize "DAGGERHEART.APPLICATIONS.GroupRollSelect.finishGroupRoll"}}</button> <button type="button" data-action="finishRoll" {{#unless canFinishRoll}}disabled{{/unless}} class="finish-button">{{localize "DAGGERHEART.APPLICATIONS.GroupRollSelect.finishGroupRoll"}}</button>
</div> </div>
</section> </section>

View file

@ -1,4 +1,4 @@
<div class="footer"> <div class="footer">
<button data-action="close">{{localize "COMMON.Cancel"}}</button> <button data-action="close">{{localize "Cancel"}}</button>
<button type="button" data-action="finishSelection">{{localize "DAGGERHEART.APPLICATIONS.ImageSelect.selectImage"}}</button> <button type="button" data-action="finishSelection">{{localize "DAGGERHEART.APPLICATIONS.ImageSelect.selectImage"}}</button>
</div> </div>

View file

@ -16,7 +16,7 @@
</div> </div>
<footer> <footer>
<button data-action="close">{{localize "COMMON.Cancel"}}</button> <button data-action="close">{{localize "Cancel"}}</button>
<button data-action="save" {{disabled multiclassDisabled}}>{{localize "DAGGERHEART.GENERAL.multiclass"}}</button> <button data-action="save" {{disabled multiclassDisabled}}>{{localize "DAGGERHEART.GENERAL.multiclass"}}</button>
</footer> </footer>
</div> </div>

View file

@ -20,7 +20,7 @@
{{/if}} {{/if}}
{{#unless levelupAuto}} {{#unless levelupAuto}}
<div class="levelup-footer"> <div class="levelup-footer">
<button type="button" data-action="close">{{localize "COMMON.Cancel"}}</button> <button type="button" data-action="close">{{localize "Cancel"}}</button>
<button type="button" data-action="save">{{localize "Save"}}</button> <button type="button" data-action="save">{{localize "Save"}}</button>
</div> </div>
{{/unless}} {{/unless}}

View file

@ -1,10 +1,10 @@
<footer class="form-footer"> <footer class="form-footer">
<button data-action="reset"> <button data-action="reset">
<i class="fa-solid fa-arrow-rotate-left"></i> <i class="fa-solid fa-arrow-rotate-left"></i>
<span>{{localize "ACTIONS.Reset"}}</span> <span>{{localize "Reset"}}</span>
</button> </button>
<button data-action="save" > <button data-action="save" >
<i class="fa-solid fa-floppy-disk"></i> <i class="fa-solid fa-floppy-disk"></i>
<span>{{localize "EDITOR.Save"}}</span> <span>{{localize "Save Changes"}}</span>
</button> </button>
</footer> </footer>

View file

@ -1,4 +1,4 @@
<section class='tab-form-footer spaced'> <section class='tab-form-footer spaced'>
<button data-action="close">{{localize "COMMON.Cancel"}}</button> <button data-action="close">{{localize "Cancel"}}</button>
<button data-action="saveForm"><i class="fa-solid fa-floppy-disk"></i> {{localize "Save"}}</button> <button data-action="saveForm"><i class="fa-solid fa-floppy-disk"></i> {{localize "Save"}}</button>
</section> </section>

View file

@ -1,10 +1,10 @@
<footer class="form-footer"> <footer class="form-footer">
<button type="button" data-action="reset"> <button type="button" data-action="reset">
<i class="fa-solid fa-arrow-rotate-left"></i> <i class="fa-solid fa-arrow-rotate-left"></i>
<span>{{localize "ACTIONS.Reset"}}</span> <span>{{localize "Reset"}}</span>
</button> </button>
<button type="button" data-action="save" > <button type="button" data-action="save" >
<i class="fa-solid fa-floppy-disk"></i> <i class="fa-solid fa-floppy-disk"></i>
<span>{{localize "EDITOR.Save"}}</span> <span>{{localize "Save Changes"}}</span>
</button> </button>
</footer> </footer>

View file

@ -1,10 +1,10 @@
<footer class="form-footer"> <footer class="form-footer">
<button data-action="reset"> <button data-action="reset">
<i class="fa-solid fa-arrow-rotate-left"></i> <i class="fa-solid fa-arrow-rotate-left"></i>
<span>{{localize "ACTIONS.Reset"}}</span> <span>{{localize "Reset"}}</span>
</button> </button>
<button data-action="save" > <button data-action="save" >
<i class="fa-solid fa-floppy-disk"></i> <i class="fa-solid fa-floppy-disk"></i>
<span>{{localize "EDITOR.Save"}}</span> <span>{{localize "Save Changes"}}</span>
</button> </button>
</footer> </footer>

View file

@ -32,11 +32,11 @@
<footer class="form-footer"> <footer class="form-footer">
<button data-action="reset"> <button data-action="reset">
<i class="fa-solid fa-arrow-rotate-left"></i> <i class="fa-solid fa-arrow-rotate-left"></i>
<span>{{localize "ACTIONS.ResetReset"}}</span> <span>{{localize "Reset"}}</span>
</button> </button>
<button data-action="save" > <button data-action="save" >
<i class="fa-solid fa-floppy-disk"></i> <i class="fa-solid fa-floppy-disk"></i>
<span>{{localize "EDITOR.Save"}}</span> <span>{{localize "Save Changes"}}</span>
</button> </button>
</footer> </footer>
</div> </div>

View file

@ -5,7 +5,7 @@
<div class="icon"> <div class="icon">
<i class="fa-solid fa-magnifying-glass"></i> <i class="fa-solid fa-magnifying-glass"></i>
</div> </div>
<input type="search" name="search" class="search-inventory" placeholder="{{localize "DAGGERHEART.GENERAL.searchPlaceholder"}}"> <input type="search" name="search" class="search-inventory" placeholder="Search...">
</div> </div>
<a class="filter-button"> <a class="filter-button">
<i class="fa-solid fa-filter"></i> <i class="fa-solid fa-filter"></i>

View file

@ -5,7 +5,7 @@
<div class="icon"> <div class="icon">
<i class="fa-solid fa-magnifying-glass"></i> <i class="fa-solid fa-magnifying-glass"></i>
</div> </div>
<input type="search" name="search" class="search-loadout" placeholder="{{localize "DAGGERHEART.GENERAL.searchPlaceholder"}}"> <input type="search" name="search" class="search-loadout" placeholder="Search...">
</div> </div>
<a class="filter-button"> <a class="filter-button">
<i class="fa-solid fa-filter"></i> <i class="fa-solid fa-filter"></i>

View file

@ -5,7 +5,7 @@
<div class="icon"> <div class="icon">
<i class="fa-solid fa-magnifying-glass"></i> <i class="fa-solid fa-magnifying-glass"></i>
</div> </div>
<input type="search" name="search" class="search-inventory" placeholder="{{localize "DAGGERHEART.GENERAL.searchPlaceholder"}}"> <input type="search" name="search" class="search-inventory" placeholder="Search...">
</div> </div>
<a class="filter-button"> <a class="filter-button">
<i class="fa-solid fa-filter"></i> <i class="fa-solid fa-filter"></i>

View file

@ -7,11 +7,11 @@
<div class="actions-section"> <div class="actions-section">
<button data-action="tagTeamRoll" class="{{#if tagTeamActive}}active-action{{/if}}"> <button data-action="tagTeamRoll" class="{{#if tagTeamActive}}active-action{{/if}}">
<i class="fa-solid fa-user-group"></i> <i class="fa-solid fa-user-group"></i>
<span>{{localize "DAGGERHEART.APPLICATIONS.TagTeamSelect.title"}}</span> <span>Tag Team Roll</span>
</button> </button>
<button data-action="groupRoll" class="{{#if groupRollActive}}active-action{{/if}}"> <button data-action="groupRoll" class="{{#if groupRollActive}}active-action{{/if}}">
<i class="fa-solid fa-users"></i> <i class="fa-solid fa-users"></i>
<span>{{localize "DAGGERHEART.APPLICATIONS.GroupRollSelect.title"}}</span> <span>Group Roll</span>
</button> </button>
<button data-action="triggerRest" data-action="triggerRest" data-type="shortRest"> <button data-action="triggerRest" data-action="triggerRest" data-type="shortRest">
<i class="fa-solid fa-utensils"></i> <i class="fa-solid fa-utensils"></i>

View file

@ -24,7 +24,7 @@
<div class="roll-part-header"><div></div></div> <div class="roll-part-header"><div></div></div>
</div> </div>
{{/if}} {{/if}}
{{#if (and hasSave currentTargets.length)}}<div class="roll-part-extra roll-all-save-button">{{localize "DAGGERHEART.UI.Chat.saveRoll.reactionRollAllTargets"}}<i class="fa-solid fa-shield fa-lg"></i></div>{{/if}} {{#if (and hasSave currentTargets.length)}}<div class="roll-part-extra roll-all-save-button">Reaction Roll All Targets<i class="fa-solid fa-shield fa-lg"></i></div>{{/if}}
{{#each currentTargets}} {{#each currentTargets}}
<div class="roll-target" data-token="{{id}}"> <div class="roll-target" data-token="{{id}}">
<img class="target-img" src="{{img}}"> <img class="target-img" src="{{img}}">

View file

@ -1,14 +1,14 @@
<div class="compendium-results"> <div class="compendium-results">
{{#if menu.path.length }} {{#if menu.path.length }}
<div class="menu-path"> <div class="menu-path">
{{#each menu.pathLabels}} {{#each menu.path}}
{{#unless @first}} {{#if (eq this "folders")}}
<span class="path-link"> <span class="path-link">
/ /
</span> </span>
{{/unless}} {{else}}
<span class="item-path">{{this}}</span>
<span class="item-path">{{this}}</span> {{/if}}
{{/each}} {{/each}}
</div> </div>
<div class="item-filter"> <div class="item-filter">
@ -17,7 +17,7 @@
<div class="icon"> <div class="icon">
<i class="fa-solid fa-magnifying-glass"></i> <i class="fa-solid fa-magnifying-glass"></i>
</div> </div>
<input type="search" name="search" class="search-input" placeholder="{{localize 'DAGGERHEART.GENERAL.searchPlaceholder'}}"> <input type="search" name="search" class="search-input" placeholder="{{localize 'DAGGERHEART.UI.ItemBrowser.searchPlaceholder'}}">
</div> </div>
<a data-tooltip="{{localize 'DAGGERHEART.UI.ItemBrowser.tooltipFilters'}}" data-action="expandContent" disabled><i class="fa-solid fa-filter"></i></a> <a data-tooltip="{{localize 'DAGGERHEART.UI.ItemBrowser.tooltipFilters'}}" data-action="expandContent" disabled><i class="fa-solid fa-filter"></i></a>
<a data-tooltip="{{localize 'DAGGERHEART.UI.ItemBrowser.tooltipErase'}}" data-action="resetFilters"><i class="fa-solid fa-eraser"></i></a> <a data-tooltip="{{localize 'DAGGERHEART.UI.ItemBrowser.tooltipErase'}}" data-action="resetFilters"><i class="fa-solid fa-eraser"></i></a>

View file

@ -16,7 +16,7 @@
{{#if (gt item.cost.length 0)}} {{#if (gt item.cost.length 0)}}
{{#each item.cost as | cost |}} {{#each item.cost as | cost |}}
<div class="tag"> <div class="tag">
<span>{{localize "DAGGERHEART.GENERAL.type"}} {{#with (lookup @root.config.GENERAL.abilityCosts cost.type) as | type |}}{{localize type.label}}{{/with}}</span> <span>{{localize "Type"}} {{#with (lookup @root.config.GENERAL.abilityCosts cost.type) as | type |}}{{localize type.label}}{{/with}}</span>
</div> </div>
<div class="tag"> <div class="tag">
<span>{{localize "DAGGERHEART.GENERAL.value"}} {{cost.value}}</span> <span>{{localize "DAGGERHEART.GENERAL.value"}} {{cost.value}}</span>

View file

@ -11,7 +11,7 @@
{{/with}} {{/with}}
</div> </div>
<div class="tooltip-information"> <div class="tooltip-information">
<label>{{localize "DAGGERHEART.GENERAL.type"}}</label> <label>{{localize "Type"}}</label>
{{#with (lookup adversaryTypes item.system.type) as | type |}} {{#with (lookup adversaryTypes item.system.type) as | type |}}
<div>{{localize type.label}}</div> <div>{{localize type.label}}</div>
{{/with}} {{/with}}

View file

@ -1,6 +1,6 @@
<div class="daggerheart dh-style tooltip"> <div class="daggerheart dh-style tooltip">
<div class="tooltip-header"><h2>{{localize "DAGGERHEART.GENERAL.Adversary.plural"}} ({{currentBP}}/{{maxBP}})</h2></div> <div class="tooltip-header"><h2>{{localize "Adversaries"}} ({{currentBP}}/{{maxBP}})</h2></div>
<div class="battlepoint-categories-container"> <div class="battlepoint-categories-container">
<div class="battlepoint-categories-inner-container"> <div class="battlepoint-categories-inner-container">
{{#each categories as |category key|}} {{#each categories as |category key|}}
@ -17,7 +17,7 @@
</div> </div>
</div> </div>
<div class="tooltip-header"><h2>{{localize "DAGGERHEART.GENERAL.Modifier.plural"}}</h2></div> <div class="tooltip-header"><h2>{{localize "Modifiers"}}</h2></div>
<div class="battlepoint-toggles-container"> <div class="battlepoint-toggles-container">
{{#each toggles as |toggle|}} {{#each toggles as |toggle|}}
<div class="battlepoint-toggle-container {{#if (and toggle.disabled (not toggle.checked))}}inactive{{/if}}"> <div class="battlepoint-toggle-container {{#if (and toggle.disabled (not toggle.checked))}}inactive{{/if}}">