mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-23 08:03:48 +01:00
15 lines
668 B
ReStructuredText
15 lines
668 B
ReStructuredText
|
installAugmentations() Netscript Function
|
||
|
=========================================
|
||
|
|
||
|
.. js:function:: installAugmentations(cbScript)
|
||
|
|
||
|
:param string cbScript:
|
||
|
Optional callback script. This is a script that will automatically be run after Augmentations are installed (after the reset).
|
||
|
This script will be run with no arguments and 1 thread. It must be located on your home computer.
|
||
|
|
||
|
If you are not in BitNode-4, then you must have Level 3 of Source-File 4 in order to use this function.
|
||
|
|
||
|
This function will automatically install your Augmentations, resetting the game as usual.
|
||
|
|
||
|
It will return true if successful, and false otherwise.
|