rename teddy bears and trains

This commit is contained in:
unsoftcapped3 2022-12-16 01:14:51 +00:00
parent c629b77946
commit b9ac4ee40e

View file

@ -46,12 +46,12 @@ const layer = createLayer(id, function (this: BaseLayer) {
const colorDark = "green"; const colorDark = "green";
const clothes = createResource<DecimalSource>(0, "clothes"); const clothes = createResource<DecimalSource>(0, "clothes");
const teddybears = createResource<DecimalSource>(0, " teddy bears"); const woodenBlocks = createResource<DecimalSource>(0, " wooden blocks");
const trains = createResource<DecimalSource>(0, "trains"); const trucks = createResource<DecimalSource>(0, "trucks");
const toyGain = createSequentialModifier(() => [ const toyGain = createSequentialModifier(() => [
]); ]);
const toySum = createResource(computed(() => Decimal.add(clothes.value, teddybears.value).add(trains.value)), "toy sum") const toySum = createResource(computed(() => Decimal.add(clothes.value, woodenBlocks.value).add(trucks.value)), "toy sum")
const [generalTab, generalTabCollapsed] = createCollapsibleModifierSections(() => [ const [generalTab, generalTabCollapsed] = createCollapsibleModifierSections(() => [
{ {
title: `Toy Gain`, title: `Toy Gain`,
@ -83,7 +83,7 @@ const layer = createLayer(id, function (this: BaseLayer) {
const { total: totalToys, trackerDisplay } = setUpDailyProgressTracker({ const { total: totalToys, trackerDisplay } = setUpDailyProgressTracker({
resource: toySum, resource: toySum,
goal: 1e4, goal: 8e9,
name, name,
day, day,
color: colorDark, color: colorDark,
@ -98,7 +98,7 @@ const layer = createLayer(id, function (this: BaseLayer) {
day, day,
color: colorBright, color: colorBright,
clothes, clothes,
teddybears, woodenBlocks,
totalToys, totalToys,
generalTabCollapsed, generalTabCollapsed,
minWidth: 700, minWidth: 700,
@ -110,28 +110,16 @@ const layer = createLayer(id, function (this: BaseLayer) {
resource={clothes} resource={clothes}
color={colorBright} color={colorBright}
style="margin-bottom: 0" style="margin-bottom: 0"
productionDisplay={ productionDisplay={undefined}
/*Decimal.gt(computedAutoCuttingAmount.value, 0)
? `+${format(ema.value)}/s average<br/>equilibrium: +${formatLimit(
[
[computedAutoCuttingAmount.value, "cutting speed"],
[computedAutoPlantingAmount.value, "planting speed"],
[Decimal.mul(computedTotalTrees.value, 20), "forest cap"]
],
"/s",
logGain.apply(1)
)}`
: */undefined
}
/> />
<MainDisplay <MainDisplay
resource={teddybears} resource={woodenBlocks}
color={colorDark} color={colorDark}
style="margin-bottom: 0" style="margin-bottom: 0"
productionDisplay={undefined} productionDisplay={undefined}
/> />
<MainDisplay <MainDisplay
resource={trains} resource={trucks}
color={colorDark} color={colorDark}
style="margin-bottom: 0" style="margin-bottom: 0"
productionDisplay={undefined} productionDisplay={undefined}