vtt-lair / token-replacer

Foundry VTT - Automatically replace NPC actor tokens and/or portraits dependent on token assets saved in a defined folder structure
MIT License
5 stars 4 forks source link

Incompatibility, some bugs and some suggestions :-) #30

Closed MSAbaddon closed 3 years ago

MSAbaddon commented 3 years ago

Hi, first things first - this is a great module, I love it.

Due to this fact I want to use the module, but unfortunately ran into several issues:

image

image

image

image

vtt-lair commented 3 years ago

Thanks for the feedback @MSAbaddon. I'm currently away on vacation, but I will look at this as soon as I'm back and able.

MSAbaddon commented 3 years ago

That's great news, thanks for the info and have a great vacation :-)

MSAbaddon commented 3 years ago

One more suggestion: When searching for tokens/portraits, include subfolders below the initial cr-folder. Would allow some more structure within folders which contain a lot of tokens (e.g. cr0 containing all the townsfolk, commoners, guards and desert guards tokens from Forgotten Adventures.

vtt-lair commented 3 years ago

@MSAbaddon Just to keep you updated, I've made a few fixes that I'm currently still testing. Should be released by this weekend:

MSAbaddon commented 3 years ago

Wow, that's great news, thanks for the update :-)

vtt-lair commented 3 years ago

@MSAbaddon your requested enhancements and bug fixes has been released in v0.2.2

MSAbaddon commented 3 years ago

Awesome :-)

Did you also implement the subfolder suggestion?

One mor thing regarding portrait art: If I opt to replace both portrait and token and set a prefix, the module works fine as long as there actually is a portrait file available. If no portrait file is available though, no replacement happens (neither portrait nor token). Would be great if - in case no portrait is found - the module tries again to find a portrait ignoring the set prefix and instead use one of the available token images.

vtt-lair commented 3 years ago

I wasn't able to implement the subfolders.

Interesting, I did code it in such a way that it's supposed to fall back to the other if it wasn't found. Will see what's potting and create a hotfix for it.

vtt-lair commented 3 years ago

I did a hotfix release v 0.2.3 to fix the issue with the portrait art and fallback not working as expected. Should now be working.

MSAbaddon commented 3 years ago

Nice :-) Just testet it and looks great. One last thing I noticed - it sometimes happens that the first token being replaced looks like this: image