more logical dialogue
This commit is contained in:
@@ -2,31 +2,38 @@
|
||||
"dialogType": "villager",
|
||||
"intro": [
|
||||
[
|
||||
"Hello i'm {title}. Your name must be {player}! So...",
|
||||
"Hello i'm {title}. Your name must be {player}!",
|
||||
0
|
||||
]
|
||||
],
|
||||
"welcome": [
|
||||
[
|
||||
"Oh hello, {player}... You look great! What can I do for you?",
|
||||
"Oh hello, {player}... You look great!",
|
||||
"<goto:>begindialog"
|
||||
],
|
||||
[
|
||||
"Hey, {player}! Hope you have fun today!",
|
||||
"<goto:>begindialog"
|
||||
],
|
||||
[
|
||||
"Hi! What's up {player}?",
|
||||
"<goto:>begindialog"
|
||||
]
|
||||
],
|
||||
"begindialog": [
|
||||
[
|
||||
"What can I do for you?",
|
||||
{
|
||||
"I just wanna talk": "<goto:>tipp",
|
||||
"Nevermind!": "<goto:>goodbye"
|
||||
}
|
||||
],
|
||||
[
|
||||
"Hey, {player}! Hope you have fun today! So what do you want?",
|
||||
"So what do you want?",
|
||||
{
|
||||
"What's up": "<goto:>tipp",
|
||||
"Nothing": "<goto:>goodbye"
|
||||
}
|
||||
],
|
||||
[
|
||||
"Hi! What's up {player}?",
|
||||
{
|
||||
"Can we talk?": "<goto:>tipp",
|
||||
"Have a great day!": "<goto:>goodbye"
|
||||
}
|
||||
]
|
||||
],
|
||||
"else": [
|
||||
|
@@ -137,7 +137,7 @@ public partial class dialog_bubble : CanvasLayer
|
||||
case 0:
|
||||
GetNode<Label>("box/name_label").Text = name;
|
||||
triggerArea.Set("introducedVillager", true);
|
||||
GatherDialog("welcome"); //not that logical conversation maybe split "welcome" and "what do you want"
|
||||
GatherDialog("begindialog");
|
||||
UpdateDialog();
|
||||
break;
|
||||
}
|
||||
|
Reference in New Issue
Block a user