Created
September 29, 2017 09:39
-
-
Save ladyisak/9a43d43a3e76191b62a926b27b67836a to your computer and use it in GitHub Desktop.
engine.js ink extension
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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