Skip to content

Commit 678cf8d

Browse files
committed
0.4½
1 parent 9909e9d commit 678cf8d

File tree

6 files changed

+124
-2760
lines changed

6 files changed

+124
-2760
lines changed

MeTMT/js/layers.js

Lines changed: 5 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -74,17 +74,6 @@ addLayer("+", {
7474
help: {
7575
title: "Help for colors and sizes",
7676
body() {
77-
function makeid(length) {
78-
let result = '';
79-
const characters = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz?????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????';
80-
const charactersLength = characters.length;
81-
let counter = 0;
82-
while (counter < length) {
83-
result += characters.charAt(Math.floor(Math.random() * charactersLength));
84-
counter += 1;
85-
}
86-
return result;
87-
}
8877
return "<h3>Big text</h3> means that something is dynamic<br><span style=\"color: rgb(255, 255, 255); text-shadow: rgb(255, 255, 255) 0px 0px 10px;\">Colored text with a shadow</span> mean layers/layer points<br>There are currently 7 colors that mean something:<br><span style=\"color: rgb(255, 255, 255); text-shadow: rgb(255, 255, 255) 0px 0px 10px;\">Points</span><br><span style=\"color: rgb(95, 111, 127); text-shadow: rgb(95, 111, 127) 0px 0px 10px;\">Addition layer</span><br><span style=\"color: rgb(0, 255, 0); text-shadow: rgb(0, 255, 0) 0px 0px 10px;\">" + (player['+'].points.gte(1) ? "Prestige" : makeid(8)) + " layer</span><br><span style=\"color: rgb(0, 119, 255); text-shadow: rgb(0, 119, 255) 0px 0px 10px;\">" + (player['+'].points.gte(5) ? "Rebirth" : makeid(7)) + " layer</span><br><span style=\"color: rgb(255, 119, 0); text-shadow: rgb(255, 119, 0) 0px 0px 10px;\">" + (player['+'].points.gte(8) ? "Mega" : makeid(4)) + " layer</span><br><span style=\"color: rgb(255, 0, 255); text-shadow: rgb(255, 0, 255) 0px 0px 10px;\">" + (player['+'].points.gte(11) ? "Ultra" : makeid(5)) + " layer</span><br><span style=\"color: rgb(119, 119, 119); text-shadow: rgb(119, 119, 119) 0px 0px 10px;\">" + (player['+'].points.gte(19) ? "Infinity" : makeid(8)) + " layer</span><br>Colored dynamic text means that it uses a formula based off of the colors above" },
8978
}
9079
},
@@ -212,6 +201,11 @@ addLayer("a", {
212201
tooltip: "Get infinity upgrade 17",
213202
done() {return hasUpgrade('i', 17)}
214203
},
204+
31: {
205+
name: "Infinity of infinities",
206+
tooltip: "Get 2^1024 infinities",
207+
done() {return player['i'].points.gte(new Decimal(2).pow(1024))}
208+
},
215209
},
216210
tabFormat: {
217211
"Achievements": {

MeTMT/js/mod.js

Lines changed: 25 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ let modInfo = {
1313

1414
// Set your version in num and name
1515
let VERSION = {
16-
num: "0.4.2",
17-
name: "NoGap T2",
16+
num: "0.4½",
17+
name: "The option update",
1818
}
1919

2020
let changelog = `galaxy has a changelog you don't need this one!`
@@ -135,7 +135,29 @@ var backgroundStyle = {
135135

136136
// You can change this if you have things that can be messed up by long tick lengths
137137
function maxTickLength() {
138-
return(3600) // Default is 1 hour which is just arbitrarily large
138+
switch (options.maxTickLen) {
139+
case "1h":
140+
return 60*60
141+
break;
142+
case "3h":
143+
return 60*60*3
144+
break;
145+
case "10h":
146+
return 60*60*10
147+
break;
148+
case "10s":
149+
return 10
150+
break;
151+
case "1m":
152+
return 60
153+
break;
154+
case "5m":
155+
return 60*5
156+
break;
157+
case "30m":
158+
return 60*30
159+
break;
160+
}
139161
}
140162

141163
// Use this if you need to undo inflation from an older version. If the version is older than the version that fixed the issue,

0 commit comments

Comments
 (0)