mirror of
https://github.com/thepaperpilot/Advent-Incremental.git
synced 2025-04-01 21:41:00 +00:00
Updated management progress display
This commit is contained in:
parent
327dac3129
commit
944329a271
1 changed files with 8 additions and 3 deletions
|
@ -22,7 +22,7 @@ import { persistent } from "game/persistence";
|
||||||
import Decimal, { DecimalSource, format, formatTime, formatWhole } from "util/bignum";
|
import Decimal, { DecimalSource, format, formatTime, formatWhole } from "util/bignum";
|
||||||
import { Direction } from "util/common";
|
import { Direction } from "util/common";
|
||||||
import { render, renderCol, renderGrid } from "util/vue";
|
import { render, renderCol, renderGrid } from "util/vue";
|
||||||
import { computed, ComputedRef, ref, Ref } from "vue";
|
import { computed, ComputedRef, ref, Ref, unref } from "vue";
|
||||||
import elves from "./elves";
|
import elves from "./elves";
|
||||||
import trees from "./trees";
|
import trees from "./trees";
|
||||||
import paper from "./paper";
|
import paper from "./paper";
|
||||||
|
@ -59,8 +59,13 @@ const layer = createLayer(id, () => {
|
||||||
display: jsx(() =>
|
display: jsx(() =>
|
||||||
main.day.value === day ? (
|
main.day.value === day ? (
|
||||||
<>
|
<>
|
||||||
{formatWhole(totalElfLevels.value)}/{formatWhole(elves.totalElves.value * 5)}{" "}
|
{formatWhole(
|
||||||
elf levels
|
Decimal.times(
|
||||||
|
unref(dayProgress.progress),
|
||||||
|
main.day.value === advancedDay ? 80 : 36
|
||||||
|
)
|
||||||
|
)}
|
||||||
|
/{main.day.value === advancedDay ? 80 : 36} elf levels
|
||||||
</>
|
</>
|
||||||
) : (
|
) : (
|
||||||
""
|
""
|
||||||
|
|
Loading…
Add table
Reference in a new issue