Search.setIndex({docnames:["index","netscript","netscriptadvancedfunctions","netscriptdatatypes","netscriptfunctions","netscripthacknetnodeapi","netscriptixapi","netscriptloopsandconditionals","netscriptoperators","netscriptscriptarguments","netscriptsingularityfunctions"],envversion:53,filenames:["index.rst","netscript.rst","netscriptadvancedfunctions.rst","netscriptdatatypes.rst","netscriptfunctions.rst","netscripthacknetnodeapi.rst","netscriptixapi.rst","netscriptloopsandconditionals.rst","netscriptoperators.rst","netscriptscriptarguments.rst","netscriptsingularityfunctions.rst"],objects:{"":{applyToCompany:[10,0,1,""],buyStock:[6,0,1,""],cancelOrder:[6,0,1,""],checkFactionInvitations:[10,0,1,""],createProgram:[10,0,1,""],deleteServer:[4,0,1,""],fileExists:[4,0,1,""],getAugmentationCost:[10,0,1,""],getAugmentationsFromFaction:[10,0,1,""],getBitNodeMultipliers:[2,0,1,""],getCompanyRep:[10,0,1,""],getCrimeChance:[10,0,1,""],getFactionRep:[10,0,1,""],getGrowTime:[4,0,1,""],getHackTime:[4,0,1,""],getHackingLevel:[4,0,1,""],getHackingMultipliers:[4,0,1,""],getHostname:[4,0,1,""],getNextHacknetNodeCost:[4,0,1,""],getOwnedAugmentations:[10,0,1,""],getPurchasedServers:[4,0,1,""],getScriptExpGain:[4,0,1,""],getScriptIncome:[4,0,1,""],getScriptRam:[4,0,1,""],getServerBaseSecurityLevel:[4,0,1,""],getServerGrowth:[4,0,1,""],getServerMaxMoney:[4,0,1,""],getServerMinSecurityLevel:[4,0,1,""],getServerMoneyAvailable:[4,0,1,""],getServerNumPortsRequired:[4,0,1,""],getServerRam:[4,0,1,""],getServerRequiredHackingLevel:[4,0,1,""],getServerSecurityLevel:[4,0,1,""],getStats:[10,0,1,""],getStockPosition:[6,0,1,""],getStockPrice:[6,0,1,""],getTimeSinceLastAug:[4,0,1,""],getUpgradeHomeRamCost:[10,0,1,""],getWeakenTime:[4,0,1,""],gymWorkout:[10,0,1,""],hasRootAccess:[4,0,1,""],installAugmentations:[10,0,1,""],isBusy:[10,0,1,""],isRunning:[4,0,1,""],joinFaction:[10,0,1,""],placeOrder:[6,0,1,""],purchaseAugmentation:[10,0,1,""],purchaseHacknetNode:[4,0,1,""],purchaseProgram:[10,0,1,""],purchaseServer:[4,0,1,""],purchaseTor:[10,0,1,""],scriptKill:[4,0,1,""],scriptRunning:[4,0,1,""],sellShort:[6,0,1,""],sellStock:[6,0,1,""],serverExists:[4,0,1,""],shortStock:[6,0,1,""],stopAction:[10,0,1,""],travelToCity:[10,0,1,""],universityCourse:[10,0,1,""],upgradeHomeRam:[10,0,1,""],workForCompany:[10,0,1,""],workForFaction:[10,0,1,""]},"hacknetnodes[i]":{"getLevelUpgradeCost(n);":[5,0,1,""],"upgradeLevel(n);":[5,0,1,""],cores:[5,0,1,""],getCoreUpgradeCost:[5,0,1,""],getRamUpgradeCost:[5,0,1,""],level:[5,0,1,""],moneyGainRatePerSecond:[5,0,1,""],onlineTimeSeconds:[5,0,1,""],ram:[5,0,1,""],totalMoneyGenerated:[5,0,1,""],upgradeCore:[5,0,1,""],upgradeRam:[5,0,1,""]}},objnames:{"0":["js","function","JavaScript function"]},objtypes:{"0":"js:function"},terms:{"8gb":5,"boolean":[3,4,10],"break":9,"case":[4,6,10],"class":10,"default":[4,10],"float":3,"function":[0,1,3,5,6,7],"long":6,"new":[4,5,10],"null":4,"return":[2,4,5,6,8,10],"short":6,"true":[3,4,5,6,8,10],"try":[4,9,10],"var":7,"while":[4,5,7,10],AND:8,Adding:3,For:[2,3,4,5,7,8,9],IPs:4,NOT:[4,6,8,10],Not:10,One:10,The:[0,2,3,4,5,6,7,9,10],Their:3,Then:5,These:[2,4,5,10],Use:4,Will:[4,6],Yes:4,abil:6,abl:10,about:[3,4],abov:[3,4,8],accept:10,access:[3,4,5,6,9,10],action:[4,10],activ:4,actual:[4,6,10],add:5,added:4,addit:[4,5,8,10],address:4,advanc:[0,1],aevum:10,affect:4,afford:4,after:[3,4,6,10],agenc:10,agent:10,agi:10,agil:10,aid:0,aka:10,algorithm:[6,10],all:[3,4,5,6,10],allow:[6,10],almost:1,alphabet:4,alphanumer:3,alreadi:[4,10],also:[3,4,6,9,10],alwai:4,amount:[4,5,6,9,10],ani:[0,1,3,4,10],anoth:[4,9],anyth:4,anywher:4,api:[0,1],appear:4,append:4,appli:[4,10],applytocompani:[0,1],arg:[4,9],argument:[0,1,4,5,6,10],around:[0,10],arrai:[3,4,5,6,9,10],aspect:10,assign:[5,8],attack:4,attempt:6,augment:[4,6,10],augmentationmoneycost:2,augmentationrepcost:2,augnam:10,autolink:10,autom:[5,6],automat:[4,6,10],avail:[3,4,6,7,10],averag:6,avgpx:6,avgpxshort:6,base:[4,8],basic:[0,1],becaus:[2,4],becom:2,been:0,being:4,below:4,best:9,beta:0,between:[2,4],billion:6,binari:[0,1],bitburn:1,bitnod:[2,10],both:4,box:4,brutessh:[0,1,10],bui:[6,10],build:6,busi:10,buystock:[0,1],calcul:6,call:[0,4,5,9,10],callback:10,can:[0,3,4,5,6,7,9,10],cancel:[6,10],cancelord:[0,1],cannot:[4,5],capabl:3,capit:6,caus:4,caveat:7,cbscript:10,certain:[4,6],chanc:[4,10],chang:[2,3,4,8],charact:3,charisma:10,check:[4,7,10],checkfactioninvit:[0,1],chongq:10,citi:10,citynam:10,classgymexpgain:2,clear:[0,1],click:4,code:[4,6,7,8,9],command:[3,4,10],comment:8,commiss:6,commit:[2,10],commitcrim:[0,1],commun:6,compani:[6,10],companynam:10,companyworkexpgain:2,companyworkmonei:2,complet:4,comput:[4,10],condit:[0,1],confirm:0,constantli:4,constrain:4,consult:10,contain:[2,3,4,10],content:0,continu:10,contract:10,control:10,convert:4,copi:4,core:5,correct:10,correspond:5,cost:[4,5,6,10],count:4,cours:10,coursenam:10,creat:[4,6,10],createprogram:[0,1],crime:[2,10],crimeexpgain:2,crimemonei:2,crush:10,current:[0,2,4,6,10],cyberpunk:0,dark:[0,10],data:[0,1,4,10],decim:10,declar:[3,4,7],decreas:4,decrement:8,deepscanv1:10,deepscanv2:10,def:10,defens:10,defin:[0,1],delai:4,delet:4,deleteserv:[0,1],denot:4,depend:4,describ:4,destin:4,detail:4,determin:4,develop:[0,1],dex:10,dexter:10,dialog:4,differ:[2,3,4],divis:8,document:[4,7,10],doe:[1,4,6,8],doing:[5,9],don:10,doubl:[3,5],due:4,dystopian:0,each:[5,6,10],earli:0,earn:[4,5,10],ecp:6,either:[3,4],element:[4,5,6,9,10],els:[7,10],embark:0,emploi:10,employe:10,empti:4,encapsul:3,end:[4,5,10],engin:10,enough:[4,6],equal:8,equival:[3,4],error:4,etc:[3,4,9,10],even:[4,6,8],everi:[6,10],exampl:[0,1,2,3,4,6,7,8,9,10],exce:6,exceed:4,except:4,exchang:[0,1],exe:[4,10],exec:[0,1],execut:[4,6],exist:[4,5,7],exit:[0,1],experi:[4,10],extens:10,facnam:10,faction:10,factionnam:10,factionpassiverepgain:2,factionworkexpgain:2,factionworkrepgain:2,fail:[4,10],fairlyn:10,fals:[3,4,5,6,8,10],featur:1,fee:6,feel:1,field:10,fieldwork:10,file:[2,4,10],fileexist:[0,1],filenam:4,fill:4,find:4,fine:4,finish:10,first:[3,4,5,6,9,10],fisg:6,fit:10,fix:4,follow:[2,3,4,5,7,10],foo1:4,foo2:4,foo3:4,foo:4,foodnstuff:[4,7],form:[2,4],four:[5,6],fourth:[5,6],free:1,from:[4,6,9,10],ftpcrack:[0,1,10],fulli:3,futur:[2,4],gain:[0,4,10],game:[0,2,4,6,9,10],gener:[4,8,9],get:[4,9,10],getaugmentationcost:[0,1],getaugmentationsfromfact:[0,1],getbitnodemultipli:[0,1],getcompanyrep:[0,1],getcoreupgradecost:5,getcrimech:[0,1],getfactionrep:[0,1],getgrowtim:[0,1],gethackinglevel:[0,1],gethackingmultipli:[0,1],gethacktim:[0,1],gethostnam:[0,1],getlevelupgradecost:5,getnexthacknetnodecost:[0,1],getownedaugment:[0,1],getpurchasedserv:[0,1],getramupgradecost:5,getscriptexpgain:[0,1],getscriptincom:[0,1],getscriptram:[0,1],getserverbasesecuritylevel:[0,1],getservergrowth:[0,1],getservermaxmonei:[0,1],getserverminsecuritylevel:[0,1],getservermoneyavail:[0,1,7],getservernumportsrequir:[0,1],getserverram:[0,1],getserverrequiredhackinglevel:[0,1],getserversecuritylevel:[0,1],getstat:[0,1],getstockposit:[0,1],getstockpric:[0,1],gettimesincelastaug:[0,1],getupgradehomeramcost:[0,1],getweakentim:[0,1],give:[2,4,10],given:[6,10],global:4,greater:8,grow:[0,1,7],grown:7,growth:4,gym:10,gymnam:10,gymworkout:[0,1],hack:[0,1,7,10],hacker:0,hackexpgain:2,hackingcontract:10,hacknet:[0,1,4],hacknetnod:[0,1],hacknetnodemonei:2,halt:4,has:[1,2,4,5,10],hasrootaccess:[0,1],have:[1,2,4,5,6,10],helio:4,here:[0,3,4,6,7,10],higher:4,hold:3,home:[4,10],hope:0,hostnam:4,how:[3,4,7],howev:[4,7],httpworm:[0,1,10],hyphen:3,ident:1,identifi:4,immedi:[4,6,10],implement:1,improv:1,includ:[3,4,10],incom:[4,5],increas:4,increment:[0,8],index:[0,4,5],indic:[4,10],inequ:8,inform:[0,1,4],initi:3,input:10,insid:[4,5],instal:[4,6,10],installaugment:[0,1],instanc:4,instead:[2,4],institut:10,instrins:4,integ:[2,3,4,5,6],intellig:10,invalid:[4,10],invit:10,iron:10,isbusi:[0,1],ishima:10,isrun:[0,1],issu:10,iter:[5,7],its:[4,6],itself:5,javascript:[1,3,4,7],job:10,joesgun:4,join:[3,10],joinfact:[0,1],jump3r:0,just:4,keyword:7,kill:[0,1],killal:[0,1],label:3,languag:[1,3],last:4,later:[2,3,6,10],lead:0,leadership:10,least:[4,5],length:[4,5,9],lenient:10,less:8,let:[6,7,9],letter:[3,6],level:[4,5,10],like:[4,9],limit:[4,6],limitbui:6,limitsel:6,link:4,list:[5,10],lit:4,literatur:4,local:4,locat:[4,10],log:[4,5],logic:8,look:9,loop:[0,1],lot:10,lower:4,made:6,make:[4,9],manag:10,mani:[1,3,10],manual:10,manualhackmonei:2,map:5,market:6,max:5,maximum:4,mean:[0,1,2,3,4,5,10],member:[0,1,3,10],memori:4,messag:0,method:[0,1,3],middl:10,millenium:10,millisecond:4,minimum:4,minut:10,mode:4,modifi:9,modul:0,modulo:8,monei:[0,2,4,5,6,7,10],moneygainratepersecond:5,more:[3,4,7],most:3,much:7,mult:[2,4],multipl:[4,8],multipli:[2,4,10],must:[3,4,5,6,10],mysteri:0,name:[3,4,5,6,8,9,10],nearest:[4,5,6],necessari:0,need:4,negat:8,net:6,netscript:0,network:10,newli:4,next:4,node:[0,1,4],none:[4,5],normal:[9,10],note:[4,5,10],now:0,nuke:[0,1],number:[3,4,5,6,8,9],numer:[3,6,8],numthread:4,object:[2,3,4,5,10],obtain:4,obvious:10,offlin:4,omit:4,one:[4,5,7,10],onli:[2,4,5,6,8,10],onlin:4,onlinetimesecond:5,onto:3,open:[4,10],oper:[0,1,9],operand:8,option:[4,10],order:[2,4,6,10],origin:2,other:[4,10],otherwis:[4,5,6,7,10],oustand:[6,10],out:[1,4,10],output:4,outsid:[4,10],over:4,overwrit:4,own:[0,1,6],page:[0,2,4,10],paramet:4,part:10,particular:10,pass:[4,9,10],percentag:4,perform:10,place:6,placeord:[0,1],plai:0,plan:9,player:[0,4,5,6,9,10],pop:3,port:4,pos:6,posit:[3,5,6,10],possibl:9,power:[0,4],powerhous:10,pre:8,prevent:9,price:6,primit:3,print:[0,1,2,5,10],process:4,produc:8,profit:6,program:[1,4,10],programnam:10,promot:10,prompt:[0,1],properti:10,protocol:6,provid:[5,6],pserv:4,purchas:[4,5,6,10],purchaseaugment:[0,1],purchasehacknetnod:[0,1,5],purchaseprogram:[0,1],purchaseserv:[0,1],purchasetor:[0,1],purpos:[3,4],put:[2,8],quest:0,queue:4,quickli:4,quot:3,rais:4,ram:[4,5,10],ramus:4,ran:4,rate:4,reach:1,read:[0,1,3,5],receiv:[2,10],refer:[3,7],referenc:3,reflect:6,regardless:4,relat:4,relaysmtp:[0,1,10],relev:2,rememb:[4,6],remov:4,repres:[2,3,4,6],reput:10,request:1,requir:[2,4,8,10],res:[4,10],reset:[4,6,10],resolv:4,rest:3,restart:10,result:[4,8],retain:6,role:0,root:4,rothman:[4,10],round:[0,1,5,6],router:10,rpg:0,run:[0,1,2,7,8,9,10],runtim:4,sai:9,sale:6,same:[4,7,10],scan:[0,1],scienc:10,scope:4,scp:[0,1],script:[0,1,4,5,6,10],scripthackmonei:2,scriptkil:[0,1],scriptnam:4,scriptrun:[0,1],search:[0,4],second:[3,4,5,6,9,10],secret:0,section:[1,4],sector:10,secur:[4,10],securitywork:10,see:[4,5,7],select:4,sell:6,sellshort:[0,1],sellstock:[0,1],sensit:[4,6,10],separ:[2,4],sequenc:[3,6],serial:4,server:[4,7],serverexist:[0,1],servergrowthr:2,servermaxmonei:2,serverprofil:10,serverstartingmonei:2,serverstartingsecur:2,serverweakenr:2,set:[4,10],share:6,sharesshort:6,she:0,shortstock:[0,1],should:[4,7,10],show:[3,4,7],signatur:4,signific:4,similar:4,simpl:7,simplest:4,simpli:[1,3],sinc:4,singl:[3,4,8],singular:[0,1],skill:4,sleep:[0,1,5,10],small:10,snap:10,softwar:10,sold:6,some:[4,7,8,10],some_valu:4,someth:0,sort:4,sourc:[2,4,10],spawn:[0,1],special:[3,5,9,10],specif:4,specifi:[4,5,6,9,10],speed:4,splice:3,spoiler:[2,10],sprintf:[0,1],sqlinject:[0,1,10],stage:0,stai:4,start:[3,4,10],stat:10,statement:7,statist:6,steal:4,still:4,stock:6,stolen:4,stop:[6,10],stopact:[0,1],stopbui:6,stopsel:6,store:3,str:10,strategi:6,strength:10,strict:8,string:[3,4,6,10],structur:[2,4],strucur:10,studi:10,subject:2,subset:1,subtract:8,success:[4,6,10],successfulli:[4,5,6,10],suggest:1,sum:4,summit:10,support:[3,5,6],suspend:4,suspicion:0,sym:6,symbol:6,syntax:[1,4],system:6,take:[0,4,10],target:4,technolog:10,templat:4,ten:7,term:10,termin:[4,10],test:4,text:[3,4],than:[4,7,8],thei:[1,2,4],them:10,theme:0,thi:[0,1,2,3,4,5,6,8,9,10],third:[4,6],those:[4,5],though:4,thought:3,thread:[4,9,10],three:[3,4],through:[4,5,10],time:[4,5,7,10],tini:1,tix:[0,1],tokyo:10,tolowercas:3,tor:10,total:[4,5],totalmoneygener:5,totalram:4,tprint:[0,1],trade:[0,1],train:10,transact:6,travel:10,traveltoc:[0,1],travers:7,tri:[4,5],two:[4,6,8,9,10],txt:4,type:[0,1,4,6,10],typic:4,unari:[0,1],uncov:0,underli:4,underscor:3,uni:4,uniqu:4,univeristi:10,univers:10,universitycours:[0,1],universitynam:10,unknown:0,unlock:[6,10],until:[4,5,10],untyp:3,updat:10,upgrad:[5,10],upgradecor:5,upgradehomeram:[0,1],upgradelevel:5,upgraderam:5,usag:4,use:[4,6,7,10],used:[1,3,4,5,6,10],uses:7,using:[4,5,6,7,9,10],usual:10,valid:4,valu:[2,3,4,5,6,8,10],vari:4,variabl:[0,1,4,7,8],visit:[6,10],volhaven:10,vsprintf:[0,1],wai:[4,5,10],waiter:10,want:[5,9,10],warn:[8,9,10],weaken:[0,1],web:10,well:3,were:[4,10],wese:6,what:[4,5,10],whatev:10,when:[0,1,4,7,10],where:[0,4],whether:[4,6,10],which:[3,4,5,6,10],whitespac:4,without:4,work:[4,6,8,10],workforcompani:[0,1],workforfact:[0,1],worktyp:10,world:[0,1,6],would:[2,8,9,10],write:[0,1,5,6],written:[1,4],wrong:0,wse:6,yet:[4,10],you:[0,1,2,3,4,5,6,7,8,10],your:[0,1,5,6,10],yourself:5},titles:["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","Netscript Loops and Conditionals","Netscript Operators","Netscript Script Arguments","Netscript Singularity Functions"],titleterms:{"function":[2,4,10],advanc:2,api:[5,6],applytocompani:10,argument:9,basic:4,binari:8,bitburn:0,brutessh:4,buystock:6,cancelord:6,checkfactioninvit:10,clear:4,commitcrim:10,condit:7,createprogram:10,data:3,defin:4,deleteserv:4,document:[0,1],exampl:5,exchang:6,exec:4,exit:4,fileexist:4,ftpcrack:4,getaugmentationcost:10,getaugmentationsfromfact:10,getbitnodemultipli:2,getcompanyrep:10,getcrimech:10,getfactionrep:10,getgrowtim:4,gethackinglevel:4,gethackingmultipli:4,gethacktim:4,gethostnam:4,getnexthacknetnodecost:4,getownedaugment:10,getpurchasedserv:4,getscriptexpgain:4,getscriptincom:4,getscriptram:4,getserverbasesecuritylevel:4,getservergrowth:4,getservermaxmonei:4,getserverminsecuritylevel:4,getservermoneyavail:4,getservernumportsrequir:4,getserverram:4,getserverrequiredhackinglevel:4,getserversecuritylevel:4,getstat:10,getstockposit:6,getstockpric:6,gettimesincelastaug:4,getupgradehomeramcost:10,getweakentim:4,grow:4,gymworkout:10,hack:4,hacknet:5,hacknetnod:5,hasrootaccess:4,httpworm:4,indic:0,inform:6,installaugment:10,isbusi:10,isrun:4,joinfact:10,kill:4,killal:4,loop:7,member:5,method:5,netscript:[1,2,3,4,5,6,7,8,9,10],node:5,nuke:4,oper:8,own:4,placeord:6,print:4,prompt:4,purchaseaugment:10,purchasehacknetnod:4,purchaseprogram:10,purchaseserv:4,purchasetor:10,read:4,relaysmtp:4,round:4,run:4,scan:4,scp:4,script:9,scriptkil:4,scriptrun:4,sellshort:6,sellstock:6,serverexist:4,shortstock:6,singular:10,sleep:4,spawn:4,sprintf:4,sqlinject:4,stopact:10,tabl:0,tix:6,tprint:4,trade:6,traveltoc:10,type:3,unari:8,universitycours:10,upgradehomeram:10,variabl:[3,5],vsprintf:4,weaken:4,welcom:0,what:0,workforcompani:10,workforfact:10,write:4,your:4}})