mirror of
https://github.com/thepaperpilot/Advent-Incremental.git
synced 2024-11-25 01:41:48 +00:00
hide "limited by" for trees after ivy lv 5
This commit is contained in:
parent
cad540735e
commit
247085978a
1 changed files with 21 additions and 11 deletions
|
@ -908,17 +908,27 @@ const layer = createLayer(id, function (this: BaseLayer) {
|
|||
style="margin-bottom: 0"
|
||||
productionDisplay={
|
||||
Decimal.gt(computedAutoCuttingAmount.value, 0)
|
||||
? `+${format(
|
||||
averageLogGain.value
|
||||
)}/s average<br/>equilibrium: +${formatLimit(
|
||||
? `+${format(averageLogGain.value)}/s average<br/>equilibrium: +${
|
||||
management.elfTraining.planterElfTraining.milestones[4].earned
|
||||
.value
|
||||
? format(logGain.apply(computedAutoCuttingAmount.value)) +
|
||||
"/s"
|
||||
: formatLimit(
|
||||
[
|
||||
[computedAutoCuttingAmount.value, "cutting speed"],
|
||||
[computedAutoPlantingAmount.value, "planting speed"],
|
||||
[Decimal.mul(computedTotalTrees.value, 20), "forest cap"]
|
||||
[
|
||||
computedAutoPlantingAmount.value,
|
||||
"planting speed"
|
||||
],
|
||||
[
|
||||
Decimal.mul(computedTotalTrees.value, 20),
|
||||
"forest cap"
|
||||
]
|
||||
],
|
||||
"/s",
|
||||
logGain.apply(1)
|
||||
)}`
|
||||
)
|
||||
}`
|
||||
: undefined
|
||||
}
|
||||
/>
|
||||
|
|
Loading…
Reference in a new issue