Skip to content

Commit

Permalink
c
Browse files Browse the repository at this point in the history
  • Loading branch information
Icecreamdudes committed Oct 26, 2024
1 parent b0f2104 commit 9c74e03
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 12 deletions.
2 changes: 0 additions & 2 deletions js/cutscene.js
Original file line number Diff line number Diff line change
Expand Up @@ -758,7 +758,5 @@ document.addEventListener('visibilitychange', () => {
}
});

// Start the rain when the page loads
startRain('#00f');

// i wrote basically all of the cutscenes. and if i didnt, ice wrote them and god is he awful at writing. i cleaned up and polished all of the things he wrote. im writing this at 1:27 am, 10/4/24. the game is set to release today, either in the morning or in the afternoon.
28 changes: 18 additions & 10 deletions js/tav.js
Original file line number Diff line number Diff line change
Expand Up @@ -537,7 +537,7 @@
11: {
cost(x) { return new Decimal(1.1).pow(x || getBuyableAmount(this.layer, this.id)).mul(1) },
effect(x) { return new getBuyableAmount(this.layer, this.id).pow(1.2) },
unlocked() { return player.ta.dimensionPowerIndex.eq(0) },
unlocked() { return true},
canAfford() { return player.ta.negativeInfinityPoints.gte(this.cost()) },
title() {
return format(getBuyableAmount(this.layer, this.id), 0) + "<br/>1st Dimension Power"
Expand Down Expand Up @@ -569,7 +569,7 @@
12: {
cost(x) { return new Decimal(1.1).pow(x || getBuyableAmount(this.layer, this.id)).mul(1) },
effect(x) { return new getBuyableAmount(this.layer, this.id).pow(1.2) },
unlocked() { return player.ta.dimensionPowerIndex.eq(1) },
unlocked() { return true },
canAfford() { return player.ta.negativeInfinityPoints.gte(this.cost()) },
title() {
return format(getBuyableAmount(this.layer, this.id), 0) + "<br/>2nd Dimension Power"
Expand Down Expand Up @@ -601,7 +601,7 @@
13: {
cost(x) { return new Decimal(1.1).pow(x || getBuyableAmount(this.layer, this.id)).mul(1) },
effect(x) { return new getBuyableAmount(this.layer, this.id).pow(1.2) },
unlocked() { return player.ta.dimensionPowerIndex.eq(2) },
unlocked() { return true },
canAfford() { return player.ta.negativeInfinityPoints.gte(this.cost()) },
title() {
return format(getBuyableAmount(this.layer, this.id), 0) + "<br/>3rd Dimension Power"
Expand Down Expand Up @@ -633,7 +633,7 @@
14: {
cost(x) { return new Decimal(1.1).pow(x || getBuyableAmount(this.layer, this.id)).mul(1) },
effect(x) { return new getBuyableAmount(this.layer, this.id).pow(1.2) },
unlocked() { return player.ta.dimensionPowerIndex.eq(3) },
unlocked() { return true },
canAfford() { return player.ta.negativeInfinityPoints.gte(this.cost()) },
title() {
return format(getBuyableAmount(this.layer, this.id), 0) + "<br/>4th Dimension Power"
Expand Down Expand Up @@ -665,7 +665,7 @@
15: {
cost(x) { return new Decimal(1.1).pow(x || getBuyableAmount(this.layer, this.id)).mul(1) },
effect(x) { return new getBuyableAmount(this.layer, this.id).pow(1.2) },
unlocked() { return player.ta.dimensionPowerIndex.eq(4) },
unlocked() { return true },
canAfford() { return player.ta.negativeInfinityPoints.gte(this.cost()) },
title() {
return format(getBuyableAmount(this.layer, this.id), 0) + "<br/>5th Dimension Power"
Expand Down Expand Up @@ -697,7 +697,7 @@
16: {
cost(x) { return new Decimal(1.1).pow(x || getBuyableAmount(this.layer, this.id)).mul(1) },
effect(x) { return new getBuyableAmount(this.layer, this.id).pow(1.2) },
unlocked() { return player.ta.dimensionPowerIndex.eq(5) },
unlocked() { return true },
canAfford() { return player.ta.negativeInfinityPoints.gte(this.cost()) },
title() {
return format(getBuyableAmount(this.layer, this.id), 0) + "<br/>6th Dimension Power"
Expand Down Expand Up @@ -729,7 +729,7 @@
17: {
cost(x) { return new Decimal(1.1).pow(x || getBuyableAmount(this.layer, this.id)).mul(1) },
effect(x) { return new getBuyableAmount(this.layer, this.id).pow(1.2) },
unlocked() { return player.ta.dimensionPowerIndex.eq(6) },
unlocked() { return true },
canAfford() { return player.ta.negativeInfinityPoints.gte(this.cost()) },
title() {
return format(getBuyableAmount(this.layer, this.id), 0) + "<br/>7th Dimension Power"
Expand Down Expand Up @@ -761,7 +761,7 @@
18: {
cost(x) { return new Decimal(1.1).pow(x || getBuyableAmount(this.layer, this.id)).mul(1) },
effect(x) { return new getBuyableAmount(this.layer, this.id).pow(1.2) },
unlocked() { return player.ta.dimensionPowerIndex.eq(7) },
unlocked() { return true},
canAfford() { return player.ta.negativeInfinityPoints.gte(this.cost()) },
title() {
return format(getBuyableAmount(this.layer, this.id), 0) + "<br/>8th Dimension Power"
Expand Down Expand Up @@ -1705,11 +1705,19 @@
content:
[
["blank", "25px"],
["raw-html", function () { return player.ta.dimensionPowerTexts[player.ta.dimensionPowerIndex] }, { "color": "white", "font-size": "16px", "font-family": "monospace" }],
["raw-html", function () { return "You have " + format(player.ta.dimensionPower[0]) + " 1st dimension power, which boost antimatter by x" + format(player.ta.dimensionPowerEffects[0]) + "."}, { "color": "white", "font-size": "16px", "font-family": "monospace" }],
["raw-html", function () { return "You have " + format(player.ta.dimensionPower[1]) + " 2nd dimension power, which boost 1st dimensions by x" + format(player.ta.dimensionPowerEffects[1]) + "."}, { "color": "white", "font-size": "16px", "font-family": "monospace" }],
["raw-html", function () { return "You have " + format(player.ta.dimensionPower[2]) + " 3rd dimension power, which boost 2nd dimensions by x" + format(player.ta.dimensionPowerEffects[2]) + "."}, { "color": "white", "font-size": "16px", "font-family": "monospace" }],
["raw-html", function () { return "You have " + format(player.ta.dimensionPower[3]) + " 4th dimension power, which boost 3rd dimensions by x" + format(player.ta.dimensionPowerEffects[3]) + "."}, { "color": "white", "font-size": "16px", "font-family": "monospace" }],
["raw-html", function () { return "You have " + format(player.ta.dimensionPower[4]) + " 5th dimension power, which boost 4th dimensions by x" + format(player.ta.dimensionPowerEffects[4]) + "."}, { "color": "white", "font-size": "16px", "font-family": "monospace" }],
["raw-html", function () { return "You have " + format(player.ta.dimensionPower[5]) + " 6th dimension power, which boost 5th dimensions by x" + format(player.ta.dimensionPowerEffects[5]) + "."}, { "color": "white", "font-size": "16px", "font-family": "monospace" }],
["raw-html", function () { return "You have " + format(player.ta.dimensionPower[6]) + " 7th dimension power, which boost 6th dimensions by x" + format(player.ta.dimensionPowerEffects[6]) + "."}, { "color": "white", "font-size": "16px", "font-family": "monospace" }],
["raw-html", function () { return "You have " + format(player.ta.dimensionPower[7]) + " 8th dimension power, which boost 7th dimensions by x" + format(player.ta.dimensionPowerEffects[7]) + "."}, { "color": "white", "font-size": "16px", "font-family": "monospace" }],
["blank", "25px"],
["row", [["clickable", 2], ["clickable", 3]]],
["blank", "25px"],
["row", [["buyable", 11], ["buyable", 12], ["buyable", 13], ["buyable", 14], ["buyable", 15], ["buyable", 16], ["buyable", 17], ["buyable", 18]]],
["row", [["buyable", 11], ["buyable", 12], ["buyable", 13], ["buyable", 14]]],
["row", [["buyable", 15], ["buyable", 16], ["buyable", 17], ["buyable", 18]]],
]

},
Expand Down

0 comments on commit 9c74e03

Please sign in to comment.