sugarcube-test-config-manager/README.md

7 lines
585 B
Markdown
Raw Normal View History

2024-07-05 03:58:28 +00:00
# sugarcube-test-config-manager
An system to make testing Sugarcube-V2-based Twine games more convenient.
After adding this to your story JS, create passages with "test-config" tags to add them to the "test config" menu that appears on the first passage when you load test mode. If you pick a test config off the menu, it (silently) executes, then the page reloads. This allows you to configure scenarios by creating pages full of variable assignments.
It also defines the touch macro, for use in test configs, to put passages in your history so visited() checks will find them.