changed a value and some formatting

This commit is contained in:
2022-11-29 22:09:05 +01:00
parent 2f57e22f06
commit 078695b02d
2 changed files with 7 additions and 8 deletions

View File

@@ -1,12 +1,12 @@
{
"randomWelcomeText":[
"Oh hello, §player§... You look great! What do you want from me?",
"Hey, §player§! Hope you have fun today!",
"Hi! What's up §player§?"
"Oh hello, {player}... You look great! What do you want from me?",
"Hey, {player}! Hope you have fun today!",
"Hi! What's up {player}?"
],
"debugAnswer": "Cool master you set me up successfully for this simulation!",
"debugAnswer": "This is a debug answer!",
"randomGoodbyeText":[
"Was nice talking to you goodbye!",
"Have a great day, §player§!"
"Have a great day, {player}!"
]
}

View File

@@ -12,8 +12,7 @@ public partial class dialog_trigger_area : Area2D
var jsonFile = JSON.ParseString(text);
Dictionary allDialog = (Dictionary)jsonFile;
GD.Print(allDialog["debugAnswer"]);
GD.Print(allDialog["randomWelcomeText"]);
}