Translations:Modding:Content Tutorial Basics/4/en

From Vintage Story Wiki
Revision as of 13:14, 28 March 2024 by FuzzyBot (talk | contribs) (Importing a new version from external source)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

When referencing a shape in a json file, you can use the following example property:

"shape": {
    "base": "item/simplewand"
  },

Note that the value automatically looks in your mod folder, unless a domain is provided. In this case for the example mod, the path to the shape is "assets/examplecontentmod/shapes/item/simplewand.json". You do not need to provide the full path, nor do you need to provide the file type.