changed a value and some formatting
This commit is contained in:
@@ -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}!"
|
||||
]
|
||||
}
|
@@ -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"]);
|
||||
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user