PNJ secondaire
<%* tp.hooks.on_all_templates_executed(async () => { const file = tp.file.find_tfile(tp.file.path(true)); await app.fileManager.processFrontMatter(file, (frontmatter) => { frontmatter["type"] = "PNJ"; if(frontmatter["faction"] == null) frontmatter["faction"] = ""; if(frontmatter["location"] == null) frontmatter["location"] = ""; if(frontmatter["gender"] == null) frontmatter["gender"] = ""; if(frontmatter["race"] == null) frontmatter["race"] = ""; if(frontmatter["age"] == null) frontmatter["age"] = 0; }); }); %>
=this.file.name
{{ summary }}
Appearance:
Stats:
Appearances