bitburner-src/markdown/bitburner.singularity.md
2024-07-14 14:30:30 -07:00

7.0 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
applyToCompany(companyName, field) Apply for a job at a company.
b1tflum3(nextBN, callbackScript, bitNodeOptions) b1t_flum3 into a different BN.
checkFactionInvitations() List all current faction invitations.
commitCrime(crime, focus) Commit a crime.
connect(hostname) Connect to a server.
createProgram(program, focus) Create a program.
destroyW0r1dD43m0n(nextBN, callbackScript, bitNodeOptions) Destroy the w0r1d_d43m0n and move on to the next BN.
donateToFaction(faction, amount) Donate to a faction.
exportGame() Backup game save.
exportGameBonus() Returns Backup save bonus availability.
getAugmentationBasePrice(augName) Get base price of an augmentation.
getAugmentationFactions(augName) Get a list of faction(s) that have a specific Augmentation.
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.
getCompanyFavor(companyName) Get company favor.
getCompanyFavorGain(companyName) Get company favor gain.
getCompanyPositionInfo(companyName, positionName) Get Requirements for Company Position.
getCompanyPositions(companyName) Get List of Company Positions.
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.
getCurrentWork() Get the current work the player is doing.
getDarkwebProgramCost(programName) Check the price of an exploit on the dark web
getDarkwebPrograms() Get a list of programs offered on the dark web.
getFactionEnemies(faction) Get a list of enemies of a faction.
getFactionFavor(faction) Get faction favor.
getFactionFavorGain(faction) Get faction favor gain.
getFactionInviteRequirements(faction) List conditions for being invited to a faction.
getFactionRep(faction) Get faction reputation.
getFactionWorkTypes(faction) Get the work types of a faction.
getOwnedAugmentations(purchased) Get a list of owned augmentation.
getOwnedSourceFiles() Get a list of acquired Source-Files.
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, focus) 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.
isFocused() Check if the player is focused.
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.
quitJob(companyName) Quit jobs by company.
setFocus(focus) Set the players focus.
softReset(cbScript) Soft reset the game.
stopAction() Stop the current action.
travelToCity(city) Travel to another city.
universityCourse(universityName, courseName, focus) Take university class.
upgradeHomeCores() Upgrade home computer cores.
upgradeHomeRam() Upgrade home computer RAM.
workForCompany(companyName, focus) Work for a company.
workForFaction(faction, workType, focus) Work for a faction.