You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
"id" : {
"name": "",
"text": [""],
"choices": [
{"text" : "", "next" : "", "action": [], "show_only_if": ""},
{"text" : "", "next" : "", "action": [], "show_only_if": ""}
],
"action" : [],
"next": [{"id": "", "if": ""}, {"id": "", "if": ""}, "default_id"],
}
example;
"uniqueID": {
"name": "Name",
"text": ["Required value."],
"choices": [
{"text" : "Yes.", "next" : "end", "action": ["play_Action", "set variable str_value"], "show_only_if": "data var_key equal str_value" },
{"text" : "Yes.", "next" : "not end id", "show_only_if": "data var_key not_equal str_value", "self_comment": "janky way to say: different next id by choice depending on condition" },
{"text" : "You haven't talked to me before.", "next" : "end", "action": ["set has_talked true"]},
{"text" : "I see you've talked to me before.", "next": "end", "show_only_if" : "data has_talked is true"},
{"text" : "No.", "next" : "end"},
],
"action": ["set has_text_talked true"],
"next": [{"id": "end", "if": "data key equal value"}, {"id": "other_id", "if": "player coins greater 155"}, "default_id, must always be last and a string"],
}
Beta Was this translation helpful? Give feedback.
All reactions