Translations:Modding:Content Tutorial Item Variants/25/en

From Vintage Story Wiki
Revision as of 22:32, 8 April 2024 by FuzzyBot (talk | contribs) (Importing a new version from external source)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Currently, your item is using a single texture. Remember that the new shape contains two textures, so you will now need to define both textures within the item. Replace the entire "texture" property (including the values and { }'s) with the following property:

"textures": {
    "handle": { "base": "item/wand-handle" },
    "head": { "base": "item/wand-blue" }
},

This code allows the use of two textures. It is important to note that the keys for this property, namely "handle" and "head", match to the textures defined in the shape file.