Added correct production build. Properly reset stock market 4S values when prestiging through BitNode

This commit is contained in:
danielyxie 2018-08-27 00:23:04 -05:00
parent 2bf6871ece
commit 53e2a5091c
6 changed files with 164 additions and 162910 deletions

53905
dist/engine.bundle.js vendored

File diff suppressed because one or more lines are too long

1
dist/engine.css vendored

@ -1088,6 +1088,7 @@ a:visited {
margin-left: 10px;
display: block; }
/* Change font size of Stock TIcker headers */
#stock-market-list li button {
font-size: 16px; }

109158
dist/vendor.bundle.js vendored

File diff suppressed because one or more lines are too long

@ -517,7 +517,8 @@ let CONSTANTS = {
"* Bug Fix: bladeburner.getCurrentAction() should now properly an 'Idle' object rather than null (by Kline-)<br>" +
"* Bug Fix: Bladeburner skill cost multiplier should now properly increase in BitNode-12 (by hydroflame)<br>" +
"* Bug Fix: 'document', 'hacknet', and 'window' keywords should no longer be counted multiple times in RAM calculations<br>" +
"* Bug Fix: Joining factions through Singularity functions should now prevent you from joining opposing factions<br>"
"* Bug Fix: Joining factions through Singularity functions should now prevent you from joining opposing factions<br>" +
"* Bug Fix: Four Sigma should no longer have two 'Speech Enhancement' Augmentations (by Kline-)<br>"
}

@ -391,6 +391,8 @@ PlayerObject.prototype.prestigeSourceFile = function() {
//Reset Stock market
this.hasWseAccount = false;
this.hasTixApiAccess = false;
this.has4SData = false;
this.has4SDataTixApi = false;
//BitNode 3: Corporatocracy
if (this.bitNodeN === 3) {this.money = new Decimal(150e9);}

@ -128,7 +128,7 @@ function prestigeAugmentation() {
Player.hasWseAccount = true;
Player.hasTixApiAccess = true;
}
//Reset Stock market
if (Player.hasWseAccount) {
initStockMarket();
@ -139,7 +139,10 @@ function prestigeAugmentation() {
while(stockMarketList.firstChild) {
stockMarketList.removeChild(stockMarketList.firstChild);
}
var watchlist = document.getElementById("stock-market-watchlist-filter");
watchlist.value = ""; //Reset watchlist filter
//Load Terminal Screen
var mainMenu = document.getElementById("mainmenu-container");
mainMenu.style.visibility = "visible";
Terminal.resetTerminalInput();