mirror of
https://github.com/soconnor0919/hristudio.git
synced 2026-03-23 19:27:51 -04:00
Fix branching logic and add combo robot actions
- Fix handleNextStep to handle both string and object options in conditions - Add say_with_emotion, bow, wave, nod, shake_head, point combo actions - Update seed data with nextStepId in wizard_wait_for_response options
This commit is contained in:
@@ -448,7 +448,10 @@ async function main() {
|
||||
// Define the options that will be presented to the Wizard
|
||||
parameters: {
|
||||
prompt_text: "Did participant answer 'Red' correctly?",
|
||||
options: ["Correct", "Incorrect"],
|
||||
options: [
|
||||
{ label: "Correct", value: "Correct", nextStepId: step4a!.id },
|
||||
{ label: "Incorrect", value: "Incorrect", nextStepId: step4b!.id },
|
||||
],
|
||||
},
|
||||
sourceKind: "core",
|
||||
pluginId: "hristudio-woz", // Explicit link
|
||||
|
||||
Reference in New Issue
Block a user