improved the dialog json formatting for future dialog system

This commit is contained in:
2022-12-29 18:09:38 +01:00
parent 54d0f44960
commit 5407d65c28

View File

@@ -1,41 +1,31 @@
{ {
"dialogTitle": "Debug Character", "dialogTitle": "Debug Character",
"dialogType": "villager", "playerbeginoptions": {
"talk": [
"player": {
"talk" : [
"I just wanna talk", "I just wanna talk",
"What's up", "What's up",
"Can we talk?" "Can we talk?"
], ],
"goaway" : [ "goaway": [
"Nevermind!", "Nevermind!",
"Nothing", "Nothing",
"Have a great day!" "Have a great day!"
] ]
}, },
"welcome": [
"welcome":
[
"Oh hello, {0}... You look great! What do you want from me?", "Oh hello, {0}... You look great! What do you want from me?",
"Hey, {0}! Hope you have fun today! So what do you want?", "Hey, {0}! Hope you have fun today! So what do you want?",
"Hi! What's up {0}?" "Hi! What's up {0}?"
], ],
"else": "else": [
[
"Do you need something else?", "Do you need something else?",
"So can i help you with something else?" "So can i help you with something else?"
], ],
"goodbye": "goodbye": [
[
"Was nice talking to you goodbye!", "Was nice talking to you goodbye!",
"Have a great day, {0}!" "Have a great day, {0}!"
], ],
"tipp": [
"multi":
{
"tipp":
[
[ [
"You can walk arround with WASD on PC.", "You can walk arround with WASD on PC.",
"You can also use your joystick and D-Pad, if you have a controller.", "You can also use your joystick and D-Pad, if you have a controller.",
@@ -53,12 +43,10 @@
"test3test3test3test3test3test3test3test3test3test3test3test3test3test3test3", "test3test3test3test3test3test3test3test3test3test3test3test3test3test3test3",
"So do you want to do xy for me?", "So do you want to do xy for me?",
{ {
"did you detect this dictionary as answer prompt?": "did you detect this dictionary as answer prompt?": [
[
"yes i have!" "yes i have!"
] ]
} }
] ]
] ]
}
} }