function name(args...) {
function code here...
return some_value
@@ -1738,6 +1741,7 @@ you create in functions such as Hacknet Node API
Trade Information eXchange (TIX) API
Singularity Functions
+
Bladeburner API
Miscellaneous
diff --git a/doc/build/html/objects.inv b/doc/build/html/objects.inv
index 4e74911a2..2a0e29663 100644
Binary files a/doc/build/html/objects.inv and b/doc/build/html/objects.inv differ
diff --git a/doc/build/html/searchindex.js b/doc/build/html/searchindex.js
index a25686a11..1404af3c2 100644
--- a/doc/build/html/searchindex.js
+++ b/doc/build/html/searchindex.js
@@ -1 +1 @@
-Search.setIndex({docnames:["changelog","index","netscript","netscriptadvancedfunctions","netscriptdatatypes","netscriptfunctions","netscripthacknetnodeapi","netscriptixapi","netscriptjs","netscriptloopsandconditionals","netscriptmisc","netscriptoperators","netscriptscriptarguments","netscriptsingularityfunctions","shortcuts","terminal"],envversion:53,filenames:["changelog.rst","index.rst","netscript.rst","netscriptadvancedfunctions.rst","netscriptdatatypes.rst","netscriptfunctions.rst","netscripthacknetnodeapi.rst","netscriptixapi.rst","netscriptjs.rst","netscriptloopsandconditionals.rst","netscriptmisc.rst","netscriptoperators.rst","netscriptscriptarguments.rst","netscriptsingularityfunctions.rst","shortcuts.rst","terminal.rst"],objects:{"":{applyToCompany:[13,2,1,""],buyStock:[7,2,1,""],cancelOrder:[7,2,1,""],checkFactionInvitations:[13,2,1,""],clearLog:[5,2,1,""],commitCrime:[13,2,1,""],createProgram:[13,2,1,""],deleteServer:[5,2,1,""],disableLog:[5,2,1,""],enableLog:[5,2,1,""],fileExists:[5,2,1,""],getAugmentationCost:[13,2,1,""],getAugmentationsFromFaction:[13,2,1,""],getBitNodeMultipliers:[3,2,1,""],getCompanyFavor:[13,2,1,""],getCompanyRep:[13,2,1,""],getCrimeChance:[13,2,1,""],getFactionFavor:[13,2,1,""],getFactionRep:[13,2,1,""],getGrowTime:[5,2,1,""],getHackTime:[5,2,1,""],getHackingLevel:[5,2,1,""],getHackingMultipliers:[5,2,1,""],getHacknetMultipliers:[5,2,1,""],getHostname:[5,2,1,""],getNextHacknetNodeCost:[5,2,1,""],getOwnedAugmentations:[13,2,1,""],getPurchasedServers:[5,2,1,""],getScriptExpGain:[5,2,1,""],getScriptIncome:[5,2,1,""],getScriptName:[5,2,1,""],getScriptRam:[5,2,1,""],getServerBaseSecurityLevel:[5,2,1,""],getServerGrowth:[5,2,1,""],getServerMaxMoney:[5,2,1,""],getServerMinSecurityLevel:[5,2,1,""],getServerMoneyAvailable:[5,2,1,""],getServerNumPortsRequired:[5,2,1,""],getServerRam:[5,2,1,""],getServerRequiredHackingLevel:[5,2,1,""],getServerSecurityLevel:[5,2,1,""],getStats:[13,2,1,""],getStockPosition:[7,2,1,""],getStockPrice:[7,2,1,""],getTimeSinceLastAug:[5,2,1,""],getUpgradeHomeRamCost:[13,2,1,""],getWeakenTime:[5,2,1,""],gymWorkout:[13,2,1,""],hasRootAccess:[5,2,1,""],installAugmentations:[13,2,1,""],isBusy:[13,2,1,""],isRunning:[5,2,1,""],joinFaction:[13,2,1,""],placeOrder:[7,2,1,""],purchaseAugmentation:[13,2,1,""],purchaseHacknetNode:[5,2,1,""],purchaseProgram:[13,2,1,""],purchaseServer:[5,2,1,""],purchaseTor:[13,2,1,""],scriptKill:[5,2,1,""],scriptRunning:[5,2,1,""],sellShort:[7,2,1,""],sellStock:[7,2,1,""],serverExists:[5,2,1,""],shortStock:[7,2,1,""],stopAction:[13,2,1,""],travelToCity:[13,2,1,""],universityCourse:[13,2,1,""],upgradeHomeRam:[13,2,1,""],workForCompany:[13,2,1,""],workForFaction:[13,2,1,""]},"hacknetnodes[i]":{cores:[6,1,1,""],getCoreUpgradeCost:[6,0,1,""],getLevelUpgradeCost:[6,0,1,""],getRamUpgradeCost:[6,0,1,""],level:[6,1,1,""],moneyGainRatePerSecond:[6,1,1,""],name:[6,1,1,""],onlineTimeSeconds:[6,1,1,""],ram:[6,1,1,""],totalMoneyGenerated:[6,1,1,""],upgradeCore:[6,0,1,""],upgradeLevel:[6,0,1,""],upgradeRam:[6,0,1,""]},NetscriptPort:{clear:[10,0,1,""],data:[10,1,1,""],empty:[10,0,1,""],full:[10,0,1,""],tryWrite:[10,0,1,""],write:[10,0,1,""]}},objnames:{"0":["js","method","JavaScript method"],"1":["js","attribute","JavaScript attribute"],"2":["js","function","JavaScript function"]},objtypes:{"0":"js:method","1":"js:attribute","2":"js:function"},terms:{"000m":0,"05gb":0,"0gb":0,"0x726564646974":0,"100m":0,"1048576gb":[],"15m":0,"1e3":15,"1gb":0,"200k":0,"200m":0,"250m":0,"25gb":0,"25m":0,"25x":0,"2gb":0,"300m":0,"3087e3":8,"400m":0,"4gb":0,"500m":0,"50e3":15,"50x":0,"55k":0,"5gb":0,"64gb":0,"8gb":[0,6],"boolean":[0,4,5,13],"break":[0,12],"case":[0,5,7,13,15],"catch":[0,8],"class":[0,8,13,14],"const":[0,5],"default":[0,5,13,14,15],"export":[0,5,8,10],"final":[1,2],"float":4,"function":[0,1,2,4,6,7,8,9,14,15],"import":[0,1,2,5,8,15],"long":[0,7],"new":[0,5,6,8,10,13,14,15],"null":[0,5,8,10],"public":0,"return":[0,3,5,6,7,10,11,13,14],"short":[0,7],"static":[0,8,10],"super":0,"switch":[0,14],"throw":[0,8],"true":[0,4,5,6,7,8,10,11,13],"try":[0,5,8,10,12,13],"var":[0,9],"while":[0,5,6,8,9,10,13,15],AND:11,Ace:[0,14],Added:0,Adding:4,And:10,But:0,Doing:8,For:[0,3,4,5,6,8,9,10,11,12,15],IPs:[0,5],NOT:[0,5,7,11,13,14,15],Not:13,One:13,THE:0,The:[0,1,3,4,5,6,7,8,9,10,12,13,15],Their:4,Then:[6,8,10,15],There:[0,10],These:[0,3,5,6,8,13,14,15],Use:[0,5,8],Used:0,Using:0,WILL:0,WITH:0,Will:[5,7,14],With:[0,8],Yes:5,_termin:[],abbrevi:15,abil:[0,7],abl:[0,8,13],about:[0,4,5,10,13,15],abov:[0,4,5,10,11,15],accept:[0,13],access:[0,4,5,6,7,8,10,12,13,15],accident:0,account:0,accumul:8,acorn:0,across:0,action:[0,13,14],activ:[0,5,14],actual:[0,5,7,10,13,15],add:[0,6,8,15],added:[0,5],addit:[0,5,6,8,11,13],address:[0,5,15],adjac:15,adjust:0,adr:0,advanc:[1,2],advert:0,advertis:0,aevum:13,affect:[0,5],afford:[5,6],after:[0,4,5,7,10,13,15],afterward:15,again:0,against:0,agenc:[13,14],agent:13,agi:13,agil:13,aid:1,aka:[0,13,14],alexei:0,algorithm:[0,7,13],alia:[0,1],alias:[0,15],all:[0,4,5,6,7,8,10,13,15],allow:[0,7,8,10,13,15],almost:[0,2,8,14],alphabet:[5,15],alphanumer:4,alreadi:[0,5,13,15],also:[0,4,5,7,8,12,13,14,15],alt:[14,15],alter:8,altern:15,although:[0,13],alwai:[8,14],amount:[0,5,6,7,12,13,15],analysi:0,analyt:0,analyz:[0,1,14],ani:[0,1,2,4,5,8,13,14,15],annoi:0,anoth:[0,5,10,12,15],anymor:0,anyon:0,anyth:[0,5],anytim:15,anywher:[5,15],api:[0,1,2],appear:5,append:[0,5],appendchild:8,appli:[0,5,8,13],applic:13,applytocompani:[1,2],approxim:0,arbitrari:0,area:0,arg1:8,arg2:8,arg3:8,arg:[0,5,8,10,12,15],argument:[0,1,2,5,6,7,8,10,13,15],arm:13,armor:0,around:[1,13],arrai:[0,4,5,6,7,10,12,13],arrow:[14,15],artifici:0,aspect:[0,13],assassin:13,assign:[0,6,11],assum:[8,10],async:[5,8],asynchron:8,attack:[0,5],attempt:[0,7,10,13,15],augment:[0,5,7,13,14],augmentationmoneycost:3,augmentationrepcost:3,augnam:13,auto:13,autocomplet:[0,14],autolink:[0,13],autom:[0,6,7],automat:[0,5,7,13],automcomplet:0,autosav:0,avail:[0,4,5,7,8,9,13,14,15],averag:7,avgpx:7,avgpxshort:7,avoid:0,awai:15,await:8,awar:0,awesom:0,b1t_flum3:0,back:[0,10],background:15,backspac:14,backstori:0,backup:8,balanc:0,bar:0,base:[0,5,11],bash:[0,1],basic:[0,1,2,15],beautifi:0,becaus:[0,3,5,8,13,15],becom:3,been:[0,1,8],befor:[0,5,8,10],begin:[0,14],being:[0,5,8,15],below:[0,5],benefici:0,benefit:0,best:12,beta:[0,1],better:[0,14],between:[0,3,5,8,10,14,15],big:0,billion:7,binari:[0,1,2],bind:[0,14],bit:0,bitburn:[0,2],bitnod:[0,3,13],bitrunn:0,black:0,blade:0,bladeburn:0,blob:8,block:0,blue:8,bluebird:0,board:0,bond:[0,13],bonu:0,boost:0,both:[0,5,13,15],box:[0,5],bribe:0,brief:[0,10,15],bring:0,broken:0,brokerag:0,browser:[0,8,13,14],brutessh:[0,1,2,13,15],buf:0,bug:0,bugfix:0,bui:[0,1,7,13],build:[0,7],built:0,busi:[0,13],button:0,buystock:[0,1,2],calcul:[0,7],call:[0,1,5,6,8,10,12,13,15],callback:[0,13],can:[0,1,4,5,6,7,8,9,10,12,13,14,15],cancel:[0,7,13,14],cancelord:[1,2],cannot:[0,5,6,8,15],cap:0,capabl:[4,8],capac:0,capit:[0,7],cat:[0,1],caus:[0,5],cave:0,caveat:[8,9],cbscript:13,cellel:8,certain:[0,5,7,10,13],cha:13,chanc:[5,13,15],chang:[0,3,4,5,8,11,15],changelog:1,charact:[4,13,14],characterist:0,charisma:13,cheaper:0,check:[0,1,5,9,13],checkfactioninvit:[0,1,2],chongq:13,choos:0,circuit:0,citi:[0,13,14],citynam:13,classgymexpgain:3,classifi:0,classlist:8,clear:[0,1,2,8,10,14],clearanc:0,clearlog:[0,1,2],click:[0,5,15],cloak:0,close:[0,8,10,14,15],cls:1,code:[0,5,7,8,9,10,11,12],codebas:0,collaps:0,collect:8,color:[0,8,15],com:0,combat:0,come:[8,15],command:[0,1,4,5,13,14],comment:[0,1,2,11],commiss:7,commit:[3,13],commitcrim:[0,1,2],common:0,commonli:15,commun:[7,10],compani:[0,7,13,14],companynam:13,companyworkexpgain:3,companyworkmonei:3,compar:0,compens:0,competit:0,complet:[0,5,8],comput:[0,5,8,13,15],concat:8,concept:0,condit:[0,1,2],config:0,configur:[0,1,14],confirm:[0,1],connect:[0,1],conquer:0,consid:0,consider:0,consist:0,consol:15,constantli:5,constrain:5,constructor:[0,8],consult:13,contain:[0,3,4,5,6,8,10,13],content:[0,1],continu:[0,13],contract:[0,13],control:13,convers:0,convert:[5,8],copi:[0,5,15],core:[0,5,6,15],corecost:[5,6],corpor:0,corporatocraci:0,correct:[0,13],correspond:6,cosmet:15,cost:[0,5,6,7,13,15],could:[0,15],count:[0,5,15],cours:13,coursenam:13,courtesi:0,cplusplu:[],cpp_static_memb:[],cpu:[0,15],crash:[0,8],creat:[0,5,7,13,14,15],createel:8,createprogram:[1,2],credit:0,crime:[0,3,13],crimeexpgain:3,crimemonei:3,crimin:0,crush:13,ctor:8,ctrl:[0,14],current:[0,1,3,5,7,13,14,15],cursor:14,custom:0,cyberpunk:1,cybersec:0,cycl:[0,14],daedalu:0,dai:[],damag:0,danielyxi:0,dark:[0,1,13,15],darkweb:0,data:[1,2,5,10,13],datamanc:0,date:[0,1,2],deal:[0,10,13],dealt:0,decid:8,decim:[0,13],declar:[0,4,5,8,9,10,15],declin:0,decreas:[0,5],decrement:[0,11],deepscan:0,deepscanv1:[13,15],deepscanv2:[13,15],def:13,defens:[0,13],defin:[0,1,2,8,14,15],definit:10,delai:[0,5],delet:[0,5,8,14,15],deleteserv:[0,1,2],demand:0,denot:[0,5,10],depend:[0,5,8],depth:15,describ:5,descript:[0,15],design:0,desir:15,destin:[0,5],destroi:0,detail:[0,5,15],determin:[0,5],develop:[0,1,2,8],devoidfuri:0,dex:13,dexter:13,dialog:[0,5],did:0,didn:0,die:0,differ:[0,3,4,5,8,14],differenti:15,difficult:0,difficulti:0,digit:[0,15],diminish:0,directli:[0,8],disabl:[0,5],disablelog:[0,1,2],displai:[0,15],divid:0,divis:[0,11],dni:0,doc:0,document:[0,5,8,9,10,13,14,15],doe:[0,2,5,7,8,10,11,14,15],doesn:0,doing:[0,6,8,10,12],dom:8,don:[0,8,10,13],donat:0,done:[0,14],dont:0,doubl:[0,4,6,15],down:[8,14,15],download:[0,1],drag:0,drawback:0,drug:13,due:[0,5],dure:0,dynam:[0,8,15],dystopian:1,each:[0,5,6,7,13,15],earli:[0,1],earn:[0,5,6,13],easier:0,easili:0,ecp:7,edg:0,edit:[0,8,14,15],editor:[0,1,15],effect:[0,5],effici:0,either:[4,5,15],element:[0,5,6,7,10,12,13],elif:0,els:[0,9,10,13],emac:14,embark:1,emploi:[13,14],employe:[0,13],empti:[0,5,10,15],emul:[14,15],enabl:[0,5,8,14,15],enable_bash_hotkei:14,enable_timestamp:0,enablelog:[0,1,2],encapsul:4,end:[0,5,6,10,13,14],endgam:0,endpoint:10,enemi:0,energi:0,engin:[0,8,13],enough:[0,5,7],enter:[0,14,15],entiti:0,entri:[0,8],environ:8,equal:[0,11],equival:[4,5,6],error:[0,5,8],esc:14,especi:5,essenti:0,estat:0,estim:[0,15],etc:[0,4,5,8,12,13,15],evalu:[0,8,10],even:[0,5,7,10,11],eventu:0,everi:[0,5,7,8,10,13,15],everyth:0,exampl:[0,1,2,3,4,5,7,9,10,11,12,13,15],exce:7,exceed:5,except:[0,5,8,14,15],exchang:[0,1,2],exe:[0,5,13,15],exec:[0,1,2,8],execarg:8,execut:[0,5,7,8,10,15],exist:[0,5,6,9,15],exit:[0,1,2],exp:0,expand:15,expens:0,experi:[0,5,8,13],explain:10,explanatori:0,exploit:[0,8],exponenti:0,extens:[0,5,8,13,15],facil:0,facnam:13,fact:0,faction:[0,13,14],factionnam:13,factionpassiverepgain:3,factionworkexpgain:3,factionworkrepgain:3,factor:0,fail:[0,5,13,15],failur:5,fairli:13,fairlyn:13,fals:[0,4,5,6,7,10,11,13],far:13,faster:[0,8],favicon:0,favor:[1,13],fconf:[0,14,15],featur:[0,2,8],fee:7,feed:0,feedback:0,feel:[0,2],few:[0,15],ffffff:15,field:[0,13],fieldwork:13,file:[0,3,5,13,14,15],fileexist:[0,1,2],filenam:[0,5,8,10,15],fill:5,find:[0,5,8],findindex:10,fine:5,finish:[0,13],firefox:[1,2],firewal:0,first:[0,4,5,6,7,10,12,13,15],fisg:7,fit:13,fix:[0,5],fl1ght:0,flag:[0,15],flat:0,fledg:8,flesh:0,floor:10,fn1:10,fn2:10,folder:0,follow:[0,3,4,5,6,8,9,10,13,15],foo1:[5,10],foo2:[5,10],foo3:[5,10],foo4:10,foo:[0,5,8,10,15],foodnstuff:[0,5,8,9,10,15],forc:0,foreach:0,forgeri:[0,13],forgot:0,form:[3,5,6,15],format:0,formula:0,fortifi:0,forward:8,found:0,four:[6,7],fourth:[6,7],fraction:5,framework:0,free:[0,1,2],from:[0,5,7,8,10,12,13,15],ftpcrack:[1,2,13],fulcrum:0,full:[0,8,10,15],fulli:[0,4],fund:0,furthermor:[0,5,8],futur:[0,3,5,14],gain:[0,1,5,13],game:[0,1,3,5,7,8,10,12,13,15],gameplai:0,gang:0,garbag:8,gene:0,gener:[0,5,8,11,12],get:[0,5,8,10,12,13,15],getaugment:0,getaugmentationcost:[1,2],getaugmentationsfromfact:[0,1,2],getbitnodemultipli:[0,1,2],getcharacterinform:[0,1,2],getcompanyfavor:[0,1,2],getcompanyrep:[1,2],getcoreupgradecost:[0,6],getcrimech:[0,1,2],getelementbyid:8,getfactionfavor:[0,1,2],getfactionrep:[1,2],getgrowtim:[0,1,2],gethackinglevel:[1,2],gethackingmultipli:[0,1,2],gethacknetmultipli:[0,1,2,6],gethacktim:[0,1,2],gethostnam:[0,1,2,8],getintellig:0,getip:0,getlevelupgradecost:[0,6],getnexthacknetnodecost:[0,1,2,6],getnumhacknetnod:0,getownedaugment:[1,2],getporthandl:[0,10],getpurchasedserv:[0,1,2],getramupgradecost:[0,6],getscriptexpgain:[0,1,2],getscriptincom:[0,1,2],getscriptnam:[0,1,2],getscriptram:[0,1,2],getserv:0,getserverbasesecuritylevel:[0,1,2],getservergrowth:[0,1,2],getservermaxmonei:[0,1,2],getserverminsecuritylevel:[0,1,2],getservermoneyavail:[0,1,2,9],getservernumportsrequir:[0,1,2],getserverram:[0,1,2,10],getserverrequiredhackinglevel:[0,1,2],getserversecuritylevel:[0,1,2],getstat:[0,1,2],getstockposit:[1,2],getstockpric:[1,2],gettimesincelastaug:[0,1,2],getupgradehomeramcost:[1,2],getweakentim:[0,1,2],ghost:0,github:[0,8],give:[0,3,5,13],given:[0,5,7,13,15],global:[0,5,8,15],global_object:0,globalvari:8,goe:0,going:[0,8],googl:15,governor:0,gradual:0,grand:13,grant:0,great:8,greater:[0,11],greatli:0,grep:[0,5,15],grow:[0,1,2,8,9],grown:[0,9],growth:[0,5],guarante:13,guid:0,gym:[0,13,14],gymnam:13,gymworkout:[0,1,2],hack:[0,1,2,8,9,13,14],hacker:1,hackexpgain:3,hackingcontract:13,hacknet:[0,1,2,5,14],hacknetnod:[0,1,2],hacknetnodemonei:3,had:0,half:0,halt:5,halv:[0,13],hand:[0,15],handbook:0,handl:[0,10],happen:0,happi:8,harder:0,hardwar:0,has:[0,2,3,5,6,8,13,15],hasrootaccess:[0,1,2],have:[0,2,3,5,6,7,8,10,13,15],havoc_mayhem:0,header:[0,15],heist:13,helio:[0,5],hello:5,help:[0,1],her:0,here:[0,1,4,5,7,8,9,10,13,15],hex:[0,8,15],hidden:0,high:0,higher:[0,5],highlight:[0,15],his:0,histori:15,hoist:5,hold:4,home:[0,1,5,13,14],homicid:13,hope:1,hopefulli:0,hospit:0,hostnam:[0,1,5],hotkei:0,how:[0,1,2,4,5,6,9,10,15],howev:[0,5,9,10,15],htm:[],html:0,http:0,httpworm:[1,2,13,15],hydroflam:0,hyphen:4,idea:0,ident:2,identifi:[0,5,15],ifconfig:1,immedi:[0,5,7,13,15],implement:[0,2,10,14],importantinfo:15,improv:[0,2,8],inc:0,includ:[0,4,5,8,13,14,15],incom:[0,5,6],incomplet:0,incorrect:0,incorrectli:0,increas:[0,5],increment:[0,1,11],incur:[0,10],index:[1,5,6],indexeddb:0,indexof:0,indic:[0,5,13,15],individu:[0,15],industri:0,inequ:11,infiltr:0,infinit:8,info:0,inform:[0,1,2,5,13,15],initi:[0,4],innertext:8,input:[0,8,13,14],insan:0,insert:0,insid:[5,6,10],instal:[0,5,7,13],installaugment:[0,1,2],instanc:[0,5,8],instead:[0,3,5,6,8,13],institut:13,instrins:5,instruct:0,integ:[3,4,5,6,7],intellig:[0,13],interact:10,interest:0,interfac:[0,15],interpret:0,interv:0,intuit:0,invalid:[0,5,13],invest:0,investor:0,invit:[0,13],involv:0,ips:0,iron:[0,13],isbusi:[0,1,2],ishima:13,isinteg:10,isn:0,isrun:[0,1,2],issu:[0,13,15],item:[0,10],iter:[6,9],its:[0,5,7,8,10,15],itself:6,jaguilar:8,javascript:[0,1,2,4,5,8,9],job:[0,8,13,14],jobtitl:13,joesgun:5,join:[0,4,13],joinfact:[1,2],jqueri:0,jshint:0,jump3r:[0,1],just:[0,5,8,10,15],karma:0,keep:0,kei:[0,14,15],kernel:0,keybind:0,keyboard:[0,1,15],keyword:[0,9],kidnap:13,kill:[0,1,2],killal:[0,1,2],know:[0,8,10],kopelli:0,label:4,languag:[0,2,4,5],larceni:13,larg:0,last:[0,5,8,10,14],late:0,later:[0,3,4,7,13],latest:0,lead:1,leadership:13,leak:8,least:[0,5,6],left:[0,15],length:[0,5,6,8,12],lenient:13,less:[0,11],let:[0,5,7,8,9,10,12,15],letter:[4,7],level:[0,5,6,13,15],levelcost:[5,6],librari:[0,10],life:15,lightli:0,like:[0,5,8,10,12,14],limit:[0,5,7,13],limitbui:7,limitsel:7,line:[0,8,10,14],linear:0,linearli:0,link:[0,5,15],list:[0,6,13,15],lit:[0,5,15],literatur:[0,5,15],littl:0,load:[0,8],local:5,localstorag:0,locat:[0,5,13],lock:0,log:[0,5,6,10,14,15],logic:[0,11],longer:0,look:[8,10,12],loop:[0,1,2,8],lore:0,lose:[0,10],lot:[0,8,13],low:0,lower:[0,5],lscpu:[0,1],ltcnugget:0,machin:[0,15],made:[0,7,15],mai:[0,5,8,15],main:[5,8],maintain:0,major:1,make:[0,5,8,12],manag:[0,13],mani:[0,2,4,13],manipul:8,manual:[0,13],manualhackmonei:3,map:6,mark:[0,8,15],market:[0,7],masterscript:15,match:15,mateon1:0,materi:0,math:[0,1,2],matter:15,max:[0,6],maximum:[0,5,15],mayb:[0,10],mean:[0,1,2,3,4,5,6,8,10,13],meant:0,mechan:[0,15],med:0,medic:0,mem:1,member:[0,1,2,4,8,13],memori:[0,5,8,15],mention:0,menu:[0,14,15],messag:[0,1,5,15],method:[0,1,2,4,8,10],mid:0,middl:13,might:0,migrat:0,mild:0,millenium:13,millisecond:[0,5],minigam:0,minimum:[0,5],minor:0,minut:[0,13],misc:[0,1],miscellan:[1,2],mission:[0,14],mode:[0,5,14],modifi:[0,12],modul:[0,1,2,8],modulo:11,monei:[0,1,3,5,6,7,9,13,15],monetari:0,moneygainratepersecond:6,more:[0,4,5,9,14,15],most:[0,4],mostli:0,move:14,mozilla:[0,1,2],mrnuggelz:0,msg:[5,15],much:[0,9,15],mug:13,mult:[3,5,6],multi:[0,10],multidimension:0,multilin:0,multipl:[0,5,8,11,15],multipli:[0,3,5,6,13],multithread:0,must:[0,4,5,6,7,8,10,13,14,15],mute:15,mysteri:1,name:[0,4,5,6,7,11,12,13,15],namespac:10,nan:0,nano:[0,1,8,14],nativ:0,natur:0,navig:[0,1,15],nearest:[5,6,7],necessari:[0,1,15],need:[0,5,8,10,15],neg:0,negat:[0,11],nerf:0,nest:0,net:7,netscript:[0,1],netscriptj:[0,1,2,5],netscriptport:10,netsction:0,network:[0,13,15],neuroflux:0,never:[0,8],newer:0,newli:5,newlin:0,next:[5,14],nitesec:0,node:[0,1,2,5,14,15],non:[0,15],none:[5,6],normal:[0,10,12,13],noscript:0,notabl:[0,5],note:[0,1,2,5,6,10,13,14,15],notifi:0,now:[0,1,8,10,15],nuke:[0,1,2,15],num:15,number:[0,1,2,4,5,6,7,8,11,12,13,15],numer:[0,4,7,11],numthread:[0,5,10],object:[0,3,4,5,6,8,13],observ:0,obtain:5,obvious:13,occur:0,off:0,offic:0,offici:0,offlin:[0,5],old:0,omit:[5,15],onc:[0,15],one:[0,5,6,8,9,10,13],ones:0,onli:[0,3,5,6,7,8,10,11,13,14,15],onlin:[0,5],onlinetimesecond:6,onto:4,open:[0,5,8,10,13,14,15],oper:[0,1,2,10,12],operand:11,optim:1,option:[0,5,8,13,14,15],order:[0,3,5,7,13,15],org:0,origin:[0,3],osx:0,other:[0,5,8,10,13,14],otherwis:[0,5,6,7,9,10,13,14,15],our:10,oustand:[0,7,13],out:[0,2,5,10,13],outdat:0,output:5,outsid:[0,5,13],outstand:0,over:[0,5,8],overclock:0,overrid:14,overwrit:[0,5],own:[0,1,2,7,8,15],page:[0,1,3,5,8,10,13,14,15],param:8,paramet:[0,5,15],pars:[0,10],parser:0,part:[0,13,15],particular:13,pass:[0,5,8,10,12,13,15],passiv:0,past:0,path:15,pattern:[0,15],peek:[0,1,2,10],peopl:8,per:0,percentag:[0,5,6],perform:[0,13],perman:15,persist:0,pheromon:0,pick:0,picker:15,pill:0,place:7,placeord:[1,2],plai:1,plan:12,player:[0,1,5,6,7,12,13,15],pleas:[0,8],plenti:8,plot:0,point:[0,8],pointer:0,pop:[0,4,10],popular:0,popup:0,port:[0,1,2,5,15],portfolio:0,pos:7,posit:[0,4,6,7,13],possibl:[0,8,12],post:8,pound:15,power:[0,1,5,8],powerhous:13,pre:[0,8,11],preced:15,prefac:8,prefix:0,prerequisit:0,preset:[14,15],press:0,prestig:0,prevent:12,preventdefault:0,previou:[0,14],previous:0,price:[0,7],primarili:8,primit:4,print:[0,1,2,3,6,8,10,13,15],privat:0,problem:0,process:[0,5],prod:0,produc:[0,11],product:[0,5,6],profit:[0,7],program:[0,2,5,13,14,15],programat:0,programnam:13,progress:0,promis:0,promot:[0,13],prompt:[0,1,2,8],proper:0,properli:0,properti:[0,13],protocol:7,prototyp:[0,8],provid:[0,6,7],pserv:5,puchas:0,purchas:[0,1,2,5,7,13,15],purchaseaugment:[1,2],purchasecost:[5,6],purchasedserver1:8,purchasehacknetnod:[0,1,2,6],purchaseprogram:[1,2],purchaseserv:[0,1,2],purchasetor:[1,2],purpos:[4,5],push:0,put:[3,11],qualifi:0,qualiti:0,queri:0,quest:1,queue:[0,5,10],quickli:[0,5],quit:0,quot:4,quotat:15,rais:[0,5],ram:[0,5,6,10,13,15],ramcost:[5,6],ramus:5,ran:[0,5,8,10,15],random:0,randomarg:8,rank:0,rate:[0,5],rather:[0,8,15],reach:[0,2,15],read:[0,1,2,4,6,10],readthedoc:0,real:[0,15],realli:0,reason:[0,5],rebalanc:1,receiv:[0,3,13],recommend:[8,13],record:0,recurs:0,red:[0,8],reddit:0,reduc:[0,8],refactor:0,refer:[0,4,9],referenc:[0,4],reflect:7,refresh:[0,8],regain:0,regard:0,regardless:[0,5],reject:0,rel:[0,15],relat:[5,6,10,15],relaysmtp:[1,2,13],releas:[0,8],relev:[0,3],reload:[0,8,10],remain:0,rememb:[5,7,8,15],remot:15,remov:[0,5,10,15],rep:0,repeat:0,repeatedli:[0,8],replac:[0,15],report:[0,8],repres:[0,3,4,5,7,10,15],reput:[0,13],request:2,requir:[0,3,5,10,11,13,15],res:[5,10,13],research:0,reset:[0,5,7,13],resolv:5,respect:[0,15],respons:8,rest:[0,4],restart:[0,13],result:[0,5,8,11],retain:[0,7],reusabl:15,revers:0,revert:5,reward:0,right:[0,10],risk:8,rob:13,robot:0,role:1,room:10,root:[5,15],rothman:[5,13],round:[0,5,6,7],router:[0,13,15],rowel:8,rpg:1,rule:8,run:[0,1,2,3,8,9,10,11,12,13],runarg:8,runtim:[0,5],safe:8,sai:[5,12],sake:10,salari:0,sale:[0,7],same:[0,5,8,9,10,13,14,15],satisfi:0,save:[0,8,10,14],scale:0,scan:[0,1,2],schedul:[8,13],scheme:15,scienc:13,scientif:0,scope:[5,8],scp:[0,1,2,8],screen:[0,14,15],screw:0,script:[0,1,2,5,6,7,8,10,13,15],scripthackmonei:3,scriptjob:8,scriptkil:[0,1,2],scriptnam:[0,5],scriptrun:[0,1,2],scriptschedul:8,scroll:0,search:[1,5],second:[0,4,5,6,7,12,13,15],secondari:0,secret:[0,1],section:[2,5],sector:13,secur:[0,5,13],securitywork:13,see:[0,5,6,8,9,15],select:[0,5],self:0,sell:[0,7],sellshort:[0,1,2],sellstock:[0,1,2],semicolon:0,sensit:[0,5,7,13,15],sent:0,separ:[3,5,15],sequenc:[4,7],sequenti:8,serial:[0,5,10],seriou:8,server:[0,5,9,15],serverexist:[0,1,2],servergrowthr:3,servermaxmonei:3,serverprofil:[0,13],serverstartingmonei:3,serverstartingsecur:3,serverweakenr:3,set:[0,5,8,13,14,15],sever:[0,10],share:[0,7,8],sharesshort:7,she:1,shell:14,shield:0,shift:0,shoplift:13,shortcut:[0,1,15],shorthand:0,shortstock:[0,1,2],should:[0,5,9,13,15],show:[0,4,5,8,9,15],shown:[5,15],side:15,sigma:15,sign:15,signatur:[0,5,8],signific:[0,5],significantli:[0,8],similar:[0,5],simpl:[8,9,10],simplest:5,simpli:[2,4],simplic:10,simulacrum:0,sinc:[0,5,8,10],singl:[0,4,5,11,15],singular:[0,1,2],situat:8,size:0,skill:[0,5],sleep:[0,1,2,6,8,10,13],slice:10,slight:0,slightli:0,slow:8,slower:0,slowli:0,small:[0,8,13],smaller:0,smart:0,smoother:0,snap:13,soft:0,softwar:[0,13],solar:15,sold:7,some:[0,5,8,9,10,11,13],some_valu:5,someth:1,sometim:0,someval1:10,someval2:10,soon:0,sorri:0,sort:[0,5,10],sourc:[0,3,5,13],space:[0,14,15],spaceglac:0,spam:0,spawn:[0,1,2],special:[0,4,6,12,13],specif:[0,5,10],specifi:[0,5,6,7,10,12,13,15],speed:[0,5],splice:[0,4],spoiler:[0,3,13],sprintf:[0,1,2],sqlinject:[1,2,13],stack:0,stage:[0,1],stai:5,stamina:0,start:[0,4,5,8,10,13,15],starter:0,stat:[0,13,14],state:0,statement:[0,9],statist:[0,7,15],steal:[0,5],still:[0,5,8,15],stock:[0,7],stolen:[0,5],stop:[0,5,7,13,15],stopact:[0,1,2],stopbui:7,stopsel:7,storag:0,store:[4,13],str:13,strategi:7,street:0,strength:13,strict:11,string:[0,4,5,7,13,15],structur:[3,5,6,10],strucur:13,studi:[0,13],stupid:0,style:[0,8],subject:3,subreddit:0,subset:2,substitut:15,substr:5,subtract:11,success:[0,5,7,13],successess:0,successfulli:[0,5,6,7,10,13,15],sudov:1,suggest:2,sum:[0,5],summari:8,summit:13,suppli:0,support:[0,4,6,7,8,10,15],suppos:10,suppress:0,sure:0,suspend:5,suspicion:1,sym:7,symbol:7,syntax:[0,2,5,10],system:[1,7],tab:[0,8,14,15],tail:[0,1],take:[0,1,5,13,14,15],target:[0,5,8,15],task:0,technolgi:0,technolog:[0,13],tell:0,templat:5,ten:9,term:[0,13],termin:[0,1,5,8,13],terminalinput:8,territori:0,test2:[],test:[0,5,8],testlib:10,testlibrari:10,text:[0,4,5,8,15],than:[0,5,8,9,11,15],thank:0,theft:13,thei:[0,2,3,5,8,14,15],them:[0,5,10,13],theme:[0,1],themselv:0,thepalindrom:0,therefor:[0,8],theres:0,thi:[0,1,2,3,4,5,6,7,8,10,11,12,13,14,15],thing:15,think:0,third:[0,5,7],those:[5,6,8],though:[0,5,10],thought:[4,8],thread:[0,5,8,12,13,15],three:[4,5,8,10,14,15],through:[0,5,6,8,10,13,14,15],throughout:0,thrown:8,tier:0,time:[0,5,6,8,9,10,13,15],timework:13,tini:2,tip:0,tix:[0,1,2],todo:15,tokyo:13,tolocalestr:0,tolowercas:4,too:0,tooltip:0,top:[0,1,8],tor:[0,13,15],tostr:0,total:[0,5,6,15],totalmoneygener:6,totalram:5,toward:0,tprint:[0,1,2,8,10],tprintcolor:8,tracer:0,track:0,trade:[0,1,2],traffick:13,train:[0,13,14],transact:[0,7],transfer:0,travel:[0,13,14],traveltoc:[1,2],travers:9,treat:0,trend:0,tri:[5,6,15],trigger:0,troubl:0,trywrit:[0,10],tutori:[0,14],tutorialspoint:[],tweak:0,two:[0,5,7,8,10,11,12,13],txt:[0,5,8,15],type:[0,1,2,5,7,8,13,15],typic:5,typo:0,unabl:8,unalia:[0,1],unalias_terminal_command:[],unari:[1,2],uncov:1,undefin:0,underli:[0,5,10],underscor:4,undo:15,undon:15,uni:5,uniqu:[0,5,8,15],univeristi:13,univers:[0,13,14],universitycours:[1,2],universitynam:13,unknown:1,unless:[0,14],unlik:8,unlock:[0,7,13],unrecogn:0,until:[0,5,6,13],untyp:4,updat:[0,13],upgrad:[0,6,13],upgradecor:6,upgradehacknetnod:0,upgradehomeram:[1,2],upgradelevel:6,upgraderam:6,upon:0,url:[0,8],usag:[0,5,10,15],use:[0,1,2,5,7,9,10,13,15],useabl:0,used:[0,2,4,5,6,7,10,13,14,15],useful:0,user:[0,8,15],uses:[0,8,9],using:[0,5,6,7,8,9,10,12,13,15],usual:13,utc:[0,10],util:[0,1,2],valid:[0,5,10,13,15],valu:[0,3,4,5,6,7,8,10,11,13,15],valuat:0,vari:5,variabl:[0,1,2,5,8,9,11,15],varieti:0,variou:[0,13,14],vechain:0,vehicl:0,veri:[0,8],version:8,via:0,viabl:0,view:0,vim:[0,14],visibl:8,visit:[0,7,13],volatil:0,volhaven:13,vsprintf:[0,1,2],w0r1d_d43m0n:0,waer:0,wage:0,wai:[0,5,6,10,13,15],wait:[0,10],waiter:13,wall:0,want:[0,6,8,10,12,13,15],warehous:0,warn:[0,1,2,11,12,13,15],wasn:0,water:0,weaken:[0,1,2,8],weapon:0,web:[0,8,13,15],webpack:0,week:[],well:[0,4,8,14,15],were:[0,5,13,14,15],wese:7,what:[0,5,6,8,13,15],whatev:13,when:[0,1,2,5,8,9,10,13,15],whenev:0,where:[0,1,5,8,10,14],whether:[0,5,7,13,15],which:[0,4,5,6,7,10,13,15],whitespac:[0,5],who:[0,8],whose:15,wiki:0,wikia:0,wilson:0,win:0,window:[0,14],within:8,without:[0,5,8,10,15],won:0,word:[0,5,14,15],work:[0,5,7,8,10,11,13,14,15],workagiexpgain:13,workchaexpgain:13,workdefexpgain:13,workdexexpgain:13,workforcompani:[1,2],workforfact:[1,2],workhackexpgain:13,workmoneygain:13,workrepgain:13,workstrexpgain:13,worktyp:13,world:[0,1,2,5,7],worm:15,would:[0,3,11,12,13,15],wouldnt:0,wraithan:0,wrap:0,write:[0,1,2,6,7,8,10],written:[2,5,10],wrong:1,wrote:10,wse:[0,7],www:[],x10:0,yet:[0,5,13],you:[0,1,2,3,4,5,6,7,8,9,10,11,13,14,15],your:[0,1,2,6,7,8,13,14,15],yourself:[0,6],zero:[0,5],zeu:0,zeud:0,zip:[0,15]},titles:["Changelog","Welcome to Bitburner's documentation!","Netscript Documentation","Netscript Advanced Functions","Netscript Data Types and Variables","Netscript Basic Functions","Netscript Hacknet Node API","Netscript Trade Information eXchange (TIX) API","NetscriptJS (Netscript 2.0)","Netscript Loops and Conditionals","Netscript Miscellaneous","Netscript Operators","Netscript Script Arguments","Netscript Singularity Functions","Keyboard Shortcuts","Terminal"],titleterms:{"final":8,"function":[3,5,10,13],"import":10,advanc:3,alia:15,analyz:15,api:[6,7],applytocompani:13,argument:12,bash:14,basic:5,binari:11,bitburn:1,brutessh:5,bui:15,buystock:7,cancelord:7,cat:15,changelog:0,check:15,checkfactioninvit:13,clear:[5,15],clearlog:5,cls:15,command:15,comment:10,commitcrim:13,condit:9,configur:15,connect:15,createprogram:13,data:4,date:10,defin:5,deleteserv:5,disablelog:5,document:[1,2],dom:[],download:15,editor:14,enablelog:5,exampl:[6,8],exchang:7,exec:5,exit:5,favor:0,fileexist:5,firefox:8,free:15,ftpcrack:5,game:14,getaugmentationcost:13,getaugmentationsfromfact:13,getbitnodemultipli:3,getcharacterinform:13,getcompanyfavor:13,getcompanyrep:13,getcrimech:13,getfactionfavor:13,getfactionrep:13,getgrowtim:5,gethackinglevel:5,gethackingmultipli:5,gethacknetmultipli:5,gethacktim:5,gethostnam:5,getnexthacknetnodecost:5,getownedaugment:13,getpurchasedserv:5,getscriptexpgain:5,getscriptincom:5,getscriptnam:5,getscriptram:5,getserverbasesecuritylevel:5,getservergrowth:5,getservermaxmonei:5,getserverminsecuritylevel:5,getservermoneyavail:5,getservernumportsrequir:5,getserverram:5,getserverrequiredhackinglevel:5,getserversecuritylevel:5,getstat:13,getstockposit:7,getstockpric:7,gettimesincelastaug:5,getupgradehomeramcost:13,getweakentim:5,grow:5,gymworkout:13,hack:[5,15],hacknet:6,hacknetnod:6,handl:[],hasrootaccess:5,help:15,home:15,hostnam:15,how:8,httpworm:5,ifconfig:15,indic:1,inform:7,installaugment:13,isbusi:13,isrun:5,javascript:10,joinfact:13,keyboard:14,kill:[5,15],killal:[5,15],loop:9,lscpu:15,major:0,manipul:[],math:10,mem:15,member:6,method:6,misc:14,miscellan:10,modul:10,mozilla:8,nano:15,navig:14,netscript:[2,3,4,5,6,7,8,9,10,11,12,13],netscriptj:8,node:6,note:8,nuke:5,number:10,oper:11,optim:0,own:5,peek:5,placeord:7,port:10,print:5,prompt:5,purchas:6,purchaseaugment:13,purchasehacknetnod:5,purchaseprogram:13,purchaseserv:5,purchasetor:13,read:5,rebalanc:0,relaysmtp:5,round:[],run:[5,15],scan:[5,15],scp:[5,15],script:[12,14],scriptkil:5,scriptrun:5,sellshort:7,sellstock:7,serverexist:5,shortcut:14,shortstock:7,singular:13,sleep:5,spawn:5,sprintf:5,sqlinject:5,stopact:13,sudov:15,system:0,tabl:1,tail:15,termin:[14,15],theme:15,tix:7,top:15,tprint:5,trade:7,traveltoc:13,type:4,unalia:15,unari:11,universitycours:13,upgradehomeram:13,usag:[],use:8,util:6,variabl:[4,6],vsprintf:5,warn:8,weaken:5,welcom:1,what:1,workforcompani:13,workforfact:13,write:5,your:5}})
\ No newline at end of file
+Search.setIndex({docnames:["changelog","index","netscript","netscriptadvancedfunctions","netscriptbladeburnerapi","netscriptdatatypes","netscriptfunctions","netscripthacknetnodeapi","netscriptixapi","netscriptjs","netscriptloopsandconditionals","netscriptmisc","netscriptoperators","netscriptscriptarguments","netscriptsingularityfunctions","shortcuts","terminal"],envversion:53,filenames:["changelog.rst","index.rst","netscript.rst","netscriptadvancedfunctions.rst","netscriptbladeburnerapi.rst","netscriptdatatypes.rst","netscriptfunctions.rst","netscripthacknetnodeapi.rst","netscriptixapi.rst","netscriptjs.rst","netscriptloopsandconditionals.rst","netscriptmisc.rst","netscriptoperators.rst","netscriptscriptarguments.rst","netscriptsingularityfunctions.rst","shortcuts.rst","terminal.rst"],objects:{"":{applyToCompany:[14,2,1,""],buyStock:[8,2,1,""],cancelOrder:[8,2,1,""],checkFactionInvitations:[14,2,1,""],clearLog:[6,2,1,""],commitCrime:[14,2,1,""],createProgram:[14,2,1,""],deleteServer:[6,2,1,""],disableLog:[6,2,1,""],enableLog:[6,2,1,""],fileExists:[6,2,1,""],getActionCountRemaining:[4,2,1,""],getActionEstimatedSuccessChance:[4,2,1,""],getActionTime:[4,2,1,""],getAugmentationCost:[14,2,1,""],getAugmentationsFromFaction:[14,2,1,""],getBitNodeMultipliers:[3,2,1,""],getBlackOpNames:[4,2,1,""],getCityChaos:[4,2,1,""],getCityEstimatedCommunities:[4,2,1,""],getCityEstimatedPopulation:[4,2,1,""],getCompanyFavor:[14,2,1,""],getCompanyRep:[14,2,1,""],getContractNames:[4,2,1,""],getCrimeChance:[14,2,1,""],getFactionFavor:[14,2,1,""],getFactionRep:[14,2,1,""],getGeneralActionNames:[4,2,1,""],getGrowTime:[6,2,1,""],getHackTime:[6,2,1,""],getHackingLevel:[6,2,1,""],getHackingMultipliers:[6,2,1,""],getHacknetMultipliers:[6,2,1,""],getHostname:[6,2,1,""],getNextHacknetNodeCost:[6,2,1,""],getOperationNames:[4,2,1,""],getOwnedAugmentations:[14,2,1,""],getPurchasedServers:[6,2,1,""],getRank:[4,2,1,""],getScriptExpGain:[6,2,1,""],getScriptIncome:[6,2,1,""],getScriptName:[6,2,1,""],getScriptRam:[6,2,1,""],getServerBaseSecurityLevel:[6,2,1,""],getServerGrowth:[6,2,1,""],getServerMaxMoney:[6,2,1,""],getServerMinSecurityLevel:[6,2,1,""],getServerMoneyAvailable:[6,2,1,""],getServerNumPortsRequired:[6,2,1,""],getServerRam:[6,2,1,""],getServerRequiredHackingLevel:[6,2,1,""],getServerSecurityLevel:[6,2,1,""],getSkillLevel:[4,2,1,""],getSkillNames:[4,2,1,""],getSkillPoints:[4,2,1,""],getStamina:[4,2,1,""],getStats:[14,2,1,""],getStockPosition:[8,2,1,""],getStockPrice:[8,2,1,""],getTeamSize:[4,2,1,""],getTimeSinceLastAug:[6,2,1,""],getUpgradeHomeRamCost:[14,2,1,""],getWeakenTime:[6,2,1,""],gymWorkout:[14,2,1,""],hasRootAccess:[6,2,1,""],installAugmentations:[14,2,1,""],isBusy:[14,2,1,""],isRunning:[6,2,1,""],joinBladeburnerFaction:[4,2,1,""],joinFaction:[14,2,1,""],placeOrder:[8,2,1,""],purchaseAugmentation:[14,2,1,""],purchaseHacknetNode:[6,2,1,""],purchaseProgram:[14,2,1,""],purchaseServer:[6,2,1,""],purchaseTor:[14,2,1,""],scriptKill:[6,2,1,""],scriptRunning:[6,2,1,""],sellShort:[8,2,1,""],sellStock:[8,2,1,""],serverExists:[6,2,1,""],setTeamSize:[4,2,1,""],shortStock:[8,2,1,""],startAction:[4,2,1,""],stopAction:[14,2,1,""],stopBladeburnerAction:[4,2,1,""],switchCity:[4,2,1,""],travelToCity:[14,2,1,""],universityCourse:[14,2,1,""],upgradeHomeRam:[14,2,1,""],upgradeSkill:[4,2,1,""],workForCompany:[14,2,1,""],workForFaction:[14,2,1,""]},"hacknetnodes[i]":{cores:[7,1,1,""],getCoreUpgradeCost:[7,0,1,""],getLevelUpgradeCost:[7,0,1,""],getRamUpgradeCost:[7,0,1,""],level:[7,1,1,""],moneyGainRatePerSecond:[7,1,1,""],name:[7,1,1,""],onlineTimeSeconds:[7,1,1,""],ram:[7,1,1,""],totalMoneyGenerated:[7,1,1,""],upgradeCore:[7,0,1,""],upgradeLevel:[7,0,1,""],upgradeRam:[7,0,1,""]},NetscriptPort:{clear:[11,0,1,""],data:[11,1,1,""],empty:[11,0,1,""],full:[11,0,1,""],tryWrite:[11,0,1,""],write:[11,0,1,""]}},objnames:{"0":["js","method","JavaScript method"],"1":["js","attribute","JavaScript attribute"],"2":["js","function","JavaScript function"]},objtypes:{"0":"js:method","1":"js:attribute","2":"js:function"},terms:{"000m":0,"05gb":0,"0gb":0,"0x726564646974":0,"100m":0,"1048576gb":[],"15m":0,"1e3":16,"1gb":0,"200k":0,"200m":0,"250m":0,"25gb":0,"25m":0,"25x":0,"2gb":0,"300m":0,"3087e3":9,"400m":0,"4gb":0,"500m":0,"50e3":16,"50x":0,"55k":0,"5gb":0,"64gb":0,"8gb":[0,7],"boolean":[0,5,6,14],"break":[0,13],"case":[0,4,6,8,14,16],"catch":[0,9],"class":[0,9,14,15],"const":[0,4,6],"default":[0,4,6,14,15,16],"export":[0,4,6,9,11],"final":[1,2],"float":5,"function":[0,1,2,4,5,7,8,9,10,15,16],"import":[0,1,2,6,9,16],"int":4,"long":[0,8],"new":[0,4,6,7,9,11,14,15,16],"null":[0,6,9,11],"public":0,"return":[0,3,4,6,7,8,11,12,14,15],"short":[0,8],"static":[0,9,11],"super":0,"switch":[0,4,15],"throw":[0,4,9],"true":[0,4,5,6,7,8,9,11,12,14],"try":[0,4,6,9,11,13,14],"var":[0,4,10],"while":[0,4,6,7,9,10,11,14,16],AND:12,Ace:[0,15],Added:0,Adding:5,And:11,But:0,Doing:9,For:[0,3,4,5,6,7,9,10,11,12,13,16],IPs:[0,6],NOT:[0,6,8,12,14,15,16],Not:14,One:14,Ops:4,THE:0,The:[0,1,3,4,5,6,7,8,9,10,11,13,14,16],Their:5,Then:[7,9,11,16],There:[0,11],These:[0,3,6,7,9,14,15,16],Use:[0,6,9],Used:0,Using:0,WILL:0,WITH:0,Will:[4,6,8,15],With:[0,9],Yes:6,_bladeburner_action_typ:[],_termin:[],abbrevi:16,abil:[0,8],abl:[0,9,14],about:[0,5,6,11,14,16],abov:[0,5,6,11,12,16],accept:[0,14],access:[0,4,5,6,7,8,9,11,13,14,16],accident:0,account:0,accumul:9,acorn:0,across:0,action:[0,1,2,14,15],activ:[0,6,15],actual:[0,6,8,11,14,16],add:[0,7,9,16],added:[0,6],addit:[0,6,7,9,12,14],address:[0,6,16],adjac:16,adjust:0,adr:0,advanc:[1,2],advert:0,advertis:0,aevum:14,affect:[0,6],afford:[6,7],after:[0,5,6,8,11,14,16],afterward:16,again:0,against:0,agenc:[14,15],agent:14,agi:14,agil:14,aid:1,aka:[0,14,15],alexei:0,algorithm:[0,8,14],alia:[0,1],alias:[0,16],all:[0,4,5,6,7,8,9,11,14,16],allow:[0,6,8,9,11,14,16],almost:[0,2,9,15],alphabet:[6,16],alphanumer:5,alreadi:[0,4,6,14,16],also:[0,5,6,8,9,13,14,15,16],alt:[15,16],alter:9,altern:16,although:[0,14],alwai:[9,15],amount:[0,6,7,8,13,14,16],analyi:4,analysi:[0,4],analyt:0,analyz:[0,1,15],ani:[0,1,2,5,6,9,14,15,16],annoi:0,anoth:[0,6,11,13,16],anymor:0,anyon:0,anyth:[0,6],anytim:16,anywher:[6,16],api:[0,1,2],appear:6,append:[0,6],appendchild:9,appli:[0,6,9,14],applic:[4,6,14],applytocompani:[1,2],approxim:0,arbitrari:0,area:0,arg1:9,arg2:9,arg3:9,arg:[0,4,6,9,11,13,16],argument:[0,1,2,4,6,7,8,9,11,14,16],arm:14,armor:0,around:[1,14],arrai:[0,4,5,6,7,8,11,13,14],arrow:[15,16],artifici:0,aspect:[0,14],assassin:14,assign:[0,4,7,12],assum:[9,11],async:[4,6,9],asynchron:9,attach:4,attack:[0,6],attempt:[0,4,8,11,14,16],aug:4,augment:[0,6,8,14,15],augmentationmoneycost:3,augmentationrepcost:3,augnam:14,auto:14,autocomplet:[0,15],autolink:[0,14],autom:[0,7,8],automat:[0,4,6,8,14],automcomplet:0,autosav:0,avail:[0,4,5,6,8,9,10,14,15,16],averag:8,avgpx:8,avgpxshort:8,avoid:[0,4],awai:16,await:[4,9],awar:0,awesom:0,b1t_flum3:0,back:[0,11],background:16,backspac:15,backstori:0,backup:9,balanc:0,bar:0,base:[0,6,12],bash:[0,1],basic:[0,1,2,4,16],beautifi:0,becaus:[0,3,6,9,14,16],becom:[3,4],been:[0,1,9],befor:[0,6,9,11],begin:[0,15],being:[0,6,9,16],below:[0,6],benefici:0,benefit:0,best:13,beta:[0,1],better:[0,15],between:[0,3,4,6,9,11,15,16],big:0,billion:8,binari:[0,1,2],bind:[0,15],bit:0,bitburn:[0,2],bitnod:[0,3,4,14],bitrunn:0,black:[0,4],blackop:4,blackoper:4,blade:[0,4],bladeburn:[0,1,2],bladeburner_action_typ:[],bladeburnerfn:4,bladeburnerhandl:4,blob:9,block:0,blue:9,bluebird:0,board:0,bond:[0,14],bonu:0,boost:0,both:[0,6,14,16],box:[0,6],bribe:0,brief:[0,11,16],bring:0,broken:0,brokerag:0,browser:[0,9,14,15],brutessh:[0,1,2,14,16],buf:0,bug:0,bugfix:0,bui:[0,1,8,14],build:[0,8],built:0,busi:[0,4,14],button:0,buystock:[0,1,2],calcul:[0,8],call:[0,1,6,7,9,11,13,14,16],callback:[0,14],can:[0,1,5,6,7,8,9,10,11,13,14,15,16],cancel:[0,8,14,15],cancelord:[1,2],cannot:[0,6,7,9,16],cap:0,capabl:[5,9],capac:0,capit:[0,8],cat:[0,1],caus:[0,6],cave:0,caveat:[9,10],cbscript:14,cellel:9,certain:[0,6,8,11,14],cha:14,chanc:[4,6,14,16],chang:[0,3,5,6,9,12,16],changelog:1,chao:4,charact:[5,14,15],characterist:0,charisma:14,cheaper:0,check:[0,1,4,6,10,14],checkfactioninvit:[0,1,2],chongq:[4,14],chonqg:4,choos:0,chooseact:4,chose:4,circuit:0,citi:[0,4,14,15],citynam:[4,14],classgymexpgain:3,classifi:0,classlist:9,clear:[0,1,2,9,11,15],clearanc:0,clearlog:[0,1,2],click:[0,6,16],cloak:[0,4],close:[0,9,11,15,16],cls:1,code:[0,6,8,9,10,11,12,13],codebas:0,collaps:0,collect:9,color:[0,9,16],com:0,combat:0,come:[9,16],command:[0,1,5,6,14,15],comment:[0,1,2,12],commiss:8,commit:[3,14],commitcrim:[0,1,2],common:0,commonli:16,commun:[4,8,11],compani:[0,8,14,15],companynam:14,companyworkexpgain:3,companyworkmonei:3,compar:0,compens:0,competit:0,complet:[0,4,6,9],comput:[0,6,9,14,16],concat:9,concept:0,condit:[0,1,2],config:0,configur:[0,1,15],confirm:[0,1],connect:[0,1],conquer:0,consid:0,consider:0,consist:0,consol:16,constantli:6,constrain:6,constructor:[0,9],consult:14,contain:[0,3,4,5,6,7,9,11,14],content:[0,1],continu:[0,14],contr:4,contract:[0,4,14],control:14,convers:0,convert:[4,6,9],copi:[0,6,16],core:[0,6,7,16],corecost:[6,7],corpor:0,corporatocraci:0,correct:[0,14],correspond:7,cosmet:16,cost:[0,6,7,8,14,16],could:[0,16],count:[0,4,6,16],cours:14,coursenam:14,courtesi:0,cplusplu:[],cpp_static_memb:[],cpu:[0,16],crash:[0,9],creat:[0,6,8,14,15,16],createel:9,createprogram:[1,2],credit:0,crime:[0,3,14],crimeexpgain:3,crimemonei:3,crimin:0,crush:14,ctor:9,ctrl:[0,15],current:[0,1,3,4,6,8,14,15,16],cursor:15,custom:0,cyberpunk:1,cybersec:0,cycl:[0,15],cyclesremain:4,cyclessinc:4,daedalu:0,dai:[],damag:0,danielyxi:0,dark:[0,1,14,16],darkweb:0,data:[1,2,6,11,14],datamanc:0,date:[0,1,2],deal:[0,11,14],dealt:0,decid:9,decim:[0,14],declar:[0,5,6,9,10,11,16],declin:0,decreas:[0,6],decrement:[0,12],deepscan:0,deepscanv1:[14,16],deepscanv2:[14,16],def:14,defens:[0,14],defin:[0,1,2,9,15,16],definit:11,delai:[0,6],delet:[0,6,9,15,16],deleteserv:[0,1,2],demand:0,denot:[0,6,11],depend:[0,6,9],depth:16,describ:6,descript:[0,16],design:0,desir:16,destin:[0,6],destroi:0,detail:[0,6,16],determin:[0,6],develop:[0,1,2,9],devoidfuri:0,dex:14,dexter:14,dialog:[0,6],did:0,didn:0,die:0,differ:[0,3,5,6,9,15],differenti:16,difficult:0,difficulti:0,digit:[0,16],diminish:0,directli:[0,9],disabl:[0,6],disablelog:[0,1,2,4],displai:[0,16],divid:0,divis:[0,12],dni:0,doc:0,document:[0,6,9,10,11,14,15,16],doe:[0,2,6,8,9,11,12,15,16],doesn:0,doing:[0,4,7,9,11,13],dom:9,don:[0,9,11,14],donat:0,done:[0,15],dont:0,doubl:[0,5,7,16],down:[9,15,16],download:[0,1],drag:0,drawback:0,drug:14,due:[0,4,6],durat:4,dure:0,dynam:[0,9,16],dystopian:1,each:[0,6,7,8,14,16],earli:[0,1],earn:[0,6,7,14],easier:0,easili:0,ecp:8,edg:0,edit:[0,9,15,16],editor:[0,1,16],effect:[0,6],effici:0,either:[5,6,16],element:[0,4,6,7,8,11,13,14],elif:0,els:[0,4,10,11,14],emac:15,embark:1,emploi:[14,15],employe:[0,14],empti:[0,4,6,11,16],emul:[15,16],enabl:[0,6,9,15,16],enable_bash_hotkei:15,enable_timestamp:0,enablelog:[0,1,2],encapsul:5,end:[0,6,7,11,14,15],endgam:0,endpoint:11,enemi:0,energi:0,engin:[0,9,14],enough:[0,6,8],enter:[0,15,16],entiti:0,entri:[0,9],environ:[4,9],equal:[0,12],equival:[5,6,7],error:[0,4,6,9],esc:15,especi:6,essenti:0,estat:0,estim:[0,4,16],etc:[0,5,6,9,13,14,16],evalu:[0,9,11],evas:4,even:[0,6,8,11,12],eventu:0,everi:[0,6,8,9,11,14,16],everyth:0,exact:4,exampl:[0,1,2,3,5,6,8,10,11,12,13,14,16],exce:8,exceed:6,except:[0,6,9,15,16],exchang:[0,1,2],exe:[0,6,14,16],exec:[0,1,2,9],execarg:9,execut:[0,6,8,9,11,16],exist:[0,6,7,10,16],exit:[0,1,2],exp:0,expand:16,expens:0,experi:[0,6,9,14],explain:11,explanatori:0,exploit:[0,9],exponenti:0,extens:[0,6,9,14,16],facil:0,facnam:14,fact:0,faction:[0,4,14,15],factionnam:14,factionpassiverepgain:3,factionworkexpgain:3,factionworkrepgain:3,factor:0,fail:[0,4,6,14,16],failur:6,fairli:14,fairlyn:14,fals:[0,4,5,6,7,8,11,12,14],far:14,faster:[0,9],favicon:0,favor:[1,14],fconf:[0,15,16],featur:[0,2,9],fee:8,feed:0,feedback:0,feel:[0,2],few:[0,16],ffffff:16,field:[0,4,14],field_analysis_dur:4,field_analysis_interv:4,fieldanalysi:4,fieldwork:14,file:[0,3,4,6,14,15,16],fileexist:[0,1,2],filenam:[0,6,9,11,16],fill:6,find:[0,4,6,9],findindex:11,fine:6,finish:[0,14],firefox:[1,2],firewal:0,first:[0,5,6,7,8,11,13,14,16],fisg:8,fit:14,fix:[0,6],fl1ght:0,flag:[0,16],flat:0,fledg:9,flesh:0,floor:11,fn1:11,fn2:11,folder:0,follow:[0,3,4,5,6,7,9,10,11,14,16],foo1:[6,11],foo2:[6,11],foo3:[6,11],foo4:11,foo:[0,6,9,11,16],foodnstuff:[0,6,9,10,11,16],forc:0,foreach:0,forgeri:[0,14],forgot:0,form:[3,6,7,16],format:0,formula:0,fortifi:0,forward:9,found:0,four:[7,8],fourth:[7,8],fraction:6,framework:0,free:[0,1,2],from:[0,6,8,9,11,13,14,16],ftpcrack:[1,2,14],fulcrum:0,full:[0,9,11,16],fulli:[0,5],fund:0,furthermor:[0,6,9],futur:[0,3,6,15],gain:[0,1,4,6,14],game:[0,1,3,4,6,8,9,11,13,14,16],gameplai:0,gang:0,garbag:9,gen:4,gene:0,gener:[0,4,6,9,12,13],get:[0,6,9,11,13,14,16],getactioncountremain:[1,2],getactionestimatedsuccessch:[1,2],getactiontim:[1,2],getaugment:0,getaugmentationcost:[1,2],getaugmentationsfromfact:[0,1,2],getbitnodemultipli:[0,1,2],getblackopnam:[1,2],getcharacterinform:[0,1,2],getcitychao:[1,2],getcityestimatedcommun:[1,2],getcityestimatedpopul:[1,2],getcompanyfavor:[0,1,2],getcompanyrep:[1,2],getcontractnam:[1,2],getcoreupgradecost:[0,7],getcrimech:[0,1,2],getelementbyid:9,getfactionfavor:[0,1,2],getfactionrep:[1,2],getgeneralactionnam:[1,2],getgrowtim:[0,1,2],gethackinglevel:[1,2],gethackingmultipli:[0,1,2],gethacknetmultipli:[0,1,2,7],gethacktim:[0,1,2],gethostnam:[0,1,2,9],getintellig:0,getip:0,getlevelupgradecost:[0,7],getnexthacknetnodecost:[0,1,2,7],getnumhacknetnod:0,getoperationnam:[1,2],getownedaugment:[1,2,4],getporthandl:[0,11],getpurchasedserv:[0,1,2],getramupgradecost:[0,7],getrank:[1,2],getscriptexpgain:[0,1,2],getscriptincom:[0,1,2],getscriptnam:[0,1,2],getscriptram:[0,1,2],getserv:0,getserverbasesecuritylevel:[0,1,2],getservergrowth:[0,1,2],getservermaxmonei:[0,1,2],getserverminsecuritylevel:[0,1,2],getservermoneyavail:[0,1,2,10],getservernumportsrequir:[0,1,2],getserverram:[0,1,2,11],getserverrequiredhackinglevel:[0,1,2],getserversecuritylevel:[0,1,2],getskilllevel:[1,2],getskillnam:[1,2],getskillpoint:[1,2],getstamina:[1,2],getstaminapercentag:4,getstat:[0,1,2],getstockposit:[1,2],getstockpric:[1,2],getteams:[1,2],gettimesincelastaug:[0,1,2],getupgradehomeramcost:[1,2],getweakentim:[0,1,2],ghost:0,github:[0,9],give:[0,3,6,14],given:[0,6,8,14,16],global:[0,6,9,16],global_object:0,globalvari:9,goe:0,going:[0,9],googl:16,governor:0,gradual:0,grand:14,grant:0,great:9,greater:[0,12],greatli:0,grep:[0,6,16],grow:[0,1,2,9,10],grown:[0,10],growth:[0,6],guarante:14,guid:0,gym:[0,14,15],gymnam:14,gymworkout:[0,1,2],hack:[0,1,2,9,10,14,15],hacker:1,hackexpgain:3,hackingcontract:14,hacknet:[0,1,2,6,15],hacknetnod:[0,1,2],hacknetnodemonei:3,had:0,half:0,halt:6,halv:[0,14],hand:[0,16],handbook:0,handl:[0,4,11],handler:4,happen:0,happi:9,harder:0,hardwar:0,has:[0,2,3,6,7,9,14,16],hasrootaccess:[0,1,2],hassimulacrum:4,have:[0,2,3,4,6,7,8,9,11,14,16],havoc_mayhem:0,header:[0,16],heist:14,helio:[0,6],hello:6,help:[0,1],her:0,here:[0,1,5,6,8,9,10,11,14,16],hex:[0,9,16],hidden:0,high:0,higher:[0,6],highlight:[0,16],his:0,histori:16,hoist:6,hold:5,home:[0,1,6,14,15],homicid:14,hope:1,hopefulli:0,hospit:0,hostnam:[0,1,6],hotkei:0,how:[0,1,2,5,6,7,10,11,16],howev:[0,6,10,11,16],htm:[],html:0,http:0,httpworm:[1,2,14,16],hydroflam:0,hyphen:5,idea:0,ident:2,identifi:[0,4,6,16],idl:4,ifconfig:1,immedi:[0,4,6,8,14,16],implement:[0,2,11,15],importantinfo:16,improv:[0,2,9],inc:0,includ:[0,4,5,6,9,14,15,16],incom:[0,6,7],incomplet:0,incorrect:0,incorrectli:0,increas:[0,4,6],increment:[0,1,12],incur:[0,11],index:[1,6,7],indexeddb:0,indexof:0,indic:[0,6,14,16],individu:[0,16],industri:0,inequ:12,infiltr:0,infin:4,infinit:9,info:0,inform:[0,1,2,6,14,16],initi:[0,5],innertext:9,inprogress:4,input:[0,9,14,15],insan:0,insert:0,insid:[6,7,11],instal:[0,6,8,14],installaugment:[0,1,2],instanc:[0,4,6,9],instead:[0,3,6,7,9,14],institut:14,instrins:6,instruct:0,integ:[3,5,6,7,8],intellig:[0,14],interact:[4,11],interest:0,interfac:[0,16],interpret:0,interv:0,intuit:[0,4],invalid:[0,4,6,14],invest:0,investor:0,invit:[0,14],involv:0,ips:0,iron:[0,14],isbusi:[0,1,2,4],ishima:14,isinteg:11,isn:0,isrun:[0,1,2],issu:[0,14,16],item:[0,11],iter:[7,10],its:[0,4,6,8,9,11,16],itself:7,jaguilar:9,javascript:[0,1,2,5,6,9,10],job:[0,9,14,15],jobtitl:14,joesgun:6,join:[0,4,5,14],joinbladeburnerfact:[1,2],joinfact:[1,2],jqueri:0,jshint:0,jump3r:[0,1],just:[0,6,9,11,16],karma:0,keep:0,kei:[0,4,15,16],kernel:0,keybind:0,keyboard:[0,1,16],keyword:[0,10],kidnap:14,kill:[0,1,2],killal:[0,1,2],know:[0,9,11],kopelli:0,label:5,languag:[0,2,5,6],larceni:14,larg:0,last:[0,6,9,11,15],late:0,later:[0,3,4,5,8,14],latest:0,lead:1,leadership:14,leak:9,least:[0,4,6,7],left:[0,16],length:[0,4,6,7,9,13],lenient:14,less:[0,12],let:[0,4,6,8,9,10,11,13,16],letter:[5,8],level:[0,4,6,7,14,16],levelcost:[6,7],librari:[0,11],life:16,lightli:0,like:[0,6,9,11,13,15],limit:[0,6,8,14],limitbui:8,limitsel:8,line:[0,9,11,15],linear:0,linearli:0,link:[0,6,16],list:[0,7,14,16],lit:[0,6,16],literatur:[0,6,16],littl:0,load:[0,9],local:6,localstorag:0,locat:[0,6,14],lock:0,log:[0,6,7,11,15,16],logic:[0,12],longer:0,look:[9,11,13],loop:[0,1,2,4,9],lore:0,lose:[0,11],lot:[0,9,14],low:[0,4],lower:[0,6],lscpu:[0,1],lskgn:4,ltcnugget:0,machin:[0,16],made:[0,8,16],mai:[0,6,9,16],main:[4,6,9],maintain:0,major:1,make:[0,6,9,13],manag:[0,14],mani:[0,2,5,14],manipul:9,manual:[0,4,14],manualhackmonei:3,map:7,mark:[0,9,16],market:[0,8],masterscript:16,match:[4,16],mateon1:0,materi:0,math:[0,1,2,4],matter:16,max:[0,4,7],maximum:[0,6,16],mayb:[0,11],mean:[0,1,2,3,5,6,7,9,11,14],meant:[0,4],mechan:[0,4,16],med:0,medic:0,mem:1,member:[0,1,2,4,5,9,14],memori:[0,6,9,16],mention:0,menu:[0,15,16],messag:[0,1,6,16],method:[0,1,2,5,9,11],mid:0,middl:14,might:0,migrat:0,mild:0,millenium:14,millisecond:[0,6],min:4,minigam:0,minimum:[0,6],minor:0,minut:[0,4,14],misc:[0,1],miscellan:[1,2],mission:[0,15],mode:[0,6,15],modifi:[0,13],modul:[0,1,2,9],modulo:12,monei:[0,1,3,6,7,8,10,14,16],monetari:0,moneygainratepersecond:7,more:[0,4,5,6,10,15,16],most:[0,5],mostli:0,move:15,mozilla:[0,1,2],mrnuggelz:0,msg:[6,16],much:[0,10,16],mug:14,mult:[3,6,7],multi:[0,11],multidimension:0,multilin:0,multipl:[0,6,9,12,16],multipli:[0,3,6,7,14],multithread:0,must:[0,4,5,6,7,8,9,11,14,15,16],mute:16,mysteri:1,name:[0,4,5,6,7,8,12,13,14,16],namespac:[4,11],nan:0,nano:[0,1,9,15],nativ:[0,6],natur:0,navig:[0,1,16],nearest:[6,7,8],necessari:[0,1,16],need:[0,4,6,9,11,16],neg:0,negat:[0,12],nerf:0,nest:0,net:8,netscript:[0,1],netscriptj:[0,1,2,4,6],netscriptport:11,netsction:0,network:[0,14,16],neuroflux:0,never:[0,9],newer:0,newli:6,newlin:0,next:[6,15],nitesec:0,node:[0,1,2,6,15,16],non:[0,16],none:[6,7],nonexist:4,normal:[0,11,13,14],noscript:0,notabl:[0,6],note:[0,1,2,4,6,7,11,14,15,16],notifi:0,now:[0,1,9,11,16],nuke:[0,1,2,16],num:16,number:[0,1,2,4,5,6,7,8,9,12,13,14,16],numer:[0,5,8,12],numthread:[0,6,11],object:[0,3,4,5,6,7,9,14],observ:0,obtain:6,obvious:14,occur:0,off:0,offic:0,offici:0,offlin:[0,6],old:0,omit:[6,16],onc:[0,16],one:[0,4,6,7,9,10,11,14],ones:0,onli:[0,3,4,6,7,8,9,11,12,14,15,16],onlin:[0,6],onlinetimesecond:7,onto:5,open:[0,6,9,11,14,15,16],oper:[0,1,2,4,11,13],operand:12,ops:4,optim:1,option:[0,4,6,9,14,15,16],order:[0,3,4,6,8,14,16],org:0,origin:[0,3],osx:0,other:[0,4,6,9,11,14,15],otherwis:[0,4,6,7,8,10,11,14,15,16],our:11,oustand:[0,8,14],out:[0,2,6,11,14],outdat:0,output:6,outsid:[0,6,14],outstand:0,over:[0,6,9],overclock:0,overrid:[4,15],overwrit:[0,6],own:[0,1,2,8,9,16],page:[0,1,3,4,6,9,11,14,15,16],palyer:4,param:[4,9],paramet:[0,6,16],pars:[0,11],parser:0,part:[0,4,14,16],particular:14,pass:[0,4,6,9,11,13,14,16],passiv:0,past:0,path:16,pattern:[0,16],peek:[0,1,2,11],peopl:9,per:0,percentag:[0,4,6,7],perform:[0,14],perman:16,persist:0,pheromon:0,pick:0,picker:16,pill:0,place:8,placeord:[1,2],plai:1,plan:13,player:[0,1,4,6,7,8,13,14,16],pleas:[0,9],plenti:9,plot:0,point:[0,4,9],pointer:0,pop:[0,4,5,11],popular:0,popup:0,port:[0,1,2,6,16],portfolio:0,pos:8,posit:[0,5,7,8,14],possibl:[0,9,13],post:9,pound:16,power:[0,1,6,9],powerhous:14,pre:[0,9,12],preced:16,prefac:9,prefix:0,prerequisit:0,preset:[15,16],press:0,prestig:0,prevent:13,preventdefault:0,previou:[0,15],previous:0,price:[0,8],primarili:9,primit:5,print:[0,1,2,3,4,7,9,11,14,16],privat:0,problem:0,process:[0,4,6],prod:0,produc:[0,12],product:[0,6,7],profit:[0,8],program:[0,2,6,14,15,16],programat:0,programnam:14,progress:0,promis:0,promot:[0,14],prompt:[0,1,2,9],proper:0,properli:0,properti:[0,14],protocol:8,prototyp:[0,4,9],provid:[0,4,7,8],pserv:6,puchas:0,purchas:[0,1,2,6,8,14,16],purchaseaugment:[1,2],purchasecost:[6,7],purchasedserver1:9,purchasehacknetnod:[0,1,2,7],purchaseprogram:[1,2],purchaseserv:[0,1,2],purchasetor:[1,2],purpos:[5,6],push:0,put:[3,12],qualifi:0,qualiti:0,queri:0,quest:1,queue:[0,6,11],quickli:[0,6],quit:0,quot:5,quotat:16,rais:[0,6],ram:[0,6,7,11,14,16],ramcost:[6,7],ramus:6,ran:[0,6,9,11,16],random:0,randomarg:9,rank:[0,4],rate:[0,6],rather:[0,9,16],reach:[0,2,16],read:[0,1,2,5,7,11],readthedoc:0,real:[0,16],realli:0,reason:[0,6],rebalanc:1,receiv:[0,3,14],recommend:[9,14],record:0,recruit:4,recurs:0,red:[0,9],reddit:0,reduc:[0,9],refactor:0,refer:[0,5,10],referenc:[0,5],reflect:8,refresh:[0,9],regain:0,regard:0,regardless:[0,6],reject:0,rel:[0,16],relat:[6,7,11,16],relaysmtp:[1,2,14],releas:[0,9],relev:[0,3],reload:[0,9,11],remain:[0,4],rememb:[6,8,9,16],remot:16,remov:[0,6,11,16],rep:0,repeat:[0,4],repeatedli:[0,9],replac:[0,16],report:[0,9],repres:[0,3,5,6,8,11,16],reput:[0,14],request:2,requir:[0,3,4,6,11,12,14,16],res:[4,6,11,14],research:0,reset:[0,6,8,14],resolv:6,respect:[0,16],respons:9,rest:[0,5],restart:[0,14],result:[0,6,9,12],retain:[0,8],reusabl:16,revers:0,revert:6,reward:0,right:[0,11],risk:9,rob:14,robot:0,role:1,room:11,root:[6,16],rothman:[6,14],round:[0,4,6,7,8],router:[0,14,16],rowel:9,rpg:1,rule:9,run:[0,1,2,3,9,10,11,12,13,14],runarg:9,runtim:[0,4,6],safe:9,sai:[6,13],sake:11,salari:0,sale:[0,8],same:[0,6,9,10,11,14,15,16],satisfi:0,save:[0,9,11,15],scale:0,scan:[0,1,2],schedul:[9,14],scheme:16,scienc:14,scientif:0,scope:[6,9],scp:[0,1,2,9],screen:[0,15,16],screw:0,script:[0,1,2,6,7,8,9,11,14,16],scripthackmonei:3,scriptjob:9,scriptkil:[0,1,2],scriptnam:[0,6],scriptrun:[0,1,2],scriptschedul:9,scroll:0,search:[1,6],second:[0,4,5,6,7,8,13,14,16],secondari:0,secret:[0,1],section:[2,6],sector:14,secur:[0,6,14],securitywork:14,see:[0,4,6,7,9,10,16],select:[0,6],self:0,sell:[0,8],sellshort:[0,1,2],sellstock:[0,1,2],semicolon:0,sensit:[0,4,6,8,14,16],sent:0,separ:[3,6,16],sequenc:[5,8],sequenti:9,serial:[0,6,11],seriou:9,server:[0,6,10,16],serverexist:[0,1,2],servergrowthr:3,servermaxmonei:3,serverprofil:[0,14],serverstartingmonei:3,serverstartingsecur:3,serverweakenr:3,set:[0,4,6,9,14,15,16],setteams:[1,2],sever:[0,4,11],share:[0,8,9],sharesshort:8,she:1,shell:15,shield:0,shift:0,shoplift:14,shortcut:[0,1,16],shorthand:0,shortstock:[0,1,2],should:[0,6,10,14,16],show:[0,5,6,9,10,16],shown:[6,16],side:16,sigma:16,sign:16,signatur:[0,6,9],signific:[0,6],significantli:[0,9],similar:[0,6],simlacrum:4,simpl:[9,10,11],simplest:6,simpli:[2,5],simplic:11,simulacrum:[0,4],sinc:[0,6,9,11],singl:[0,5,6,12,16],singular:[0,1,2],situat:9,size:[0,4],skill:[0,4,6],skillnam:4,sleep:[0,1,2,4,7,9,11,14],slice:11,slight:0,slightli:0,slow:9,slower:0,slowli:0,small:[0,9,14],smaller:0,smart:0,smoother:0,snap:14,soft:0,softwar:[0,14],solar:16,sold:8,some:[0,4,6,9,10,11,12,14],some_valu:6,someth:[1,4],sometim:0,someval1:11,someval2:11,soon:0,sorri:0,sort:[0,4,6,11],sourc:[0,3,4,6,14],space:[0,15,16],spaceglac:0,spam:0,spawn:[0,1,2],special:[0,5,7,13,14],specif:[0,6,11],specifi:[0,4,6,7,8,11,13,14,16],speed:[0,6],splice:[0,5],spoiler:[0,3,4,14],sprintf:[0,1,2],sqlinject:[1,2,14],stack:0,stage:[0,1],stai:6,stamina:[0,4],staminaperc:4,start:[0,4,5,6,9,11,14,16],startact:[1,2],starter:0,startfieldanalysi:4,stat:[0,14,15],state:[0,4],statement:[0,10],statist:[0,8,16],steal:[0,6],still:[0,6,9,16],stock:[0,8],stolen:[0,6],stop:[0,4,6,8,14,16],stopact:[0,1,2],stopbladeburneract:[1,2],stopbui:8,stopsel:8,storag:0,store:[5,14],str:14,strategi:8,street:0,strength:14,strict:12,string:[0,4,5,6,8,14,16],structur:[3,6,7,11],strucur:14,studi:[0,14],stuff:4,stupid:0,style:[0,9],subject:3,subreddit:0,subset:2,substitut:16,substr:6,subtract:12,success:[0,4,6,8,14],successch:4,successess:0,successfulli:[0,4,6,7,8,11,14,16],sudov:1,suggest:2,sum:[0,6],summari:9,summit:14,suppli:0,support:[0,5,7,8,9,11,16],suppos:11,suppress:0,sure:0,suspend:6,suspicion:1,switchciti:[1,2],sym:8,symbol:8,syntax:[0,2,6,11],synthoid:4,system:[1,4,8],tab:[0,9,15,16],tail:[0,1],take:[0,1,4,6,14,15,16],target:[0,6,9,16],task:0,team:4,techniqu:6,technolgi:0,technolog:[0,14],tell:0,templat:6,ten:10,term:[0,14],termin:[0,1,6,9,14],terminalinput:9,territori:0,test2:[],test:[0,6,9],testlib:11,testlibrari:11,text:[0,5,6,9,16],than:[0,6,9,10,12,16],thank:0,theft:14,thei:[0,2,3,6,9,15,16],them:[0,6,11,14],theme:[0,1],themselv:0,thepalindrom:0,therefor:[0,9],theres:0,thi:[0,1,2,3,4,5,6,7,8,9,11,12,13,14,15,16],thing:16,think:0,third:[0,6,8],those:[6,7,9],though:[0,6,11],thought:[5,9],thread:[0,6,9,13,14,16],three:[5,6,9,11,15,16],through:[0,4,6,7,9,11,14,15,16],throughout:0,thrown:9,tier:0,time:[0,6,7,9,10,11,14,16],timework:14,tini:2,tip:0,tix:[0,1,2],todo:16,tokyo:14,tolocalestr:0,tolowercas:5,too:0,tooltip:0,top:[0,1,9],tor:[0,14,16],tostr:0,total:[0,6,7,16],totalmoneygener:7,totalram:6,toward:0,tprint:[0,1,2,4,9,11],tprintcolor:9,tracer:0,track:[0,4],trade:[0,1,2],traffick:14,train:[0,4,14,15],transact:[0,8],transfer:0,travel:[0,14,15],traveltoc:[1,2],travers:10,treat:0,trend:0,tri:[6,7,16],trigger:0,troubl:0,trywrit:[0,11],tutori:[0,15],tutorialspoint:[],tweak:0,two:[0,4,6,8,9,11,12,13,14],txt:[0,6,9,16],type:[0,1,2,6,8,9,14,16],typic:6,typo:0,unabl:9,unalia:[0,1],unalias_terminal_command:[],unari:[1,2],uncov:1,undefin:0,underli:[0,6,11],underscor:5,undo:16,undon:16,uni:6,uniqu:[0,6,9,16],univeristi:14,univers:[0,14,15],universitycours:[1,2],universitynam:14,unknown:1,unless:[0,15],unlik:9,unlock:[0,4,8,14],unrecogn:0,until:[0,4,6,7,14],untyp:5,updat:[0,14],upgrad:[0,4,7,14],upgradecor:7,upgradehacknetnod:0,upgradehomeram:[1,2],upgradelevel:7,upgraderam:7,upgradeskil:[1,2],upon:0,url:[0,9],usag:[0,4,6,11,16],use:[0,1,2,4,6,8,10,11,14,16],useabl:0,used:[0,2,4,5,6,7,8,11,14,15,16],useful:0,user:[0,9,16],uses:[0,9,10],using:[0,4,6,7,8,9,10,11,13,14,16],usual:14,utc:[0,11],util:[0,1,2],valid:[0,4,6,11,14,16],valu:[0,3,4,5,6,7,8,9,11,12,14,16],valuat:0,vari:6,variabl:[0,1,2,6,9,10,12,16],varieti:0,variou:[0,14,15],vechain:0,vehicl:0,veri:[0,9],version:9,via:0,viabl:0,view:0,vim:[0,15],visibl:9,visit:[0,8,14],volatil:0,volhaven:14,vsprintf:[0,1,2],w0r1d_d43m0n:0,waer:0,wage:0,wai:[0,6,7,11,14,16],wait:[0,11],waiter:14,wall:0,want:[0,7,9,11,13,14,16],warehous:0,warn:[0,1,2,4,12,13,14,16],wasn:0,water:0,weaken:[0,1,2,9],weapon:0,web:[0,9,14,16],webpack:0,week:[],well:[0,5,9,15,16],were:[0,6,14,15,16],wese:8,what:[0,6,7,9,14,16],whatev:14,when:[0,1,2,4,6,9,10,11,14,16],whenev:0,where:[0,1,6,9,11,15],whether:[0,6,8,14,16],which:[0,5,6,7,8,11,14,16],whitespac:[0,6],who:[0,9],whose:16,wiki:0,wikia:0,wilson:0,win:0,window:[0,15],within:9,without:[0,4,6,9,11,16],won:0,word:[0,6,15,16],work:[0,6,8,9,11,12,14,15,16],workagiexpgain:14,workchaexpgain:14,workdefexpgain:14,workdexexpgain:14,workforcompani:[1,2],workforfact:[1,2],workhackexpgain:14,workmoneygain:14,workrepgain:14,workstrexpgain:14,worktyp:14,world:[0,1,2,6,8],worm:16,would:[0,3,12,13,14,16],wouldnt:0,wraithan:0,wrap:0,write:[0,1,2,7,8,9,11],written:[2,6,11],wrong:1,wrote:11,wse:[0,8],www:[],x10:0,yet:[0,6,14],you:[0,1,2,3,4,5,6,7,8,9,10,11,12,14,15,16],your:[0,1,2,4,7,8,9,14,15,16],yourself:[0,7],zero:[0,6],zeu:0,zeud:0,zip:[0,16]},titles:["Changelog","Welcome to Bitburner's documentation!","Netscript Documentation","Netscript Advanced Functions","Netscript Bladeburner API","Netscript Data Types and Variables","Netscript Basic Functions","Netscript Hacknet Node API","Netscript Trade Information eXchange (TIX) API","NetscriptJS (Netscript 2.0)","Netscript Loops and Conditionals","Netscript Miscellaneous","Netscript Operators","Netscript Script Arguments","Netscript Singularity Functions","Keyboard Shortcuts","Terminal"],titleterms:{"final":9,"function":[3,6,11,14],"import":11,action:4,advanc:3,alia:16,analyz:16,api:[4,7,8],applytocompani:14,argument:13,bash:15,basic:6,binari:12,bitburn:1,bladeburn:4,brutessh:6,bui:16,buystock:8,cancelord:8,cat:16,changelog:0,check:16,checkfactioninvit:14,clear:[6,16],clearlog:6,cls:16,command:16,comment:11,commitcrim:14,condit:10,configur:16,connect:16,createprogram:14,data:5,date:11,defin:6,deleteserv:6,disablelog:6,document:[1,2],dom:[],download:16,editor:15,enablelog:6,exampl:[4,7,9],exchang:8,exec:6,exit:6,favor:0,fileexist:6,firefox:9,free:16,ftpcrack:6,game:15,getactioncountremain:4,getactionestimatedsuccessch:4,getactiontim:4,getaugmentationcost:14,getaugmentationsfromfact:14,getbitnodemultipli:3,getblackopnam:4,getcharacterinform:14,getcitychao:4,getcityestimatedcommun:4,getcityestimatedpopul:4,getcompanyfavor:14,getcompanyrep:14,getcontractnam:4,getcrimech:14,getfactionfavor:14,getfactionrep:14,getgeneralactionnam:4,getgrowtim:6,gethackinglevel:6,gethackingmultipli:6,gethacknetmultipli:6,gethacktim:6,gethostnam:6,getnexthacknetnodecost:6,getoperationnam:4,getownedaugment:14,getpurchasedserv:6,getrank:4,getscriptexpgain:6,getscriptincom:6,getscriptnam:6,getscriptram:6,getserverbasesecuritylevel:6,getservergrowth:6,getservermaxmonei:6,getserverminsecuritylevel:6,getservermoneyavail:6,getservernumportsrequir:6,getserverram:6,getserverrequiredhackinglevel:6,getserversecuritylevel:6,getskilllevel:4,getskillnam:4,getskillpoint:4,getstamina:4,getstat:14,getstockposit:8,getstockpric:8,getteams:4,gettimesincelastaug:6,getupgradehomeramcost:14,getweakentim:6,grow:6,gymworkout:14,hack:[6,16],hacknet:7,hacknetnod:7,handl:[],hasrootaccess:6,help:16,home:16,hostnam:16,how:9,httpworm:6,ifconfig:16,indic:1,inform:8,installaugment:14,isbusi:14,isrun:6,javascript:11,joinbladeburnerfact:4,joinfact:14,keyboard:15,kill:[6,16],killal:[6,16],loop:10,lscpu:16,major:0,manipul:[],math:11,mem:16,member:7,method:7,misc:15,miscellan:11,modul:11,mozilla:9,nano:16,navig:15,netscript:[2,3,4,5,6,7,8,9,10,11,12,13,14],netscriptj:9,node:7,note:9,nuke:6,number:11,oper:12,optim:0,own:6,peek:6,placeord:8,port:11,print:6,prompt:6,purchas:7,purchaseaugment:14,purchasehacknetnod:6,purchaseprogram:14,purchaseserv:6,purchasetor:14,read:6,rebalanc:0,relaysmtp:6,round:[],run:[6,16],scan:[6,16],scp:[6,16],script:[13,15],scriptkil:6,scriptrun:6,sellshort:8,sellstock:8,serverexist:6,setteams:4,shortcut:15,shortstock:8,singular:14,sleep:6,spawn:6,sprintf:6,sqlinject:6,startact:4,stopact:14,stopbladeburneract:4,sudov:16,switchciti:4,system:0,tabl:1,tail:16,termin:[15,16],theme:16,tix:8,top:16,tprint:6,trade:8,traveltoc:14,type:[4,5],unalia:16,unari:12,universitycours:14,upgradehomeram:14,upgradeskil:4,usag:[],use:9,util:7,variabl:[5,7],vsprintf:6,warn:9,weaken:6,welcom:1,what:1,workforcompani:14,workforfact:14,write:6,your:6}})
\ No newline at end of file
diff --git a/doc/source/netscript.rst b/doc/source/netscript.rst
index f2fca1857..934e7f6c6 100644
--- a/doc/source/netscript.rst
+++ b/doc/source/netscript.rst
@@ -24,4 +24,5 @@ to reach out to the developer!
Hacknet Node API
Trade Information eXchange (TIX) API
Singularity Functions
+ Bladeburner API
Miscellaneous
diff --git a/doc/source/netscriptbladeburnerapi.rst b/doc/source/netscriptbladeburnerapi.rst
new file mode 100644
index 000000000..dd535f5cc
--- /dev/null
+++ b/doc/source/netscriptbladeburnerapi.rst
@@ -0,0 +1,446 @@
+Netscript Bladeburner API
+=========================
+
+Netscript provides the following API for interacting with the game's Bladeburner mechanic.
+
+The Bladeburner API is **not** immediately available to the palyer and must be unlocked
+later in the game
+
+**WARNING: This page contains spoilers for the game**
+
+The Bladeburner API is unlocked in BitNode-7. If you are in BitNode-7, you will
+automatically gain access to this API. Otherwise, you must have Source-File 7 in
+order to use this API in other BitNodes
+
+**Bladeburner API functions must be accessed through the bladeburner namespace**
+
+In Netscript 1.0::
+
+ bladeburner.getContractNames();
+ bladeburner.startAction("general", "Training");
+
+In :ref:`netscriptjs`::
+
+ ns.bladeburner.getContractNames();
+ ns.bladeburner.startAction("general", "Training");
+
+.. _bladeburner_action_types:
+
+Bladeburner Action Types
+------------------------
+
+Several functions in the Bladeburner API require you to specify an action using
+its type and name. The following are valid values when specifying the action's type:
+
+**Contracts**
+ * contract
+ * contracts
+ * contr
+
+**Operations**
+ * operation
+ * operations
+ * op
+ * ops
+
+**Black Ops**
+ * blackoperation
+ * black operation
+ * black operations
+ * black op
+ * black ops
+ * blackop
+ * blackops
+
+**General Actions (Training, Field Analysis, Recruitment)**
+ * general
+ * general action
+ * gen
+
+getContractNames
+----------------
+
+.. js:function:: getContractNames()
+
+ Returns an array of strings containing the names of all Bladeburner contracts
+
+getOperationNames
+-----------------
+
+.. js:function:: getOperationNames()
+
+ Returns an array of strings containing the names of all Bladeburner operations
+
+getBlackOpNames
+---------------
+
+.. js:function:: getBlackOpNames()
+
+ Returns an array of strings containing the names of all Bladeburner Black Ops
+
+getGeneralActionNames
+---------------------
+
+.. js:function:: getGeneralActionNames()
+
+ Returns an array of strings containing the names of all general Bladeburner actions
+
+getSkillNames
+-------------
+
+.. js:function:: getSkillNames()
+
+ Returns an array of strings containing the names of all Bladeburner skills
+
+startAction
+-----------
+
+.. js:function:: startAction(type, name)
+
+ :param string type: Type of action. See :ref:`bladeburner_action_types`
+ :param string name: Name of action. Must be an exact match
+
+ Attempts to start the specified Bladeburner action. Returns true if the action
+ was started successfully, and false otherwise.
+
+stopBladeburnerAction
+---------------------
+
+.. js:function:: stopBladeburnerAction()
+
+ Stops the current Bladeburner action
+
+getActionTime
+-------------
+
+.. js:function:: getActionTime(type, name)
+
+ :param string type: Type of action. See :ref:`bladeburner_action_types`
+ :param string name: Name of action. Must be an exact match
+
+ Returns the number of seconds it takes to complete the specified action
+
+getActionEstimatedSuccessChance
+-------------------------------
+
+.. js:function:: getActionEstimatedSuccessChance(type, name)
+
+ :param string type: Type of action. See :ref:`bladeburner_action_types`
+ :param string name: Name of action. Must be an exact match
+
+ Returns the estimated success chance for the specified action
+
+getActionCountRemaining
+-----------------------
+
+.. js:function:: getActionCountRemaining(type, name)
+
+ :param string type: Type of action. See :ref:`bladeburner_action_types`
+ :param string name: Name of action. Must be an exact match
+
+ Returns the remaining count of the specified action.
+
+ Note that this is meant to be used for Contracts and Operations.
+ This function will return 'Infinity' for actions such as Training and Field Analysis.
+
+getRank
+-------
+
+.. js:function:: getRank()
+
+ Returns the player's Bladeburner Rank
+
+getSkillPoints
+--------------
+
+.. js:function:: getSkillPoints()
+
+ Returns the number of Bladeburner skill points you have
+
+getSkillLevel
+-------------
+
+.. js:function:: getSkillLevel(skillName="")
+
+ :param string skillName: Optional name of Skill. Empty string by default
+
+ If no argument or an empty string is passed in, this function returns
+ an object with your level for all Bladeburner Skills (only for skills that
+ have at least one level). In the object, the name of the Bladeburner Skills
+ are the keys and your skill levels are the values. For example::
+
+ {
+ "Blade's Intuition": 10,
+ "Cloak": 5,
+ "Evasive System": 6
+ }
+
+ If the name of a skill is passed in as an argument, then this function
+ returns your level in the specified skill.
+
+ The function returns -1 if an invalid skill name is passed in
+
+upgradeSkill
+------------
+
+.. js:function:: upgradeSkill(skillName)
+
+ :param string skillName: Name of Skill to be upgraded. Must be an exact match
+
+ Attempts to upgrade the specified Bladeburner skill. Returns true if the
+ skill is successfully upgraded, and false otherwise
+
+getTeamSize
+-----------
+
+.. js:function:: getTeamSize(type, name)
+
+ :param string type: Type of action. See :ref:`bladeburner_action_types`
+ :param string name: Name of action. Must be an exact match
+
+ Returns the number of Bladeburner team members you have assigned to the
+ specified action.
+
+ Setting a team is only applicable for Operations and BlackOps. This function
+ will return 0 for other action types.
+
+setTeamSize
+-----------
+
+.. js:function:: setTeamSize(type, name, size)
+
+ :param string type: Type of action. See :ref:`bladeburner_action_types`
+ :param string name: Name of action. Must be an exact match
+ :param int size: Number of team members to set. Will be converted using Math.round()
+
+ Set the team size for the specified Bladeburner action.
+
+ Returns the team size that was set, or -1 if the function failed.
+
+getCityEstimatedPopulation
+--------------------------
+
+.. js:function:: getCityEstimatedPopulation(cityName)
+
+ :param string cityName: Name of city. Case-sensitive
+
+ Returns the estimated number of Synthoids in the specified city, or -1
+ if an invalid city was specified.
+
+getCityEstimatedCommunities
+---------------------------
+
+.. js:function:: getCityEstimatedCommunities(cityName)
+
+ :param string cityName: Name of city. Case-sensitive
+
+ Returns the estimated number of Synthoid communities in the specified city,
+ or -1 if an invalid city was specified.
+
+getCityChaos
+------------
+
+.. js:function:: getCityChaos(cityName)
+
+ :param string cityName: Name of city. Case-sensitive
+
+ Returns the chaos in the specified city, or -1 if an invalid city was specified
+
+switchCity
+----------
+
+.. js:function:: switchCity(cityName)
+
+ :param string cityName: Name of city
+
+ Attempts to switch to the specified city (for Bladeburner only).
+
+ Returns true if successful, and false otherwise
+
+getStamina
+----------
+
+.. js:function:: getStamina()
+
+ Returns an array with two elements:
+
+ [Current stamina, Max stamina]
+
+ Example usage::
+
+ function getStaminaPercentage() {
+ let res = bladeburner.getStamina();
+ return res[0] / res[1];
+ }
+
+joinBladeburnerFaction
+----------------------
+
+.. js:function:: joinBladeburnerFaction()
+
+ Attempts to join the Bladeburner faction.
+
+ Returns true if you successfully join the Bladeburner faction, or if
+ you are already a member.
+
+ Returns false otherwise.
+
+Examples
+--------
+
+**Basic example usage**::
+
+ tprint(bladeburner.getContractNames());
+ tprint(bladeburner.getOperationNames());
+ tprint(bladeburner.getBlackOpNames());
+ tprint(bladeburner.getGeneralActionNames());
+ tprint(bladeburner.getSkillNames());
+ tprint(bladeburner.getActionTime("contract", "Tracking"));
+ tprint("Rank: " + bladeburner.getRank());
+ tprint("Skill Points: " + bladeburner.getSkillPoints());
+ tprint("Cloak Skill Level: " + bladeburner.getSkillLevel("Cloak"));
+ tprint("Trying to upgradeSkill: " + bladeburner.upgradeSkill("Cloak"));
+ tprint("Skill Points remaining: " + bladeburner.getSkillPoints());
+
+ tprint("Trying to switch to a nonexistent city: " + bladeburner.switchCity("lskgns"));
+
+ var chongqing = "Chongqing";
+ tprint("Trying to switch to Chongqing: " + bladeburner.switchCity(chongqing));
+ tprint("Chongqing chaos: " + bladeburner.getCityChaos(chongqing));
+ tprint("Chongqing estimated pop: " + bladeburner.getCityEstimatedPopulation(chongqing));
+ tprint("Chonqging estimated communities: " + bladeburner.getCityEstimatedCommunities(chongqing));
+
+**Bladeburner handler example**. Note that this avoids the need of using the *bladeburner* namespace
+identifier by attaching the Bladeburner API functions to an object::
+
+ const FIELD_ANALYSIS_INTERVAL = 10; //Number of minutes between field analysis states
+ const FIELD_ANALYSIS_DURATION = 5; //Duration in minutes
+
+ function BladeburnerHandler(ns, params) {
+ //Netscript environment becomes part of the instance
+ this.ns = ns;
+
+ //Netscript bladeburner API becomes part of this instance
+ for (var bladeburnerFn in ns.bladeburner) {
+ this[bladeburnerFn] = ns.bladeburner[bladeburnerFn];
+ }
+
+ this.fieldAnalysis = {
+ inProgress: params.startFieldAnalysis ? true : false,
+ cyclesRemaining: FIELD_ANALYSIS_DURATION,
+ cyclesSince: FIELD_ANALYSIS_INTERVAL
+ }
+ }
+
+ BladeburnerHandler.prototype.getStaminaPercentage = function() {
+ var res = this.getStamina();
+ return 100 * (res[0] / res[1]);
+ }
+
+ BladeburnerHandler.prototype.hasSimulacrum = function() {
+ var augs = this.ns.getOwnedAugmentations();
+ return augs.includes("The Blade's Simulacrum");
+ }
+
+ BladeburnerHandler.prototype.handle = function() {
+ //If we're doing something else manually (without Simlacrum),
+ //it overrides Bladeburner stuff
+ if (!this.hasSimulacrum() && this.ns.isBusy()) {
+ this.ns.print("Idling bc player is busy with some other action");
+ return;
+ }
+
+ if (this.fieldAnalysis.inProgress) {
+ --(this.fieldAnalysis.cyclesRemaining);
+ if (this.fieldAnalysis.cyclesRemaining < 0) {
+ this.fieldAnalysis.inProgress = false;
+ this.fieldAnalysis.cyclesSince = 0;
+ return this.handle();
+ } else {
+ this.startAction("general", "Field Analysis");
+ this.ns.print("handler is doing field analyis for " +
+ (this.fieldAnalysis.cyclesRemaining+1) + " more mins");
+ return;
+ }
+ } else {
+ ++(this.fieldAnalysis.cyclesSince);
+ if (this.fieldAnalysis.cyclesSince > FIELD_ANALYSIS_INTERVAL) {
+ this.fieldAnalysis.inProgress = true;
+ this.fieldAnalysis.cyclesRemaining = FIELD_ANALYSIS_DURATION;
+ return this.handle();
+ }
+ }
+
+ this.stopBladeburnerAction();
+
+ var staminaPerc = this.getStaminaPercentage();
+ if (staminaPerc < 55) {
+ this.ns.print("handler is starting training due to low stamina percentage");
+ this.startAction("general", "Training");
+ } else {
+ var action = this.chooseAction();
+ this.ns.print("handler chose " + action.name + " " + action.type + " through chooseAction()");
+ this.startAction(action.type, action.name);
+ }
+ }
+
+ BladeburnerHandler.prototype.chooseAction = function() {
+ //Array of all Operations
+ var ops = this.getOperationNames();
+
+ //Sort Operations in order of increasing success chance
+ ops.sort((a, b)=>{
+ return this.getActionEstimatedSuccessChance("operation", a) -
+ this.getActionEstimatedSuccessChance("operation", b);
+ });
+
+ //Loop through until you find one with 99+% success chance
+ for (let i = 0; i < ops.length; ++i) {
+ let successChance = this.getActionEstimatedSuccessChance("operation", ops[i]);
+ let count = this.getActionCountRemaining("operation", ops[i]);
+ if (successChance >= 0.99 && count > 10) {
+ return {type: "operation", name: ops[i]};
+ }
+ }
+
+ //Repeat for Contracts
+ var contracts = this.getContractNames();
+ contracts.sort((a, b)=>{
+ return this.getActionEstimatedSuccessChance("contract", a) -
+ this.getActionEstimatedSuccessChance("contract", b);
+ });
+
+ for (let i = 0; i < contracts.length; ++i) {
+ let successChance = this.getActionEstimatedSuccessChance("contract", contracts[i]);
+ let count = this.getActionCountRemaining("contract", contracts[i]);
+ if (successChance >= 0.80 && count > 10) {
+ return {type: "contract", name: contracts[i]};
+ }
+ }
+
+ return {type:"general", name:"Training"};
+ }
+
+
+ BladeburnerHandler.prototype.process = async function() {
+ this.handle();
+ await this.ns.sleep(60000);
+ }
+
+ export async function main(ns) {
+ ns.disableLog("sleep");
+ //Check if Bladeburner is available. This'll throw a runtime error if it's not
+ ns.bladeburner.getContractNames();
+
+ var startFieldAnalysis = true;
+ if (ns.args.length >= 1 && ns.args[0] == "false") {
+ startFieldAnalysis = false;
+ }
+
+ var handler = new BladeburnerHandler(ns, {
+ startFieldAnalysis: startFieldAnalysis
+ });
+ while(true) {
+ await handler.process();
+ }
+ }
diff --git a/doc/source/netscriptfunctions.rst b/doc/source/netscriptfunctions.rst
index a161bf114..d9d803b91 100644
--- a/doc/source/netscriptfunctions.rst
+++ b/doc/source/netscriptfunctions.rst
@@ -942,7 +942,11 @@ prompt
Defining your own Functions
---------------------------
-You can define your own functions in Netscript using the following syntax::
+Note that the following information is only applicable for Netscript 1.0.
+:doc:`netscriptjs` allows you to define your functions using native Javascript
+techniques.
+
+You can define your own functions in Netscript 1.0 using the following syntax::
function name(args...) {
function code here...
diff --git a/src/BitNode.js b/src/BitNode.js
index 80be78a22..8b2c60bf0 100644
--- a/src/BitNode.js
+++ b/src/BitNode.js
@@ -132,7 +132,7 @@ function initBitNodes() {
"Corporations have 80% lower valuations and are therefore less profitable
" +
"Working for companies is 50% less profitable
" +
"Crimes and Infiltration are 50% less profitable
" +
- "Destroying this BitNode will give you Source-File 6, or if you already have this Source-File it will upgrade " +
+ "Destroying this BitNode will give you Source-File 7, or if you already have this Source-File it will upgrade " +
"its level up to a maximum of 3. This Source-File allows you to access the Bladeburner Netscript API in other " +
"BitNodes. In addition, this Source-File will increase all of your Bladeburner multipliers by:
" +
"Level 1: 8%
" +
diff --git a/src/Bladeburner.js b/src/Bladeburner.js
index ae4bcbf4e..5451c3410 100644
--- a/src/Bladeburner.js
+++ b/src/Bladeburner.js
@@ -3208,6 +3208,7 @@ Bladeburner.prototype.getActionIdFromTypeAndName = function(type="", name="") {
switch (convertedType) {
case "contract":
case "contracts":
+ case "contr":
action.type = ActionTypes["Contract"];
if (this.contracts.hasOwnProperty(name)) {
action.name = name;
@@ -3268,23 +3269,23 @@ Bladeburner.prototype.getActionIdFromTypeAndName = function(type="", name="") {
}
}
-Bladeburner.prototype.getContractNamesNetscriptFn = function(name) {
+Bladeburner.prototype.getContractNamesNetscriptFn = function() {
return Object.keys(this.contracts);
}
-Bladeburner.prototype.getOperationNamesNetscriptFn = function(name) {
+Bladeburner.prototype.getOperationNamesNetscriptFn = function() {
return Object.keys(this.operations);
}
-Bladeburner.prototype.getBlackOpNamesNetscriptFn = function(name) {
+Bladeburner.prototype.getBlackOpNamesNetscriptFn = function() {
return Object.keys(BlackOperations);
}
-Bladeburner.prototype.getGeneralActionNamesNetscriptFn = function(name) {
+Bladeburner.prototype.getGeneralActionNamesNetscriptFn = function() {
return Object.keys(GeneralActions);
}
-Bladeburner.prototype.getSkillNamesNetscriptFn = function(name) {
+Bladeburner.prototype.getSkillNamesNetscriptFn = function() {
return Object.keys(Skills);
}
@@ -3509,8 +3510,8 @@ Bladeburner.prototype.setTeamSizeNetscriptFn = function(type, name, size, worker
return -1;
}
- if (actionId.type !== ActionTypes["Operation"] ||
- actionId.type !== ActionTypes["BlackOp"] ||
+ if (actionId.type !== ActionTypes["Operation"] &&
+ actionId.type !== ActionTypes["BlackOp"] &&
actionId.type !== ActionTypes["BlackOperation"]) {
workerScript.log("ERROR: Bladeburner.setTeamSize() failed. This function " +
"only works for Operations and BlackOps");
diff --git a/src/NetscriptFunctions.js b/src/NetscriptFunctions.js
index 285077099..3ff7d41fe 100644
--- a/src/NetscriptFunctions.js
+++ b/src/NetscriptFunctions.js
@@ -3215,57 +3215,57 @@ function NetscriptFunctions(workerScript) {
//Bladeburner API
bladeburner : {
- getContractNames : function(name) {
+ getContractNames : function() {
if (workerScript.checkingRam) {
return updateStaticRam("getContractNames", CONSTANTS.ScriptBladeburnerApiBaseRamCost / 10);
}
updateDynamicRam("getContractNames", CONSTANTS.ScriptBladeburnerApiBaseRamCost / 10);
if (Player.bladeburner instanceof Bladeburner && (Player.bitNodeN === 7 || hasBladeburner2079SF)) {
- return Player.bladeburner.getContractNamesNetscriptFn(name);
+ return Player.bladeburner.getContractNamesNetscriptFn();
}
throw makeRuntimeRejectMsg(workerScript, "getContractNames() failed because you do not currently have access to the Bladeburner API. This is either because you are not currently employed " +
"at the Bladeburner division or because you do not have Source-File 7");
},
- getOperationNames : function(name) {
+ getOperationNames : function() {
if (workerScript.checkingRam) {
return updateStaticRam("getOperationNames", CONSTANTS.ScriptBladeburnerApiBaseRamCost / 10);
}
updateDynamicRam("getOperationNames", CONSTANTS.ScriptBladeburnerApiBaseRamCost / 10);
if (Player.bladeburner instanceof Bladeburner && (Player.bitNodeN === 7 || hasBladeburner2079SF)) {
- return Player.bladeburner.getOperationNamesNetscriptFn(name);
+ return Player.bladeburner.getOperationNamesNetscriptFn();
}
throw makeRuntimeRejectMsg(workerScript, "getOperationNames() failed because you do not currently have access to the Bladeburner API. This is either because you are not currently employed " +
"at the Bladeburner division or because you do not have Source-File 7");
},
- getBlackOpNames : function(name) {
+ getBlackOpNames : function() {
if (workerScript.checkingRam) {
return updateStaticRam("getBlackOpNames", CONSTANTS.ScriptBladeburnerApiBaseRamCost / 10);
}
updateDynamicRam("getBlackOpNames", CONSTANTS.ScriptBladeburnerApiBaseRamCost / 10);
if (Player.bladeburner instanceof Bladeburner && (Player.bitNodeN === 7 || hasBladeburner2079SF)) {
- return Player.bladeburner.getBlackOpNamesNetscriptFn(name);
+ return Player.bladeburner.getBlackOpNamesNetscriptFn();
}
throw makeRuntimeRejectMsg(workerScript, "getBlackOpNames() failed because you do not currently have access to the Bladeburner API. This is either because you are not currently employed " +
"at the Bladeburner division or because you do not have Source-File 7");
},
- getGeneralActionNames : function(name) {
+ getGeneralActionNames : function() {
if (workerScript.checkingRam) {
return updateStaticRam("getGeneralActionNames", CONSTANTS.ScriptBladeburnerApiBaseRamCost / 10);
}
updateDynamicRam("getGeneralActionNames", CONSTANTS.ScriptBladeburnerApiBaseRamCost / 10);
if (Player.bladeburner instanceof Bladeburner && (Player.bitNodeN === 7 || hasBladeburner2079SF)) {
- return Player.bladeburner.getGeneralActionNamesNetscriptFn(name);
+ return Player.bladeburner.getGeneralActionNamesNetscriptFn();
}
throw makeRuntimeRejectMsg(workerScript, "getGeneralActionNames() failed because you do not currently have access to the Bladeburner API. This is either because you are not currently employed " +
"at the Bladeburner division or because you do not have Source-File 7");
},
- getSkillNames : function(name) {
+ getSkillNames : function() {
if (workerScript.checkingRam) {
return updateStaticRam("getSkillNames", CONSTANTS.ScriptBladeburnerApiBaseRamCost / 10);
}
updateDynamicRam("getSkillNames", CONSTANTS.ScriptBladeburnerApiBaseRamCost / 10);
if (Player.bladeburner instanceof Bladeburner && (Player.bitNodeN === 7 || hasBladeburner2079SF)) {
- return Player.bladeburner.getSkillNamesNetscriptFn(name);
+ return Player.bladeburner.getSkillNamesNetscriptFn();
}
throw makeRuntimeRejectMsg(workerScript, "getSkillNames() failed because you do not currently have access to the Bladeburner API. This is either because you are not currently employed " +
"at the Bladeburner division or because you do not have Source-File 7");