yes, most certainly, though again I don't know how to do so directly via GUI~Editor options~drop down choices, but here's a way of doing it (some of it in code due to laziness):
http://docs.textadventures.co.uk/quest/ ... tains.htmlhttp://docs.textadventures.co.uk/quest/ ... split.html ('split' is a quick way to make a list)
game.colors_list = split ("red;blue;yellow", ";")
// GUI~Editor would be using: 'set a variable or attribute' Script -> [expression] -> (set up to look like above)
// you know how to do the 'if' Script and (just for this example) 'print a message' Script in the GUI~Editor already (so showing it in quasi code):
if [expression] ListContains (game.colors_list, "red") {
msg ("You get an apple!")
} else if [expression] ListContains (game.colors_list, "blue") {
msg ("You get blueberries!")
} else if [expression] ListContains (game.colors_list, "yellow") {
msg ("You get a banana!")
} else {
msg ("You get a lump of coal.")
}
--------------
and for Dictionaries:
http://docs.textadventures.co.uk/quest/ ... tains.html------------
though if you want to do more fancy (but complicated) stuff, selecting specific and~or random list~dictionary items (the list's~dictionary's Values):
http://docs.textadventures.co.uk/quest/ ... titem.htmlhttp://docs.textadventures.co.uk/quest/ ... titem.htmlhttp://docs.textadventures.co.uk/quest/ ... yitem.htmlhttp://docs.textadventures.co.uk/quest/ ... yitem.htmlhttp://docs.textadventures.co.uk/quest/ ... yitem.htmlhttp://docs.textadventures.co.uk/quest/ ... count.htmlhttp://docs.textadventures.co.uk/quest/ ... count.html---------
I see from your other thread, that you seem to know network programming~coding~its commands~syntax... I'm still a noob with networking, laughs.
so if you know what 'arrays' are, quest's lists~dictionaries are 'arrays'