diff --git a/src/data/layers/coal.tsx b/src/data/layers/coal.tsx index 3ef694a..ebd64a3 100644 --- a/src/data/layers/coal.tsx +++ b/src/data/layers/coal.tsx @@ -574,7 +574,7 @@ const layer = createLayer(id, function (this: BaseLayer) { <div> {main.day.value === day ? `Reach ${formatWhole(totalCoalGoal)} ${coal.displayName} to complete the day` - : `Day Complete!`}{" "} + : `${name} Complete!`}{" "} -{" "} <button class="button" diff --git a/src/data/layers/elves.tsx b/src/data/layers/elves.tsx index 0e27118..b9f7d81 100644 --- a/src/data/layers/elves.tsx +++ b/src/data/layers/elves.tsx @@ -300,7 +300,7 @@ const layer = createLayer(id, function (this: BaseLayer) { ? `Reach ${formatWhole(6)} trained elves and ${formatWhole(coalGoal)} ${ coal.coal.displayName } to complete the day` - : `Day Complete!`}{" "} + : `${name} Complete!`}{" "} -{" "} <button class="button" diff --git a/src/data/layers/trees.tsx b/src/data/layers/trees.tsx index c654df5..c0780a6 100644 --- a/src/data/layers/trees.tsx +++ b/src/data/layers/trees.tsx @@ -646,7 +646,7 @@ const layer = createLayer(id, function (this: BaseLayer) { <div> {main.day.value === day ? `Reach ${formatWhole(1e4)} ${logs.displayName} to complete the day` - : `Day Complete!`}{" "} + : `${name} Complete!`}{" "} -{" "} <button class="button" diff --git a/src/data/layers/workshop.tsx b/src/data/layers/workshop.tsx index 321ad55..cd7b44a 100644 --- a/src/data/layers/workshop.tsx +++ b/src/data/layers/workshop.tsx @@ -179,12 +179,14 @@ const layer = createLayer(id, function (this: BaseLayer) { <div> {main.day.value === day ? `Complete the foundation to complete the day` - : `Day Complete!`} + : `${name} Complete!`} </div> {render(dayProgress)} <Spacer /> {render(buildFoundation)} - <div>You have {formatWhole(foundationProgress.value)}% completed</div> + {Decimal.lt(foundationProgress.value, 100) ? ( + <div>You have {formatWhole(foundationProgress.value)}% completed</div> + ) : null} <Spacer /> {renderCol(...Object.values(milestones))} </>