{ "title": "Saint Barabara", "cards": [ { "id": 0, "text": "You see a jar almost filled to the brink with coins.", "sprite": "sprCharBarbara", "answers": [ { "text": "take some", "style": "command", "actions": "GOTO 2 SETFLAG dreamcoin 1" }, { "text": "take all", "style": "command", "actions": "GOTO 1 SETFLAG dreamcoin 1" }, { "text": "leave", "style": "command", "actions": "EXIT" } ] }, { "id": 1, "text": "There is nothing left in the jar.", "answers": [ { "text": "search for a key", "style": "command", "actions": "GOTO 4", "checkFlag": "dream00searchKey" }, { "text": "put the coins back", "style": "command", "actions": "GOTO 0", "checkFlag": "dreamcoin" }, { "text": "leave", "style": "command", "actions": "EXIT" } ] }, { "id": 2, "text": "The jar is half empty.", "answers": [ { "text": "search for a key", "style": "command", "actions": "GOTO 3", "checkFlag": "dream00searchKey" }, { "text": "put the coins back", "style": "command", "actions": "GOTO 0", "checkFlag": "dreamcoin" }, { "text": "get the rest of the coins", "style": "command", "actions": "GOTO 1", "checkFlag": "dreamcoin" }, { "text": "leave", "style": "command", "actions": "EXIT" } ] }, { "id": 3, "text": "The is no key to be found. The jar only holds coins.", "answers": [ { "text": "leave", "style": "command", "actions": "GOTO 2 EXIT" } ] }, { "id": 4, "text": "The is no key to be found. The jar only held coins.", "answers": [ { "text": "leave", "style": "command", "actions": "GOTO 1 EXIT" } ] } ] }