diff --git a/module.json b/module.json index 5c4a4ff..2281442 100644 --- a/module.json +++ b/module.json @@ -8,10 +8,10 @@ "url": "https://github.com/Veilza" } ], - "version": "1.0.1", + "version": "1.0.2", "compatibility": { "minimum": 10, - "verified": 10 + "verified": 11 }, "socket": "true", "scripts": [ diff --git a/show-token-art.js b/show-token-art.js index 73d4528..e6793f5 100644 --- a/show-token-art.js +++ b/show-token-art.js @@ -150,7 +150,11 @@ class ShowArt { static getTokenImages(token, actor) { const mysteryDefaults = [ "icons/svg/mystery-man.svg", // Foundry default icon - "systems/pf2e/icons/default-icons/character.svg" // PF2e default icon + "systems/pf2e/icons/default-icons/character.svg", // PF2e default icon + "systems/pf2e/icons/default-icons/npc.svg", // PF2e default icon for NPCs + "systems/pf2e/icons/default-icons/familiar.svg", //PF2e default icon for familiars + "systems/pf2e/icons/default-icons/hazard.svg", // PF2e default icon for hazards + "systems/pf2e/icons/default-icons/vehicle.svg" // PF2e default icon for vehicles ] const actorData = token.actorData @@ -166,10 +170,8 @@ class ShowArt { // then replace the default with the opposing image path if (avatarMystery) { actorImg = avatarMystery ? tokenImg : actorImg - console.log("Token2!") } else if (avatarMystery) { tokenImg = tokenMystery ? actorImg : tokenImg - console.log("Token!") } return { actor: actorImg, token: tokenImg }