This repository has been archived on 2024-10-22. You can view files and clone it, but cannot push or open issues or pull requests.
foundryvtt-beam-saber/module/templates.js
Peter Varaksin e008ef6f4e Turfs
- Adds finalized Turf system
- Adds Turf view for Crew
- Adds Crew Type Cult to Compendium
2020-04-25 14:32:34 +03:00

19 lines
574 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() {
// Define template paths to load
const templatePaths = [
// Actor Sheet Partials
"systems/blades-in-the-dark/templates/parts/coins.html",
"systems/blades-in-the-dark/templates/parts/attributes.html",
"systems/blades-in-the-dark/templates/parts/turf-list.html"
];
// Load the template parts
return loadTemplates(templatePaths);
};