mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-22 01:03:01 +02:00
Updated documentation
This commit is contained in:
Vendored
+6
-5
@@ -3106,7 +3106,7 @@ let CONSTANTS = {
|
||||
|
||||
//Infiltration constants
|
||||
InfiltrationBribeBaseAmount: 100e3, //Amount per clearance level
|
||||
InfiltrationMoneyValue: 3e3, //Convert "secret" value to money
|
||||
InfiltrationMoneyValue: 5e3, //Convert "secret" value to money
|
||||
InfiltrationRepValue: 1.4, //Convert "secret" value to faction reputation
|
||||
|
||||
//Stock market constants
|
||||
@@ -3502,9 +3502,10 @@ let CONSTANTS = {
|
||||
"* Bug Fix: Crime Success rates were being calculated incorrectly (by Github user hydroflame)<br>" +
|
||||
"* When an Infiltration is finished, you will now return back to the company's page, rather than the city<br>" +
|
||||
"* Infiltration faction reputation selector now remembers your last choice<br>" +
|
||||
"* Significantly increased the amount of money gained from Infiltration<br>" +
|
||||
"* Bug Fix: Copying a NetscriptJS script to another server using scp now properly takes into account " +
|
||||
"the script's changes.<br>" +
|
||||
"* Bug Fix: Fixed an issue where game would not load in Edge due to incompatible features<br>" +
|
||||
"* Bug Fix: Fixed an issue where game would not load in Edge due to incompatible features<br>" +
|
||||
"* travelToCity() Singularity function no longer grants Intelligence exp"
|
||||
|
||||
|
||||
@@ -9766,7 +9767,7 @@ function processSingleServerGrowth(server, numCycles) {
|
||||
if (server.moneyMax && server.moneyAvailable > server.moneyMax) {
|
||||
server.moneyAvailable = server.moneyMax;
|
||||
}
|
||||
|
||||
|
||||
// if there was any growth at all, increase security
|
||||
if(oldMoneyAvailable !== server.moneyAvailable) {
|
||||
//Growing increases server security twice as much as hacking
|
||||
@@ -15776,7 +15777,7 @@ function addWorkerScript(runningScriptObj, server) {
|
||||
} else {
|
||||
runningScriptObj.threads = 1;
|
||||
}
|
||||
var ramUsage = runningScriptObj.scriptRef.ramUsage * threads;
|
||||
var ramUsage = Object(_utils_HelperFunctions__WEBPACK_IMPORTED_MODULE_11__["roundToTwo"])(runningScriptObj.scriptRef.ramUsage * threads);
|
||||
var ramAvailable = server.maxRam - server.ramUsed;
|
||||
if (ramUsage > ramAvailable) {
|
||||
Object(_utils_DialogBox__WEBPACK_IMPORTED_MODULE_10__["dialogBoxCreate"])("Not enough RAM to run script " + runningScriptObj.filename + " with args " +
|
||||
@@ -15785,7 +15786,7 @@ function addWorkerScript(runningScriptObj, server) {
|
||||
"your changes to the script.)");
|
||||
return;
|
||||
}
|
||||
server.ramUsed += ramUsage;
|
||||
server.ramUsed = Object(_utils_HelperFunctions__WEBPACK_IMPORTED_MODULE_11__["roundToTwo"])(server.ramUsed + ramUsage);
|
||||
|
||||
//Create the WorkerScript
|
||||
var s = new WorkerScript(runningScriptObj);
|
||||
|
||||
Reference in New Issue
Block a user