mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-20 16:22:56 +02:00
Began implementing Singularity functions
This commit is contained in:
@@ -1,3 +1,10 @@
|
||||
function initSingularitySFFlags() {
|
||||
//TODO
|
||||
}
|
||||
|
||||
var hasSingularitySF = false;
|
||||
var singularitySFLvl = 1;
|
||||
|
||||
function NetscriptFunctions(workerScript) {
|
||||
return {
|
||||
hacknetnodes : Player.hacknetNodes,
|
||||
@@ -864,7 +871,39 @@ function NetscriptFunctions(workerScript) {
|
||||
throw makeRuntimeRejectMsg(workerScript, "getWeakenTime() failed. Invalid IP or hostname passed in: " + ip);
|
||||
}
|
||||
return scriptCalculateWeakenTime(server) / 1000; //Returns seconds
|
||||
}
|
||||
},
|
||||
|
||||
/* Singularity Functions */
|
||||
universityCourse(universityName, courseName) {
|
||||
if (Player.isWorking) {
|
||||
var txt = Player.singularityStopWork();
|
||||
workerScript.scriptRef.log(txt);
|
||||
}
|
||||
},
|
||||
//gymWorkout(gymName, stat);
|
||||
|
||||
//travelToCity(cityname);
|
||||
|
||||
//purchaseTor();
|
||||
|
||||
//homeComp.upgradeRam();
|
||||
//homeComp.getUpgradeRamCost();
|
||||
|
||||
//workForCompany();
|
||||
//applyToCompany(companyName, field);
|
||||
//getCompanyRep(companyName);
|
||||
|
||||
//checkFactionInvitations();
|
||||
//joinFaction(name);
|
||||
//workForFaction(facName, type);
|
||||
//getFactionRep(name);
|
||||
|
||||
//createProgram();
|
||||
|
||||
//getAugmentationCost(name);
|
||||
//purchaseAugmentation(faction, name);
|
||||
//installAugmentations();
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user