diff --git a/index.html b/index.html
index 30930bf..4de37f2 100644
--- a/index.html
+++ b/index.html
@@ -1,3 +1,5 @@
+
+
@@ -8,19 +10,32 @@
+
- Absurd Incremental v0.3.1 | Big Bugfix!
+ Absurd Incremental v0.4 | Big Dot!
+
+
+
-
Nothing: 10 | Nothing Per Second: 0
+
Nothing: 10 | Nothing Per Second: 0
+
+
+
-
+
+
+
+ Dot Upgrade 1 | 5.0 Dots | 0 Upgrades | 1.5x Nothing | Current Boost: 1x
+
+
@@ -36,12 +57,24 @@
+
+
+ Dot Upgrade 2 | 25.0 Dots | 0 Upgrades | Tickspeed - 10 | Current Boost: 1000 - 10
+
+
+
Nothing Generator 3 | 0 / 10 | 1.00e+3 | 0 Generators | 1x | Generator 3 Per Second: 0
+
+
+ Dot Upgrade 3 | 5 Dots | 0 Upgrades | 1.65x Dots | Current Boost: 1.0x
+
+
+
Nothing Generator 4 | 0 / 10 | 1.00e+4 | 0 Generators | 1x | Generator 4 Per Second: 0
+
+
+ Reset all your Nothing and Nothing Upgrades and Make a Dot: 0
+
+
Import
diff --git a/scripts/NothingGen.js b/scripts/NothingGen.js
index 28c9a87..be17552 100644
--- a/scripts/NothingGen.js
+++ b/scripts/NothingGen.js
@@ -52,6 +52,9 @@ var gen8x = new Decimal("1.0");
var gen7get = new Decimal("1.0");
var gen8vis = 0
+tickspeed = 1000
+
+
function BGButtonTest() {
if (new Decimal(Nothing).gte(gen1cost)) {
const gen1bg = document.getElementById("gen1bg");
@@ -149,9 +152,9 @@ function BGButtonTest8() {
}
-function NothingGet() {
- Nothing = Decimal.add(Nothing, nget);
+function NothingGet1() {
document.getElementById("Nothing").innerHTML = new Decimal(Nothing).toPrecision(3);
+ document.getElementById("dot").innerHTML = new Decimal(dot).toPrecision(3);
document.getElementById("nget").innerHTML = new Decimal(nget).toPrecision(3);
document.getElementById("gen1get").innerHTML = new Decimal(gen1get).toPrecision(3);
document.getElementById("gen2get").innerHTML = new Decimal(gen2get).toPrecision(3);
@@ -162,6 +165,10 @@ function NothingGet() {
document.getElementById("gen7get").innerHTML = new Decimal(gen7get).toPrecision(3);
}
+function NothingGet2() {
+ Nothing = Decimal.add(Nothing, nget);
+}
+
setInterval("BGButtonTest()", 1);
setInterval("BGButtonTest3()", 1);
setInterval("BGButtonTest4()", 1);
@@ -169,7 +176,8 @@ setInterval("BGButtonTest5()", 1);
setInterval("BGButtonTest6()", 1);
setInterval("BGButtonTest7()", 1);
setInterval("BGButtonTest8()", 1);
-setInterval("NothingGet()", 1000);
+int1 = setInterval("NothingGet2()", tickspeed);
+int2 = setInterval("NothingGet1()", tickspeed);
function gen1Buy() {
if (Nothing.gte(gen1cost)) {
@@ -411,7 +419,7 @@ function newGen8() {
function gennget() {
- nget = Decimal.mul(gen1val, gen1x);
+ nget = Decimal.mul(Decimal.mul(gen1val, gen1x), dot1boost);
gen1get = Decimal.mul(gen2val, gen2x);
gen2get = Decimal.mul(gen3val, gen3x);
gen3get = Decimal.mul(gen4val, gen4x);
@@ -458,13 +466,13 @@ function gen8nget() {
setInterval("gennget()", 100);
setInterval("BGButtonTest2()", 1);
-setInterval("gen2nget()", 1000);
-setInterval("gen3nget()", 1000);
-setInterval("gen4nget()", 1000);
-setInterval("gen5nget()", 1000);
-setInterval("gen6nget()", 1000);
-setInterval("gen7nget()", 1000);
-setInterval("gen8nget()", 1000);
+int3 = setInterval("gen2nget()", tickspeed);
+int4 = setInterval("gen3nget()", tickspeed);
+int5 = setInterval("gen4nget()", tickspeed);
+int6 = setInterval("gen5nget()", tickspeed);
+int7 = setInterval("gen6nget()", tickspeed);
+int8 = setInterval("gen7nget()", tickspeed);
+int9 = setInterval("gen8nget()", tickspeed);
setInterval("newGen1()", 100);
setInterval("newGen2()", 100);
setInterval("newGen3()", 100);
@@ -531,8 +539,24 @@ function GameSave() {
gen8x: gen8x,
gen8cost: gen8cost,
gen7get: gen7get,
- gen8vis: gen8vis
- };
+ gen8vis: gen8vis,
+ //
+ dot: dot,
+ dotx: dotx,
+ dotget: dotget,
+ showdots: showdots,
+ //
+ dot1cost: dot1cost,
+ dot1val: dot1val,
+ dot1boost: dot1boost,
+ tickspeed: tickspeed,
+ //
+ dot2cost: dot2cost,
+ dot2val: dot2val,
+ //
+ dot3cost: dot3cost,
+ dot3val: dot3val
+ };
localStorage.setItem("saveGame", JSON.stringify(saveGame));
}
@@ -595,6 +619,22 @@ function lkGame() {
if (typeof savedGame.gen7get !== "undefined") gen7get = savedGame.gen6get;
if (typeof savedGame.gen8vis !== "undefined") gen8vis = savedGame.gen8vis;
//
+ if (typeof savedGame.dot !== "undefined") dot = savedGame.dot;
+ if (typeof savedGame.dotx !== "undefined") dotx = savedGame.dotx;
+ if (typeof savedGame.dotget !== "undefined") dotget = savedGame.dotget;
+ if (typeof savedGame.showdots !== "undefined") showdots = savedGame.showdots;
+ //
+ if (typeof savedGame.dot1cost !== "undefined") dot1cost = savedGame.dot1cost;
+ if (typeof savedGame.dot1val !== "undefined") dot1val = savedGame.dot1val;
+ if (typeof savedGame.dot1boost !== "undefined") dot1boost = savedGame.dot1boost;
+ if (typeof savedGame.tickspeed !== "undefined") tickspeed = savedGame.tickspeed;
+ //
+ if (typeof savedGame.dot2cost !== "undefined") dot2cost = savedGame.dot2cost;
+ if (typeof savedGame.dot2val !== "undefined") dot2val = savedGame.dot2val;
+ //
+ if (typeof savedGame.dot3cost !== "undefined") dot3cost = savedGame.dot3cost;
+ if (typeof savedGame.dot3val !== "undefined") dot3val = savedGame.dot3val;
+ //
if (gen2vis > 0) {
gen2bg.style.display = "block";
}
@@ -622,6 +662,11 @@ function lkGame() {
if (gen8vis > 0) {
gen8bg.style.display = "block";
}
+
+ if (showdots > 0) {
+ dots.style.display = "block";
+ }
+
}
function updateVars() {
@@ -663,7 +708,21 @@ function updateVars() {
document.getElementById("gen8cost").innerHTML = new Decimal(gen8cost).toPrecision(3);
document.getElementById("gen8x").innerHTML = new Decimal(gen8x).toPrecision(3);
document.getElementById("gen8").innerHTML = new Decimal(gen8).toPrecision(3);
- document.getElementById("gen8val").innerHTML = new Decimal(gen8val).toPrecision(3)
+ document.getElementById("gen8val").innerHTML = new Decimal(gen8val).toPrecision(3);
+ //
+ document.getElementById("dot").innerHTML = new Decimal(dot).toPrecision(3);
+ document.getElementById("dotget").innerHTML = new Decimal(dotget).toPrecision(3);
+ //
+ document.getElementById("dot1cost").innerHTML = new Decimal(dot1cost).toPrecision(3);
+ document.getElementById("dot1val").innerHTML = new Decimal(dot1val).toPrecision(3);
+ document.getElementById("dot1boost").innerHTML = new Decimal(dot1boost).toPrecision(3);
+ document.getElementById("tickspeed").innerHTML = new Decimal(tickspeed).toPrecision(3);
+ //
+ document.getElementById("dot2cost").innerHTML = new Decimal(dot2cost).toPrecision(3);
+ document.getElementById("dot2val").innerHTML = new Decimal(dot2val).toPrecision(3);
+ //
+ document.getElementById("dot3cost").innerHTML = new Decimal(dot3cost).toPrecision(3);
+ document.getElementById("dot3val").innerHTML = new Decimal(dot3val).toPrecision(3);
//
}
@@ -671,11 +730,37 @@ window.onload = function() {
lkGame();
updateVars();
visibleGen();
+ genN();
+ clearInterval(int1)
+ clearInterval(int2)
+ clearInterval(int3)
+ clearInterval(int4)
+ clearInterval(int5)
+ clearInterval(int6)
+ clearInterval(int7)
+ clearInterval(int8)
+ clearInterval(int9)
+ tickspeed = tickspeed;
+ int1 = setInterval("NothingGet2()", tickspeed);
+ int2 = setInterval("NothingGet1()", tickspeed);
+ int3 = setInterval("gen2nget()", tickspeed);
+ int4 = setInterval("gen3nget()", tickspeed);
+ int5 = setInterval("gen4nget()", tickspeed);
+ int6 = setInterval("gen5nget()", tickspeed);
+ int7 = setInterval("gen6nget()", tickspeed);
+ int8 = setInterval("gen7nget()", tickspeed);
+ int9 = setInterval("gen8nget()", tickspeed);
}
setInterval("GameSave()", 1000)
function visibleGen() {
+
+ if (new Decimal(gen1val).gte("1")) {
+ gen2bg.style.display = "block";
+ gen2vis = 1
+ }
+
if (new Decimal(gen2val).gte("1")) {
gen3bg.style.display = "block";
gen3vis = 1
@@ -705,12 +790,20 @@ function visibleGen() {
gen8bg.style.display = "block";
gen8vis = 1
}
+
+ if (showdots > 0) {
+ dots.style.display = "block";
+ }
+
}
function deleteSave() {
var answer = window.confirm("Are you sure?");
var savedGame = JSON.parse(localStorage.getItem("saveGame"));
if (answer) {
+
+ showdots = 0
+
if (typeof savedGame.nothing !== "undefined") Nothing = 10;
if (typeof savedGame.nget !== "undefined") nget = 0;
if (typeof savedGame.gen1 !== "undefined") gen1 = 0;
@@ -767,7 +860,21 @@ if (answer) {
if (typeof savedGame.gen7get !== "undefined") gen7get = 1;
if (typeof savedGame.gen8vis !== "undefined") gen8vis = 0;
//
-
+ if (typeof savedGame.dot !== "undefined") dot = 0;
+ if (typeof savedGame.dotget !== "undefined") dotget = 0;
+ if (typeof savedGame.showdots !== "undefined") showdots = 0;
+ //
+ if (typeof savedGame.dot1cost !== "undefined") dot1cost = 10;
+ if (typeof savedGame.dot1val !== "undefined") dot1val = 0;
+ if (typeof savedGame.dot1boost !== "undefined") dot1boost = 1;
+ if (typeof savedGame.tickspeed !== "undefined") tickspeed = 1000;
+ //
+ if (typeof savedGame.dot2cost !== "undefined") dot2cost = 25;
+ if (typeof savedGame.dot2val !== "undefined") dot2val = 0;
+ //
+ if (typeof savedGame.dot3cost !== "undefined") dot3cost = 5;
+ if (typeof savedGame.dot3val !== "undefined") dot3val = 0;
+ //
updateVars();
gen2bg.style.display = "none";
gen3bg.style.display = "none";
@@ -776,6 +883,13 @@ if (answer) {
gen6bg.style.display = "none";
gen7bg.style.display = "none";
gen8bg.style.display = "none";
+ if (showdots = 0) {
+ dots.style.display = "none";
+ }
+ document.getElementById("madot").style.display = "none";
+
+ location.reload();
+
}
else {
console.log("dont delete")
@@ -857,6 +971,22 @@ function impsave() {
if (typeof savedGame.gen7get !== "undefined") gen7get = savedGame.gen6get;
if (typeof savedGame.gen8vis !== "undefined") gen8vis = savedGame.gen8vis;
//
+ if (typeof savedGame.dot !== "undefined") dot = savedGame.dot;
+ if (typeof savedGame.dotx !== "undefined") dotx = savedGame.dotx;
+ if (typeof savedGame.dotget !== "undefined") dotget = savedGame.dotget;
+ if (typeof savedGame.showdots !== "undefined") showdots = savedGame.showdots;
+ //
+ if (typeof savedGame.dot1cost !== "undefined") dot1cost = savedGame.dot1cost;
+ if (typeof savedGame.dot1val !== "undefined") dot1val = savedGame.dot1val;
+ if (typeof savedGame.dot1boost !== "undefined") dot1boost = savedGame.dot1boost;
+ if (typeof savedGame.tickspeed !== "undefined") tickspeed = savedGame.tickspeed;
+ //
+ if (typeof savedGame.dot2cost !== "undefined") dot2cost = savedGame.dot2cost;
+ if (typeof savedGame.dot2val !== "undefined") dot2val = savedGame.dot2val;
+ //
+ if (typeof savedGame.dot3cost !== "undefined") dot3cost = savedGame.dot3cost;
+ if (typeof savedGame.dot3val !== "undefined") dot3val = savedGame.dot3val;
+ //
if (gen2vis > 0) {
gen2bg.style.display = "block";
}
@@ -884,6 +1014,11 @@ function impsave() {
if (gen8vis > 0) {
gen8bg.style.display = "block";
}
+
+ if (showdots > 0) {
+ dots.style.display = "block";
+ }
+
updateVars();
gen2bg.style.display = "none";
@@ -896,11 +1031,11 @@ function impsave() {
visibleGen()
}
-function negativdedest() {
+function tweaksbugs() {
if (new Decimal(Nothing).lt("0")) {
Nothing = new Decimal("0")
}
}
-setInterval("negativdedest()", 100);
+setInterval("tweaksbugs()", 100);
diff --git a/scripts/buttons.js b/scripts/buttons.js
new file mode 100644
index 0000000..2110627
--- /dev/null
+++ b/scripts/buttons.js
@@ -0,0 +1,270 @@
+//genN - функция показа вещей при нажатии кнопки N
+//dotShow - функция показа вещей при нажатии кнопки D
+//show d - показ кнопки D
+
+
+
+var dot1cost = new Decimal("5.0");
+var dot1val = new Decimal("0.0");
+var dot1boost = new Decimal("1.0");
+
+var dot2cost = new Decimal("25.0");
+var dot2val = new Decimal("0.0");
+
+var dot3cost = new Decimal("5.0");
+var dot3val = new Decimal("0.0");
+
+function BGButtonTestDot() {
+ if (new Decimal(dot).gte(dot1cost)) {
+ const DotUp1 = document.getElementById("DotUp1");
+ DotUp1.style.background = "#43c443";
+ DotUp1.style.cursor = "pointer";
+ } else if (new Decimal(dot).lt(dot1cost)) {
+ const DotUp1 = document.getElementById("DotUp1");
+ DotUp1.style.background = "transparent";
+ DotUp1.style.cursor = "default";
+ }
+
+ if (new Decimal(dot).gte(dot2cost)) {
+ const DotUp2 = document.getElementById("DotUp2");
+ DotUp2.style.background = "#43c443";
+ DotUp2.style.cursor = "pointer";
+ } else if (new Decimal(dot).lt(dot2cost)) {
+ const DotUp2 = document.getElementById("DotUp2");
+ DotUp2.style.background = "transparent";
+ DotUp2.style.cursor = "default";
+ }
+
+ if (new Decimal(dot).gte(dot3cost)) {
+ const DotUp3 = document.getElementById("DotUp3");
+ DotUp3.style.background = "#43c443";
+ DotUp3.style.cursor = "pointer";
+ } else if (new Decimal(dot).lt(dot3cost)) {
+ const DotUp3 = document.getElementById("DotUp3");
+ DotUp3.style.background = "transparent";
+ DotUp3.style.cursor = "default";
+ }
+}
+
+function Dot1Buy() {
+ if (new Decimal(dot).gte(dot1cost)) {
+ dot1val = Decimal.add(dot1val, "1");
+ dot = Decimal.minus(dot, dot1cost);
+ dot1cost = Decimal.mul(dot1cost, 2);
+ dot1boost = Decimal.plus(dot1boost, 1.5);
+ document.getElementById("dot").innerHTML = dot.toPrecision(3);
+ document.getElementById("dot1cost").innerHTML = new Decimal(dot1cost).toPrecision(3);
+ document.getElementById("dot1val").innerHTML = dot1val.toPrecision(3);
+ document.getElementById("dot1boost").innerHTML = dot1boost.toPrecision(3);
+ }
+}
+
+function Dot3Buy() {
+ if (new Decimal(dot).gte(dot3cost)) {
+ dot3val = Decimal.add(dot1val, "1");
+ dot = Decimal.minus(dot, dot3cost);
+ dot3cost = Decimal.mul(dot3cost, 1.8);
+ dotx = Decimal.plus(dot1boost, 1.65);
+ document.getElementById("dot").innerHTML = dot.toPrecision(3);
+ document.getElementById("dot3cost").innerHTML = new Decimal(dot3cost).toPrecision(3);
+ document.getElementById("dot3val").innerHTML = dot3val.toPrecision(3);
+ }
+}
+
+function Dot2Buy() {
+ if (new Decimal(dot2val).lt(99)) {
+ if (new Decimal(dot).gte(dot2cost)) {
+ dot2val = Decimal.add(dot2val, "1");
+ dot = Decimal.minus(dot, dot2cost);
+ dot2cost = Decimal.mul(dot2cost, 2.1);
+ clearInterval(int1)
+ clearInterval(int2)
+ clearInterval(int3)
+ clearInterval(int4)
+ clearInterval(int5)
+ clearInterval(int6)
+ clearInterval(int7)
+ clearInterval(int8)
+ clearInterval(int9)
+ tickspeed = tickspeed - 10;
+ int1 = setInterval("NothingGet2()", tickspeed);
+ int2 = setInterval("NothingGet1()", tickspeed);
+ int3 = setInterval("gen2nget()", tickspeed);
+ int4 = setInterval("gen3nget()", tickspeed);
+ int5 = setInterval("gen4nget()", tickspeed);
+ int6 = setInterval("gen5nget()", tickspeed);
+ int7 = setInterval("gen6nget()", tickspeed);
+ int8 = setInterval("gen7nget()", tickspeed);
+ int9 = setInterval("gen8nget()", tickspeed);
+ document.getElementById("dot").innerHTML = dot.toPrecision(3);
+ document.getElementById("dot2cost").innerHTML = new Decimal(dot2cost).toPrecision(3);
+ document.getElementById("dot2val").innerHTML = dot2val.toPrecision(3);
+ document.getElementById("tickspeed").innerHTML = tickspeed.toPrecision(3);
+ }
+}
+}
+
+
+function genN() {
+ gen1bg.style.display = "block";
+ if (gen2vis > 0) {
+ gen2bg.style.display = "block";
+}
+ if (gen3vis > 0) {
+ gen3bg.style.display = "block";
+}
+ if (gen4vis > 0) {
+ gen4bg.style.display = "block";
+}
+ if (gen5vis > 0) {
+ gen5bg.style.display = "block";
+}
+ if (gen6vis > 0) {
+ gen6bg.style.display = "block";
+}
+ if (gen7vis > 0) {
+ gen7bg.style.display = "block";
+}
+ if (gen8vis > 0) {
+ gen8bg.style.display = "block";
+}
+ nothing.style.display = "block";
+ max.style.display = "block";
+ DotUp1.style.display = "none"
+ DotUp2.style.display = "none"
+ DotUp3.style.display = "none"
+ document.getElementById("dotcontainer").style.display = "none";
+ }
+
+
+function dotshow() {
+ gen1bg.style.display = "none";
+ gen2bg.style.display = "none";
+ gen3bg.style.display = "none";
+ gen4bg.style.display = "none";
+ gen5bg.style.display = "none";
+ gen6bg.style.display = "none";
+ gen7bg.style.display = "none";
+ gen8bg.style.display = "none";
+ nothing.style.display = "none";
+ max.style.display = "none";
+ DotUp1.style.display = "block"
+ DotUp2.style.display = "block"
+ DotUp3.style.display = "block"
+ document.getElementById("madot").style.display = "none";
+ document.getElementById("dotcontainer").style.display = "block";
+}
+
+function showD() {
+ dots.style.display = "block";
+}
+
+function dotgets() {
+ dotget = Decimal.floor(Decimal.pow(Decimal.log10(Nothing) - 25, 0.7).mul(2 * dotx)).add(10);
+ document.getElementById("dotget").innerHTML = dotget.toPrecision(3);
+}
+
+function madb() {
+ if (new Decimal(Nothing).gte("1e40")) {
+ document.getElementById("madot").style.display = "block";
+ }
+}
+
+function dotshownteval() {
+ if (showdots = 1) {
+ showD()
+ }
+}
+
+
+setInterval("madb()", 1);
+setInterval("dotgets()", 1);
+
+
+function MakeADotReb() {
+ var answer = window.confirm("Are you sure want to Make a Dot?");
+ var savedGame = JSON.parse(localStorage.getItem("saveGame"));
+if (answer) {
+
+ showD();
+ showdots = 1;
+ dot = Decimal.add(dot, dotget);
+ document.getElementById("dot").innerHTML = dot.toPrecision(3);
+
+ if (typeof savedGame.nothing !== "undefined") Nothing = 10;
+ if (typeof savedGame.nget !== "undefined") nget = 0;
+ if (typeof savedGame.gen1 !== "undefined") gen1 = 0;
+ if (typeof savedGame.gen1val !== "undefined") gen1val = 0;
+ if (typeof savedGame.gen1x !== "undefined") gen1x = 1;
+ if (typeof savedGame.gen1cost !== "undefined") gen1cost = 10;
+ //
+ if (typeof savedGame.gen2vis !== "undefined") gen2vis = 0;
+ if (typeof savedGame.gen2 !== "undefined") gen2 = 0;
+ if (typeof savedGame.gen2val !== "undefined") gen2val = 0;
+ if (typeof savedGame.gen2x !== "undefined") gen2x = 1;
+ if (typeof savedGame.gen2cost !== "undefined") gen2cost = 100;
+ if (typeof savedGame.gen1get !== "undefined") gen1get = 1;
+ //
+ if (typeof savedGame.gen3 !== "undefined") gen3 = 0;
+ if (typeof savedGame.gen3val !== "undefined") gen3val = 0;
+ if (typeof savedGame.gen3x !== "undefined") gen3x = 1;
+ if (typeof savedGame.gen3cost !== "undefined") gen3cost = 1e3;
+ if (typeof savedGame.gen2get !== "undefined") gen2get = 1;
+ if (typeof savedGame.gen3vis !== "undefined") gen3vis = 0;
+ //
+ if (typeof savedGame.gen4 !== "undefined") gen4 = 0;
+ if (typeof savedGame.gen4val !== "undefined") gen4val = 0;
+ if (typeof savedGame.gen4x !== "undefined") gen4x = 1;
+ if (typeof savedGame.gen4cost !== "undefined") gen4cost = 1e4;
+ if (typeof savedGame.gen3get !== "undefined") gen3get = 1;
+ if (typeof savedGame.gen4vis !== "undefined") gen4vis = 0;
+ //
+ if (typeof savedGame.gen5 !== "undefined") gen5 = 0;
+ if (typeof savedGame.gen5val !== "undefined") gen5val = 0;
+ if (typeof savedGame.gen5x !== "undefined") gen5x = 1;
+ if (typeof savedGame.gen5cost !== "undefined") gen5cost = 1e5;
+ if (typeof savedGame.gen4get !== "undefined") gen4get = 1;
+ if (typeof savedGame.gen5vis !== "undefined") gen5vis = 0;
+ //
+ if (typeof savedGame.gen6 !== "undefined") gen6 = 0;
+ if (typeof savedGame.gen6val !== "undefined") gen6val = 0;
+ if (typeof savedGame.gen6x !== "undefined") gen6x = 1;
+ if (typeof savedGame.gen6cost !== "undefined") gen6cost = 1e6;
+ if (typeof savedGame.gen5get !== "undefined") gen5get = 1;
+ if (typeof savedGame.gen6vis !== "undefined") gen6vis = 0;
+ //
+ if (typeof savedGame.gen7 !== "undefined") gen7 = 0;
+ if (typeof savedGame.gen7val !== "undefined") gen7val = 0;
+ if (typeof savedGame.gen7x !== "undefined") gen7x = 1;
+ if (typeof savedGame.gen7cost !== "undefined") gen7cost = 1e7;
+ if (typeof savedGame.gen6get !== "undefined") gen6get = 1;
+ if (typeof savedGame.gen7vis !== "undefined") gen7vis = 0;
+ //
+ if (typeof savedGame.gen8 !== "undefined") gen8 = 0;
+ if (typeof savedGame.gen8val !== "undefined") gen8val = 0;
+ if (typeof savedGame.gen8x !== "undefined") gen8x = 1;
+ if (typeof savedGame.gen8cost !== "undefined") gen8cost = 1e8;
+ if (typeof savedGame.gen7get !== "undefined") gen7get = 1;
+ if (typeof savedGame.gen8vis !== "undefined") gen8vis = 0;
+ //
+ if (typeof savedGame.dotget !== "undefined") dotget = 0;
+
+ updateVars();
+ gen2bg.style.display = "none";
+ gen3bg.style.display = "none";
+ gen4bg.style.display = "none";
+ gen5bg.style.display = "none";
+ gen6bg.style.display = "none";
+ gen7bg.style.display = "none";
+ gen8bg.style.display = "none";
+
+ dots.style.display = "block";
+ document.getElementById("madot").style.display = "none";
+
+ location.reload();
+
+}
+}
+
+setInterval("BGButtonTestDot()", 100);
+
diff --git a/scripts/main.js b/scripts/main.js
index a3fde6d..a800116 100644
--- a/scripts/main.js
+++ b/scripts/main.js
@@ -1,4 +1,8 @@
//It is i think main script of all game :)
//here all global variables and all other general stuff
var Nothing = new Decimal("10.0")
-var nget = new Decimal("0.0")
\ No newline at end of file
+var nget = new Decimal("0.0")
+var dot = new Decimal("0.0")
+var dotx = new Decimal("1.0")
+var dotget = new Decimal("0.0")
+
diff --git a/style.css b/style.css
index ae3eca9..bcc6b3f 100644
--- a/style.css
+++ b/style.css
@@ -107,6 +107,39 @@
top: 70px;
}
+.DotUp1 {
+ width: 950px;
+ border: 2px solid white;
+ height: 50px;
+ background-color: transparent;
+ outline: transparent;
+ border-radius: 10px;
+ cursor: default;
+ top: 10px;
+}
+
+.DotUp2 {
+ width: 950px;
+ border: 2px solid white;
+ height: 50px;
+ background-color: transparent;
+ outline: transparent;
+ border-radius: 10px;
+ cursor: default;
+ top: 20px;
+}
+
+.DotUp3 {
+ width: 950px;
+ border: 2px solid white;
+ height: 50px;
+ background-color: transparent;
+ outline: transparent;
+ border-radius: 10px;
+ cursor: default;
+ top: 30px;
+}
+
.import {
position: relative;
top: 100px;
@@ -154,3 +187,47 @@
border-radius: 10px;
cursor: pointer;
}
+
+.genN {
+ position: relative;
+ bottom: 10px;
+ border: 2px solid white;
+ height: 65px;
+ width: 50px;
+ background-color: black;
+ outline: transparent;
+ border-radius: 10px;
+ cursor: pointer;
+}
+
+
+.dot {
+ display: none;
+ position: relative;
+ border: 2px solid white;
+ height: 65px;
+ bottom: 75px;
+ width: 50px;
+ left: 65px;
+ background-color: black;
+ outline: transparent;
+ border-radius: 10px;
+ cursor: pointer;
+}
+
+.madot {
+ display: none;
+ width: 950px;
+ border: 2px solid white;
+ height: 50px;
+ background-color: transparent;
+ outline: transparent;
+ border-radius: 10px;
+ cursor: default;
+ position: relative;
+ top: 80px;
+}
+
+.Dotpoint {
+ display: none;
+}