Visual fixes

This commit is contained in:
Jacorb90 2022-12-09 10:13:25 -05:00
parent 8bad5f164b
commit a8ff894537
2 changed files with 8 additions and 4 deletions

View file

@ -250,7 +250,7 @@ const layer = createLayer(id, function (this: BaseLayer) {
visibility: () => showIf(plastic.upgrades.clothTools.bought.value),
display: {
title: "Felt-Gripped Axe",
description: "10x trees planted"
description: "10x log gain"
}
}));
const treesUpgrades = { treesUpgrade4, treesUpgrade3, treesUpgrade2, treesUpgrade1 };

View file

@ -78,7 +78,7 @@ const layer = createLayer(id, function (this: BaseLayer) {
<br />
Currently:
<br />-{format(oilCost.value)} oil/sec
<br />+{format(activeRefinery.value)} drill power
<br />+{format(activeRefinery.value)} plastic/sec
<br />
<br />
Cost: {formatWhole(unref(buildRefinery.cost!))}{" "}
@ -212,7 +212,7 @@ const layer = createLayer(id, function (this: BaseLayer) {
visibility: () => showIf(clothElf.bought.value),
display: {
title: "Plastic Shepherd",
description: "All cloth actions complete +10% amounts per cycle",
description: "All cloth actions are +10% more efficient",
effectDisplay: jsx(() => (
<>{formatWhole(Decimal.times(clothGains.amount.value, 10))}%</>
)),
@ -293,7 +293,11 @@ const layer = createLayer(id, function (this: BaseLayer) {
<>
{render(trackerDisplay)}
<Spacer />
<MainDisplay resource={plastic} color={color} style="margin-bottom: 0" />
<MainDisplay resource={plastic} color={color} style="margin-bottom: 0" effectDisplay={
Decimal.gt(computedPlasticGain.value, 0)
? `+${format(computedPlasticGain.value)}/s`
: undefined
} />
<Spacer />
<Column>
{render(buildRefinery)}