Files
BreakEscape/scenarios/compiled/mixed-message-example.json
Z. Cliffe Schreuders f369b41547 feat: Implement voice messages in phone chat minigame
- Added support for voice messages prefixed with "voice:" in Ink files.
- Updated UI rendering to display voice message UI with play button and transcript.
- Implemented automatic conversion for scenario JSON with voice properties.
- Created test examples for pure voice messages and mixed content.
- Fixed issues with NPC registration and message duplication in test scenarios.
- Documented feature details, use cases, and testing procedures.
2025-10-30 02:45:05 +00:00

1 line
720 B
JSON

{"inkVersion":21,"root":[[["done",{"#n":"g-0"}],null],"done",{"start":[["^Hello! This is a test of mixed message types.","\n","ev","str","^Tell me more","/str","/ev",{"*":".^.c-0","flg":4},{"c-0":["\n",{"->":"voice_example"},null]}],null],"voice_example":[["^voice: This is a voice message. I'm calling to let you know that the security code has been changed to 4829. Please acknowledge receipt.","\n","ev","str","^Got it, thanks!","/str","/ev",{"*":".^.c-0","flg":4},"ev","str","^What was the code again?","/str","/ev",{"*":".^.c-1","flg":4},{"c-0":["\n","^Great! I'll see you soon.","\n","end",null],"c-1":["\n","^voice: The code is 4-8-2-9. I repeat: four, eight, two, nine.","\n","end",null]}],null]}],"listDefs":{}}