454
edits
m (→Setup: formatting) |
m (more formatting) |
||
Line 36: | Line 36: | ||
<li>Place the contents of the nwjs-sdk* directory in the Melvor Idle installation directory.</li> | <li>Place the contents of the nwjs-sdk* directory in the Melvor Idle installation directory.</li> | ||
<li>Place the icons, styles, and source (i.e. scripts or sources) directories of the extracted extensions in the Melvor Idle installation directory.</li> | <li>Place the icons, styles, and source (i.e. scripts or sources) directories of the extracted extensions in the Melvor Idle installation directory.</li> | ||
</ol> | |||
===Loading Scripts=== | ===Loading Scripts=== | ||
Line 113: | Line 114: | ||
==Auto-loading Scripts in Steam== | ==Auto-loading Scripts in Steam== | ||
<ol> | |||
<li>Create a .js file in the Melvor Idle directory.</li> | |||
<li>Set the contents of the .js file</li> | |||
<ul> | |||
<li>The 15000 is just to give the game 15 seconds to get up and running, it doesn't seem to matter if it fires on the character screen or once you load a character.</li> | |||
</ul> | |||
<pre>setTimeout(function(){ | |||
/*insert all of the commands you would normally put in the console to load your scripts*/ | |||
}, 15000);</pre> | |||
<li>Add the following code to the parameters of package.json</li> | |||
<pre>"inject_js_end": "pathToYourFile/yourFileName.js"</pre> | |||
</ol> | |||
{{Menu}} | {{Menu}} | ||
[[Category:Guides]] | [[Category:Guides]] |
edits