PNJ principal
<%* 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 }}
Info
Type | Stat |
---|---|
Location | =this.location |
Faction | =this.faction |
Gender | =this.gender |
Race | =this.race |
Age | =this.age |
Appearance:
Roleplaying:
Stats:
Objectifs
Background
-¶
Appearances
Same faction