Translations:Modding:Content Tutorial Simple Item/13/en: Difference between revisions
From Vintage Story Wiki
(Importing a new version from external source) |
(No difference)
|
Latest revision as of 13:14, 28 March 2024
Now that your itemtype file has a code, it will now be created and registered in game. However, you need a way of accessing the item. To do this, add a new property:
{
"code": "simplewand",
"creativeinventory": {
"general": [ "*" ]
}
}
Notice that each property is seperated using a comma. The new property, "creativeinventory" tells the game what creative tab this item will be placed in. The syntax of this particular property is a little bit more complex, but don't worry about it for now. All this does is add the item into the "general" creative tab.