mirror of
https://github.com/thepaperpilot/Advent-Incremental.git
synced 2024-11-24 17:31:54 +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",
|
title: "Make Ribbon",
|
||||||
description: jsx(() => (
|
description: jsx(() => (
|
||||||
<>
|
<>
|
||||||
Create another ribbon with {format(currentDyeCost.value)}{" "}
|
Create another ribbon with{" "}
|
||||||
{currentDyeType.value.name} and {format(1e9)} {cloth.cloth.displayName}
|
<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 />
|
<br />
|
||||||
{render(ribbonProgressBar)}
|
{render(ribbonProgressBar)}
|
||||||
</>
|
</>
|
||||||
|
|
Loading…
Reference in a new issue