Stock Market rebalancing. Change visibility to display for changing UI. More work on company management

This commit is contained in:
danielyxie
2017-11-08 19:55:21 -06:00
parent 8f0b770707
commit 36696d04db
8 changed files with 952 additions and 168 deletions
+17 -6
View File
@@ -101,11 +101,11 @@ function prestigeAugmentation() {
if (Player.hasWseAccount) {
initStockMarket();
initSymbolToStockMap();
setStockMarketContentCreated(false);
var stockMarketList = document.getElementById("stock-market-list");
while(stockMarketList.firstChild) {
stockMarketList.removeChild(stockMarketList.firstChild);
}
}
setStockMarketContentCreated(false);
var stockMarketList = document.getElementById("stock-market-list");
while(stockMarketList.firstChild) {
stockMarketList.removeChild(stockMarketList.firstChild);
}
//Gang, in BitNode 2
@@ -228,9 +228,20 @@ function prestigeSourceFile() {
Terminal.resetTerminalInput();
Engine.loadTerminalContent();
//Reinitialize flags in case you just finished BN-4
//Reinitialize Bit Node flags
initSingularitySFFlags();
//Reset Stock market
if (Player.hasWseAccount) {
initStockMarket();
initSymbolToStockMap();
}
setStockMarketContentCreated(false);
var stockMarketList = document.getElementById("stock-market-list");
while(stockMarketList.firstChild) {
stockMarketList.removeChild(stockMarketList.firstChild);
}
//Gain int exp
Player.gainIntelligenceExp(5);
}