Merge pull request #4 from thepaperpilot/day-17-toys

why is this in the wrong branch
This commit is contained in:
unsoftcapped3 2022-12-20 19:12:52 -08:00 committed by GitHub
commit 31c53e0379
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 deletions

View file

@ -956,7 +956,7 @@ const layer = createLayer(id, function (this: BaseLayer) {
createMultiplicativeModifier(() => ({
multiplier: 50,
description: "350 toys",
enabled: toys.milestones.milestone4.earned.value
enabled: toys.milestones.milestone4.earned
}))
]) as WithRequired<Modifier, "description" | "revert">;
const computedOilSpeed = computed(() => oilSpeed.apply(0));

View file

@ -378,7 +378,7 @@ const layer = createLayer(id, function (this: BaseLayer) {
createMultiplicativeModifier(() => ({
multiplier: 50,
description: "350 toys",
enabled: toys.milestones.milestone4.earned.value
enabled: toys.milestones.milestone4.earned
}))
]);
const computedPlasticGain = computed(() => plasticGain.apply(0));

View file

@ -356,7 +356,7 @@ const layer = createLayer(id, function (this: BaseLayer) {
<Spacer />
{renderGrid(row1Upgrades)}
<Spacer />
<div>You have made {formatWhole(toySum.value)} total toys</div>
<div>You have {formatWhole(toySum.value)} toys</div>
{milestonesDisplay()}
</>
)),