MrPrimate / tokenizer

Tiny yet capable in-game token editor for Foundry VTT
MIT License
29 stars 26 forks source link

If you create a duplicate of a token and then change the artwork it changes the artwork for the duplicate and the original #60

Open Avitale34 opened 2 years ago

Avitale34 commented 2 years ago

As the title states, If you create a duplicate of a character sheet and then change the artwork with tokenizer it changes the artwork for the duplicate and the original, making it impossible to crate multiple versions of a Commoner or an Orc for example.

galaara98 commented 2 years ago

this is due to a file naming conflict, where tokenizer does it's best to determine a unique name based on the Actor name. if you name your Orcs: Orc1, Orc2, Orc3 it will work (you can even name them back, so long as you don't adjust their picture, as then again Tokenizer will pick a filename it guesses is best, based on the current Actor name again and it will overwrite each other). The other thing you can do is update the pictures after you put the token on the canvas, that is because Tokenizer uses the Tokenname+TokenID for pictures of non-prototype tokens. So if you put 4 Orcs on the Scene, you can change their pictures and they will not conflict with each other or the Actor you created them from.