Address review comments

This commit is contained in:
earth 2021-10-18 20:28:25 -05:00
parent 6c58d88289
commit b9ac79e76c
5 changed files with 8 additions and 8 deletions

View File

@ -151,6 +151,7 @@
"no-nested-ternary": "error",
"no-new-object": "error",
"no-tabs": "error",
"no-trailing-spaces": "error",
"no-unneeded-ternary": "error",
"no-whitespace-before-property": "error",
"object-curly-spacing": [

View File

@ -17,12 +17,12 @@ Vue.component("modal-antimatter-galaxy", {
message() {
let message = "";
if (Perk.antimatterNoReset.isBought) message = `This will reset nothing, and you will receive a small
(but impactful) boost to tickspeed upgrades.`;
(but impactful) boost to Tickspeed upgrades.`;
else if (Achievement(111).isUnlocked) message = `This will reset all of your Antimatter Dimensions,
your Dimension Boosts, and tickspeed. However, you will receive a small (but impactful) boost
to tickspeed upgrades.`;
your Dimension Boosts, and Tickspeed. However, you will receive a small (but impactful) boost
to Tickspeed upgrades.`;
else message = `This will reset all of your Antimatter Dimensions, your Dimension Boosts,
tickspeed, and Antimatter. However, you will receive a small (but impactful) boost to tickspeed upgrades.`;
Tickspeed, and Antimatter. However, you will receive a small (but impactful) boost to Tickspeed upgrades.`;
if (this.bulk) return `Are you sure you want to purchase ${formatInt(this.newGalaxies, 2)}
${pluralize("Antimatter Galaxy", this.newGalaxies, "Antimatter Galaxies")}? ${message}`;
return `Are you sure you want to purchase an Antimatter Galaxy?

View File

@ -94,7 +94,6 @@ Vue.component("options-gameplay-tab", {
</div>
<div class="l-options-grid__row">
<options-button
v-if="sacrificeUnlocked"
class="o-primary-btn--option"
onclick="Modal.confirmationOptions.show()"
>

View File

@ -56,7 +56,7 @@ class AchievementState extends GameMechanicState {
Autobuyer.bigCrunch.bumpAmount(4);
}
if (this.id === 55 && !PlayerProgress.realityUnlocked()) {
Modal.message(`Since you just Infinitied in under a minute, the UI changed on the screen.
Modal.message.show(`Since you just Infinitied in under a minute, the UI changed on the screen.
Instead of the Dimensions disappearing, they stay and the Big Crunch button appears on top of them.
This is purely visual, and is there to prevent flickering.`);
}

View File

@ -48,7 +48,7 @@ function bigCrunchReset() {
bigCrunchCheckUnlocks();
EventHub.dispatch(GAME_EVENT.BIG_CRUNCH_AFTER);
if (firstInfinity) Modal.message(`Upon Infinity, all Dimensions, Dimension Boosts, and Antimatter
if (firstInfinity) Modal.message.show(`Upon Infinity, all Dimensions, Dimension Boosts, and Antimatter
Galaxies are reset, but in return, you gain an Infinity Point (IP). This allows you to buy multiple upgrades that
you can find in the Infinity tab. Also, you gained an Infinitied stat, which is the stat shown in the Statistics
tab.`);
@ -302,7 +302,7 @@ function disChargeAll() {
}());
// The repeatable 2xIP upgrade has an odd cost structure - it follows a shallow exponential (step *10) up to e3M, at
// which point it follows a steeper one (step *1e10) up to e6M before finally hardcapping. At the hardcap, there's
// which point it follows a steeper one (step *1e10) up to e6M before finally hardcapping. At the hardcap, there's
// an extra bump that increases the multipler itself from e993k to e1M. All these numbers are specified in
// GameDatabase.infinity.upgrades.ipMult
class InfinityIPMultUpgrade extends GameMechanicState {