The way Bitburner is written, the game is basically a webpage put inside a native application, so we can change things about it by using “document”. “Document” is the javascript keyword for the entire webpage. The game can be played via Steam or via the Web with any browser that supports and has Javascript enabled.While the normal functions passed down through scripts can do most things, but since we can run javascript, we can use the document to do even more. Write scripts in JavaScript to automate gameplay, learn skills, play minigames, solve puzzles, and more in this cyberpunk text-based incremental RPG. test.js will not be pushed to the game as it is a level above the configured 'script root'.īitburner is a programming-based incremental game. out/folder/subfolder/script.js will push to Home:~/folder/subfolder/script.js in game. out/folder/script.js will push to Home:~/folder/script.js in game. out/script.js will push to Home:~/script.js in game. With the the following configuration scriptRoot: "./out/". Behaviourįiles that are pushed to the game will be done so relative to the 'Script Root' (See configuration: bitburner.scriptRoot), respecting any folders from that root to your scripts location. NOTE: You can only watch paths within the workspace VSCode has open. This setting will not work if set in user settings, it must be set at the workspace or folder level. You can enable the fileWatcher by default with the setting within the plugin configuration. You can change the directory being watching with the bitburner.scriptRoot setting within the plugin configuration, open VSCode preferences to modify the value - default as. script extension within your currently open folder/workspace - Respecting any folders that you may have them in. This is currently disabled by default (but can be overwritten in Workspace/Folder preferences), the behaviour is - It will push all files that have a.
0 Comments
Leave a Reply. |