* Update api-documentor and api-extractor. #1566 follow-up.
I have verified that the HTML/markdown table generation bug in
[#4878](https://github.com/microsoft/rushstack/issues/4878) in rushstack
for api-documentor has been fixed as per rushstack#5256. The testcase
[repro](https://github.com/catloversg/api-documenter-bug-pr-4578) now
produces the correct expected output.
I have confirmed that the generated output in bitburner from
`npm run doc` now generated HTML tables, and correctly inserts
a blank line between the </table> and the follow line (e.g. Returns).
Stylisticly it could use some whitespace, but it is correctly rendered.
This commit is only the updated packages, not the updated generated
documentation. I assume that is automatically generated by the GitHub
workflow.
* Follow up to 5f732a6f35, include `npm run doc` changed docs.
* Add missing license info
* Fix React warning
---------
Co-authored-by: CatLover <152669316+catloversg@users.noreply.github.com>
9.5 KiB
Home > bitburner > Singularity
Singularity interface
Singularity API
Signature:
export interface Singularity
Remarks
This API requires Source-File 4 to use. The RAM cost of all these functions is multiplied by 16/4/1 based on Source-File 4 levels.
Methods
|
Method |
Description |
|---|---|
|
Apply for a job at a company. | |
|
b1t_flum3 into a different BN. | |
|
Displays the content of a file on the currently connected server. | |
|
List all current faction invitations. | |
|
Commit a crime. | |
|
Connect to a server. | |
|
Create a program. | |
|
Destroy the w0r1d_d43m0n and move on to the next BN. | |
|
Donate to a faction. | |
|
Backup game save. | |
|
Returns Backup save bonus availability. | |
|
Get base price of an augmentation. | |
|
Get a list of faction(s) that have a specific Augmentation. | |
|
Get the pre-requisite of an augmentation. | |
|
Get price of an augmentation. | |
|
Get reputation requirement of an augmentation. | |
|
Get a list of augmentation available from a faction. | |
|
Get the stats of an augmentation. | |
|
Get company favor. | |
|
Get company favor gain. | |
|
Get Requirements for Company Position. | |
|
Get List of Company Positions. | |
|
Get company reputation. | |
|
Get chance to successfully commit a crime. | |
|
Get stats related to a crime. | |
|
Get the current server. Returns the hostname by default. | |
|
Get the current work the player is doing. | |
|
Check the price of an exploit on the dark web | |
|
Get a list of programs offered on the dark web. | |
|
Get a list of enemies of a faction. | |
|
Get faction favor. | |
|
Get faction favor gain. | |
|
List conditions for being invited to a faction. | |
|
Get faction reputation. | |
|
Get the work types of a faction. | |
|
Get the hacking level requirement of a program. | |
|
Get a list of owned augmentation. | |
|
Get a list of acquired Source-Files. | |
|
This function returns the save data. | |
|
Get a list of all unlocked achievements. | |
|
Get the price of upgrading home cores. | |
|
Get the price of upgrading home RAM. | |
|
Go to a location. | |
|
Workout at the gym. | |
|
Hospitalize the player. | |
|
Install your purchased augmentations. | |
|
Run the backdoor command in the terminal. | |
|
Check if the player is busy. | |
|
Check if the player is focused. | |
|
Join a faction. | |
|
Run the hack command in the terminal. | |
|
Purchase an augmentation | |
|
Purchase a program from the dark web. | |
|
Purchase the TOR router. | |
|
Quit jobs by company. | |
|
Set the players focus. | |
|
Soft reset the game. | |
|
Stop the current action. | |
|
Travel to another city. | |
|
Take university class. | |
|
Upgrade home computer cores. | |
|
Upgrade home computer RAM. | |
|
Work for a company. | |
|
Work for a faction. |