mirror of
https://github.com/thepaperpilot/Advent-Incremental.git
synced 2025-02-16 09:31:43 +00:00
Change how letters handles being maxed out
This commit is contained in:
parent
0bbfe4c170
commit
6a353642d6
1 changed files with 9 additions and 5 deletions
|
@ -68,6 +68,7 @@ const layer = createLayer(id, function (this: BaseLayer) {
|
||||||
style: {
|
style: {
|
||||||
minHeight: "80px"
|
minHeight: "80px"
|
||||||
},
|
},
|
||||||
|
visibility: () => showIf(Decimal.lt(totalLetters.value, 8e9)),
|
||||||
canClick: () =>
|
canClick: () =>
|
||||||
Decimal.gte(processingProgress.value, computedProcessingCooldown.value) &&
|
Decimal.gte(processingProgress.value, computedProcessingCooldown.value) &&
|
||||||
(!main.isMastery.value || masteryEffectActive.value),
|
(!main.isMastery.value || masteryEffectActive.value),
|
||||||
|
@ -338,11 +339,14 @@ const layer = createLayer(id, function (this: BaseLayer) {
|
||||||
) : null}
|
) : null}
|
||||||
<MainDisplay resource={letters} color={color} />
|
<MainDisplay resource={letters} color={color} />
|
||||||
{render(process)}
|
{render(process)}
|
||||||
<div>
|
{Decimal.lt(totalLetters.value, 8e9) ? (
|
||||||
You cannot have more letters than people in the world.
|
<div>
|
||||||
The more letters you process, the more you'll improve at processing letters.
|
The more letters you process, the more you'll improve at processing letters.
|
||||||
</div>
|
<div>Currently: {format(synergy.value)}x</div>
|
||||||
<div>Currently: {format(synergy.value)}x</div>
|
</div>
|
||||||
|
) : (
|
||||||
|
<div>You've processed all of humanity's letters to Santa!</div>
|
||||||
|
)}
|
||||||
<Spacer />
|
<Spacer />
|
||||||
{renderRow(...Object.values(buyables))}
|
{renderRow(...Object.values(buyables))}
|
||||||
<Spacer />
|
<Spacer />
|
||||||
|
|
Loading…
Add table
Reference in a new issue