Initial commit

This commit is contained in:
Kistaro Windrider 2024-07-05 03:58:28 +00:00
commit b6ba85a0e3
2 changed files with 12 additions and 0 deletions

5
LICENSE Normal file
View File

@ -0,0 +1,5 @@
Copyright (C) 2024 by kistaro kistaro@gmail.com
Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted.
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.

7
README.md Normal file
View File

@ -0,0 +1,7 @@
# 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.