Fix bestiary import
This commit is contained in:
@ -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"
|
||||
|
Reference in New Issue
Block a user