bitburner-src/markdown/bitburner.singularity.md

3.9 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.
createProgram(program) Create a program.
donateToFaction(faction, amount) Donate to a faction.
getAugmentationPrereq(augName) Get the pre-requisite 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.
getCompanyRep(companyName) Get company reputation.
getCrimeChance(crime) Get chance to successfully commit a crime.
getCrimeStats(crime) Get stats related to a crime.
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.
getUpgradeHomeRamCost() Get the price of upgrading home RAM.
gymWorkout(gymName, stat) Workout at the gym.
installAugmentations(cbScript) Install your purchased augmentations.
isBusy() Check if the player is busy.
joinFaction(faction) Join a faction.
purchaseAugmentation(faction, augmentation) Purchase an augmentation
purchaseProgram(programName) Purchase a program from the dark web.
purchaseTor() Purchase the TOR router.
softReset() Soft reset the game.
stopAction() Stop the current action.
travelToCity(city) Travel to another city.
universityCourse(universityName, courseName) Take university class.
upgradeHomeRam() Upgrade home computer RAM.
workForCompany(companyName) Work for a company.
workForFaction(faction, workType) Work for a faction.