Merge branch 'main' into day-17-toys

This commit is contained in:
thepaperpilot 2022-12-20 08:14:23 -06:00
commit 017f8b812f

View file

@ -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)}
</> </>