Skip to content

Instantly share code, notes, and snippets.

@ladyisak
Created September 29, 2017 09:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ladyisak/9a43d43a3e76191b62a926b27b67836a to your computer and use it in GitHub Desktop.
Save ladyisak/9a43d43a3e76191b62a926b27b67836a to your computer and use it in GitHub Desktop.
engine.js ink extension
function clickNode (id, node) {
document.getElementById(id).onclick() = function () {
story.choosePathString(node + '.storylets');
start () {
progressGame();
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment