From 0bbe295d70d415d60f62681eb0ec97aa6d845298 Mon Sep 17 00:00:00 2001 From: thepaperpilot Date: Sun, 18 Dec 2022 15:47:46 -0600 Subject: [PATCH] Fixed workshop mastery issues --- src/data/layers/workshop.tsx | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/src/data/layers/workshop.tsx b/src/data/layers/workshop.tsx index a48bd3f..a9cb2de 100644 --- a/src/data/layers/workshop.tsx +++ b/src/data/layers/workshop.tsx @@ -24,7 +24,7 @@ import { createSequentialModifier } from "game/modifiers"; import { noPersist, persistent } from "game/persistence"; -import Decimal, { DecimalSource, format, formatWhole } from "util/bignum"; +import Decimal, { DecimalSource, formatWhole } from "util/bignum"; import { Direction } from "util/common"; import { render } from "util/vue"; import { computed, unref, watchEffect } from "vue"; @@ -371,10 +371,18 @@ const layer = createLayer(id, function (this: BaseLayer) {
{main.day.value === day ? `Complete the foundation to complete the day` + : main.currentlyMastering.value?.name === name + ? `Complete the foundation to decorate the day` : `${name} Complete!`}
{render(dayProgress)} + {masteryEffectActive.value ? ( + <> + Decoration effect: Logs are just a requirement instead of a cost + + + ) : null}
The foundation is

@@ -394,7 +402,9 @@ const layer = createLayer(id, function (this: BaseLayer) { minimizedDisplay: jsx(() => (
{name}{" "} - {formatWhole(foundationProgress.value)}% {foundationProgress.displayName} + + {formatWhole(foundationProgress.value)}% {foundationProgress.displayName} +
)), mastery,