mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-04-21 23:13:39 +02:00
Some checks are pending
Project CI / build (24.x) (push) Waiting to run
* Functioning setup * . * Fixes * Completed * Apply suggestions from code review Co-authored-by: Carlos Fernandez <CarlosFdez@users.noreply.github.com> * using function.call instead of function.bind * Run lint fix on action areas PR (#1820) * . * . * Restructured getTemplateShape to be a lot more readable * . * . * Changed from 'area' to 'areas' * . * Moved the areas button to the left * Fix regression with actions list * Updated all SRD adversaries --------- Co-authored-by: Carlos Fernandez <CarlosFdez@users.noreply.github.com> Co-authored-by: Carlos Fernandez <cfern1990@gmail.com>
57 lines
3.9 KiB
JavaScript
57 lines
3.9 KiB
JavaScript
export const preloadHandlebarsTemplates = async function () {
|
|
foundry.applications.handlebars.loadTemplates({
|
|
'daggerheart.inventory-item-compact':
|
|
'systems/daggerheart/templates/sheets/global/partials/inventory-item-compact.hbs',
|
|
'daggerheart.inventory-items':
|
|
'systems/daggerheart/templates/sheets/global/partials/inventory-fieldset-items-V2.hbs',
|
|
'daggerheart.inventory-item': 'systems/daggerheart/templates/sheets/global/partials/inventory-item-V2.hbs'
|
|
});
|
|
return foundry.applications.handlebars.loadTemplates([
|
|
'templates/generic/tab-navigation.hbs',
|
|
'systems/daggerheart/templates/sheets/global/tabs/tab-navigation.hbs',
|
|
'systems/daggerheart/templates/sheets/global/partials/action-item.hbs',
|
|
'systems/daggerheart/templates/sheets/global/partials/gold.hbs',
|
|
'systems/daggerheart/templates/sheets/global/partials/domain-card-item.hbs',
|
|
'systems/daggerheart/templates/sheets/global/partials/item-resource.hbs',
|
|
'systems/daggerheart/templates/sheets/global/partials/resource-section/resource-section.hbs',
|
|
'systems/daggerheart/templates/sheets/global/partials/resource-section/simple.hbs',
|
|
'systems/daggerheart/templates/sheets/global/partials/resource-section/dice-value.hbs',
|
|
'systems/daggerheart/templates/sheets/global/partials/resource-section/die.hbs',
|
|
'systems/daggerheart/templates/sheets/global/partials/resource-bar.hbs',
|
|
'systems/daggerheart/templates/sheets/global/partials/feature-section-item.hbs',
|
|
'systems/daggerheart/templates/sheets/global/partials/item-tags.hbs',
|
|
'systems/daggerheart/templates/components/card-preview.hbs',
|
|
'systems/daggerheart/templates/levelup/parts/selectable-card-preview.hbs',
|
|
'systems/daggerheart/templates/ui/combatTracker/combatTrackerSection.hbs',
|
|
'systems/daggerheart/templates/actionTypes/damage.hbs',
|
|
'systems/daggerheart/templates/actionTypes/resource.hbs',
|
|
'systems/daggerheart/templates/actionTypes/macro.hbs',
|
|
'systems/daggerheart/templates/actionTypes/uses.hbs',
|
|
'systems/daggerheart/templates/actionTypes/roll.hbs',
|
|
'systems/daggerheart/templates/actionTypes/save.hbs',
|
|
'systems/daggerheart/templates/actionTypes/areas.hbs',
|
|
'systems/daggerheart/templates/actionTypes/cost.hbs',
|
|
'systems/daggerheart/templates/actionTypes/range-target.hbs',
|
|
'systems/daggerheart/templates/actionTypes/effect.hbs',
|
|
'systems/daggerheart/templates/actionTypes/beastform.hbs',
|
|
'systems/daggerheart/templates/actionTypes/countdown.hbs',
|
|
'systems/daggerheart/templates/actionTypes/summon.hbs',
|
|
'systems/daggerheart/templates/actionTypes/transform.hbs',
|
|
'systems/daggerheart/templates/settings/components/settings-item-line.hbs',
|
|
'systems/daggerheart/templates/ui/tooltip/parts/beastformData.hbs',
|
|
'systems/daggerheart/templates/ui/tooltip/parts/tooltipChips.hbs',
|
|
'systems/daggerheart/templates/ui/tooltip/parts/tooltipTags.hbs',
|
|
'systems/daggerheart/templates/dialogs/downtime/activities.hbs',
|
|
'systems/daggerheart/templates/dialogs/tagTeamDialog/parts/tagTeamDamageParts.hbs',
|
|
'systems/daggerheart/templates/dialogs/dice-roll/costSelection.hbs',
|
|
'systems/daggerheart/templates/ui/chat/parts/roll-part.hbs',
|
|
'systems/daggerheart/templates/ui/chat/parts/description-part.hbs',
|
|
'systems/daggerheart/templates/ui/chat/parts/damage-part.hbs',
|
|
'systems/daggerheart/templates/ui/chat/parts/target-part.hbs',
|
|
'systems/daggerheart/templates/ui/chat/parts/button-part.hbs',
|
|
'systems/daggerheart/templates/ui/itemBrowser/itemContainer.hbs',
|
|
'systems/daggerheart/templates/scene/dh-config.hbs',
|
|
'systems/daggerheart/templates/settings/appearance-settings/diceSoNiceTab.hbs',
|
|
'systems/daggerheart/templates/sheets/activeEffect/typeChanges/armorChange.hbs'
|
|
]);
|
|
};
|