mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-18 05:33:54 +01:00
Merge remote-tracking branch 'danielyxie/dev' into dev
This commit is contained in:
commit
7ee964a66c
126
dist/engine.bundle.js
vendored
126
dist/engine.bundle.js
vendored
@ -197,6 +197,7 @@ function PlayerObject() {
|
|||||||
this.currentServer = ""; //IP address of Server currently being accessed through terminal
|
this.currentServer = ""; //IP address of Server currently being accessed through terminal
|
||||||
this.purchasedServers = []; //IP Addresses of purchased servers
|
this.purchasedServers = []; //IP Addresses of purchased servers
|
||||||
this.hacknetNodes = [];
|
this.hacknetNodes = [];
|
||||||
|
this.hacknetNodeWrappers = [];
|
||||||
this.totalHacknetNodeProduction = 0;
|
this.totalHacknetNodeProduction = 0;
|
||||||
|
|
||||||
//Factions
|
//Factions
|
||||||
@ -488,16 +489,8 @@ PlayerObject.prototype.prestigeSourceFile = function() {
|
|||||||
if (this.bitNodeN === 3) {this.money = new decimal_js__WEBPACK_IMPORTED_MODULE_15__["default"](150e9);}
|
if (this.bitNodeN === 3) {this.money = new decimal_js__WEBPACK_IMPORTED_MODULE_15__["default"](150e9);}
|
||||||
this.corporation = 0;
|
this.corporation = 0;
|
||||||
|
|
||||||
//Reset Bladeburner
|
|
||||||
this.bladeburner = 0;
|
this.bladeburner = 0;
|
||||||
|
|
||||||
//BitNode 8: Ghost of Wall Street
|
|
||||||
if (this.bitNodeN === 8) {this.money = new decimal_js__WEBPACK_IMPORTED_MODULE_15__["default"](100000000);}
|
|
||||||
if (this.bitNodeN === 8 || _NetscriptFunctions_js__WEBPACK_IMPORTED_MODULE_11__["hasWallStreetSF"]) {
|
|
||||||
this.hasWseAccount = true;
|
|
||||||
this.hasTixApiAccess = true;
|
|
||||||
}
|
|
||||||
|
|
||||||
this.playtimeSinceLastAug = 0;
|
this.playtimeSinceLastAug = 0;
|
||||||
this.scriptProdSinceLastAug = 0;
|
this.scriptProdSinceLastAug = 0;
|
||||||
}
|
}
|
||||||
@ -2956,7 +2949,7 @@ function generateRandomString(n) {
|
|||||||
__webpack_require__.r(__webpack_exports__);
|
__webpack_require__.r(__webpack_exports__);
|
||||||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "CONSTANTS", function() { return CONSTANTS; });
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "CONSTANTS", function() { return CONSTANTS; });
|
||||||
let CONSTANTS = {
|
let CONSTANTS = {
|
||||||
Version: "0.37.1",
|
Version: "0.37.2",
|
||||||
|
|
||||||
//Max level for any skill, assuming no multipliers. Determined by max numerical value in javascript for experience
|
//Max level for any skill, assuming no multipliers. Determined by max numerical value in javascript for experience
|
||||||
//and the skill level formula in Player.js. Note that all this means it that when experience hits MAX_INT, then
|
//and the skill level formula in Player.js. Note that all this means it that when experience hits MAX_INT, then
|
||||||
@ -3441,16 +3434,13 @@ let CONSTANTS = {
|
|||||||
"World Stock Exchange account and TIX API Access<br>",
|
"World Stock Exchange account and TIX API Access<br>",
|
||||||
|
|
||||||
LatestUpdate:
|
LatestUpdate:
|
||||||
"v0.37.1<br>" +
|
"v0.37.2<br>" +
|
||||||
"* You now earn money from successfully completing Bladeburner contracts. The amount you earn is based " +
|
"* After joining the Bladeburners division, there is now a button to go to the Bladeburner content " +
|
||||||
"on the difficulty of the contract.<br>" +
|
"in the 'City' page<br>" +
|
||||||
"* Completing Field Analysis in Bladeburner now grants 0.1 rank<br>" +
|
"* You now start with $250m in BitNode-8 (increased from $100m)<br>" +
|
||||||
"* The maximum RAM you can get on a purchased server is now 1,048,576GB (2^20)<br>" +
|
"* Bug Fix: You can now no longer directly edit Hacknet Node values through NetscriptJS (hopefully)<br>" +
|
||||||
"* Bug Fix: Fixed Netscript syntax highlighting issues with the new NetscriptJS<br>" +
|
"* Bug Fix: Bladeburners is no longer accessible in BN-8<br>" +
|
||||||
"* Bug Fix: Netscript Functions now properly incur RAM costs in NetscriptJS<br>" +
|
"* Bug Fix: getBitNodeMultipliers() Netscript function now returns a copy rather than the original object<br>"
|
||||||
"* Bug Fix: deleteServer() now fails if its called on the server you are currently connected to<br>" +
|
|
||||||
"* Removed in-game Netscript documentation, since it was outdated and difficult to maintain.<br>" +
|
|
||||||
"* Bug Fix: Updated the gymWorkout() Singularity function with the new exp/cost values for gyms<br>"
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -4198,6 +4188,7 @@ function displayLocationContent() {
|
|||||||
securityJob.style.display = "block";
|
securityJob.style.display = "block";
|
||||||
agentJob.style.display = "block";
|
agentJob.style.display = "block";
|
||||||
if (_Player_js__WEBPACK_IMPORTED_MODULE_8__["Player"].bitNodeN === 6 || _NetscriptFunctions_js__WEBPACK_IMPORTED_MODULE_7__["hasBladeburnerSF"] === true) {
|
if (_Player_js__WEBPACK_IMPORTED_MODULE_8__["Player"].bitNodeN === 6 || _NetscriptFunctions_js__WEBPACK_IMPORTED_MODULE_7__["hasBladeburnerSF"] === true) {
|
||||||
|
if (_Player_js__WEBPACK_IMPORTED_MODULE_8__["Player"].bitNodeN === 8) {break;}
|
||||||
if (_Player_js__WEBPACK_IMPORTED_MODULE_8__["Player"].bladeburner instanceof _Bladeburner_js__WEBPACK_IMPORTED_MODULE_0__["Bladeburner"]) {
|
if (_Player_js__WEBPACK_IMPORTED_MODULE_8__["Player"].bladeburner instanceof _Bladeburner_js__WEBPACK_IMPORTED_MODULE_0__["Bladeburner"]) {
|
||||||
//Note: Can't infiltrate NSA when part of bladeburner
|
//Note: Can't infiltrate NSA when part of bladeburner
|
||||||
nsaBladeburner.innerText = "Enter Bladeburner Headquarters";
|
nsaBladeburner.innerText = "Enter Bladeburner Headquarters";
|
||||||
@ -6348,6 +6339,7 @@ let Engine = {
|
|||||||
//Generic Locations (common to every city):
|
//Generic Locations (common to every city):
|
||||||
// World Stock Exchange
|
// World Stock Exchange
|
||||||
// Corporation (if applicable)
|
// Corporation (if applicable)
|
||||||
|
// Bladeburner HQ (if applicable);
|
||||||
var genericLocationsList = document.getElementById("generic-locations-list");
|
var genericLocationsList = document.getElementById("generic-locations-list");
|
||||||
genericLocationsList.style.display = "inline";
|
genericLocationsList.style.display = "inline";
|
||||||
Object(_utils_HelperFunctions_js__WEBPACK_IMPORTED_MODULE_2__["removeChildrenFromElement"])(genericLocationsList);
|
Object(_utils_HelperFunctions_js__WEBPACK_IMPORTED_MODULE_2__["removeChildrenFromElement"])(genericLocationsList);
|
||||||
@ -6374,6 +6366,18 @@ let Engine = {
|
|||||||
}));
|
}));
|
||||||
genericLocationsList.appendChild(li);
|
genericLocationsList.appendChild(li);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (_Player_js__WEBPACK_IMPORTED_MODULE_26__["Player"].bladeburner instanceof _Bladeburner_js__WEBPACK_IMPORTED_MODULE_9__["Bladeburner"]) {
|
||||||
|
var li = Object(_utils_HelperFunctions_js__WEBPACK_IMPORTED_MODULE_2__["createElement"])("li");
|
||||||
|
li.appendChild(Object(_utils_HelperFunctions_js__WEBPACK_IMPORTED_MODULE_2__["createElement"])("a", {
|
||||||
|
innerText:"Bladeburner Headquarters", class:"a-link-button",
|
||||||
|
clickListener:()=>{
|
||||||
|
Engine.loadBladeburnerContent();
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
}));
|
||||||
|
genericLocationsList.appendChild(li);
|
||||||
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
displayFactionsInfo: function() {
|
displayFactionsInfo: function() {
|
||||||
@ -18856,7 +18860,7 @@ function displayStockMarketContent() {
|
|||||||
if (!_Player_js__WEBPACK_IMPORTED_MODULE_5__["Player"].hasWseAccount && _Player_js__WEBPACK_IMPORTED_MODULE_5__["Player"].money.gte(_Constants_js__WEBPACK_IMPORTED_MODULE_0__["CONSTANTS"].WSEAccountCost)) {
|
if (!_Player_js__WEBPACK_IMPORTED_MODULE_5__["Player"].hasWseAccount && _Player_js__WEBPACK_IMPORTED_MODULE_5__["Player"].money.gte(_Constants_js__WEBPACK_IMPORTED_MODULE_0__["CONSTANTS"].WSEAccountCost)) {
|
||||||
wseAccountButton.setAttribute("class", "a-link-button");
|
wseAccountButton.setAttribute("class", "a-link-button");
|
||||||
} else if (_Player_js__WEBPACK_IMPORTED_MODULE_5__["Player"].hasWseAccount){
|
} else if (_Player_js__WEBPACK_IMPORTED_MODULE_5__["Player"].hasWseAccount){
|
||||||
wseAccountButton.innerText = "WSE Account - acquired";
|
wseAccountButton.innerText = "WSE Account - Purchased";
|
||||||
wseAccountButton.setAttribute("class", "a-link-button-bought");
|
wseAccountButton.setAttribute("class", "a-link-button-bought");
|
||||||
} else {
|
} else {
|
||||||
wseAccountButton.setAttribute("class", "a-link-button-inactive");
|
wseAccountButton.setAttribute("class", "a-link-button-inactive");
|
||||||
@ -18877,7 +18881,7 @@ function displayStockMarketContent() {
|
|||||||
if (!_Player_js__WEBPACK_IMPORTED_MODULE_5__["Player"].hasTixApiAccess && _Player_js__WEBPACK_IMPORTED_MODULE_5__["Player"].money.gte(_Constants_js__WEBPACK_IMPORTED_MODULE_0__["CONSTANTS"].TIXAPICost)) {
|
if (!_Player_js__WEBPACK_IMPORTED_MODULE_5__["Player"].hasTixApiAccess && _Player_js__WEBPACK_IMPORTED_MODULE_5__["Player"].money.gte(_Constants_js__WEBPACK_IMPORTED_MODULE_0__["CONSTANTS"].TIXAPICost)) {
|
||||||
tixApiAccessButton.setAttribute("class", "a-link-button");
|
tixApiAccessButton.setAttribute("class", "a-link-button");
|
||||||
} else if(_Player_js__WEBPACK_IMPORTED_MODULE_5__["Player"].hasTixApiAccess) {
|
} else if(_Player_js__WEBPACK_IMPORTED_MODULE_5__["Player"].hasTixApiAccess) {
|
||||||
tixApiAccessButton.innerText = "Trade Information eXchange (TIX) API Access - granted"
|
tixApiAccessButton.innerText = "Trade Information eXchange (TIX) API Access - Purchased"
|
||||||
tixApiAccessButton.setAttribute("class", "a-link-button-bought");
|
tixApiAccessButton.setAttribute("class", "a-link-button-bought");
|
||||||
} else {
|
} else {
|
||||||
tixApiAccessButton.setAttribute("class", "a-link-button-inactive");
|
tixApiAccessButton.setAttribute("class", "a-link-button-inactive");
|
||||||
@ -29310,7 +29314,7 @@ function initBladeburner() {
|
|||||||
Skills[SkillNames.Overclock] = new Skill({
|
Skills[SkillNames.Overclock] = new Skill({
|
||||||
name:SkillNames.Overclock,
|
name:SkillNames.Overclock,
|
||||||
desc:"Each level of this skill decreases the time it takes " +
|
desc:"Each level of this skill decreases the time it takes " +
|
||||||
"to attempt a contract or operation by 1% (Max Level: 99)",
|
"to attempt a contract or operation by 1% (Max Level: 95)",
|
||||||
baseCost:5, costInc:1, maxLvl:95,
|
baseCost:5, costInc:1, maxLvl:95,
|
||||||
actionTime:1
|
actionTime:1
|
||||||
});
|
});
|
||||||
@ -30411,7 +30415,7 @@ function NetscriptFunctions(workerScript) {
|
|||||||
Math : Math,
|
Math : Math,
|
||||||
Date : Date,
|
Date : Date,
|
||||||
Number : Number,
|
Number : Number,
|
||||||
hacknetnodes : _Player_js__WEBPACK_IMPORTED_MODULE_15__["Player"].hacknetNodes,
|
hacknetnodes : _Player_js__WEBPACK_IMPORTED_MODULE_15__["Player"].hacknetNodeWrappers,
|
||||||
sprintf : sprintf,
|
sprintf : sprintf,
|
||||||
vsprintf: vsprintf,
|
vsprintf: vsprintf,
|
||||||
scan : function(ip=workerScript.serverIp, hostnames=true){
|
scan : function(ip=workerScript.serverIp, hostnames=true){
|
||||||
@ -31378,7 +31382,8 @@ function NetscriptFunctions(workerScript) {
|
|||||||
if (!hasAISF) {
|
if (!hasAISF) {
|
||||||
throw Object(_NetscriptEvaluator_js__WEBPACK_IMPORTED_MODULE_24__["makeRuntimeRejectMsg"])(workerScript, "Cannot run getBitNodeMultipliers(). It requires Source-File 5 to run.");
|
throw Object(_NetscriptEvaluator_js__WEBPACK_IMPORTED_MODULE_24__["makeRuntimeRejectMsg"])(workerScript, "Cannot run getBitNodeMultipliers(). It requires Source-File 5 to run.");
|
||||||
}
|
}
|
||||||
return _BitNode_js__WEBPACK_IMPORTED_MODULE_2__["BitNodeMultipliers"];
|
let copy = Object.assign({}, _BitNode_js__WEBPACK_IMPORTED_MODULE_2__["BitNodeMultipliers"]);
|
||||||
|
return copy;
|
||||||
},
|
},
|
||||||
getServerMoneyAvailable : function(ip){
|
getServerMoneyAvailable : function(ip){
|
||||||
if (workerScript.checkingRam) {
|
if (workerScript.checkingRam) {
|
||||||
@ -52289,6 +52294,7 @@ __webpack_require__.r(__webpack_exports__);
|
|||||||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "updateHacknetNodesContent", function() { return updateHacknetNodesContent; });
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "updateHacknetNodesContent", function() { return updateHacknetNodesContent; });
|
||||||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "processAllHacknetNodeEarnings", function() { return processAllHacknetNodeEarnings; });
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "processAllHacknetNodeEarnings", function() { return processAllHacknetNodeEarnings; });
|
||||||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "getHacknetNode", function() { return getHacknetNode; });
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "getHacknetNode", function() { return getHacknetNode; });
|
||||||
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "createPlayerHacknetNodeWrappers", function() { return createPlayerHacknetNodeWrappers; });
|
||||||
/* harmony import */ var _BitNode_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./BitNode.js */ 15);
|
/* harmony import */ var _BitNode_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./BitNode.js */ 15);
|
||||||
/* harmony import */ var _Constants_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Constants.js */ 3);
|
/* harmony import */ var _Constants_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Constants.js */ 3);
|
||||||
/* harmony import */ var _engine_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./engine.js */ 5);
|
/* harmony import */ var _engine_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./engine.js */ 5);
|
||||||
@ -52354,6 +52360,7 @@ function HacknetNode(name) {
|
|||||||
this.moneyGainRatePerSecond = 0;
|
this.moneyGainRatePerSecond = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
HacknetNode.prototype.updateMoneyGainRate = function() {
|
HacknetNode.prototype.updateMoneyGainRate = function() {
|
||||||
//How much extra $/s is gained per level
|
//How much extra $/s is gained per level
|
||||||
var gainPerLevel = _Constants_js__WEBPACK_IMPORTED_MODULE_1__["CONSTANTS"].HacknetNodeMoneyGainPerLevel;
|
var gainPerLevel = _Constants_js__WEBPACK_IMPORTED_MODULE_1__["CONSTANTS"].HacknetNodeMoneyGainPerLevel;
|
||||||
@ -52478,6 +52485,36 @@ HacknetNode.fromJSON = function(value) {
|
|||||||
|
|
||||||
_utils_JSONReviver_js__WEBPACK_IMPORTED_MODULE_7__["Reviver"].constructors.HacknetNode = HacknetNode;
|
_utils_JSONReviver_js__WEBPACK_IMPORTED_MODULE_7__["Reviver"].constructors.HacknetNode = HacknetNode;
|
||||||
|
|
||||||
|
var HacknetNodeWrapper = function(hacknetNodeObj) {
|
||||||
|
var _node = hacknetNodeObj;
|
||||||
|
return {
|
||||||
|
name : _node.name,
|
||||||
|
level : _node.level,
|
||||||
|
ram : _node.ram,
|
||||||
|
cores : _node.cores,
|
||||||
|
totalMoneyGenerated : _node.totalMoneyGenerated,
|
||||||
|
onlineTimeSeconds : _node.onlineTimeSeconds,
|
||||||
|
moneyGainRatePerSecond : _node.moneyGainRatePerSecond,
|
||||||
|
upgradeLevel : function(n) {
|
||||||
|
return _node.upgradeLevel(n);
|
||||||
|
},
|
||||||
|
upgradeRam : function() {
|
||||||
|
return _node.upgradeRam();
|
||||||
|
},
|
||||||
|
upgradeCore : function() {
|
||||||
|
return _node.upgradeCore();
|
||||||
|
},
|
||||||
|
getLevelUpgradeCost : function(n) {
|
||||||
|
return _node.getLevelUpgradeCost(n);
|
||||||
|
},
|
||||||
|
getRamUpgradeCost : function() {
|
||||||
|
return _node.getRamUpgradeCost();
|
||||||
|
},
|
||||||
|
getCoreUpgradeCost : function() {
|
||||||
|
return _node.getCoreUpgradeCost();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
function purchaseHacknet() {
|
function purchaseHacknet() {
|
||||||
/* INTERACTIVE TUTORIAL */
|
/* INTERACTIVE TUTORIAL */
|
||||||
@ -52767,8 +52804,31 @@ function updateHacknetNodeDomElement(nodeObj) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function createPlayerHacknetNodeWrappers() {
|
||||||
|
_Player_js__WEBPACK_IMPORTED_MODULE_4__["Player"].hacknetNodeWrappers.length = _Player_js__WEBPACK_IMPORTED_MODULE_4__["Player"].hacknetNodes.length;
|
||||||
|
for (var i = 0; i < _Player_js__WEBPACK_IMPORTED_MODULE_4__["Player"].hacknetNodes.length; ++i) {
|
||||||
|
_Player_js__WEBPACK_IMPORTED_MODULE_4__["Player"].hacknetNodeWrappers[i] = new HacknetNodeWrapper(_Player_js__WEBPACK_IMPORTED_MODULE_4__["Player"].hacknetNodes[i]);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
function updatePlayerHacknetNodeWrappers() {
|
||||||
|
if (_Player_js__WEBPACK_IMPORTED_MODULE_4__["Player"].hacknetNodeWrappers.length !== _Player_js__WEBPACK_IMPORTED_MODULE_4__["Player"].hacknetNodes.length) {
|
||||||
|
return createPlayerHacknetNodeWrappers();
|
||||||
|
}
|
||||||
|
for (var i = 0; i < _Player_js__WEBPACK_IMPORTED_MODULE_4__["Player"].hacknetNodeWrappers.length; ++i) {
|
||||||
|
if (!(_Player_js__WEBPACK_IMPORTED_MODULE_4__["Player"].hacknetNodeWrappers[i] instanceof HacknetNodeWrapper)) {return createPlayerHacknetNodeWrappers();}
|
||||||
|
_Player_js__WEBPACK_IMPORTED_MODULE_4__["Player"].hacknetNodeWrappers[i].level = _Player_js__WEBPACK_IMPORTED_MODULE_4__["Player"].hacknetNodes[i].level;
|
||||||
|
_Player_js__WEBPACK_IMPORTED_MODULE_4__["Player"].hacknetNodeWrappers[i].ram = _Player_js__WEBPACK_IMPORTED_MODULE_4__["Player"].hacknetNodes[i].ram;
|
||||||
|
_Player_js__WEBPACK_IMPORTED_MODULE_4__["Player"].hacknetNodeWrappers[i].cores = _Player_js__WEBPACK_IMPORTED_MODULE_4__["Player"].hacknetNodes[i].cores;
|
||||||
|
_Player_js__WEBPACK_IMPORTED_MODULE_4__["Player"].hacknetNodeWrappers[i].totalMoneyGenerated = _Player_js__WEBPACK_IMPORTED_MODULE_4__["Player"].hacknetNodes[i].totalMoneyGenerated;
|
||||||
|
_Player_js__WEBPACK_IMPORTED_MODULE_4__["Player"].hacknetNodeWrappers[i].onlineTimeSeconds = _Player_js__WEBPACK_IMPORTED_MODULE_4__["Player"].hacknetNodes[i].onlineTimeSeconds;
|
||||||
|
_Player_js__WEBPACK_IMPORTED_MODULE_4__["Player"].hacknetNodeWrappers[i].moneyGainRatePerSecond = _Player_js__WEBPACK_IMPORTED_MODULE_4__["Player"].hacknetNodes[i].moneyGainRatePerSecond;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
function processAllHacknetNodeEarnings(numCycles) {
|
function processAllHacknetNodeEarnings(numCycles) {
|
||||||
var total = 0;
|
var total = 0;
|
||||||
|
updatePlayerHacknetNodeWrappers();
|
||||||
for (var i = 0; i < _Player_js__WEBPACK_IMPORTED_MODULE_4__["Player"].hacknetNodes.length; ++i) {
|
for (var i = 0; i < _Player_js__WEBPACK_IMPORTED_MODULE_4__["Player"].hacknetNodes.length; ++i) {
|
||||||
total += processSingleHacknetNodeEarnings(numCycles, _Player_js__WEBPACK_IMPORTED_MODULE_4__["Player"].hacknetNodes[i]);
|
total += processSingleHacknetNodeEarnings(numCycles, _Player_js__WEBPACK_IMPORTED_MODULE_4__["Player"].hacknetNodes[i]);
|
||||||
}
|
}
|
||||||
@ -59026,6 +59086,8 @@ function loadGame(saveString) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//Re-initialize Hacknet Node Wrappers
|
||||||
|
Object(_HacknetNode_js__WEBPACK_IMPORTED_MODULE_7__["createPlayerHacknetNodeWrappers"])();
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -59242,6 +59304,9 @@ function loadImportedGame(saveObj, saveString) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//Re-initialize Hacknet Node Wrappers
|
||||||
|
Object(_HacknetNode_js__WEBPACK_IMPORTED_MODULE_7__["createPlayerHacknetNodeWrappers"])();
|
||||||
|
|
||||||
var popupId = "import-game-restart-game-notice";
|
var popupId = "import-game-restart-game-notice";
|
||||||
var txt = Object(_utils_HelperFunctions_js__WEBPACK_IMPORTED_MODULE_17__["createElement"])("p", {
|
var txt = Object(_utils_HelperFunctions_js__WEBPACK_IMPORTED_MODULE_17__["createElement"])("p", {
|
||||||
innerText:"Imported game! I would suggest saving the game and then reloading the page " +
|
innerText:"Imported game! I would suggest saving the game and then reloading the page " +
|
||||||
@ -60704,6 +60769,8 @@ __webpack_require__.r(__webpack_exports__);
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
let BitNode8StartingMoney = 250e6;
|
||||||
|
|
||||||
//Prestige by purchasing augmentation
|
//Prestige by purchasing augmentation
|
||||||
function prestigeAugmentation() {
|
function prestigeAugmentation() {
|
||||||
@ -60798,7 +60865,7 @@ function prestigeAugmentation() {
|
|||||||
_Player_js__WEBPACK_IMPORTED_MODULE_13__["Player"].bladeburner = null;
|
_Player_js__WEBPACK_IMPORTED_MODULE_13__["Player"].bladeburner = null;
|
||||||
|
|
||||||
//BitNode 8: Ghost of Wall Street
|
//BitNode 8: Ghost of Wall Street
|
||||||
if (_Player_js__WEBPACK_IMPORTED_MODULE_13__["Player"].bitNodeN === 8) {_Player_js__WEBPACK_IMPORTED_MODULE_13__["Player"].money = new decimal_js__WEBPACK_IMPORTED_MODULE_18__["default"](100e6);}
|
if (_Player_js__WEBPACK_IMPORTED_MODULE_13__["Player"].bitNodeN === 8) {_Player_js__WEBPACK_IMPORTED_MODULE_13__["Player"].money = new decimal_js__WEBPACK_IMPORTED_MODULE_18__["default"](BitNode8StartingMoney);}
|
||||||
if (_Player_js__WEBPACK_IMPORTED_MODULE_13__["Player"].bitNodeN === 8 || _NetscriptFunctions_js__WEBPACK_IMPORTED_MODULE_11__["hasWallStreetSF"]) {
|
if (_Player_js__WEBPACK_IMPORTED_MODULE_13__["Player"].bitNodeN === 8 || _NetscriptFunctions_js__WEBPACK_IMPORTED_MODULE_11__["hasWallStreetSF"]) {
|
||||||
_Player_js__WEBPACK_IMPORTED_MODULE_13__["Player"].hasWseAccount = true;
|
_Player_js__WEBPACK_IMPORTED_MODULE_13__["Player"].hasWseAccount = true;
|
||||||
_Player_js__WEBPACK_IMPORTED_MODULE_13__["Player"].hasTixApiAccess = true;
|
_Player_js__WEBPACK_IMPORTED_MODULE_13__["Player"].hasTixApiAccess = true;
|
||||||
@ -60976,6 +61043,13 @@ function prestigeSourceFile() {
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//BitNode 8: Ghost of Wall Street
|
||||||
|
if (_Player_js__WEBPACK_IMPORTED_MODULE_13__["Player"].bitNodeN === 8) {_Player_js__WEBPACK_IMPORTED_MODULE_13__["Player"].money = new decimal_js__WEBPACK_IMPORTED_MODULE_18__["default"](BitNode8StartingMoney);}
|
||||||
|
if (_Player_js__WEBPACK_IMPORTED_MODULE_13__["Player"].bitNodeN === 8 || _NetscriptFunctions_js__WEBPACK_IMPORTED_MODULE_11__["hasWallStreetSF"]) {
|
||||||
|
_Player_js__WEBPACK_IMPORTED_MODULE_13__["Player"].hasWseAccount = true;
|
||||||
|
_Player_js__WEBPACK_IMPORTED_MODULE_13__["Player"].hasTixApiAccess = true;
|
||||||
|
}
|
||||||
|
|
||||||
//Gain int exp
|
//Gain int exp
|
||||||
_Player_js__WEBPACK_IMPORTED_MODULE_13__["Player"].gainIntelligenceExp(5);
|
_Player_js__WEBPACK_IMPORTED_MODULE_13__["Player"].gainIntelligenceExp(5);
|
||||||
}
|
}
|
||||||
@ -95686,7 +95760,7 @@ var NetscriptHighlightRules = function(options) {
|
|||||||
"JSON|Math|" + // Other
|
"JSON|Math|" + // Other
|
||||||
"this|arguments|prototype|window|document" , // Pseudo
|
"this|arguments|prototype|window|document" , // Pseudo
|
||||||
"keyword":
|
"keyword":
|
||||||
"const|yield|import|get|set|async|await|foop|" +
|
"const|yield|import|get|set|async|await|" +
|
||||||
"break|case|catch|continue|default|delete|do|else|finally|for|function|" +
|
"break|case|catch|continue|default|delete|do|else|finally|for|function|" +
|
||||||
"if|in|of|instanceof|new|return|switch|throw|try|typeof|let|var|while|with|debugger|" +
|
"if|in|of|instanceof|new|return|switch|throw|try|typeof|let|var|while|with|debugger|" +
|
||||||
"__parent__|__count__|escape|unescape|with|__proto__|" +
|
"__parent__|__count__|escape|unescape|with|__proto__|" +
|
||||||
|
126
dist/tests.bundle.js
vendored
126
dist/tests.bundle.js
vendored
@ -197,6 +197,7 @@ function PlayerObject() {
|
|||||||
this.currentServer = ""; //IP address of Server currently being accessed through terminal
|
this.currentServer = ""; //IP address of Server currently being accessed through terminal
|
||||||
this.purchasedServers = []; //IP Addresses of purchased servers
|
this.purchasedServers = []; //IP Addresses of purchased servers
|
||||||
this.hacknetNodes = [];
|
this.hacknetNodes = [];
|
||||||
|
this.hacknetNodeWrappers = [];
|
||||||
this.totalHacknetNodeProduction = 0;
|
this.totalHacknetNodeProduction = 0;
|
||||||
|
|
||||||
//Factions
|
//Factions
|
||||||
@ -488,16 +489,8 @@ PlayerObject.prototype.prestigeSourceFile = function() {
|
|||||||
if (this.bitNodeN === 3) {this.money = new decimal_js__WEBPACK_IMPORTED_MODULE_15__["default"](150e9);}
|
if (this.bitNodeN === 3) {this.money = new decimal_js__WEBPACK_IMPORTED_MODULE_15__["default"](150e9);}
|
||||||
this.corporation = 0;
|
this.corporation = 0;
|
||||||
|
|
||||||
//Reset Bladeburner
|
|
||||||
this.bladeburner = 0;
|
this.bladeburner = 0;
|
||||||
|
|
||||||
//BitNode 8: Ghost of Wall Street
|
|
||||||
if (this.bitNodeN === 8) {this.money = new decimal_js__WEBPACK_IMPORTED_MODULE_15__["default"](100000000);}
|
|
||||||
if (this.bitNodeN === 8 || _NetscriptFunctions_js__WEBPACK_IMPORTED_MODULE_11__["hasWallStreetSF"]) {
|
|
||||||
this.hasWseAccount = true;
|
|
||||||
this.hasTixApiAccess = true;
|
|
||||||
}
|
|
||||||
|
|
||||||
this.playtimeSinceLastAug = 0;
|
this.playtimeSinceLastAug = 0;
|
||||||
this.scriptProdSinceLastAug = 0;
|
this.scriptProdSinceLastAug = 0;
|
||||||
}
|
}
|
||||||
@ -2956,7 +2949,7 @@ function generateRandomString(n) {
|
|||||||
__webpack_require__.r(__webpack_exports__);
|
__webpack_require__.r(__webpack_exports__);
|
||||||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "CONSTANTS", function() { return CONSTANTS; });
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "CONSTANTS", function() { return CONSTANTS; });
|
||||||
let CONSTANTS = {
|
let CONSTANTS = {
|
||||||
Version: "0.37.1",
|
Version: "0.37.2",
|
||||||
|
|
||||||
//Max level for any skill, assuming no multipliers. Determined by max numerical value in javascript for experience
|
//Max level for any skill, assuming no multipliers. Determined by max numerical value in javascript for experience
|
||||||
//and the skill level formula in Player.js. Note that all this means it that when experience hits MAX_INT, then
|
//and the skill level formula in Player.js. Note that all this means it that when experience hits MAX_INT, then
|
||||||
@ -3441,16 +3434,13 @@ let CONSTANTS = {
|
|||||||
"World Stock Exchange account and TIX API Access<br>",
|
"World Stock Exchange account and TIX API Access<br>",
|
||||||
|
|
||||||
LatestUpdate:
|
LatestUpdate:
|
||||||
"v0.37.1<br>" +
|
"v0.37.2<br>" +
|
||||||
"* You now earn money from successfully completing Bladeburner contracts. The amount you earn is based " +
|
"* After joining the Bladeburners division, there is now a button to go to the Bladeburner content " +
|
||||||
"on the difficulty of the contract.<br>" +
|
"in the 'City' page<br>" +
|
||||||
"* Completing Field Analysis in Bladeburner now grants 0.1 rank<br>" +
|
"* You now start with $250m in BitNode-8 (increased from $100m)<br>" +
|
||||||
"* The maximum RAM you can get on a purchased server is now 1,048,576GB (2^20)<br>" +
|
"* Bug Fix: You can now no longer directly edit Hacknet Node values through NetscriptJS (hopefully)<br>" +
|
||||||
"* Bug Fix: Fixed Netscript syntax highlighting issues with the new NetscriptJS<br>" +
|
"* Bug Fix: Bladeburners is no longer accessible in BN-8<br>" +
|
||||||
"* Bug Fix: Netscript Functions now properly incur RAM costs in NetscriptJS<br>" +
|
"* Bug Fix: getBitNodeMultipliers() Netscript function now returns a copy rather than the original object<br>"
|
||||||
"* Bug Fix: deleteServer() now fails if its called on the server you are currently connected to<br>" +
|
|
||||||
"* Removed in-game Netscript documentation, since it was outdated and difficult to maintain.<br>" +
|
|
||||||
"* Bug Fix: Updated the gymWorkout() Singularity function with the new exp/cost values for gyms<br>"
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -4198,6 +4188,7 @@ function displayLocationContent() {
|
|||||||
securityJob.style.display = "block";
|
securityJob.style.display = "block";
|
||||||
agentJob.style.display = "block";
|
agentJob.style.display = "block";
|
||||||
if (_Player_js__WEBPACK_IMPORTED_MODULE_8__["Player"].bitNodeN === 6 || _NetscriptFunctions_js__WEBPACK_IMPORTED_MODULE_7__["hasBladeburnerSF"] === true) {
|
if (_Player_js__WEBPACK_IMPORTED_MODULE_8__["Player"].bitNodeN === 6 || _NetscriptFunctions_js__WEBPACK_IMPORTED_MODULE_7__["hasBladeburnerSF"] === true) {
|
||||||
|
if (_Player_js__WEBPACK_IMPORTED_MODULE_8__["Player"].bitNodeN === 8) {break;}
|
||||||
if (_Player_js__WEBPACK_IMPORTED_MODULE_8__["Player"].bladeburner instanceof _Bladeburner_js__WEBPACK_IMPORTED_MODULE_0__["Bladeburner"]) {
|
if (_Player_js__WEBPACK_IMPORTED_MODULE_8__["Player"].bladeburner instanceof _Bladeburner_js__WEBPACK_IMPORTED_MODULE_0__["Bladeburner"]) {
|
||||||
//Note: Can't infiltrate NSA when part of bladeburner
|
//Note: Can't infiltrate NSA when part of bladeburner
|
||||||
nsaBladeburner.innerText = "Enter Bladeburner Headquarters";
|
nsaBladeburner.innerText = "Enter Bladeburner Headquarters";
|
||||||
@ -6348,6 +6339,7 @@ let Engine = {
|
|||||||
//Generic Locations (common to every city):
|
//Generic Locations (common to every city):
|
||||||
// World Stock Exchange
|
// World Stock Exchange
|
||||||
// Corporation (if applicable)
|
// Corporation (if applicable)
|
||||||
|
// Bladeburner HQ (if applicable);
|
||||||
var genericLocationsList = document.getElementById("generic-locations-list");
|
var genericLocationsList = document.getElementById("generic-locations-list");
|
||||||
genericLocationsList.style.display = "inline";
|
genericLocationsList.style.display = "inline";
|
||||||
Object(_utils_HelperFunctions_js__WEBPACK_IMPORTED_MODULE_2__["removeChildrenFromElement"])(genericLocationsList);
|
Object(_utils_HelperFunctions_js__WEBPACK_IMPORTED_MODULE_2__["removeChildrenFromElement"])(genericLocationsList);
|
||||||
@ -6374,6 +6366,18 @@ let Engine = {
|
|||||||
}));
|
}));
|
||||||
genericLocationsList.appendChild(li);
|
genericLocationsList.appendChild(li);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (_Player_js__WEBPACK_IMPORTED_MODULE_26__["Player"].bladeburner instanceof _Bladeburner_js__WEBPACK_IMPORTED_MODULE_9__["Bladeburner"]) {
|
||||||
|
var li = Object(_utils_HelperFunctions_js__WEBPACK_IMPORTED_MODULE_2__["createElement"])("li");
|
||||||
|
li.appendChild(Object(_utils_HelperFunctions_js__WEBPACK_IMPORTED_MODULE_2__["createElement"])("a", {
|
||||||
|
innerText:"Bladeburner Headquarters", class:"a-link-button",
|
||||||
|
clickListener:()=>{
|
||||||
|
Engine.loadBladeburnerContent();
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
}));
|
||||||
|
genericLocationsList.appendChild(li);
|
||||||
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
displayFactionsInfo: function() {
|
displayFactionsInfo: function() {
|
||||||
@ -18856,7 +18860,7 @@ function displayStockMarketContent() {
|
|||||||
if (!_Player_js__WEBPACK_IMPORTED_MODULE_5__["Player"].hasWseAccount && _Player_js__WEBPACK_IMPORTED_MODULE_5__["Player"].money.gte(_Constants_js__WEBPACK_IMPORTED_MODULE_0__["CONSTANTS"].WSEAccountCost)) {
|
if (!_Player_js__WEBPACK_IMPORTED_MODULE_5__["Player"].hasWseAccount && _Player_js__WEBPACK_IMPORTED_MODULE_5__["Player"].money.gte(_Constants_js__WEBPACK_IMPORTED_MODULE_0__["CONSTANTS"].WSEAccountCost)) {
|
||||||
wseAccountButton.setAttribute("class", "a-link-button");
|
wseAccountButton.setAttribute("class", "a-link-button");
|
||||||
} else if (_Player_js__WEBPACK_IMPORTED_MODULE_5__["Player"].hasWseAccount){
|
} else if (_Player_js__WEBPACK_IMPORTED_MODULE_5__["Player"].hasWseAccount){
|
||||||
wseAccountButton.innerText = "WSE Account - acquired";
|
wseAccountButton.innerText = "WSE Account - Purchased";
|
||||||
wseAccountButton.setAttribute("class", "a-link-button-bought");
|
wseAccountButton.setAttribute("class", "a-link-button-bought");
|
||||||
} else {
|
} else {
|
||||||
wseAccountButton.setAttribute("class", "a-link-button-inactive");
|
wseAccountButton.setAttribute("class", "a-link-button-inactive");
|
||||||
@ -18877,7 +18881,7 @@ function displayStockMarketContent() {
|
|||||||
if (!_Player_js__WEBPACK_IMPORTED_MODULE_5__["Player"].hasTixApiAccess && _Player_js__WEBPACK_IMPORTED_MODULE_5__["Player"].money.gte(_Constants_js__WEBPACK_IMPORTED_MODULE_0__["CONSTANTS"].TIXAPICost)) {
|
if (!_Player_js__WEBPACK_IMPORTED_MODULE_5__["Player"].hasTixApiAccess && _Player_js__WEBPACK_IMPORTED_MODULE_5__["Player"].money.gte(_Constants_js__WEBPACK_IMPORTED_MODULE_0__["CONSTANTS"].TIXAPICost)) {
|
||||||
tixApiAccessButton.setAttribute("class", "a-link-button");
|
tixApiAccessButton.setAttribute("class", "a-link-button");
|
||||||
} else if(_Player_js__WEBPACK_IMPORTED_MODULE_5__["Player"].hasTixApiAccess) {
|
} else if(_Player_js__WEBPACK_IMPORTED_MODULE_5__["Player"].hasTixApiAccess) {
|
||||||
tixApiAccessButton.innerText = "Trade Information eXchange (TIX) API Access - granted"
|
tixApiAccessButton.innerText = "Trade Information eXchange (TIX) API Access - Purchased"
|
||||||
tixApiAccessButton.setAttribute("class", "a-link-button-bought");
|
tixApiAccessButton.setAttribute("class", "a-link-button-bought");
|
||||||
} else {
|
} else {
|
||||||
tixApiAccessButton.setAttribute("class", "a-link-button-inactive");
|
tixApiAccessButton.setAttribute("class", "a-link-button-inactive");
|
||||||
@ -29310,7 +29314,7 @@ function initBladeburner() {
|
|||||||
Skills[SkillNames.Overclock] = new Skill({
|
Skills[SkillNames.Overclock] = new Skill({
|
||||||
name:SkillNames.Overclock,
|
name:SkillNames.Overclock,
|
||||||
desc:"Each level of this skill decreases the time it takes " +
|
desc:"Each level of this skill decreases the time it takes " +
|
||||||
"to attempt a contract or operation by 1% (Max Level: 99)",
|
"to attempt a contract or operation by 1% (Max Level: 95)",
|
||||||
baseCost:5, costInc:1, maxLvl:95,
|
baseCost:5, costInc:1, maxLvl:95,
|
||||||
actionTime:1
|
actionTime:1
|
||||||
});
|
});
|
||||||
@ -30411,7 +30415,7 @@ function NetscriptFunctions(workerScript) {
|
|||||||
Math : Math,
|
Math : Math,
|
||||||
Date : Date,
|
Date : Date,
|
||||||
Number : Number,
|
Number : Number,
|
||||||
hacknetnodes : _Player_js__WEBPACK_IMPORTED_MODULE_15__["Player"].hacknetNodes,
|
hacknetnodes : _Player_js__WEBPACK_IMPORTED_MODULE_15__["Player"].hacknetNodeWrappers,
|
||||||
sprintf : sprintf,
|
sprintf : sprintf,
|
||||||
vsprintf: vsprintf,
|
vsprintf: vsprintf,
|
||||||
scan : function(ip=workerScript.serverIp, hostnames=true){
|
scan : function(ip=workerScript.serverIp, hostnames=true){
|
||||||
@ -31378,7 +31382,8 @@ function NetscriptFunctions(workerScript) {
|
|||||||
if (!hasAISF) {
|
if (!hasAISF) {
|
||||||
throw Object(_NetscriptEvaluator_js__WEBPACK_IMPORTED_MODULE_24__["makeRuntimeRejectMsg"])(workerScript, "Cannot run getBitNodeMultipliers(). It requires Source-File 5 to run.");
|
throw Object(_NetscriptEvaluator_js__WEBPACK_IMPORTED_MODULE_24__["makeRuntimeRejectMsg"])(workerScript, "Cannot run getBitNodeMultipliers(). It requires Source-File 5 to run.");
|
||||||
}
|
}
|
||||||
return _BitNode_js__WEBPACK_IMPORTED_MODULE_2__["BitNodeMultipliers"];
|
let copy = Object.assign({}, _BitNode_js__WEBPACK_IMPORTED_MODULE_2__["BitNodeMultipliers"]);
|
||||||
|
return copy;
|
||||||
},
|
},
|
||||||
getServerMoneyAvailable : function(ip){
|
getServerMoneyAvailable : function(ip){
|
||||||
if (workerScript.checkingRam) {
|
if (workerScript.checkingRam) {
|
||||||
@ -52289,6 +52294,7 @@ __webpack_require__.r(__webpack_exports__);
|
|||||||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "updateHacknetNodesContent", function() { return updateHacknetNodesContent; });
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "updateHacknetNodesContent", function() { return updateHacknetNodesContent; });
|
||||||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "processAllHacknetNodeEarnings", function() { return processAllHacknetNodeEarnings; });
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "processAllHacknetNodeEarnings", function() { return processAllHacknetNodeEarnings; });
|
||||||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "getHacknetNode", function() { return getHacknetNode; });
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "getHacknetNode", function() { return getHacknetNode; });
|
||||||
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "createPlayerHacknetNodeWrappers", function() { return createPlayerHacknetNodeWrappers; });
|
||||||
/* harmony import */ var _BitNode_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./BitNode.js */ 15);
|
/* harmony import */ var _BitNode_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./BitNode.js */ 15);
|
||||||
/* harmony import */ var _Constants_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Constants.js */ 3);
|
/* harmony import */ var _Constants_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Constants.js */ 3);
|
||||||
/* harmony import */ var _engine_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./engine.js */ 5);
|
/* harmony import */ var _engine_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./engine.js */ 5);
|
||||||
@ -52354,6 +52360,7 @@ function HacknetNode(name) {
|
|||||||
this.moneyGainRatePerSecond = 0;
|
this.moneyGainRatePerSecond = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
HacknetNode.prototype.updateMoneyGainRate = function() {
|
HacknetNode.prototype.updateMoneyGainRate = function() {
|
||||||
//How much extra $/s is gained per level
|
//How much extra $/s is gained per level
|
||||||
var gainPerLevel = _Constants_js__WEBPACK_IMPORTED_MODULE_1__["CONSTANTS"].HacknetNodeMoneyGainPerLevel;
|
var gainPerLevel = _Constants_js__WEBPACK_IMPORTED_MODULE_1__["CONSTANTS"].HacknetNodeMoneyGainPerLevel;
|
||||||
@ -52478,6 +52485,36 @@ HacknetNode.fromJSON = function(value) {
|
|||||||
|
|
||||||
_utils_JSONReviver_js__WEBPACK_IMPORTED_MODULE_7__["Reviver"].constructors.HacknetNode = HacknetNode;
|
_utils_JSONReviver_js__WEBPACK_IMPORTED_MODULE_7__["Reviver"].constructors.HacknetNode = HacknetNode;
|
||||||
|
|
||||||
|
var HacknetNodeWrapper = function(hacknetNodeObj) {
|
||||||
|
var _node = hacknetNodeObj;
|
||||||
|
return {
|
||||||
|
name : _node.name,
|
||||||
|
level : _node.level,
|
||||||
|
ram : _node.ram,
|
||||||
|
cores : _node.cores,
|
||||||
|
totalMoneyGenerated : _node.totalMoneyGenerated,
|
||||||
|
onlineTimeSeconds : _node.onlineTimeSeconds,
|
||||||
|
moneyGainRatePerSecond : _node.moneyGainRatePerSecond,
|
||||||
|
upgradeLevel : function(n) {
|
||||||
|
return _node.upgradeLevel(n);
|
||||||
|
},
|
||||||
|
upgradeRam : function() {
|
||||||
|
return _node.upgradeRam();
|
||||||
|
},
|
||||||
|
upgradeCore : function() {
|
||||||
|
return _node.upgradeCore();
|
||||||
|
},
|
||||||
|
getLevelUpgradeCost : function(n) {
|
||||||
|
return _node.getLevelUpgradeCost(n);
|
||||||
|
},
|
||||||
|
getRamUpgradeCost : function() {
|
||||||
|
return _node.getRamUpgradeCost();
|
||||||
|
},
|
||||||
|
getCoreUpgradeCost : function() {
|
||||||
|
return _node.getCoreUpgradeCost();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
function purchaseHacknet() {
|
function purchaseHacknet() {
|
||||||
/* INTERACTIVE TUTORIAL */
|
/* INTERACTIVE TUTORIAL */
|
||||||
@ -52767,8 +52804,31 @@ function updateHacknetNodeDomElement(nodeObj) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function createPlayerHacknetNodeWrappers() {
|
||||||
|
_Player_js__WEBPACK_IMPORTED_MODULE_4__["Player"].hacknetNodeWrappers.length = _Player_js__WEBPACK_IMPORTED_MODULE_4__["Player"].hacknetNodes.length;
|
||||||
|
for (var i = 0; i < _Player_js__WEBPACK_IMPORTED_MODULE_4__["Player"].hacknetNodes.length; ++i) {
|
||||||
|
_Player_js__WEBPACK_IMPORTED_MODULE_4__["Player"].hacknetNodeWrappers[i] = new HacknetNodeWrapper(_Player_js__WEBPACK_IMPORTED_MODULE_4__["Player"].hacknetNodes[i]);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
function updatePlayerHacknetNodeWrappers() {
|
||||||
|
if (_Player_js__WEBPACK_IMPORTED_MODULE_4__["Player"].hacknetNodeWrappers.length !== _Player_js__WEBPACK_IMPORTED_MODULE_4__["Player"].hacknetNodes.length) {
|
||||||
|
return createPlayerHacknetNodeWrappers();
|
||||||
|
}
|
||||||
|
for (var i = 0; i < _Player_js__WEBPACK_IMPORTED_MODULE_4__["Player"].hacknetNodeWrappers.length; ++i) {
|
||||||
|
if (!(_Player_js__WEBPACK_IMPORTED_MODULE_4__["Player"].hacknetNodeWrappers[i] instanceof HacknetNodeWrapper)) {return createPlayerHacknetNodeWrappers();}
|
||||||
|
_Player_js__WEBPACK_IMPORTED_MODULE_4__["Player"].hacknetNodeWrappers[i].level = _Player_js__WEBPACK_IMPORTED_MODULE_4__["Player"].hacknetNodes[i].level;
|
||||||
|
_Player_js__WEBPACK_IMPORTED_MODULE_4__["Player"].hacknetNodeWrappers[i].ram = _Player_js__WEBPACK_IMPORTED_MODULE_4__["Player"].hacknetNodes[i].ram;
|
||||||
|
_Player_js__WEBPACK_IMPORTED_MODULE_4__["Player"].hacknetNodeWrappers[i].cores = _Player_js__WEBPACK_IMPORTED_MODULE_4__["Player"].hacknetNodes[i].cores;
|
||||||
|
_Player_js__WEBPACK_IMPORTED_MODULE_4__["Player"].hacknetNodeWrappers[i].totalMoneyGenerated = _Player_js__WEBPACK_IMPORTED_MODULE_4__["Player"].hacknetNodes[i].totalMoneyGenerated;
|
||||||
|
_Player_js__WEBPACK_IMPORTED_MODULE_4__["Player"].hacknetNodeWrappers[i].onlineTimeSeconds = _Player_js__WEBPACK_IMPORTED_MODULE_4__["Player"].hacknetNodes[i].onlineTimeSeconds;
|
||||||
|
_Player_js__WEBPACK_IMPORTED_MODULE_4__["Player"].hacknetNodeWrappers[i].moneyGainRatePerSecond = _Player_js__WEBPACK_IMPORTED_MODULE_4__["Player"].hacknetNodes[i].moneyGainRatePerSecond;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
function processAllHacknetNodeEarnings(numCycles) {
|
function processAllHacknetNodeEarnings(numCycles) {
|
||||||
var total = 0;
|
var total = 0;
|
||||||
|
updatePlayerHacknetNodeWrappers();
|
||||||
for (var i = 0; i < _Player_js__WEBPACK_IMPORTED_MODULE_4__["Player"].hacknetNodes.length; ++i) {
|
for (var i = 0; i < _Player_js__WEBPACK_IMPORTED_MODULE_4__["Player"].hacknetNodes.length; ++i) {
|
||||||
total += processSingleHacknetNodeEarnings(numCycles, _Player_js__WEBPACK_IMPORTED_MODULE_4__["Player"].hacknetNodes[i]);
|
total += processSingleHacknetNodeEarnings(numCycles, _Player_js__WEBPACK_IMPORTED_MODULE_4__["Player"].hacknetNodes[i]);
|
||||||
}
|
}
|
||||||
@ -59026,6 +59086,8 @@ function loadGame(saveString) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//Re-initialize Hacknet Node Wrappers
|
||||||
|
Object(_HacknetNode_js__WEBPACK_IMPORTED_MODULE_7__["createPlayerHacknetNodeWrappers"])();
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -59242,6 +59304,9 @@ function loadImportedGame(saveObj, saveString) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//Re-initialize Hacknet Node Wrappers
|
||||||
|
Object(_HacknetNode_js__WEBPACK_IMPORTED_MODULE_7__["createPlayerHacknetNodeWrappers"])();
|
||||||
|
|
||||||
var popupId = "import-game-restart-game-notice";
|
var popupId = "import-game-restart-game-notice";
|
||||||
var txt = Object(_utils_HelperFunctions_js__WEBPACK_IMPORTED_MODULE_17__["createElement"])("p", {
|
var txt = Object(_utils_HelperFunctions_js__WEBPACK_IMPORTED_MODULE_17__["createElement"])("p", {
|
||||||
innerText:"Imported game! I would suggest saving the game and then reloading the page " +
|
innerText:"Imported game! I would suggest saving the game and then reloading the page " +
|
||||||
@ -60704,6 +60769,8 @@ __webpack_require__.r(__webpack_exports__);
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
let BitNode8StartingMoney = 250e6;
|
||||||
|
|
||||||
//Prestige by purchasing augmentation
|
//Prestige by purchasing augmentation
|
||||||
function prestigeAugmentation() {
|
function prestigeAugmentation() {
|
||||||
@ -60798,7 +60865,7 @@ function prestigeAugmentation() {
|
|||||||
_Player_js__WEBPACK_IMPORTED_MODULE_13__["Player"].bladeburner = null;
|
_Player_js__WEBPACK_IMPORTED_MODULE_13__["Player"].bladeburner = null;
|
||||||
|
|
||||||
//BitNode 8: Ghost of Wall Street
|
//BitNode 8: Ghost of Wall Street
|
||||||
if (_Player_js__WEBPACK_IMPORTED_MODULE_13__["Player"].bitNodeN === 8) {_Player_js__WEBPACK_IMPORTED_MODULE_13__["Player"].money = new decimal_js__WEBPACK_IMPORTED_MODULE_18__["default"](100e6);}
|
if (_Player_js__WEBPACK_IMPORTED_MODULE_13__["Player"].bitNodeN === 8) {_Player_js__WEBPACK_IMPORTED_MODULE_13__["Player"].money = new decimal_js__WEBPACK_IMPORTED_MODULE_18__["default"](BitNode8StartingMoney);}
|
||||||
if (_Player_js__WEBPACK_IMPORTED_MODULE_13__["Player"].bitNodeN === 8 || _NetscriptFunctions_js__WEBPACK_IMPORTED_MODULE_11__["hasWallStreetSF"]) {
|
if (_Player_js__WEBPACK_IMPORTED_MODULE_13__["Player"].bitNodeN === 8 || _NetscriptFunctions_js__WEBPACK_IMPORTED_MODULE_11__["hasWallStreetSF"]) {
|
||||||
_Player_js__WEBPACK_IMPORTED_MODULE_13__["Player"].hasWseAccount = true;
|
_Player_js__WEBPACK_IMPORTED_MODULE_13__["Player"].hasWseAccount = true;
|
||||||
_Player_js__WEBPACK_IMPORTED_MODULE_13__["Player"].hasTixApiAccess = true;
|
_Player_js__WEBPACK_IMPORTED_MODULE_13__["Player"].hasTixApiAccess = true;
|
||||||
@ -60976,6 +61043,13 @@ function prestigeSourceFile() {
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//BitNode 8: Ghost of Wall Street
|
||||||
|
if (_Player_js__WEBPACK_IMPORTED_MODULE_13__["Player"].bitNodeN === 8) {_Player_js__WEBPACK_IMPORTED_MODULE_13__["Player"].money = new decimal_js__WEBPACK_IMPORTED_MODULE_18__["default"](BitNode8StartingMoney);}
|
||||||
|
if (_Player_js__WEBPACK_IMPORTED_MODULE_13__["Player"].bitNodeN === 8 || _NetscriptFunctions_js__WEBPACK_IMPORTED_MODULE_11__["hasWallStreetSF"]) {
|
||||||
|
_Player_js__WEBPACK_IMPORTED_MODULE_13__["Player"].hasWseAccount = true;
|
||||||
|
_Player_js__WEBPACK_IMPORTED_MODULE_13__["Player"].hasTixApiAccess = true;
|
||||||
|
}
|
||||||
|
|
||||||
//Gain int exp
|
//Gain int exp
|
||||||
_Player_js__WEBPACK_IMPORTED_MODULE_13__["Player"].gainIntelligenceExp(5);
|
_Player_js__WEBPACK_IMPORTED_MODULE_13__["Player"].gainIntelligenceExp(5);
|
||||||
}
|
}
|
||||||
@ -97004,7 +97078,7 @@ var NetscriptHighlightRules = function(options) {
|
|||||||
"JSON|Math|" + // Other
|
"JSON|Math|" + // Other
|
||||||
"this|arguments|prototype|window|document" , // Pseudo
|
"this|arguments|prototype|window|document" , // Pseudo
|
||||||
"keyword":
|
"keyword":
|
||||||
"const|yield|import|get|set|async|await|foop|" +
|
"const|yield|import|get|set|async|await|" +
|
||||||
"break|case|catch|continue|default|delete|do|else|finally|for|function|" +
|
"break|case|catch|continue|default|delete|do|else|finally|for|function|" +
|
||||||
"if|in|of|instanceof|new|return|switch|throw|try|typeof|let|var|while|with|debugger|" +
|
"if|in|of|instanceof|new|return|switch|throw|try|typeof|let|var|while|with|debugger|" +
|
||||||
"__parent__|__count__|escape|unescape|with|__proto__|" +
|
"__parent__|__count__|escape|unescape|with|__proto__|" +
|
||||||
|
BIN
doc/build/doctrees/changelog.doctree
vendored
BIN
doc/build/doctrees/changelog.doctree
vendored
Binary file not shown.
BIN
doc/build/doctrees/environment.pickle
vendored
BIN
doc/build/doctrees/environment.pickle
vendored
Binary file not shown.
14
doc/build/html/_sources/changelog.rst.txt
vendored
14
doc/build/html/_sources/changelog.rst.txt
vendored
@ -3,8 +3,18 @@
|
|||||||
Changelog
|
Changelog
|
||||||
=========
|
=========
|
||||||
|
|
||||||
v0.37.1
|
v0.37.2 - 6/2/2018
|
||||||
-------
|
------------------
|
||||||
|
|
||||||
|
* After joining the Bladeburners division, there is now a button to go to the Bladeburner content
|
||||||
|
in the 'City' page
|
||||||
|
* You now start with $250m in BitNode-8 (increased from $100m)
|
||||||
|
* Bug Fix: You can now no longer directly edit Hacknet Node values through NetscriptJS (hopefully)
|
||||||
|
* Bug Fix: Bladeburners is no longer accessible in BN-8
|
||||||
|
* Bug Fix: getBitNodeMultipliers() Netscript function now returns a copy rather than the original object
|
||||||
|
|
||||||
|
v0.37.1 - 5/22/2018
|
||||||
|
-------------------
|
||||||
* You now earn money from successfully completing Bladeburner contracts. The amount you earn is based
|
* You now earn money from successfully completing Bladeburner contracts. The amount you earn is based
|
||||||
on the difficulty of the contract.
|
on the difficulty of the contract.
|
||||||
* Completing Field Analysis in Bladeburner now grants 0.1 rank
|
* Completing Field Analysis in Bladeburner now grants 0.1 rank
|
||||||
|
18
doc/build/html/changelog.html
vendored
18
doc/build/html/changelog.html
vendored
@ -50,8 +50,19 @@
|
|||||||
|
|
||||||
<div class="section" id="changelog">
|
<div class="section" id="changelog">
|
||||||
<span id="id1"></span><h1>Changelog<a class="headerlink" href="#changelog" title="Permalink to this headline">¶</a></h1>
|
<span id="id1"></span><h1>Changelog<a class="headerlink" href="#changelog" title="Permalink to this headline">¶</a></h1>
|
||||||
<div class="section" id="v0-37-1">
|
<div class="section" id="v0-37-2-6-2-2018">
|
||||||
<h2>v0.37.1<a class="headerlink" href="#v0-37-1" title="Permalink to this headline">¶</a></h2>
|
<h2>v0.37.2 - 6/2/2018<a class="headerlink" href="#v0-37-2-6-2-2018" title="Permalink to this headline">¶</a></h2>
|
||||||
|
<ul class="simple">
|
||||||
|
<li>After joining the Bladeburners division, there is now a button to go to the Bladeburner content
|
||||||
|
in the 'City' page</li>
|
||||||
|
<li>You now start with $250m in BitNode-8 (increased from $100m)</li>
|
||||||
|
<li>Bug Fix: You can now no longer directly edit Hacknet Node values through NetscriptJS (hopefully)</li>
|
||||||
|
<li>Bug Fix: Bladeburners is no longer accessible in BN-8</li>
|
||||||
|
<li>Bug Fix: getBitNodeMultipliers() Netscript function now returns a copy rather than the original object</li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
<div class="section" id="v0-37-1-5-22-2018">
|
||||||
|
<h2>v0.37.1 - 5/22/2018<a class="headerlink" href="#v0-37-1-5-22-2018" title="Permalink to this headline">¶</a></h2>
|
||||||
<ul class="simple">
|
<ul class="simple">
|
||||||
<li>You now earn money from successfully completing Bladeburner contracts. The amount you earn is based
|
<li>You now earn money from successfully completing Bladeburner contracts. The amount you earn is based
|
||||||
on the difficulty of the contract.</li>
|
on the difficulty of the contract.</li>
|
||||||
@ -971,7 +982,8 @@ on the difficulty of the contract.</li>
|
|||||||
<li class="toctree-l1"><a class="reference internal" href="terminal.html"> Terminal</a></li>
|
<li class="toctree-l1"><a class="reference internal" href="terminal.html"> Terminal</a></li>
|
||||||
<li class="toctree-l1"><a class="reference internal" href="shortcuts.html"> Keyboard Shortcuts</a></li>
|
<li class="toctree-l1"><a class="reference internal" href="shortcuts.html"> Keyboard Shortcuts</a></li>
|
||||||
<li class="toctree-l1 current"><a class="current reference internal" href="#"> Changelog</a><ul>
|
<li class="toctree-l1 current"><a class="current reference internal" href="#"> Changelog</a><ul>
|
||||||
<li class="toctree-l2"><a class="reference internal" href="#v0-37-1">v0.37.1</a></li>
|
<li class="toctree-l2"><a class="reference internal" href="#v0-37-2-6-2-2018">v0.37.2 - 6/2/2018</a></li>
|
||||||
|
<li class="toctree-l2"><a class="reference internal" href="#v0-37-1-5-22-2018">v0.37.1 - 5/22/2018</a></li>
|
||||||
<li class="toctree-l2"><a class="reference internal" href="#v0-37-0-5-20-2018">v0.37.0 - 5/20/2018</a></li>
|
<li class="toctree-l2"><a class="reference internal" href="#v0-37-0-5-20-2018">v0.37.0 - 5/20/2018</a></li>
|
||||||
<li class="toctree-l2"><a class="reference internal" href="#v0-36-1-5-11-2018">v0.36.1 - 5/11/2018</a></li>
|
<li class="toctree-l2"><a class="reference internal" href="#v0-36-1-5-11-2018">v0.36.1 - 5/11/2018</a></li>
|
||||||
<li class="toctree-l2"><a class="reference internal" href="#v0-36-0-5-2-2018">v0.36.0 - 5/2/2018</a></li>
|
<li class="toctree-l2"><a class="reference internal" href="#v0-36-0-5-2-2018">v0.36.0 - 5/2/2018</a></li>
|
||||||
|
3
doc/build/html/index.html
vendored
3
doc/build/html/index.html
vendored
@ -268,7 +268,8 @@ secrets that you've been searching for.</p>
|
|||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li class="toctree-l1"><a class="reference internal" href="changelog.html"> Changelog</a><ul>
|
<li class="toctree-l1"><a class="reference internal" href="changelog.html"> Changelog</a><ul>
|
||||||
<li class="toctree-l2"><a class="reference internal" href="changelog.html#v0-37-1">v0.37.1</a></li>
|
<li class="toctree-l2"><a class="reference internal" href="changelog.html#v0-37-2-6-2-2018">v0.37.2 - 6/2/2018</a></li>
|
||||||
|
<li class="toctree-l2"><a class="reference internal" href="changelog.html#v0-37-1-5-22-2018">v0.37.1 - 5/22/2018</a></li>
|
||||||
<li class="toctree-l2"><a class="reference internal" href="changelog.html#v0-37-0-5-20-2018">v0.37.0 - 5/20/2018</a></li>
|
<li class="toctree-l2"><a class="reference internal" href="changelog.html#v0-37-0-5-20-2018">v0.37.0 - 5/20/2018</a></li>
|
||||||
<li class="toctree-l2"><a class="reference internal" href="changelog.html#v0-36-1-5-11-2018">v0.36.1 - 5/11/2018</a></li>
|
<li class="toctree-l2"><a class="reference internal" href="changelog.html#v0-36-1-5-11-2018">v0.36.1 - 5/11/2018</a></li>
|
||||||
<li class="toctree-l2"><a class="reference internal" href="changelog.html#v0-36-0-5-2-2018">v0.36.0 - 5/2/2018</a></li>
|
<li class="toctree-l2"><a class="reference internal" href="changelog.html#v0-36-0-5-2-2018">v0.36.0 - 5/2/2018</a></li>
|
||||||
|
2
doc/build/html/searchindex.js
vendored
2
doc/build/html/searchindex.js
vendored
File diff suppressed because one or more lines are too long
@ -3,8 +3,18 @@
|
|||||||
Changelog
|
Changelog
|
||||||
=========
|
=========
|
||||||
|
|
||||||
v0.37.1
|
v0.37.2 - 6/2/2018
|
||||||
-------
|
------------------
|
||||||
|
|
||||||
|
* After joining the Bladeburners division, there is now a button to go to the Bladeburner content
|
||||||
|
in the 'City' page
|
||||||
|
* You now start with $250m in BitNode-8 (increased from $100m)
|
||||||
|
* Bug Fix: You can now no longer directly edit Hacknet Node values through NetscriptJS (hopefully)
|
||||||
|
* Bug Fix: Bladeburners is no longer accessible in BN-8
|
||||||
|
* Bug Fix: getBitNodeMultipliers() Netscript function now returns a copy rather than the original object
|
||||||
|
|
||||||
|
v0.37.1 - 5/22/2018
|
||||||
|
-------------------
|
||||||
* You now earn money from successfully completing Bladeburner contracts. The amount you earn is based
|
* You now earn money from successfully completing Bladeburner contracts. The amount you earn is based
|
||||||
on the difficulty of the contract.
|
on the difficulty of the contract.
|
||||||
* Completing Field Analysis in Bladeburner now grants 0.1 rank
|
* Completing Field Analysis in Bladeburner now grants 0.1 rank
|
||||||
|
@ -103,7 +103,7 @@ var NetscriptHighlightRules = function(options) {
|
|||||||
"JSON|Math|" + // Other
|
"JSON|Math|" + // Other
|
||||||
"this|arguments|prototype|window|document" , // Pseudo
|
"this|arguments|prototype|window|document" , // Pseudo
|
||||||
"keyword":
|
"keyword":
|
||||||
"const|yield|import|get|set|async|await|foop|" +
|
"const|yield|import|get|set|async|await|" +
|
||||||
"break|case|catch|continue|default|delete|do|else|finally|for|function|" +
|
"break|case|catch|continue|default|delete|do|else|finally|for|function|" +
|
||||||
"if|in|of|instanceof|new|return|switch|throw|try|typeof|let|var|while|with|debugger|" +
|
"if|in|of|instanceof|new|return|switch|throw|try|typeof|let|var|while|with|debugger|" +
|
||||||
"__parent__|__count__|escape|unescape|with|__proto__|" +
|
"__parent__|__count__|escape|unescape|with|__proto__|" +
|
||||||
|
521
package-lock.json
generated
521
package-lock.json
generated
@ -1903,7 +1903,6 @@
|
|||||||
"requires": {
|
"requires": {
|
||||||
"anymatch": "1.3.2",
|
"anymatch": "1.3.2",
|
||||||
"async-each": "1.0.1",
|
"async-each": "1.0.1",
|
||||||
"fsevents": "1.2.4",
|
|
||||||
"glob-parent": "2.0.0",
|
"glob-parent": "2.0.0",
|
||||||
"inherits": "2.0.3",
|
"inherits": "2.0.3",
|
||||||
"is-binary-path": "1.0.1",
|
"is-binary-path": "1.0.1",
|
||||||
@ -5729,6 +5728,14 @@
|
|||||||
"resolved": "https://registry.npmjs.org/sprintf-js/-/sprintf-js-1.0.3.tgz",
|
"resolved": "https://registry.npmjs.org/sprintf-js/-/sprintf-js-1.0.3.tgz",
|
||||||
"integrity": "sha1-BOaSb2YolTVPPdAVIDYzuFcpfiw="
|
"integrity": "sha1-BOaSb2YolTVPPdAVIDYzuFcpfiw="
|
||||||
},
|
},
|
||||||
|
"string_decoder": {
|
||||||
|
"version": "1.0.3",
|
||||||
|
"resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.0.3.tgz",
|
||||||
|
"integrity": "sha512-4AH6Z5fzNNBcH+6XDMfA/BTt87skxqJlO0lAh3Dker5zThcAxG6mKz+iGu308UKoPPQ8Dcqx/4JhujzltRa+hQ==",
|
||||||
|
"requires": {
|
||||||
|
"safe-buffer": "5.1.1"
|
||||||
|
}
|
||||||
|
},
|
||||||
"string-width": {
|
"string-width": {
|
||||||
"version": "1.0.2",
|
"version": "1.0.2",
|
||||||
"resolved": "https://registry.npmjs.org/string-width/-/string-width-1.0.2.tgz",
|
"resolved": "https://registry.npmjs.org/string-width/-/string-width-1.0.2.tgz",
|
||||||
@ -5739,14 +5746,6 @@
|
|||||||
"strip-ansi": "3.0.1"
|
"strip-ansi": "3.0.1"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"string_decoder": {
|
|
||||||
"version": "1.0.3",
|
|
||||||
"resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.0.3.tgz",
|
|
||||||
"integrity": "sha512-4AH6Z5fzNNBcH+6XDMfA/BTt87skxqJlO0lAh3Dker5zThcAxG6mKz+iGu308UKoPPQ8Dcqx/4JhujzltRa+hQ==",
|
|
||||||
"requires": {
|
|
||||||
"safe-buffer": "5.1.1"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"strip-ansi": {
|
"strip-ansi": {
|
||||||
"version": "3.0.1",
|
"version": "3.0.1",
|
||||||
"resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-3.0.1.tgz",
|
"resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-3.0.1.tgz",
|
||||||
@ -6368,6 +6367,14 @@
|
|||||||
"resolved": "https://registry.npmjs.org/stable/-/stable-0.1.6.tgz",
|
"resolved": "https://registry.npmjs.org/stable/-/stable-0.1.6.tgz",
|
||||||
"integrity": "sha1-kQ9dKu17Ugxud3SZwfMuE5/eyxA="
|
"integrity": "sha1-kQ9dKu17Ugxud3SZwfMuE5/eyxA="
|
||||||
},
|
},
|
||||||
|
"string_decoder": {
|
||||||
|
"version": "1.0.3",
|
||||||
|
"resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.0.3.tgz",
|
||||||
|
"integrity": "sha512-4AH6Z5fzNNBcH+6XDMfA/BTt87skxqJlO0lAh3Dker5zThcAxG6mKz+iGu308UKoPPQ8Dcqx/4JhujzltRa+hQ==",
|
||||||
|
"requires": {
|
||||||
|
"safe-buffer": "5.1.1"
|
||||||
|
}
|
||||||
|
},
|
||||||
"string-width": {
|
"string-width": {
|
||||||
"version": "1.0.2",
|
"version": "1.0.2",
|
||||||
"resolved": "https://registry.npmjs.org/string-width/-/string-width-1.0.2.tgz",
|
"resolved": "https://registry.npmjs.org/string-width/-/string-width-1.0.2.tgz",
|
||||||
@ -6378,14 +6385,6 @@
|
|||||||
"strip-ansi": "3.0.1"
|
"strip-ansi": "3.0.1"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"string_decoder": {
|
|
||||||
"version": "1.0.3",
|
|
||||||
"resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.0.3.tgz",
|
|
||||||
"integrity": "sha512-4AH6Z5fzNNBcH+6XDMfA/BTt87skxqJlO0lAh3Dker5zThcAxG6mKz+iGu308UKoPPQ8Dcqx/4JhujzltRa+hQ==",
|
|
||||||
"requires": {
|
|
||||||
"safe-buffer": "5.1.1"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"stringstream": {
|
"stringstream": {
|
||||||
"version": "0.0.5",
|
"version": "0.0.5",
|
||||||
"resolved": "https://registry.npmjs.org/stringstream/-/stringstream-0.0.5.tgz",
|
"resolved": "https://registry.npmjs.org/stringstream/-/stringstream-0.0.5.tgz",
|
||||||
@ -8687,468 +8686,6 @@
|
|||||||
"integrity": "sha1-FQStJSMVjKpA20onh8sBQRmU6k8=",
|
"integrity": "sha1-FQStJSMVjKpA20onh8sBQRmU6k8=",
|
||||||
"dev": true
|
"dev": true
|
||||||
},
|
},
|
||||||
"fsevents": {
|
|
||||||
"version": "1.2.4",
|
|
||||||
"resolved": "https://registry.npmjs.org/fsevents/-/fsevents-1.2.4.tgz",
|
|
||||||
"integrity": "sha512-z8H8/diyk76B7q5wg+Ud0+CqzcAF3mBBI/bA5ne5zrRUUIvNkJY//D3BqyH571KuAC4Nr7Rw7CjWX4r0y9DvNg==",
|
|
||||||
"optional": true,
|
|
||||||
"requires": {
|
|
||||||
"nan": "2.10.0",
|
|
||||||
"node-pre-gyp": "0.10.0"
|
|
||||||
},
|
|
||||||
"dependencies": {
|
|
||||||
"abbrev": {
|
|
||||||
"version": "1.1.1",
|
|
||||||
"bundled": true,
|
|
||||||
"optional": true
|
|
||||||
},
|
|
||||||
"ansi-regex": {
|
|
||||||
"version": "2.1.1",
|
|
||||||
"bundled": true
|
|
||||||
},
|
|
||||||
"aproba": {
|
|
||||||
"version": "1.2.0",
|
|
||||||
"bundled": true,
|
|
||||||
"optional": true
|
|
||||||
},
|
|
||||||
"are-we-there-yet": {
|
|
||||||
"version": "1.1.4",
|
|
||||||
"bundled": true,
|
|
||||||
"optional": true,
|
|
||||||
"requires": {
|
|
||||||
"delegates": "1.0.0",
|
|
||||||
"readable-stream": "2.3.6"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"balanced-match": {
|
|
||||||
"version": "1.0.0",
|
|
||||||
"bundled": true
|
|
||||||
},
|
|
||||||
"brace-expansion": {
|
|
||||||
"version": "1.1.11",
|
|
||||||
"bundled": true,
|
|
||||||
"requires": {
|
|
||||||
"balanced-match": "1.0.0",
|
|
||||||
"concat-map": "0.0.1"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"chownr": {
|
|
||||||
"version": "1.0.1",
|
|
||||||
"bundled": true,
|
|
||||||
"optional": true
|
|
||||||
},
|
|
||||||
"code-point-at": {
|
|
||||||
"version": "1.1.0",
|
|
||||||
"bundled": true
|
|
||||||
},
|
|
||||||
"concat-map": {
|
|
||||||
"version": "0.0.1",
|
|
||||||
"bundled": true
|
|
||||||
},
|
|
||||||
"console-control-strings": {
|
|
||||||
"version": "1.1.0",
|
|
||||||
"bundled": true
|
|
||||||
},
|
|
||||||
"core-util-is": {
|
|
||||||
"version": "1.0.2",
|
|
||||||
"bundled": true,
|
|
||||||
"optional": true
|
|
||||||
},
|
|
||||||
"debug": {
|
|
||||||
"version": "2.6.9",
|
|
||||||
"bundled": true,
|
|
||||||
"optional": true,
|
|
||||||
"requires": {
|
|
||||||
"ms": "2.0.0"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"deep-extend": {
|
|
||||||
"version": "0.5.1",
|
|
||||||
"bundled": true,
|
|
||||||
"optional": true
|
|
||||||
},
|
|
||||||
"delegates": {
|
|
||||||
"version": "1.0.0",
|
|
||||||
"bundled": true,
|
|
||||||
"optional": true
|
|
||||||
},
|
|
||||||
"detect-libc": {
|
|
||||||
"version": "1.0.3",
|
|
||||||
"bundled": true,
|
|
||||||
"optional": true
|
|
||||||
},
|
|
||||||
"fs-minipass": {
|
|
||||||
"version": "1.2.5",
|
|
||||||
"bundled": true,
|
|
||||||
"optional": true,
|
|
||||||
"requires": {
|
|
||||||
"minipass": "2.2.4"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"fs.realpath": {
|
|
||||||
"version": "1.0.0",
|
|
||||||
"bundled": true,
|
|
||||||
"optional": true
|
|
||||||
},
|
|
||||||
"gauge": {
|
|
||||||
"version": "2.7.4",
|
|
||||||
"bundled": true,
|
|
||||||
"optional": true,
|
|
||||||
"requires": {
|
|
||||||
"aproba": "1.2.0",
|
|
||||||
"console-control-strings": "1.1.0",
|
|
||||||
"has-unicode": "2.0.1",
|
|
||||||
"object-assign": "4.1.1",
|
|
||||||
"signal-exit": "3.0.2",
|
|
||||||
"string-width": "1.0.2",
|
|
||||||
"strip-ansi": "3.0.1",
|
|
||||||
"wide-align": "1.1.2"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"glob": {
|
|
||||||
"version": "7.1.2",
|
|
||||||
"bundled": true,
|
|
||||||
"optional": true,
|
|
||||||
"requires": {
|
|
||||||
"fs.realpath": "1.0.0",
|
|
||||||
"inflight": "1.0.6",
|
|
||||||
"inherits": "2.0.3",
|
|
||||||
"minimatch": "3.0.4",
|
|
||||||
"once": "1.4.0",
|
|
||||||
"path-is-absolute": "1.0.1"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"has-unicode": {
|
|
||||||
"version": "2.0.1",
|
|
||||||
"bundled": true,
|
|
||||||
"optional": true
|
|
||||||
},
|
|
||||||
"iconv-lite": {
|
|
||||||
"version": "0.4.21",
|
|
||||||
"bundled": true,
|
|
||||||
"optional": true,
|
|
||||||
"requires": {
|
|
||||||
"safer-buffer": "2.1.2"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"ignore-walk": {
|
|
||||||
"version": "3.0.1",
|
|
||||||
"bundled": true,
|
|
||||||
"optional": true,
|
|
||||||
"requires": {
|
|
||||||
"minimatch": "3.0.4"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"inflight": {
|
|
||||||
"version": "1.0.6",
|
|
||||||
"bundled": true,
|
|
||||||
"optional": true,
|
|
||||||
"requires": {
|
|
||||||
"once": "1.4.0",
|
|
||||||
"wrappy": "1.0.2"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"inherits": {
|
|
||||||
"version": "2.0.3",
|
|
||||||
"bundled": true
|
|
||||||
},
|
|
||||||
"ini": {
|
|
||||||
"version": "1.3.5",
|
|
||||||
"bundled": true,
|
|
||||||
"optional": true
|
|
||||||
},
|
|
||||||
"is-fullwidth-code-point": {
|
|
||||||
"version": "1.0.0",
|
|
||||||
"bundled": true,
|
|
||||||
"requires": {
|
|
||||||
"number-is-nan": "1.0.1"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"isarray": {
|
|
||||||
"version": "1.0.0",
|
|
||||||
"bundled": true,
|
|
||||||
"optional": true
|
|
||||||
},
|
|
||||||
"minimatch": {
|
|
||||||
"version": "3.0.4",
|
|
||||||
"bundled": true,
|
|
||||||
"requires": {
|
|
||||||
"brace-expansion": "1.1.11"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"minimist": {
|
|
||||||
"version": "0.0.8",
|
|
||||||
"bundled": true
|
|
||||||
},
|
|
||||||
"minipass": {
|
|
||||||
"version": "2.2.4",
|
|
||||||
"bundled": true,
|
|
||||||
"requires": {
|
|
||||||
"safe-buffer": "5.1.1",
|
|
||||||
"yallist": "3.0.2"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"minizlib": {
|
|
||||||
"version": "1.1.0",
|
|
||||||
"bundled": true,
|
|
||||||
"optional": true,
|
|
||||||
"requires": {
|
|
||||||
"minipass": "2.2.4"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"mkdirp": {
|
|
||||||
"version": "0.5.1",
|
|
||||||
"bundled": true,
|
|
||||||
"requires": {
|
|
||||||
"minimist": "0.0.8"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"ms": {
|
|
||||||
"version": "2.0.0",
|
|
||||||
"bundled": true,
|
|
||||||
"optional": true
|
|
||||||
},
|
|
||||||
"needle": {
|
|
||||||
"version": "2.2.0",
|
|
||||||
"bundled": true,
|
|
||||||
"optional": true,
|
|
||||||
"requires": {
|
|
||||||
"debug": "2.6.9",
|
|
||||||
"iconv-lite": "0.4.21",
|
|
||||||
"sax": "1.2.4"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"node-pre-gyp": {
|
|
||||||
"version": "0.10.0",
|
|
||||||
"bundled": true,
|
|
||||||
"optional": true,
|
|
||||||
"requires": {
|
|
||||||
"detect-libc": "1.0.3",
|
|
||||||
"mkdirp": "0.5.1",
|
|
||||||
"needle": "2.2.0",
|
|
||||||
"nopt": "4.0.1",
|
|
||||||
"npm-packlist": "1.1.10",
|
|
||||||
"npmlog": "4.1.2",
|
|
||||||
"rc": "1.2.7",
|
|
||||||
"rimraf": "2.6.2",
|
|
||||||
"semver": "5.5.0",
|
|
||||||
"tar": "4.4.1"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"nopt": {
|
|
||||||
"version": "4.0.1",
|
|
||||||
"bundled": true,
|
|
||||||
"optional": true,
|
|
||||||
"requires": {
|
|
||||||
"abbrev": "1.1.1",
|
|
||||||
"osenv": "0.1.5"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"npm-bundled": {
|
|
||||||
"version": "1.0.3",
|
|
||||||
"bundled": true,
|
|
||||||
"optional": true
|
|
||||||
},
|
|
||||||
"npm-packlist": {
|
|
||||||
"version": "1.1.10",
|
|
||||||
"bundled": true,
|
|
||||||
"optional": true,
|
|
||||||
"requires": {
|
|
||||||
"ignore-walk": "3.0.1",
|
|
||||||
"npm-bundled": "1.0.3"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"npmlog": {
|
|
||||||
"version": "4.1.2",
|
|
||||||
"bundled": true,
|
|
||||||
"optional": true,
|
|
||||||
"requires": {
|
|
||||||
"are-we-there-yet": "1.1.4",
|
|
||||||
"console-control-strings": "1.1.0",
|
|
||||||
"gauge": "2.7.4",
|
|
||||||
"set-blocking": "2.0.0"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"number-is-nan": {
|
|
||||||
"version": "1.0.1",
|
|
||||||
"bundled": true
|
|
||||||
},
|
|
||||||
"object-assign": {
|
|
||||||
"version": "4.1.1",
|
|
||||||
"bundled": true,
|
|
||||||
"optional": true
|
|
||||||
},
|
|
||||||
"once": {
|
|
||||||
"version": "1.4.0",
|
|
||||||
"bundled": true,
|
|
||||||
"requires": {
|
|
||||||
"wrappy": "1.0.2"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"os-homedir": {
|
|
||||||
"version": "1.0.2",
|
|
||||||
"bundled": true,
|
|
||||||
"optional": true
|
|
||||||
},
|
|
||||||
"os-tmpdir": {
|
|
||||||
"version": "1.0.2",
|
|
||||||
"bundled": true,
|
|
||||||
"optional": true
|
|
||||||
},
|
|
||||||
"osenv": {
|
|
||||||
"version": "0.1.5",
|
|
||||||
"bundled": true,
|
|
||||||
"optional": true,
|
|
||||||
"requires": {
|
|
||||||
"os-homedir": "1.0.2",
|
|
||||||
"os-tmpdir": "1.0.2"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"path-is-absolute": {
|
|
||||||
"version": "1.0.1",
|
|
||||||
"bundled": true,
|
|
||||||
"optional": true
|
|
||||||
},
|
|
||||||
"process-nextick-args": {
|
|
||||||
"version": "2.0.0",
|
|
||||||
"bundled": true,
|
|
||||||
"optional": true
|
|
||||||
},
|
|
||||||
"rc": {
|
|
||||||
"version": "1.2.7",
|
|
||||||
"bundled": true,
|
|
||||||
"optional": true,
|
|
||||||
"requires": {
|
|
||||||
"deep-extend": "0.5.1",
|
|
||||||
"ini": "1.3.5",
|
|
||||||
"minimist": "1.2.0",
|
|
||||||
"strip-json-comments": "2.0.1"
|
|
||||||
},
|
|
||||||
"dependencies": {
|
|
||||||
"minimist": {
|
|
||||||
"version": "1.2.0",
|
|
||||||
"bundled": true,
|
|
||||||
"optional": true
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"readable-stream": {
|
|
||||||
"version": "2.3.6",
|
|
||||||
"bundled": true,
|
|
||||||
"optional": true,
|
|
||||||
"requires": {
|
|
||||||
"core-util-is": "1.0.2",
|
|
||||||
"inherits": "2.0.3",
|
|
||||||
"isarray": "1.0.0",
|
|
||||||
"process-nextick-args": "2.0.0",
|
|
||||||
"safe-buffer": "5.1.1",
|
|
||||||
"string_decoder": "1.1.1",
|
|
||||||
"util-deprecate": "1.0.2"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"rimraf": {
|
|
||||||
"version": "2.6.2",
|
|
||||||
"bundled": true,
|
|
||||||
"optional": true,
|
|
||||||
"requires": {
|
|
||||||
"glob": "7.1.2"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"safe-buffer": {
|
|
||||||
"version": "5.1.1",
|
|
||||||
"bundled": true
|
|
||||||
},
|
|
||||||
"safer-buffer": {
|
|
||||||
"version": "2.1.2",
|
|
||||||
"bundled": true,
|
|
||||||
"optional": true
|
|
||||||
},
|
|
||||||
"sax": {
|
|
||||||
"version": "1.2.4",
|
|
||||||
"bundled": true,
|
|
||||||
"optional": true
|
|
||||||
},
|
|
||||||
"semver": {
|
|
||||||
"version": "5.5.0",
|
|
||||||
"bundled": true,
|
|
||||||
"optional": true
|
|
||||||
},
|
|
||||||
"set-blocking": {
|
|
||||||
"version": "2.0.0",
|
|
||||||
"bundled": true,
|
|
||||||
"optional": true
|
|
||||||
},
|
|
||||||
"signal-exit": {
|
|
||||||
"version": "3.0.2",
|
|
||||||
"bundled": true,
|
|
||||||
"optional": true
|
|
||||||
},
|
|
||||||
"string-width": {
|
|
||||||
"version": "1.0.2",
|
|
||||||
"bundled": true,
|
|
||||||
"requires": {
|
|
||||||
"code-point-at": "1.1.0",
|
|
||||||
"is-fullwidth-code-point": "1.0.0",
|
|
||||||
"strip-ansi": "3.0.1"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"string_decoder": {
|
|
||||||
"version": "1.1.1",
|
|
||||||
"bundled": true,
|
|
||||||
"optional": true,
|
|
||||||
"requires": {
|
|
||||||
"safe-buffer": "5.1.1"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"strip-ansi": {
|
|
||||||
"version": "3.0.1",
|
|
||||||
"bundled": true,
|
|
||||||
"requires": {
|
|
||||||
"ansi-regex": "2.1.1"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"strip-json-comments": {
|
|
||||||
"version": "2.0.1",
|
|
||||||
"bundled": true,
|
|
||||||
"optional": true
|
|
||||||
},
|
|
||||||
"tar": {
|
|
||||||
"version": "4.4.1",
|
|
||||||
"bundled": true,
|
|
||||||
"optional": true,
|
|
||||||
"requires": {
|
|
||||||
"chownr": "1.0.1",
|
|
||||||
"fs-minipass": "1.2.5",
|
|
||||||
"minipass": "2.2.4",
|
|
||||||
"minizlib": "1.1.0",
|
|
||||||
"mkdirp": "0.5.1",
|
|
||||||
"safe-buffer": "5.1.1",
|
|
||||||
"yallist": "3.0.2"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"util-deprecate": {
|
|
||||||
"version": "1.0.2",
|
|
||||||
"bundled": true,
|
|
||||||
"optional": true
|
|
||||||
},
|
|
||||||
"wide-align": {
|
|
||||||
"version": "1.1.2",
|
|
||||||
"bundled": true,
|
|
||||||
"optional": true,
|
|
||||||
"requires": {
|
|
||||||
"string-width": "1.0.2"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"wrappy": {
|
|
||||||
"version": "1.0.2",
|
|
||||||
"bundled": true
|
|
||||||
},
|
|
||||||
"yallist": {
|
|
||||||
"version": "3.0.2",
|
|
||||||
"bundled": true
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"function-bind": {
|
"function-bind": {
|
||||||
"version": "1.1.1",
|
"version": "1.1.1",
|
||||||
"resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.1.tgz",
|
"resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.1.tgz",
|
||||||
@ -12438,12 +11975,6 @@
|
|||||||
"integrity": "sha1-MHXOk7whuPq0PhvE2n6BFe0ee6s=",
|
"integrity": "sha1-MHXOk7whuPq0PhvE2n6BFe0ee6s=",
|
||||||
"dev": true
|
"dev": true
|
||||||
},
|
},
|
||||||
"nan": {
|
|
||||||
"version": "2.10.0",
|
|
||||||
"resolved": "https://registry.npmjs.org/nan/-/nan-2.10.0.tgz",
|
|
||||||
"integrity": "sha512-bAdJv7fBLhWC+/Bls0Oza+mvTaNQtP+1RyhhhvD95pgUJz6XM5IzgmxOkItJ9tkoCiplvAnXI1tNmmUD/eScyA==",
|
|
||||||
"optional": true
|
|
||||||
},
|
|
||||||
"nanomatch": {
|
"nanomatch": {
|
||||||
"version": "1.2.9",
|
"version": "1.2.9",
|
||||||
"resolved": "https://registry.npmjs.org/nanomatch/-/nanomatch-1.2.9.tgz",
|
"resolved": "https://registry.npmjs.org/nanomatch/-/nanomatch-1.2.9.tgz",
|
||||||
@ -15237,7 +14768,7 @@
|
|||||||
},
|
},
|
||||||
"should-equal": {
|
"should-equal": {
|
||||||
"version": "1.0.1",
|
"version": "1.0.1",
|
||||||
"resolved": "http://registry.npmjs.org/should-equal/-/should-equal-1.0.1.tgz",
|
"resolved": "https://registry.npmjs.org/should-equal/-/should-equal-1.0.1.tgz",
|
||||||
"integrity": "sha1-C26VFvJgGp+wuy3MNpr6HH4gCvc=",
|
"integrity": "sha1-C26VFvJgGp+wuy3MNpr6HH4gCvc=",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"requires": {
|
"requires": {
|
||||||
@ -15888,6 +15419,14 @@
|
|||||||
"integrity": "sha1-J5siXfHVgrH1TmWt3UNS4Y+qBxM=",
|
"integrity": "sha1-J5siXfHVgrH1TmWt3UNS4Y+qBxM=",
|
||||||
"dev": true
|
"dev": true
|
||||||
},
|
},
|
||||||
|
"string_decoder": {
|
||||||
|
"version": "1.0.3",
|
||||||
|
"resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.0.3.tgz",
|
||||||
|
"integrity": "sha512-4AH6Z5fzNNBcH+6XDMfA/BTt87skxqJlO0lAh3Dker5zThcAxG6mKz+iGu308UKoPPQ8Dcqx/4JhujzltRa+hQ==",
|
||||||
|
"requires": {
|
||||||
|
"safe-buffer": "5.1.1"
|
||||||
|
}
|
||||||
|
},
|
||||||
"string-template": {
|
"string-template": {
|
||||||
"version": "0.2.1",
|
"version": "0.2.1",
|
||||||
"resolved": "https://registry.npmjs.org/string-template/-/string-template-0.2.1.tgz",
|
"resolved": "https://registry.npmjs.org/string-template/-/string-template-0.2.1.tgz",
|
||||||
@ -15923,14 +15462,6 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"string_decoder": {
|
|
||||||
"version": "1.0.3",
|
|
||||||
"resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.0.3.tgz",
|
|
||||||
"integrity": "sha512-4AH6Z5fzNNBcH+6XDMfA/BTt87skxqJlO0lAh3Dker5zThcAxG6mKz+iGu308UKoPPQ8Dcqx/4JhujzltRa+hQ==",
|
|
||||||
"requires": {
|
|
||||||
"safe-buffer": "5.1.1"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"stringstream": {
|
"stringstream": {
|
||||||
"version": "0.0.5",
|
"version": "0.0.5",
|
||||||
"resolved": "https://registry.npmjs.org/stringstream/-/stringstream-0.0.5.tgz",
|
"resolved": "https://registry.npmjs.org/stringstream/-/stringstream-0.0.5.tgz",
|
||||||
@ -16994,7 +16525,6 @@
|
|||||||
"anymatch": "2.0.0",
|
"anymatch": "2.0.0",
|
||||||
"async-each": "1.0.1",
|
"async-each": "1.0.1",
|
||||||
"braces": "2.3.1",
|
"braces": "2.3.1",
|
||||||
"fsevents": "1.2.4",
|
|
||||||
"glob-parent": "3.1.0",
|
"glob-parent": "3.1.0",
|
||||||
"inherits": "2.0.3",
|
"inherits": "2.0.3",
|
||||||
"is-binary-path": "1.0.1",
|
"is-binary-path": "1.0.1",
|
||||||
@ -17742,7 +17272,6 @@
|
|||||||
"anymatch": "2.0.0",
|
"anymatch": "2.0.0",
|
||||||
"async-each": "1.0.1",
|
"async-each": "1.0.1",
|
||||||
"braces": "2.3.2",
|
"braces": "2.3.2",
|
||||||
"fsevents": "1.2.4",
|
|
||||||
"glob-parent": "3.1.0",
|
"glob-parent": "3.1.0",
|
||||||
"inherits": "2.0.3",
|
"inherits": "2.0.3",
|
||||||
"is-binary-path": "1.0.1",
|
"is-binary-path": "1.0.1",
|
||||||
|
@ -3185,7 +3185,7 @@ function initBladeburner() {
|
|||||||
Skills[SkillNames.Overclock] = new Skill({
|
Skills[SkillNames.Overclock] = new Skill({
|
||||||
name:SkillNames.Overclock,
|
name:SkillNames.Overclock,
|
||||||
desc:"Each level of this skill decreases the time it takes " +
|
desc:"Each level of this skill decreases the time it takes " +
|
||||||
"to attempt a contract or operation by 1% (Max Level: 99)",
|
"to attempt a contract or operation by 1% (Max Level: 95)",
|
||||||
baseCost:5, costInc:1, maxLvl:95,
|
baseCost:5, costInc:1, maxLvl:95,
|
||||||
actionTime:1
|
actionTime:1
|
||||||
});
|
});
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
let CONSTANTS = {
|
let CONSTANTS = {
|
||||||
Version: "0.37.1",
|
Version: "0.37.2",
|
||||||
|
|
||||||
//Max level for any skill, assuming no multipliers. Determined by max numerical value in javascript for experience
|
//Max level for any skill, assuming no multipliers. Determined by max numerical value in javascript for experience
|
||||||
//and the skill level formula in Player.js. Note that all this means it that when experience hits MAX_INT, then
|
//and the skill level formula in Player.js. Note that all this means it that when experience hits MAX_INT, then
|
||||||
@ -484,16 +484,13 @@ let CONSTANTS = {
|
|||||||
"World Stock Exchange account and TIX API Access<br>",
|
"World Stock Exchange account and TIX API Access<br>",
|
||||||
|
|
||||||
LatestUpdate:
|
LatestUpdate:
|
||||||
"v0.37.1<br>" +
|
"v0.37.2<br>" +
|
||||||
"* You now earn money from successfully completing Bladeburner contracts. The amount you earn is based " +
|
"* After joining the Bladeburners division, there is now a button to go to the Bladeburner content " +
|
||||||
"on the difficulty of the contract.<br>" +
|
"in the 'City' page<br>" +
|
||||||
"* Completing Field Analysis in Bladeburner now grants 0.1 rank<br>" +
|
"* You now start with $250m in BitNode-8 (increased from $100m)<br>" +
|
||||||
"* The maximum RAM you can get on a purchased server is now 1,048,576GB (2^20)<br>" +
|
"* Bug Fix: You can now no longer directly edit Hacknet Node values through NetscriptJS (hopefully)<br>" +
|
||||||
"* Bug Fix: Fixed Netscript syntax highlighting issues with the new NetscriptJS<br>" +
|
"* Bug Fix: Bladeburners is no longer accessible in BN-8<br>" +
|
||||||
"* Bug Fix: Netscript Functions now properly incur RAM costs in NetscriptJS<br>" +
|
"* Bug Fix: getBitNodeMultipliers() Netscript function now returns a copy rather than the original object<br>"
|
||||||
"* Bug Fix: deleteServer() now fails if its called on the server you are currently connected to<br>" +
|
|
||||||
"* Removed in-game Netscript documentation, since it was outdated and difficult to maintain.<br>" +
|
|
||||||
"* Bug Fix: Updated the gymWorkout() Singularity function with the new exp/cost values for gyms<br>"
|
|
||||||
}
|
}
|
||||||
|
|
||||||
export {CONSTANTS};
|
export {CONSTANTS};
|
||||||
|
@ -56,6 +56,7 @@ function HacknetNode(name) {
|
|||||||
this.moneyGainRatePerSecond = 0;
|
this.moneyGainRatePerSecond = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
HacknetNode.prototype.updateMoneyGainRate = function() {
|
HacknetNode.prototype.updateMoneyGainRate = function() {
|
||||||
//How much extra $/s is gained per level
|
//How much extra $/s is gained per level
|
||||||
var gainPerLevel = CONSTANTS.HacknetNodeMoneyGainPerLevel;
|
var gainPerLevel = CONSTANTS.HacknetNodeMoneyGainPerLevel;
|
||||||
@ -180,6 +181,36 @@ HacknetNode.fromJSON = function(value) {
|
|||||||
|
|
||||||
Reviver.constructors.HacknetNode = HacknetNode;
|
Reviver.constructors.HacknetNode = HacknetNode;
|
||||||
|
|
||||||
|
var HacknetNodeWrapper = function(hacknetNodeObj) {
|
||||||
|
var _node = hacknetNodeObj;
|
||||||
|
return {
|
||||||
|
name : _node.name,
|
||||||
|
level : _node.level,
|
||||||
|
ram : _node.ram,
|
||||||
|
cores : _node.cores,
|
||||||
|
totalMoneyGenerated : _node.totalMoneyGenerated,
|
||||||
|
onlineTimeSeconds : _node.onlineTimeSeconds,
|
||||||
|
moneyGainRatePerSecond : _node.moneyGainRatePerSecond,
|
||||||
|
upgradeLevel : function(n) {
|
||||||
|
return _node.upgradeLevel(n);
|
||||||
|
},
|
||||||
|
upgradeRam : function() {
|
||||||
|
return _node.upgradeRam();
|
||||||
|
},
|
||||||
|
upgradeCore : function() {
|
||||||
|
return _node.upgradeCore();
|
||||||
|
},
|
||||||
|
getLevelUpgradeCost : function(n) {
|
||||||
|
return _node.getLevelUpgradeCost(n);
|
||||||
|
},
|
||||||
|
getRamUpgradeCost : function() {
|
||||||
|
return _node.getRamUpgradeCost();
|
||||||
|
},
|
||||||
|
getCoreUpgradeCost : function() {
|
||||||
|
return _node.getCoreUpgradeCost();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
function purchaseHacknet() {
|
function purchaseHacknet() {
|
||||||
/* INTERACTIVE TUTORIAL */
|
/* INTERACTIVE TUTORIAL */
|
||||||
@ -469,8 +500,31 @@ function updateHacknetNodeDomElement(nodeObj) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function createPlayerHacknetNodeWrappers() {
|
||||||
|
Player.hacknetNodeWrappers.length = Player.hacknetNodes.length;
|
||||||
|
for (var i = 0; i < Player.hacknetNodes.length; ++i) {
|
||||||
|
Player.hacknetNodeWrappers[i] = new HacknetNodeWrapper(Player.hacknetNodes[i]);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
function updatePlayerHacknetNodeWrappers() {
|
||||||
|
if (Player.hacknetNodeWrappers.length !== Player.hacknetNodes.length) {
|
||||||
|
return createPlayerHacknetNodeWrappers();
|
||||||
|
}
|
||||||
|
for (var i = 0; i < Player.hacknetNodeWrappers.length; ++i) {
|
||||||
|
if (!(Player.hacknetNodeWrappers[i] instanceof HacknetNodeWrapper)) {return createPlayerHacknetNodeWrappers();}
|
||||||
|
Player.hacknetNodeWrappers[i].level = Player.hacknetNodes[i].level;
|
||||||
|
Player.hacknetNodeWrappers[i].ram = Player.hacknetNodes[i].ram;
|
||||||
|
Player.hacknetNodeWrappers[i].cores = Player.hacknetNodes[i].cores;
|
||||||
|
Player.hacknetNodeWrappers[i].totalMoneyGenerated = Player.hacknetNodes[i].totalMoneyGenerated;
|
||||||
|
Player.hacknetNodeWrappers[i].onlineTimeSeconds = Player.hacknetNodes[i].onlineTimeSeconds;
|
||||||
|
Player.hacknetNodeWrappers[i].moneyGainRatePerSecond = Player.hacknetNodes[i].moneyGainRatePerSecond;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
function processAllHacknetNodeEarnings(numCycles) {
|
function processAllHacknetNodeEarnings(numCycles) {
|
||||||
var total = 0;
|
var total = 0;
|
||||||
|
updatePlayerHacknetNodeWrappers();
|
||||||
for (var i = 0; i < Player.hacknetNodes.length; ++i) {
|
for (var i = 0; i < Player.hacknetNodes.length; ++i) {
|
||||||
total += processSingleHacknetNodeEarnings(numCycles, Player.hacknetNodes[i]);
|
total += processSingleHacknetNodeEarnings(numCycles, Player.hacknetNodes[i]);
|
||||||
}
|
}
|
||||||
@ -503,4 +557,4 @@ function getHacknetNode(name) {
|
|||||||
export {hacknetNodesInit, HacknetNode, purchaseHacknet, updateTotalHacknetProduction,
|
export {hacknetNodesInit, HacknetNode, purchaseHacknet, updateTotalHacknetProduction,
|
||||||
getCostOfNextHacknetNode, updateHacknetNodesMultiplierButtons, getMaxNumberLevelUpgrades,
|
getCostOfNextHacknetNode, updateHacknetNodesMultiplierButtons, getMaxNumberLevelUpgrades,
|
||||||
displayHacknetNodesContent, updateHacknetNodesContent, processAllHacknetNodeEarnings,
|
displayHacknetNodesContent, updateHacknetNodesContent, processAllHacknetNodeEarnings,
|
||||||
getHacknetNode};
|
getHacknetNode, createPlayerHacknetNodeWrappers};
|
||||||
|
@ -726,6 +726,7 @@ function displayLocationContent() {
|
|||||||
securityJob.style.display = "block";
|
securityJob.style.display = "block";
|
||||||
agentJob.style.display = "block";
|
agentJob.style.display = "block";
|
||||||
if (Player.bitNodeN === 6 || hasBladeburnerSF === true) {
|
if (Player.bitNodeN === 6 || hasBladeburnerSF === true) {
|
||||||
|
if (Player.bitNodeN === 8) {break;}
|
||||||
if (Player.bladeburner instanceof Bladeburner) {
|
if (Player.bladeburner instanceof Bladeburner) {
|
||||||
//Note: Can't infiltrate NSA when part of bladeburner
|
//Note: Can't infiltrate NSA when part of bladeburner
|
||||||
nsaBladeburner.innerText = "Enter Bladeburner Headquarters";
|
nsaBladeburner.innerText = "Enter Bladeburner Headquarters";
|
||||||
|
@ -151,7 +151,7 @@ function NetscriptFunctions(workerScript) {
|
|||||||
Math : Math,
|
Math : Math,
|
||||||
Date : Date,
|
Date : Date,
|
||||||
Number : Number,
|
Number : Number,
|
||||||
hacknetnodes : Player.hacknetNodes,
|
hacknetnodes : Player.hacknetNodeWrappers,
|
||||||
sprintf : sprintf,
|
sprintf : sprintf,
|
||||||
vsprintf: vsprintf,
|
vsprintf: vsprintf,
|
||||||
scan : function(ip=workerScript.serverIp, hostnames=true){
|
scan : function(ip=workerScript.serverIp, hostnames=true){
|
||||||
@ -1118,7 +1118,8 @@ function NetscriptFunctions(workerScript) {
|
|||||||
if (!hasAISF) {
|
if (!hasAISF) {
|
||||||
throw makeRuntimeRejectMsg(workerScript, "Cannot run getBitNodeMultipliers(). It requires Source-File 5 to run.");
|
throw makeRuntimeRejectMsg(workerScript, "Cannot run getBitNodeMultipliers(). It requires Source-File 5 to run.");
|
||||||
}
|
}
|
||||||
return BitNodeMultipliers;
|
let copy = Object.assign({}, BitNodeMultipliers);
|
||||||
|
return copy;
|
||||||
},
|
},
|
||||||
getServerMoneyAvailable : function(ip){
|
getServerMoneyAvailable : function(ip){
|
||||||
if (workerScript.checkingRam) {
|
if (workerScript.checkingRam) {
|
||||||
|
@ -99,6 +99,7 @@ function PlayerObject() {
|
|||||||
this.currentServer = ""; //IP address of Server currently being accessed through terminal
|
this.currentServer = ""; //IP address of Server currently being accessed through terminal
|
||||||
this.purchasedServers = []; //IP Addresses of purchased servers
|
this.purchasedServers = []; //IP Addresses of purchased servers
|
||||||
this.hacknetNodes = [];
|
this.hacknetNodes = [];
|
||||||
|
this.hacknetNodeWrappers = [];
|
||||||
this.totalHacknetNodeProduction = 0;
|
this.totalHacknetNodeProduction = 0;
|
||||||
|
|
||||||
//Factions
|
//Factions
|
||||||
@ -390,16 +391,8 @@ PlayerObject.prototype.prestigeSourceFile = function() {
|
|||||||
if (this.bitNodeN === 3) {this.money = new Decimal(150e9);}
|
if (this.bitNodeN === 3) {this.money = new Decimal(150e9);}
|
||||||
this.corporation = 0;
|
this.corporation = 0;
|
||||||
|
|
||||||
//Reset Bladeburner
|
|
||||||
this.bladeburner = 0;
|
this.bladeburner = 0;
|
||||||
|
|
||||||
//BitNode 8: Ghost of Wall Street
|
|
||||||
if (this.bitNodeN === 8) {this.money = new Decimal(100000000);}
|
|
||||||
if (this.bitNodeN === 8 || hasWallStreetSF) {
|
|
||||||
this.hasWseAccount = true;
|
|
||||||
this.hasTixApiAccess = true;
|
|
||||||
}
|
|
||||||
|
|
||||||
this.playtimeSinceLastAug = 0;
|
this.playtimeSinceLastAug = 0;
|
||||||
this.scriptProdSinceLastAug = 0;
|
this.scriptProdSinceLastAug = 0;
|
||||||
}
|
}
|
||||||
|
@ -34,6 +34,8 @@ import {createPopup, createElement,
|
|||||||
import {yesNoBoxCreate, yesNoBoxGetYesButton,
|
import {yesNoBoxCreate, yesNoBoxGetYesButton,
|
||||||
yesNoBoxGetNoButton, yesNoBoxClose} from "../utils/YesNoBox.js";
|
yesNoBoxGetNoButton, yesNoBoxClose} from "../utils/YesNoBox.js";
|
||||||
|
|
||||||
|
let BitNode8StartingMoney = 250e6;
|
||||||
|
|
||||||
//Prestige by purchasing augmentation
|
//Prestige by purchasing augmentation
|
||||||
function prestigeAugmentation() {
|
function prestigeAugmentation() {
|
||||||
initBitNodeMultipliers();
|
initBitNodeMultipliers();
|
||||||
@ -127,7 +129,7 @@ function prestigeAugmentation() {
|
|||||||
Player.bladeburner = null;
|
Player.bladeburner = null;
|
||||||
|
|
||||||
//BitNode 8: Ghost of Wall Street
|
//BitNode 8: Ghost of Wall Street
|
||||||
if (Player.bitNodeN === 8) {Player.money = new Decimal(100e6);}
|
if (Player.bitNodeN === 8) {Player.money = new Decimal(BitNode8StartingMoney);}
|
||||||
if (Player.bitNodeN === 8 || hasWallStreetSF) {
|
if (Player.bitNodeN === 8 || hasWallStreetSF) {
|
||||||
Player.hasWseAccount = true;
|
Player.hasWseAccount = true;
|
||||||
Player.hasTixApiAccess = true;
|
Player.hasTixApiAccess = true;
|
||||||
@ -305,6 +307,13 @@ function prestigeSourceFile() {
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//BitNode 8: Ghost of Wall Street
|
||||||
|
if (Player.bitNodeN === 8) {Player.money = new Decimal(BitNode8StartingMoney);}
|
||||||
|
if (Player.bitNodeN === 8 || hasWallStreetSF) {
|
||||||
|
Player.hasWseAccount = true;
|
||||||
|
Player.hasTixApiAccess = true;
|
||||||
|
}
|
||||||
|
|
||||||
//Gain int exp
|
//Gain int exp
|
||||||
Player.gainIntelligenceExp(5);
|
Player.gainIntelligenceExp(5);
|
||||||
}
|
}
|
||||||
|
@ -8,7 +8,8 @@ import {loadFactions, Factions,
|
|||||||
processPassiveFactionRepGain} from "./Faction.js";
|
processPassiveFactionRepGain} from "./Faction.js";
|
||||||
import {FconfSettings, loadFconf} from "./Fconf.js";
|
import {FconfSettings, loadFconf} from "./Fconf.js";
|
||||||
import {loadAllGangs, AllGangs} from "./Gang.js";
|
import {loadAllGangs, AllGangs} from "./Gang.js";
|
||||||
import {processAllHacknetNodeEarnings} from "./HacknetNode.js";
|
import {processAllHacknetNodeEarnings,
|
||||||
|
createPlayerHacknetNodeWrappers} from "./HacknetNode.js";
|
||||||
import {loadMessages, initMessages, Messages} from "./Message.js";
|
import {loadMessages, initMessages, Messages} from "./Message.js";
|
||||||
import {Player, loadPlayer} from "./Player.js";
|
import {Player, loadPlayer} from "./Player.js";
|
||||||
import {loadAllRunningScripts} from "./Script.js";
|
import {loadAllRunningScripts} from "./Script.js";
|
||||||
@ -227,6 +228,8 @@ function loadGame(saveString) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//Re-initialize Hacknet Node Wrappers
|
||||||
|
createPlayerHacknetNodeWrappers();
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -443,6 +446,9 @@ function loadImportedGame(saveObj, saveString) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//Re-initialize Hacknet Node Wrappers
|
||||||
|
createPlayerHacknetNodeWrappers();
|
||||||
|
|
||||||
var popupId = "import-game-restart-game-notice";
|
var popupId = "import-game-restart-game-notice";
|
||||||
var txt = createElement("p", {
|
var txt = createElement("p", {
|
||||||
innerText:"Imported game! I would suggest saving the game and then reloading the page " +
|
innerText:"Imported game! I would suggest saving the game and then reloading the page " +
|
||||||
|
@ -703,7 +703,7 @@ function displayStockMarketContent() {
|
|||||||
if (!Player.hasWseAccount && Player.money.gte(CONSTANTS.WSEAccountCost)) {
|
if (!Player.hasWseAccount && Player.money.gte(CONSTANTS.WSEAccountCost)) {
|
||||||
wseAccountButton.setAttribute("class", "a-link-button");
|
wseAccountButton.setAttribute("class", "a-link-button");
|
||||||
} else if (Player.hasWseAccount){
|
} else if (Player.hasWseAccount){
|
||||||
wseAccountButton.innerText = "WSE Account - acquired";
|
wseAccountButton.innerText = "WSE Account - Purchased";
|
||||||
wseAccountButton.setAttribute("class", "a-link-button-bought");
|
wseAccountButton.setAttribute("class", "a-link-button-bought");
|
||||||
} else {
|
} else {
|
||||||
wseAccountButton.setAttribute("class", "a-link-button-inactive");
|
wseAccountButton.setAttribute("class", "a-link-button-inactive");
|
||||||
@ -724,7 +724,7 @@ function displayStockMarketContent() {
|
|||||||
if (!Player.hasTixApiAccess && Player.money.gte(CONSTANTS.TIXAPICost)) {
|
if (!Player.hasTixApiAccess && Player.money.gte(CONSTANTS.TIXAPICost)) {
|
||||||
tixApiAccessButton.setAttribute("class", "a-link-button");
|
tixApiAccessButton.setAttribute("class", "a-link-button");
|
||||||
} else if(Player.hasTixApiAccess) {
|
} else if(Player.hasTixApiAccess) {
|
||||||
tixApiAccessButton.innerText = "Trade Information eXchange (TIX) API Access - granted"
|
tixApiAccessButton.innerText = "Trade Information eXchange (TIX) API Access - Purchased"
|
||||||
tixApiAccessButton.setAttribute("class", "a-link-button-bought");
|
tixApiAccessButton.setAttribute("class", "a-link-button-bought");
|
||||||
} else {
|
} else {
|
||||||
tixApiAccessButton.setAttribute("class", "a-link-button-inactive");
|
tixApiAccessButton.setAttribute("class", "a-link-button-inactive");
|
||||||
|
@ -650,6 +650,7 @@ let Engine = {
|
|||||||
//Generic Locations (common to every city):
|
//Generic Locations (common to every city):
|
||||||
// World Stock Exchange
|
// World Stock Exchange
|
||||||
// Corporation (if applicable)
|
// Corporation (if applicable)
|
||||||
|
// Bladeburner HQ (if applicable);
|
||||||
var genericLocationsList = document.getElementById("generic-locations-list");
|
var genericLocationsList = document.getElementById("generic-locations-list");
|
||||||
genericLocationsList.style.display = "inline";
|
genericLocationsList.style.display = "inline";
|
||||||
removeChildrenFromElement(genericLocationsList);
|
removeChildrenFromElement(genericLocationsList);
|
||||||
@ -676,6 +677,18 @@ let Engine = {
|
|||||||
}));
|
}));
|
||||||
genericLocationsList.appendChild(li);
|
genericLocationsList.appendChild(li);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (Player.bladeburner instanceof Bladeburner) {
|
||||||
|
var li = createElement("li");
|
||||||
|
li.appendChild(createElement("a", {
|
||||||
|
innerText:"Bladeburner Headquarters", class:"a-link-button",
|
||||||
|
clickListener:()=>{
|
||||||
|
Engine.loadBladeburnerContent();
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
}));
|
||||||
|
genericLocationsList.appendChild(li);
|
||||||
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
displayFactionsInfo: function() {
|
displayFactionsInfo: function() {
|
||||||
|
Loading…
Reference in New Issue
Block a user