osanseviero commited on
Commit
b0fd129
1 Parent(s): 54f3213
Files changed (2) hide show
  1. main.js +8 -2
  2. projects.js +1 -1
main.js CHANGED
@@ -1057,7 +1057,14 @@ if (resultsFlag == 1 && autoTourneyFlag == 1 && autoTourneyStatus ==1 && tournam
1057
  }
1058
  }
1059
 
1060
-
 
 
 
 
 
 
 
1061
  tournamentStuffElement.onmouseover = function() {revealGrid()}; //m@: does this need to happen every button update? idts, but TODO: look this up
1062
  tournamentStuffElement.onmouseout = function() {revealResults()};
1063
 
@@ -6304,5 +6311,4 @@ if (investmentEngineFlag == 0){
6304
  } else if(investmentEngineFlag == 1) {
6305
  investmentEngineElement.style.display="";
6306
  investmentEngineUpgradeElement.style.display="none";
6307
-
6308
  }
 
1057
  }
1058
  }
1059
 
1060
+ if (investmentEngineFlag == 0){
1061
+ console.log("set none")
1062
+ investmentEngineElement.style.display="none";
1063
+ investmentEngineUpgradeElement.style.display="none";
1064
+ } else if(investmentEngineFlag == 1) {
1065
+ investmentEngineElement.style.display="";
1066
+ investmentEngineUpgradeElement.style.display="none";
1067
+ }
1068
  tournamentStuffElement.onmouseover = function() {revealGrid()}; //m@: does this need to happen every button update? idts, but TODO: look this up
1069
  tournamentStuffElement.onmouseout = function() {revealResults()};
1070
 
 
6311
  } else if(investmentEngineFlag == 1) {
6312
  investmentEngineElement.style.display="";
6313
  investmentEngineUpgradeElement.style.display="none";
 
6314
  }
projects.js CHANGED
@@ -36,7 +36,7 @@ var project2 = {
36
  title: "Beg for More ML Papers ",
37
  priceTag: "(1 Trust)",
38
  description: "Admit failure, ask for budget increase to cover cost of 1 conference",
39
- trigger: function(){return portTotal<wireCost && wire<100},
40
  uses: 1,
41
  cost: function(){return trust>=-100},
42
  flag: 0,
 
36
  title: "Beg for More ML Papers ",
37
  priceTag: "(1 Trust)",
38
  description: "Admit failure, ask for budget increase to cover cost of 1 conference",
39
+ trigger: function(){return portTotal<wireCost && funds<wireCost && wire<1 && unsoldClips<1},
40
  uses: 1,
41
  cost: function(){return trust>=-100},
42
  flag: 0,