Repository navigation
Calico has been updated to support the newest version of ink, and with that comes some killer new features!
- You can now import an uncompiled ink story! No need to use JSON files anymore (that said, Catmint is still handy if you're working with media like images and audio).
- You can tag choices (both inside and outside the square brackets), so I've removed choicetags.js.
- I've added a couple of helpful features for working with ink — specifically, jumpTo() and lastKnownPathString.
- Further improvements to overall system stability!
This update also includes a few breaking changes.
- The
Lexerhas been renamed toParser. - Tag options no longer use
|as a separator — instead, they use>>. - choicetags.js has been removed, as it's no longer necessary. You won't need to change your ink, simply remove the import statement from your project.js.
- eval.js will no longer work unless you know what you're doing. Or maybe it won't work at all! I don't know, I haven't tested it, because no one should be using that patch. I should probably remove it, but it's kind of fun, so I won't.
Also, a few other changes, like...
- Custom patch licenses should now be printed to the web console correctly.
- A few patches were proving to be unintuitive to new users, so I've added a guide to them!
- There have also been other documentation updates!
- Other minor adjustments have been made to enhance the user experience!