Created
February 20, 2014 18:13
-
-
Save eropple/9119869 to your computer and use it in GitHub Desktop.
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
//% root!TestDialogue.js | |
// ^ says "run the original TestDialogue.js first" | |
(function() { // boilerplate, it hides some stuff so you don't pollute the script for other mods | |
var oldStep2 = step2; | |
step2 = function() { | |
var orig = oldStep2(); | |
oldStep2.choice[3] = { | |
"next": "newChoice", | |
"text": "mod.dialogue.TestDialogue.anotherChoice" | |
}; | |
}; | |
})(); // end boilerplate |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment