house=0;
gold=50;
function increase() {
 if(gold > 100*Math.pow(1.1,house-1)) {
    gold-=100*Math.pow(1.1,house-1);
    house++;
    document.getElementById("gold").firstChild.innerHTML=gold;
    document.getElementById("house").firstChild.innerHTML=house;
 }
}
window.setInterval(function() {
  gold+=0.1*(1+house);
  document.getElementById("gold").firstChild.innerHTML=gold;
},100);

@@ -304,17 +304,20 @@
 0.1*
-(1+
 house
-)
++0.0001
 ;%0A  

Update base.js