Add text for max DT and forbidden cel7 glyphs

This commit is contained in:
SpectralFlame 2023-01-16 15:01:13 -06:00 committed by cyip92
parent 4f87b68073
commit 8be12a84c3
3 changed files with 14 additions and 4 deletions

View File

@ -248,7 +248,7 @@ export const Pelle = {
case undefined:
return "No Glyph equipped!";
default:
return "";
return "You cannot equip this Glyph while Doomed!";
}
},

View File

@ -196,7 +196,7 @@ export default {
class="c-replicanti-description"
>
Your maximum Replicanti reached this Reality is
<span class="max-accent">{{ format(maxReplicanti, 2, 2) }}</span>.
<span class="max-accent">{{ format(maxReplicanti, 2) }}</span>.
</div>
<br>
<div v-if="isInEC8">

View File

@ -19,6 +19,7 @@ export default {
tachyonGalaxyGain: 1,
hasPelleDilationUpgrades: false,
galaxyTimeEstimate: "",
maxDT: new Decimal(),
};
},
computed: {
@ -67,7 +68,8 @@ export default {
},
baseGalaxyText() {
return `${formatInt(this.baseGalaxies)} Base`;
}
},
hasMaxText: () => PlayerProgress.realityUnlocked() && !Pelle.isDoomed,
},
methods: {
update() {
@ -96,6 +98,7 @@ export default {
this.tachyonGalaxyGain = 1;
}
this.tachyonGalaxyGain *= DilationUpgrade.galaxyMultiplier.effectValue;
this.maxDT.copyFrom(player.records.thisReality.maxDT);
}
}
};
@ -130,6 +133,10 @@ export default {
>{{ formatInt(totalGalaxies) }}</span>
{{ pluralize("Tachyon Galaxy", totalGalaxies) }}
</span>
<span v-if="hasMaxText">
Your maximum Dilated Time reached this Reality is
<span class="max-accent">{{ format(maxDT, 2, 1) }}</span>.
</span>
<div class="l-dilation-upgrades-grid">
<div class="l-dilation-upgrades-grid__row">
<DilationUpgradeButton
@ -186,5 +193,8 @@ export default {
</template>
<style scoped>
.max-accent {
color: var(--color-dilation);
font-size: 1.5rem;
}
</style>