mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-18 07:18:38 +02:00
Address review
Add ns function setToBladeburnerAction Formatting updates fix sleeves using player stamina Correct supporting sleeve causing error
This commit is contained in:
14
src/ScriptEditor/NetscriptDefinitions.d.ts
vendored
14
src/ScriptEditor/NetscriptDefinitions.d.ts
vendored
@@ -3777,6 +3777,20 @@ export interface Sleeve {
|
||||
* @returns True if the aug was purchased and installed on the sleeve, false otherwise.
|
||||
*/
|
||||
purchaseSleeveAug(sleeveNumber: number, augName: string): boolean;
|
||||
|
||||
/**
|
||||
* Set a sleeve to perform bladeburner actions.
|
||||
* @remarks
|
||||
* RAM cost: 4 GB
|
||||
*
|
||||
* Return a boolean indicating whether or not the sleeve started working out.
|
||||
*
|
||||
* @param sleeveNumber - Index of the sleeve to workout at the gym.
|
||||
* @param action - Name of the action to be performed.
|
||||
* @param contract - Name of the contract if applicable.
|
||||
* @returns True if the sleeve started working out, false otherwise.
|
||||
*/
|
||||
setToBladeburnerAction(sleeveNumber: number, action: string, contract?: string): boolean;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user