added export and notes to readme.md

This commit is contained in:
Sokomine 2023-11-01 21:40:31 +01:00
parent a33b52f0d8
commit d57afa434c

View File

@ -55,6 +55,8 @@ To get started, best install `yl_speak_up`, `npc_talk`, `mobs_redo` and `mobs_np
1. [1.18 Quests](#quests)
1. [1.19 Properties](#properties)
1. [1.20 Logging](#logging)
1. [1.21 Export/Import] (#export)
1. [1.22 Storing internal notes] (#notes)
2. [For moderators: Generic NPCs](#for-moderators)
1. [2.1 Generic behaviour](#generic_behaviour)
@ -495,6 +497,31 @@ That way, the NPC will no longer log or send debug messages when executing
effects.
### 1.21 Export/Import
<a name="export"></a>
It's possible to export the full dialog data of an NPC and to view it in more
human-readable form. It's also possible to export it in some degree in the
format the mod simple\_dialogs uses (minus preconditions, actions, effects and
all other special things).
Players with the `privs` priv can also import those dialogs into an NPC in
their local singleplayer game. But be warned: The dialog is *not* checked for
consistency or anything yet! That is why it requires the `privs` priv. Don't
just import any NPC data someone sends to you!
It is planned to check the dialog (.json format) more fully in the future so
that players can import data on a server as well. However, we are not that far
yet.
### 1.22 Storing internal notes
<a name="notes"></a>
It's possible to take internal notes on your NPC by clicking on the "Notes"
button. You can help your memory and store information about your plans with
this NPC - its character, how it behaves and talks, who his friends are etc.
These internal notes are only shown to players who can edit this NPC.