minetest_doc_example/README.md

29 lines
1.2 KiB
Markdown
Raw Normal View History

2016-12-20 03:26:31 -08:00
# Example mod for the Help modpack (`doc`, `doc_items`, etc.)
2016-12-19 05:17:22 -08:00
This mod is for modders and useless for anyone else.
It demonstrates the usage of the APIs of the Help mods. This should help you
in getting started with this modpack.
This example mod does not demonstrate everything, only the most
frequently-needed features to help you get started. For most use cases, this
2016-12-20 05:14:18 -08:00
knowledge might already suffice. You do not need to understand everything to
use this modpack.
Read `API.md` of the respective mods to learn how to use the Help mods
properly.
2016-12-19 05:17:22 -08:00
Using the APIs of the Help modpack helps to improve the overall quality
and completeness of the entire help.
2016-12-19 05:17:22 -08:00
2016-12-20 03:26:31 -08:00
This mod includes examples for the following mods:
2016-12-19 05:17:22 -08:00
2016-12-20 05:14:18 -08:00
* `doc_items`: In `doc_items.lua`.
For adding item help (including nodes). Start here!
* `doc_identifier`: In `doc_identifier.lua`.
This is for adding lookup tool support for custom entities.
* `doc`: In `doc.lua`, for adding your own categories and entries.
This is rather heavy stuff, intended for advanced modding.
But is also very flexible.
2016-12-19 05:17:22 -08:00
Activate this mod in your world to see some example categories, entries and
items added.
2016-12-19 05:17:22 -08:00
2016-12-20 03:26:31 -08:00
Read the source code files in this mod for some brief explanations.