asacolips-projects / 13th-age

13th Age system for Foundry VTT
4 stars 1 forks source link

Token artwork with mapped modules in Foundry v12 #459

Closed ben closed 1 month ago

ben commented 1 month ago

Foundry v12 dropped support for setting the img and scale fields on a token, instead these are now in the texture sub-field. Looks like this was introduced in v11, but v12 deprecated the old method.

Validation

Gonna just drag in a Bugbear Scout (token is a string) and a Giant Scorpion (token is an object with img and scale) onto the map.

v11:

https://github.com/user-attachments/assets/3249fe41-dadb-47b7-a0a5-0f3f82344736

v12:

https://github.com/user-attachments/assets/71001735-fa9c-4651-8ee7-1bdb319eb400