Modding:Handbook Guide
From Vintage Story Wiki
Revision as of 18:00, 7 August 2024 by Craluminum (talk | contribs) (Created page with "<!--T:1--> ""Handbook guides"" are separate pages in handbook dedicated to explain various game mechanics. === Adding new guide === <!--T:2--> Create new file with unique name, for example, ""101-pies.json"", then put it to "assets/game/config/handbook" folder in your mod. New file should look inside like this:<syntaxhighlight lang="json"> { "pageCode": "morepies:introduction", "title": "morepies:introduction-title", "text": "morepies:introduction-text" }</...")
""Handbook guides"" are separate pages in handbook dedicated to explain various game mechanics.
Adding new guide
Create new file with unique name, for example, ""101-pies.json"", then put it to "assets/game/config/handbook" folder in your mod.
New file should look inside like this:
{
"pageCode": "morepies:introduction",
"title": "morepies:introduction-title",
"text": "morepies:introduction-text"
}
Note that ""pageCode"" should be unique, for example, ""morepies:introduction"".
Add two keys to localization file (for example, in "assets/<mymod>/lang/en.json"):
{
"morepies:introduction-title": "Pies 101",
"morepies:introduction-text": "Pies are a very tasty food.",
}
Now reload your world and you can find new guide in handbook