Ame/Ame max

This commit is contained in:
2025-10-26 11:41:18 +01:00
parent 2dc7665a25
commit 40e11aca1b
146 changed files with 417 additions and 912 deletions

View File

@@ -882,20 +882,4 @@ export class MournbladeCYD2Utility {
d.render(true);
}
/************************************************************************************/
static async __create_talents_table() {
let compName = "fvtt-mournblade-cyd2.talents-cellule"
const compData = await MournbladeCYD2Utility.loadCompendium(compName)
let talents = compData.map(i => i.toObject())
let htmlTab = "<table border='1'><tbody>";
for (let entryData of talents) {
console.log(entryData)
htmlTab += `<tr><td>@UUID[Compendium.${compName}.${entryData._id}]{${entryData.name}}</td>`
htmlTab += `<td>${entryData.system.description}</td>`;
htmlTab += "</tr>\n";
}
htmlTab += "</table>";
await JournalEntry.create({ name: 'Liste des Talents de Cellule', content: htmlTab });
}
}