mirror of
https://github.com/thepaperpilot/Advent-Incremental.git
synced 2024-11-21 16:13:57 +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)}
|
||||
<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>
|
||||
{Decimal.lt(totalLetters.value, 8e9) ? (
|
||||
<div>
|
||||
The more letters you process, the more you'll improve at processing letters.
|
||||
<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