improved readme.md: typo, link to bugtracker, mentionned markup language for the text the npc says

This commit is contained in:
Sokomine 2023-11-25 22:56:56 +01:00
parent e3762b9c4c
commit f3b0f10603

View File

@ -11,7 +11,7 @@ Massive rewrite/extension: Sokomine
License: GPLv3.0 or later (see LICENSE) License: GPLv3.0 or later (see LICENSE)
Reporting bugs: TODO Reporting bugs: Please report issues <a href="https://gitea.your-land.de/Sokomine/yl_speak_up">here</a>.
Clone via i.e. `git clone https://gitea.your-land.de/Sokomine/yl_speak_up` Clone via i.e. `git clone https://gitea.your-land.de/Sokomine/yl_speak_up`
or install via <a href="https://content.minetest.net/">ContentDB</a>. or install via <a href="https://content.minetest.net/">ContentDB</a>.
@ -181,6 +181,13 @@ menu. You can reach it by clicking on the button of the option, i.e. on `o_1`.
off with `/npc_talk debug off`. The NPC ID can be seen in the off with `/npc_talk debug off`. The NPC ID can be seen in the
setup dialog for preconditions and effects. setup dialog for preconditions and effects.
The text the NPC says is written in the markup language Minetest uses. See
<a href="https://github.com/minetest/minetest/blob/master/doc/lua_api.md">lua_api.md</a>
for more details. You can use the elements of that markup language for the
text that the NPC says, i.e.
`<img name=default_cobble.png width=100 height=100>`
will display the image `default_cobble.png`.
### 1.4 Skin ### 1.4 Skin
<a name="skin"></a> <a name="skin"></a>
@ -594,7 +601,7 @@ There is an NPC that explains a few things and adds as a tutuor.
The savefile is: `n_1.json` The savefile is: `n_1.json`
Copy that file to the folder Copy that file to the folder
`<your wold folder>/yl_speak_up_dialogs/n_1.json` `<your world folder>/yl_speak_up_dialogs/n_1.json`
(replace the 1 with a higher number if you already have some NPC defined). (replace the 1 with a higher number if you already have some NPC defined).
The first NPC in your world will now become a tutor (after you spawned it The first NPC in your world will now become a tutor (after you spawned it