You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
wanderhome-foundry-system/module/helpers/templates.mjs

17 lines
620 B
JavaScript

/**
* Define a set of template paths to pre-load
* Pre-loaded templates are compiled and cached for fast access when rendering
* @return {Promise}
*/
export const preloadHandlebarsTemplates = async function () {
return loadTemplates([
// Actor partials.
'systems/wanderhome/templates/actor/parts/actor-features.hbs',
'systems/wanderhome/templates/actor/parts/actor-items.hbs',
'systems/wanderhome/templates/actor/parts/actor-spells.hbs',
'systems/wanderhome/templates/actor/parts/actor-effects.hbs',
// Item partials
'systems/wanderhome/templates/item/parts/item-effects.hbs',
]);
};