fostorial / Legedit2

10 stars 13 forks source link

Base Templates: Images must still exist within the using template else they aren't found #64

Open bloodwurm opened 4 years ago

bloodwurm commented 4 years ago

The Epic Mastermind template uses the Mastermind template as a base. The Mastermind template itself uses images which aren't overriden in any way by the Epic Mastermind template. BUT, if the same images aren't copied within the Epic Mastermind's folder, then LegEdit won't find the images and so they won't be rendered. This is because images are found through the template's name and folder.

It would be nice to find a way to have the files in one place (ie, the base template) instead of having to copy them all over. Templates should include images only when they want to specify new ones.

(Thinking that instead of building the file's path when rendering the image, said path could perhaps be constructed once as the template file is loaded in).