mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-12-24 23:22:29 +01:00
5.1 KiB
5.1 KiB
Home > bitburner > Singularity
Singularity interface
Singularity API
Signature:
export interface Singularity
Remarks
This API requires Source-File 4 level 1 / 2 / 3 to use.
Methods
Method | Description |
---|---|
applyToCompany(companyName, field) | Apply for a job at a company. |
checkFactionInvitations() | List all current faction invitations. |
commitCrime(crime) | Commit a crime. |
connect(hostname) | Connect to a server. |
createProgram(program) | Create a program. |
donateToFaction(faction, amount) | Donate to a faction. |
getAugmentationCost(augName) | |
getAugmentationPrereq(augName) | Get the pre-requisite of an augmentation. |
getAugmentationPrice(augName) | Get price of an augmentation. |
getAugmentationRepReq(augName) | Get reputation requirement of an augmentation. |
getAugmentationsFromFaction(faction) | Get a list of augmentation available from a faction. |
getAugmentationStats(name) | Get the stats of an augmentation. |
getCharacterInformation() | |
getCompanyFavor(companyName) | Get company favor. |
getCompanyFavorGain(companyName) | Get company favor gain. |
getCompanyRep(companyName) | Get company reputation. |
getCrimeChance(crime) | Get chance to successfully commit a crime. |
getCrimeStats(crime) | Get stats related to a crime. |
getCurrentServer() | Get the current server. |
getFactionFavor(faction) | Get faction favor. |
getFactionFavorGain(faction) | Get faction favor gain. |
getFactionRep(faction) | Get faction reputation. |
getOwnedAugmentations(purchased) | Get a list of owned augmentation. |
getOwnedSourceFiles() | Get a list of acquired Source-Files. |
getStats() | |
getUpgradeHomeCoresCost() | Get the price of upgrading home cores. |
getUpgradeHomeRamCost() | Get the price of upgrading home RAM. |
goToLocation(locationName) | Go to a location. |
gymWorkout(gymName, stat) | Workout at the gym. |
hospitalize() | Hospitalize the player. |
installAugmentations(cbScript) | Install your purchased augmentations. |
installBackdoor() | Run the backdoor command in the terminal. |
isBusy() | Check if the player is busy. |
joinFaction(faction) | Join a faction. |
manualHack() | Run the hack command in the terminal. |
purchaseAugmentation(faction, augmentation) | Purchase an augmentation |
purchaseProgram(programName) | Purchase a program from the dark web. |
purchaseTor() | Purchase the TOR router. |
softReset(cbScript) | Soft reset the game. |
stopAction() | Stop the current action. |
travelToCity(city) | Travel to another city. |
universityCourse(universityName, courseName) | Take university class. |
upgradeHomeCores() | Upgrade home computer cores. |
upgradeHomeRam() | Upgrade home computer RAM. |
workForCompany(companyName) | Work for a company. |
workForFaction(faction, workType) | Work for a faction. |