mirror of
https://github.com/thepaperpilot/Advent-Incremental.git
synced 2024-11-22 00:21:34 +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: {
|
||||
minHeight: "80px"
|
||||
},
|
||||
visibility: () => showIf(Decimal.lt(totalLetters.value, 8e9)),
|
||||
canClick: () =>
|
||||
Decimal.gte(processingProgress.value, computedProcessingCooldown.value) &&
|
||||
(!main.isMastery.value || masteryEffectActive.value),
|
||||
|
@ -338,11 +339,14 @@ const layer = createLayer(id, function (this: BaseLayer) {
|
|||
) : null}
|
||||
<MainDisplay resource={letters} color={color} />
|
||||
{render(process)}
|
||||
{Decimal.lt(totalLetters.value, 8e9) ? (
|
||||
<div>
|
||||
You cannot have more letters than people in the world.
|
||||
The more letters you process, the more you'll improve at processing letters.
|
||||
</div>
|
||||
<div>Currently: {format(synergy.value)}x</div>
|
||||
</div>
|
||||
) : (
|
||||
<div>You've processed all of humanity's letters to Santa!</div>
|
||||
)}
|
||||
<Spacer />
|
||||
{renderRow(...Object.values(buyables))}
|
||||
<Spacer />
|
||||
|
|
Loading…
Reference in a new issue