I'm not getting portrait images when generating NPCs. I've added images with the correct naming conventions (I even added the included samples) and still nothing.
Viewing post in NPC Generator for 5e - Foundry VTT Module comments
Did you configure the correct folder in the configuration? The ‘Folder’ to be selected should have ‘portraits’ and ‘tokens’ subfolders, the images inside those (the tokens folder is actually optional).
Example of correct structure:
- /imgs/ <- folder selected
- /imgs/portraits/warrior_human.jpg
- /imgs/portraits/warrior.png
- /imgs/tokens/warrior.png <- will get the token IF found one, optional, if NOT will use portrait as the token (and tokenize if you use tokenizer)
Images are now working, but it's not creating the NPC
Uncaught (in promise) TypeError: game.settings.get(...).Actor is undefined
[No packages detected]
writeBio https://assets.forge-vtt.com/bazaar/modules/npc-generator-dnd5e-8eac8ab0c784407e...
prepare https://assets.forge-vtt.com/bazaar/modules/npc-generator-dnd5e-8eac8ab0c784407e...
create https://assets.forge-vtt.com/bazaar/modules/npc-generator-dnd5e-8eac8ab0c784407e...
_renderNPCGenerator https://assets.forge-vtt.com/bazaar/modules/npc-generator-dnd5e-8eac8ab0c784407e...
jQuery 2
dispatch
handle
npcdraft.js:1272:37
Tried changing the directory name in the settings and got the following console messages:
Foundry VTT | Error thrown in hooked function '' for hook 'renderSettingsConfig' foundry.js:727:15
Foundry VTT | Error thrown in hooked function '' for hook 'renderSettingsConfig' foundry.js:727:15
Directory npc-portraits does not exist or is not accessible in this storage location foundry.js:58526:78
The form field value "[forgevtt] npcs" was not able to be cast to the requested data type Directory