mirror of
https://github.com/thepaperpilot/Advent-Incremental.git
synced 2024-11-25 01:41:48 +00:00
Merge branch 'main' into day-17-toys
This commit is contained in:
commit
017f8b812f
1 changed files with 14 additions and 2 deletions
|
@ -60,8 +60,20 @@ const layer = createLayer(id, () => {
|
|||
title: "Make Ribbon",
|
||||
description: jsx(() => (
|
||||
<>
|
||||
Create another ribbon with {format(currentDyeCost.value)}{" "}
|
||||
{currentDyeType.value.name} and {format(1e9)} {cloth.cloth.displayName}
|
||||
Create another ribbon with{" "}
|
||||
<span
|
||||
class={
|
||||
Decimal.lt(currentDyeType.value.value, currentDyeCost.value)
|
||||
? "unaffordable"
|
||||
: ""
|
||||
}
|
||||
>
|
||||
{format(currentDyeCost.value)} {currentDyeType.value.name}
|
||||
</span>{" "}
|
||||
and{" "}
|
||||
<span class={Decimal.lt(cloth.cloth.value, 1e9) ? "unaffordable" : ""}>
|
||||
{format(1e9)} {cloth.cloth.displayName}
|
||||
</span>
|
||||
<br />
|
||||
{render(ribbonProgressBar)}
|
||||
</>
|
||||
|
|
Loading…
Reference in a new issue