diff --git a/MeTMT/js/layers.js b/MeTMT/js/layers.js index d5e05f7..fd852ed 100644 --- a/MeTMT/js/layers.js +++ b/MeTMT/js/layers.js @@ -19,8 +19,9 @@ addLayer("+", { "main-display", "prestige-button", "resource-display", + ['bar', 'additionReq'], ["display-text", - function() { return "Features:" },], + function() { return "
Features:" },], ["display-text", function() { if (player['+'].points.gte(0)) {return "- Addition layer"} },], ["display-text", @@ -85,6 +86,18 @@ addLayer("+", { } } }, + bars: { + additionReq: { + direction: RIGHT, + width: 700, + height: 50, + progress() { return player.points.div(getNextAt('+')) }, + fillStyle: {'background-color': "#5f6f7f"}, + display() { + return `${this.progress().gte(1) ? `` : ""}${format(player.points) + " / " + format(getNextAt('+')) + " points (" + format(this.progress().times(100)) + "%)"}` + }, + }, + }, automate() { if (player['+'].points.gt(additionCap)) { player['+'].points = new Decimal(additionCap) @@ -678,7 +691,7 @@ addLayer("u", { setBuyableAmount(this.layer, this.id, getBuyableAmount(this.layer, this.id).add(1)) }, effect() { - return new Decimal(1).mul(this.cost().sub(1)).times(50 + (hasUpgrade('i', 16) ? -40 : 0)).pow(0.9).add(1) + return new Decimal(1).mul(this.cost().sub(1)).times(50 + (hasUpgrade('i', 16) ? -40 : 0)).pow(0.3).add(0.99) }, unlocked() {return player['+'].points.gte(12)} }, @@ -701,6 +714,21 @@ addLayer("u", { if (tmp['u'].buyables[11].canAfford && hasUpgrade("u", 13)) { addBuyables('u', 11, 1) } + if (tmp['u'].buyables[11].canAfford && hasUpgrade("u", 13)) { + addBuyables('u', 11, 1) + } + if (tmp['u'].buyables[11].canAfford && hasUpgrade("u", 13)) { + addBuyables('u', 11, 1) + } + if (tmp['u'].buyables[11].canAfford && hasUpgrade("u", 13)) { + addBuyables('u', 11, 1) + } + if (tmp['u'].buyables[11].canAfford && hasUpgrade("u", 13)) { + addBuyables('u', 11, 1) + } + if (tmp['u'].buyables[11].canAfford && hasUpgrade("u", 13)) { + addBuyables('u', 11, 1) + } }, row: 3, // Row the layer is in on the tree (0 is the first row) hotkeys: [ diff --git a/MeTMT/js/mod.js b/MeTMT/js/mod.js index 5f50211..8f4c1ff 100644 --- a/MeTMT/js/mod.js +++ b/MeTMT/js/mod.js @@ -13,8 +13,8 @@ let modInfo = { // Set your version in num and name let VERSION = { - num: "0.4½.1", - name: "The option update T1", + num: "0.4½.2", + name: "The option update T2", } let changelog = `galaxy has a changelog you don't need this one!` diff --git a/MeTMT/js/technical/systemComponents.js b/MeTMT/js/technical/systemComponents.js index 8d00999..c5b8908 100644 --- a/MeTMT/js/technical/systemComponents.js +++ b/MeTMT/js/technical/systemComponents.js @@ -170,6 +170,7 @@ var systemComponents = { + diff --git a/MeTMT/js/utils/options.js b/MeTMT/js/utils/options.js index 3d0a1e6..43ffd90 100644 --- a/MeTMT/js/utils/options.js +++ b/MeTMT/js/utils/options.js @@ -17,7 +17,8 @@ function getStartOptions() { formatting: "default", addictionMode: false, disabledTextFlickering: false, - maxTickLen: "1h" + maxTickLen: "1h", + disabledTextColorChange: false } }