From 36648323247553a811d7f9ea0805a33c08468f86 Mon Sep 17 00:00:00 2001 From: Oliver Date: Sat, 21 Jun 2025 13:12:53 +0200 Subject: [PATCH] docs: Add tutorial for the open_dialog npc action --- .../src/fancydialogs/tutorials/open-dialog-npc-action.md | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 docs/src/fancydialogs/tutorials/open-dialog-npc-action.md diff --git a/docs/src/fancydialogs/tutorials/open-dialog-npc-action.md b/docs/src/fancydialogs/tutorials/open-dialog-npc-action.md new file mode 100644 index 00000000..b6477c98 --- /dev/null +++ b/docs/src/fancydialogs/tutorials/open-dialog-npc-action.md @@ -0,0 +1,9 @@ +# Open dialog npc action + +!!!warning +This action is only available if [FancyDialogs](https://modrinth.com/plugin/fancydialogs) AND [FancyNpcs](https://modrinth.com/plugin/fancynpcs) is installed on the server. +!!! + +FancyDialog adds a new action to the FancyNpcs action system, which allows you to open a dialog when interacting with an NPC. + +To use this action, you need to add the open_dialog action to the npc: `/npc action (npc) ANY_CLICK add open_dialog (dialogId)`