mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-17 14:59:16 +02:00
Merge pull request #2591 from nickofolas/improvement/singularity-focus-args
Add focus arg to Singularity functions
This commit is contained in:
9
dist/bitburner.d.ts
vendored
9
dist/bitburner.d.ts
vendored
@@ -4520,9 +4520,10 @@ export declare interface Singularity {
|
||||
*
|
||||
* @param universityName - Name of university. You must be in the correct city for whatever university you specify.
|
||||
* @param courseName - Name of course.
|
||||
* @param focus - Acquire player focus on this class. Optional. Defaults to true.
|
||||
* @returns True if actions is successfully started, false otherwise.
|
||||
*/
|
||||
universityCourse(universityName: string, courseName: string): boolean;
|
||||
universityCourse(universityName: string, courseName: string, focus?: boolean): boolean;
|
||||
|
||||
/**
|
||||
* SF4.1 - Workout at the gym.
|
||||
@@ -4541,9 +4542,10 @@ export declare interface Singularity {
|
||||
*
|
||||
* @param gymName - Name of gym. You must be in the correct city for whatever gym you specify.
|
||||
* @param stat - The stat you want to train.
|
||||
* @param focus - Acquire player focus on this gym workout. Optional. Defaults to true.
|
||||
* @returns True if actions is successfully started, false otherwise.
|
||||
*/
|
||||
gymWorkout(gymName: string, stat: string): boolean;
|
||||
gymWorkout(gymName: string, stat: string, focus?: boolean): boolean;
|
||||
|
||||
/**
|
||||
* SF4.1 - Travel to another city.
|
||||
@@ -4954,9 +4956,10 @@ export declare interface Singularity {
|
||||
* ns.createProgram(“relaysmtp.exe”);
|
||||
* ```
|
||||
* @param program - Name of program to create.
|
||||
* @param focus - Acquire player focus on this program creation. Optional. Defaults to true.
|
||||
* @returns True if you successfully start working on the specified program, and false otherwise.
|
||||
*/
|
||||
createProgram(program: string): boolean;
|
||||
createProgram(program: string, focus?: boolean): boolean;
|
||||
|
||||
/**
|
||||
* SF4.3 - Commit a crime.
|
||||
|
||||
Reference in New Issue
Block a user