removed formatting error in README.md

This commit is contained in:
Sokomine 2023-09-02 03:09:11 +02:00
parent b2148d3e91
commit d8c6394dc0

View File

@ -63,7 +63,7 @@ In general, chat commands used by this mod have the form `/npc_talk <command> [<
| `debug off` | Turn debug mode off again.|
| `force_edit` | Toggles edit mode for you.<br> From now on (until you issue this command again), all NPC you talk to will be in edit mode (provided you are allowed to edit them). This is useful if something's wrong with your NPC like i.e. you made it select a dialog automaticly and let that dialog lead to `d_end`. |
| `privs list` | List the privs of all NPC. NPC need privs for some dangerous things like executing lua code.|
| `privs grant <npc_id> <priv>` | grant NPC `<npc_id>` the priv `<priv>`|`
| `privs grant <npc_id> <priv>` | grant NPC `<npc_id>` the priv `<priv>`|
| `privs revoke <npc_id> <priv>` | revoke priv `<priv>` for NPC `<npc_id>`|
| `force_restore_npc <id> [<copy_from_id>]` | Restore an NPC that got lost. Only for emergencies.|
| `generic list` | list all NPC that provide generic dialogs|
@ -83,14 +83,9 @@ In general, chat commands used by this mod have the form `/npc_talk <command> [<
| `/npc_talk style 2` | Shows additional buttons for up and down. Might help users of mobile clients. If they report problems, recommend them this option.|
| `/npc_talk style 3` | Default (recommended) version. Scroll via mouse wheel between the options. |
* NPC need privs for some dangerous things like executing lua code.
<br>Example: `/npc_talk privs grant n_3 effect_exec_lua`
<br>grants NPC n_3 the right to execute lua code as an effect/result.
<br>Note: If a precondition or effect originates from a generic NPC, the priv will be considered granted if either the executing NPC or the the generic NPC has the priv.
* NPC need privs for some dangerous things like executing lua code.<br>Example: `/npc_talk privs grant n_3 effect_exec_lua`<br>grants NPC n_3 the right to execute lua code as an effect/result.<br>Note: If a precondition or effect originates from a generic NPC, the priv will be considered granted if either the executing NPC or the the generic NPC has the priv.
* The `force_restore_npc` is rarely needed. You only need it if the NPC entity and its spawn egg got lost. It may have got lost due to someone having misplaced its egg. Or it might have been killed somehow.
<br>The optional parameter `<copy_from_id>` is only used when the NPC is *not* listed in `/npc_talk list`. You won't need it. It's for legacy NPC.
<br>WARNING: If the egg or the NPC turns up elsewhere, be sure to have only *one* NPC with that ID standing around! Else you'll get chaos.
* The `force_restore_npc` is rarely needed. You only need it if the NPC entity and its spawn egg got lost. It may have got lost due to someone having misplaced its egg. Or it might have been killed somehow.<br>The optional parameter `<copy_from_id>` is only used when the NPC is *not* listed in `/npc_talk list`. You won't need it. It's for legacy NPC.<br>WARNING: If the egg or the NPC turns up elsewhere, be sure to have only *one* NPC with that ID standing around! Else you'll get chaos.
<a name="terminology"></a>