bitburner-src/markdown/bitburner.basichgwoptions.md

1.1 KiB

Home > bitburner > BasicHGWOptions

BasicHGWOptions interface

Options to affect the behavior of hack, grow, and weaken.

Signature:

interface BasicHGWOptions 

Properties

Property Modifiers Type Description
additionalMsec? number (Optional) Number of additional milliseconds that will be spent waiting between the start of the function and when it completes.
stock? boolean (Optional) Set to true this action will affect the stock market.
threads? number (Optional) Number of threads to use for this function. Must be less than or equal to the number of threads the script is running with. Accepts positive non integer values.