mirror of
https://github.com/thepaperpilot/Advent-Incremental.git
synced 2025-02-16 09:31:43 +00:00
Add limit display to metal production
This commit is contained in:
parent
4bfbf2a25a
commit
99670cc488
1 changed files with 6 additions and 0 deletions
|
@ -362,6 +362,12 @@ const layer = createLayer(id, function (this: BaseLayer) {
|
|||
0: undefined,
|
||||
1: <>+{format(computedMetalGain.value)}/s</>
|
||||
}[Decimal.compare(computedMetalGain.value, 0)]}
|
||||
{Decimal.lt(computedOreGain.value, computedAutoSmeltSpeed.value)
|
||||
? <> (Limited by {ore.displayName})</>
|
||||
: Decimal.lt(smeltableOre.value, Decimal.floor(ore.value))
|
||||
? <> (Limited by {coal.coal.displayName})</>
|
||||
: undefined
|
||||
}
|
||||
</>
|
||||
}
|
||||
/>
|
||||
|
|
Loading…
Add table
Reference in a new issue