mirror of
https://github.com/thepaperpilot/Advent-Incremental.git
synced 2025-03-28 03:38:46 +00:00
Show layer name instead of "Day complete" above progress bar
This commit is contained in:
parent
f83a3cb1ec
commit
6d812a8eb6
4 changed files with 7 additions and 5 deletions
src/data/layers
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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))}
|
||||
</>
|
||||
|
|
Loading…
Add table
Reference in a new issue