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