I have this simple dialog system setup and I’d like to get feedback so I know if I should continue with it
local Dialog = {
[1] = {
["Speaker"] = {
"Example Text",
"Example Text 2"
},
["Player"] = {
"Example Text"
},
["FunctionToCall"] = giveReward,
["Options"] = {
[1] = {
["Speaker"] = {
"Example Text",
"Example Text 2"
},
["FunctionToCall"] = example
},
[2] = {
["Speaker"] = {
"Example Text",
"Example Text 2"
},
["FunctionToCall"] = example2
}
}
}
}
I don’t think this is the best way to make it. And I’ve seen some pretty good dialog systems so there’s gotta be a better (and more readable) way to do this