MarkusBordihn / BOs-Easy-NPC

Create easily NPC for your world or for your mod.
Other
20 stars 8 forks source link

[Feature Request] Dialog Command #75

Closed norfaremc closed 2 months ago

norfaremc commented 10 months ago

Please create a dialogue command _something like /easynpc dialogue [npc uuid] so dialogue screens can pop up and be used with FTB Quests (or other similar mods) for story progression or quest progression. Having a way to set up multiple dialogues with commands would be great as well. My idea is this: something in game triggers an npc pop-up where it asks you "would you like this quest?" to which you can click yes or no, and if yes then it can give you more dialogue. Also having a way to import dialogues or save dialogues specifically would be REALLY helpful!

Sc0utGuy commented 9 months ago

This, please. I've made so many setups for potential questlines but I can't actually do anything with them without it being awkward for the player

MarkusBordihn commented 9 months ago

Just to make sure I understand the feature request correctly.

  1. You want a separate dialog import / export function (maybe in .json format), besides the NPC import / export functions which includes the dialog ?
  2. For the "dialog command" it's fine if it requires op or higher permissions ? If yes, I could easily implement this.

Thanks.

Sc0utGuy commented 9 months ago

Just to make sure I understand the feature request correctly.

  1. You want a separate dialog import / export function (maybe in .json format), besides the NPC import / export functions which includes the dialog ?
  2. For the "dialog command" it's fine if it requires op or higher permissions ? If yes, I could easily implement this.

Thanks.

Would it be possible for you to make it so that the command can reveal new dialogue for an existing NPC? So for example, some dialogue buttons are hidden from the player until they do something else, at which point they can then return to this NPC and talk to them with this new dialogue. I think it's a little different from what the OP is asking in that it's basically just hiding options from the player and then revealing them later with a command, but I imagine it could also be done with the dialog command. And, at least in my case, it being OP isn't a problem since the commands would be run by the server.

norfaremc commented 8 months ago

To answer your both questions, yes! :)

MarkusBordihn commented 8 months ago

Dialog command is implemented since 3.9.0.

JOSH860707 commented 8 months ago

Dialog command is implemented since 3.9.0.

So whats the command for NPC open the dialog? If player attack NPC then it automatic open a dialog.

MarkusBordihn commented 8 months ago

Dialog command, see: https://github.com/MarkusBordihn/BOs-Easy-NPC/wiki/Dialogs#dialog-commands-

If player attack NPC then it automatic open a dialog.

What is your preference here: