Dialog Setup - PluginWiki/Custom-Npcs-Wiki GitHub Wiki

Steps to create a dialog:

创建对话的步骤:

Open the Global -> Dialogs
You start with creating a category by pressing add
Fill in a name and press Save
Double click the category to go into it
Here you can add dialogs to the category by pressing add
A dialog can have 6 dialog options
A dialog option can be given a name
A dialog option can be set to quit the dialog
You can close a dialog by pressing e, esc or by a quit dialog option 
  • 打开 全局设置 -> 对话框
  • 点击添加添加一个类别
  • 填上名称然后点击任意地方保存
  • 双击类别名
  • 现在你可以点击添加来添加对话进入类别
  • 一个对话有6个选项
  • 一个对话选项为标题
  • 一个选项可以被设置为退出对话
  • 你可以按下e, esc来退出编辑

Steps to give an npc a dialog

给NPC添加一个对话

You need to have created some dialogs
Open the Advanced -> Dialogs
Press Select Dialog. (Only the first one can be assigned to a npc atm)
Double click the category of the dialog you want
Double click the Dialog you want 
  • 你需要按照上面的步骤创建一些对话
  • 打开 高级设置 -> 对话框
  • 随意点击一个选择选项(只有第一个可以被分配给NPC取款机)
  • 双击一个类别
  • 双击你想要的文本

Command dialog option

命令-对话选项

This is basically the same as the Command block

这玩意基于命令方块的= =就是跟命令方块的一样

Role dialog option

角色对话选项

When you give if trader npc a dialog it will only show the dialog when you interact with it. With the role option it will show its trading gui again. Same for other roles

如果你为交易NPC设置了一个右键才能显示的对话(好像对话框会关闭交易GUI?), 交易的GUI会重新显示. 其他角色也一样.