Translations:Modding:Content Tutorial Simple Item/12/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)

The most important property when creating an asset is the code, also known as an ID. To begin, copy and paste this into the opened simplewand file.

{
  "code": "simplewand"
}

Remember that json files are a set of keys to values. The key, in this example, is "code", and the value is "simplewand". Note that the item file starts and ends in curly brackets ({ }), meaning it is a single object.