Translations:Modding:Content Tutorial Item Variants/30/en
From Vintage Story Wiki
ByType
By using the ByType suffix on a property, you can specify completely different values for each variant.
"texturesByType": {
"advancedwand-blue": {
"handle": { "base": "item/wand-handle" },
"head": { "base": "item/wand-blue" }
},
"advancedwand-red": {
"handle": { "base": "item/wand-handle" },
"head": { "base": "item/wand-red" }
},
"advancedwand-green": {
"handle": { "base": "item/wand-handle" },
"head": { "base": "item/wand-green" }
}
},
However, a lot of content here is duplicated as all the wands use the same handle, and have head textures that are in the same folders.