Fix bestiary import

This commit is contained in:
2022-11-10 11:44:01 +01:00
parent bc604a9159
commit f52c533fde
3 changed files with 7 additions and 6 deletions

View File

@ -273,13 +273,13 @@ const __add_actors_translation = () => {
if (lang == "fr") {
let pack_array = [];
for (let metadata of game.packs) {
if (!game.babele.isTranslated(metadata) && metadata.documentName === 'Actor') {
//console.log("PACK : ", metadata);
if (!game.babele.isTranslated(metadata) && metadata.collection != "wfrp4e-core.bestiary" && metadata.documentName === 'Actor') {
//console.log("REPLACE PACK : ", metadata);
let translations = {
"label": metadata.name,
"mapping": {
"name": "name",
"description": "system.biography.value",
"description": "system.details.biography.value",
"items": {
"path": "items",
"converter": "bestiary_traits"