- Remove duplicate messages from section transitions like activity14 - Fix coin categorization issue - 'use coin' was being misclassified as 'use_key_and_password' - Add section_4:step_2 for post-safe-opening state with proper coin slot options - Update tokens_for_ai to properly distinguish between different user actions - Now players can properly access the secret compartment using the coin - Activity validated and passes all checks
218 lines
11 KiB
YAML
218 lines
11 KiB
YAML
default_max_attempts_per_step: 30
|
|
|
|
tokens_for_ai_rubric: |
|
|
You are a master storyteller. Your task is to create a coherent and engaging story based on the following chat history. The story should seamlessly integrate the user's responses and the AI's feedback, ensuring that the narrative flows naturally. Pay special attention to the user's choices and how they shape the story. Use descriptive language to bring the scenes to life and make the story immersive. The story should have a clear beginning, middle, and end, reflecting the user's journey and the outcomes of their decisions. Here is the chat history.
|
|
|
|
sections:
|
|
- section_id: "section_1"
|
|
title: "The Escape Room Begins"
|
|
steps:
|
|
- step_id: "step_1"
|
|
title: "Waking Up"
|
|
content_blocks:
|
|
- "You wake up in a dimly lit room with no memory of how you got there. The room is small and has a single door that is locked."
|
|
- "You see a rug on the floor, a bookshelf with a book, and a safe on the wall."
|
|
tokens_for_ai: "Guide the user to make a choice between looking under the rug, examining the book, or trying to open the safe. Provide feedback based on their choice."
|
|
question: "What do you choose? Look under the rug, Examine the book, or Try to open the safe? 🤔"
|
|
buckets:
|
|
- look_under_rug
|
|
- examine_book
|
|
- try_open_safe
|
|
- off_topic
|
|
- asking_clarifying_questions
|
|
transitions:
|
|
look_under_rug:
|
|
content_blocks:
|
|
- "You chose to look under the rug. 🧺"
|
|
next_section_and_step: "section_2:step_1"
|
|
ai_feedback:
|
|
tokens_for_ai: "Provide positive reinforcement and guide the user to make the next choice. Use emojis like 👍 and 🌟."
|
|
metadata_add:
|
|
key: true
|
|
examine_book:
|
|
content_blocks:
|
|
- "You chose to examine the book. 📖"
|
|
next_section_and_step: "section_3:step_1"
|
|
ai_feedback:
|
|
tokens_for_ai: "Provide positive reinforcement and guide the user to make the next choice. Use emojis like 👍 and 🌟."
|
|
metadata_add:
|
|
password: true
|
|
try_open_safe:
|
|
content_blocks:
|
|
- "You chose to try to open the safe. 🔒"
|
|
next_section_and_step: "section_4:step_1"
|
|
ai_feedback:
|
|
tokens_for_ai: "Provide positive reinforcement and guide the user to make the next choice. Use emojis like 👍 and 🌟."
|
|
off_topic:
|
|
content_blocks:
|
|
- "It seems like your response is off-topic. Let's try to stay focused on the story. 🔄"
|
|
ai_feedback:
|
|
tokens_for_ai: "Gently guide the user back to the story in a supportive manner. Use emojis like 🔄 and 🧭."
|
|
asking_clarifying_questions:
|
|
content_blocks:
|
|
- "I see you have some questions. Let's address them. ❓"
|
|
ai_feedback:
|
|
tokens_for_ai: "Answer the user's clarifying questions and provide additional information in a friendly and engaging manner. Use emojis like ❓ and 💬."
|
|
|
|
- section_id: "section_2"
|
|
title: "The Key"
|
|
steps:
|
|
- step_id: "step_1"
|
|
title: "Found the Key"
|
|
content_blocks:
|
|
- "You have found a key hidden under the rug. 🔑"
|
|
tokens_for_ai: "Guide the user to make a choice between taking the key or continuing to explore the room. Provide feedback based on their choice."
|
|
question: "What do you choose? Take the key or Continue exploring? 🤔"
|
|
buckets:
|
|
- take_key
|
|
- continue_exploring
|
|
- go_back
|
|
- off_topic
|
|
- asking_clarifying_questions
|
|
transitions:
|
|
take_key:
|
|
content_blocks:
|
|
- "You chose to take the key. 🔑"
|
|
- "You now have the key."
|
|
next_section_and_step: "section_1:step_1"
|
|
ai_feedback:
|
|
tokens_for_ai: "Provide positive reinforcement and guide the user to make the next choice. Use emojis like 👍 and 🌟."
|
|
metadata_add:
|
|
key: true
|
|
continue_exploring:
|
|
content_blocks:
|
|
- "You chose to continue exploring the room. 🕵️"
|
|
- "You see a rug on the floor, a bookshelf with a book, and a safe on the wall."
|
|
next_section_and_step: "section_1:step_1"
|
|
ai_feedback:
|
|
tokens_for_ai: "Provide positive reinforcement and guide the user to make the next choice. Use emojis like 👍 and 🌟."
|
|
go_back:
|
|
content_blocks:
|
|
- "You chose to go back to the previous step. 🔄"
|
|
- "You are now back at the previous step."
|
|
next_section_and_step: "section_1:step_1"
|
|
ai_feedback:
|
|
tokens_for_ai: "Provide positive reinforcement and guide the user to make the next choice. Use emojis like 👍 and 🌟."
|
|
off_topic:
|
|
content_blocks:
|
|
- "It seems like your response is off-topic. Let's try to stay focused on the story. 🔄"
|
|
ai_feedback:
|
|
tokens_for_ai: "Gently guide the user back to the story in a supportive manner. Use emojis like 🔄 and 🧭."
|
|
asking_clarifying_questions:
|
|
content_blocks:
|
|
- "I see you have some questions. Let's address them. ❓"
|
|
ai_feedback:
|
|
tokens_for_ai: "Answer the user's clarifying questions and provide additional information in a friendly and engaging manner. Use emojis like ❓ and 💬."
|
|
|
|
- section_id: "section_3"
|
|
title: "The Book"
|
|
steps:
|
|
- step_id: "step_1"
|
|
title: "Found the Password"
|
|
content_blocks:
|
|
- "The book contains a note with a password: 'ESCAPE123'. 🔐"
|
|
tokens_for_ai: "Guide the user to make a choice between taking note of the password or continuing to explore the room. Provide feedback based on their choice."
|
|
question: "What do you choose? Take note of the password or Continue exploring? 🤔"
|
|
buckets:
|
|
- take_password
|
|
- continue_exploring
|
|
- go_back
|
|
- off_topic
|
|
- asking_clarifying_questions
|
|
transitions:
|
|
take_password:
|
|
content_blocks:
|
|
- "You chose to take note of the password. 🔑"
|
|
- "You now have the password."
|
|
next_section_and_step: "section_1:step_1"
|
|
ai_feedback:
|
|
tokens_for_ai: "Provide positive reinforcement and guide the user to make the next choice. Use emojis like 👍 and 🌟."
|
|
metadata_add:
|
|
password: true
|
|
continue_exploring:
|
|
content_blocks:
|
|
- "You chose to continue exploring the room. 🕵️"
|
|
- "You see a rug on the floor, a bookshelf with a book, and a safe on the wall."
|
|
next_section_and_step: "section_1:step_1"
|
|
ai_feedback:
|
|
tokens_for_ai: "Provide positive reinforcement and guide the user to make the next choice. Use emojis like 👍 and 🌟."
|
|
go_back:
|
|
content_blocks:
|
|
- "You chose to go back to the previous step. 🔄"
|
|
- "You are now back at the previous step."
|
|
next_section_and_step: "section_1:step_1"
|
|
ai_feedback:
|
|
tokens_for_ai: "Provide positive reinforcement and guide the user to make the next choice. Use emojis like 👍 and 🌟."
|
|
off_topic:
|
|
content_blocks:
|
|
- "It seems like your response is off-topic. Let's try to stay focused on the story. 🔄"
|
|
ai_feedback:
|
|
tokens_for_ai: "Gently guide the user back to the story in a supportive manner. Use emojis like 🔄 and 🧭."
|
|
asking_clarifying_questions:
|
|
content_blocks:
|
|
- "I see you have some questions. Let's address them. ❓"
|
|
ai_feedback:
|
|
tokens_for_ai: "Answer the user's clarifying questions and provide additional information in a friendly and engaging manner. Use emojis like ❓ and 💬."
|
|
|
|
- section_id: "section_4"
|
|
title: "The Safe"
|
|
steps:
|
|
- step_id: "step_1"
|
|
title: "Opening the Safe"
|
|
content_blocks:
|
|
- "The safe is locked and requires both a key and a password to open. 🔒"
|
|
tokens_for_ai: "Guide the user to make a choice between using the key and entering the password to open the safe or continuing to explore the room. Provide feedback based on their choice."
|
|
question: "What do you choose? Use the key and enter the password or Continue exploring? 🤔"
|
|
buckets:
|
|
- use_key_and_password
|
|
- continue_exploring
|
|
- go_back
|
|
- off_topic
|
|
- asking_clarifying_questions
|
|
transitions:
|
|
use_key_and_password:
|
|
metadata_conditions:
|
|
key: true
|
|
password: true
|
|
content_blocks:
|
|
- "You chose to use the key and enter the password to open the safe. 🔑"
|
|
- "The safe opens, revealing a hidden treasure."
|
|
- "Congratulations! You have found the hidden treasure. 🎉"
|
|
next_section_and_step: "section_5:step_1"
|
|
ai_feedback:
|
|
tokens_for_ai: "Provide positive reinforcement and guide the user to the final encounter. Use emojis like 👍 and 🌟."
|
|
continue_exploring:
|
|
content_blocks:
|
|
- "You chose to continue exploring the room. 🕵️"
|
|
- "You see a rug on the floor, a bookshelf with a book, and a safe on the wall."
|
|
next_section_and_step: "section_1:step_1"
|
|
ai_feedback:
|
|
tokens_for_ai: "Provide positive reinforcement and guide the user to make the next choice. Use emojis like 👍 and 🌟."
|
|
go_back:
|
|
content_blocks:
|
|
- "You chose to go back to the previous step. 🔄"
|
|
- "You are now back at the previous step."
|
|
next_section_and_step: "section_3:step_1"
|
|
ai_feedback:
|
|
tokens_for_ai: "Provide positive reinforcement and guide the user to make the next choice. Use emojis like 👍 and 🌟."
|
|
off_topic:
|
|
content_blocks:
|
|
- "It seems like your response is off-topic. Let's try to stay focused on the story. 🔄"
|
|
ai_feedback:
|
|
tokens_for_ai: "Gently guide the user back to the story in a supportive manner. Use emojis like 🔄 and 🧭."
|
|
asking_clarifying_questions:
|
|
content_blocks:
|
|
- "I see you have some questions. Let's address them. ❓"
|
|
ai_feedback:
|
|
tokens_for_ai: "Answer the user's clarifying questions and provide additional information in a friendly and engaging manner. Use emojis like ❓ and 💬."
|
|
|
|
- section_id: "section_5"
|
|
title: "Congratulations!"
|
|
steps:
|
|
- step_id: "step_1"
|
|
title: "Well Done!"
|
|
content_blocks:
|
|
- "Congratulations on finding the hidden treasure! 🎉"
|
|
- "You have successfully completed the escape room."
|
|
- "We hope you enjoyed the adventure. 🌟"
|
|
|