diff --git a/src/lib/layouts/stats/Main.svelte b/src/lib/layouts/stats/Main.svelte index b727a28e..6eac4216 100644 --- a/src/lib/layouts/stats/Main.svelte +++ b/src/lib/layouts/stats/Main.svelte @@ -12,6 +12,7 @@ import Inventory from "$lib/sections/stats/Inventory.svelte"; import Minions from "$lib/sections/stats/Minions.svelte"; import Pets from "$lib/sections/stats/Pets.svelte"; + import Rift from "$lib/sections/stats/Rift.svelte"; import SkillsSection from "$lib/sections/stats/SkillsSection.svelte"; import Slayer from "$lib/sections/stats/Slayer.svelte"; import Weapons from "$lib/sections/stats/Weapons.svelte"; @@ -40,6 +41,7 @@ + diff --git a/src/lib/sections/stats/Rift.svelte b/src/lib/sections/stats/Rift.svelte new file mode 100644 index 00000000..442b4ff8 --- /dev/null +++ b/src/lib/sections/stats/Rift.svelte @@ -0,0 +1,81 @@ + + + +
+ +
+
+ Lifetime Motes: + + {rift.motes.lifetime} + + Total Motes earned in Rift. +
+
+ Motes Orbs: + + {rift.motes.orbs} + + Amount of Mote Orbs player has picked up inside of the Rift. +
+
+
+ +
+ Progress: + + {((rift.enigma.souls / rift.enigma.totalSouls) * 100).toFixed(2)}% + + Percentage of Enigma Souls found. +
+
+ +
+
+

Timecharms

+ +
+ {#each rift.timecharms.timecharms as timecharm} + {@const hasUnlocked = timecharm.unlocked} + +
+
+ {timecharm.name} +
+ {#if hasUnlocked} + + Obtained {formatDistanceToNowStrict(timecharm.unlockedAt, { + addSuffix: true + })} + + {:else} + Not Obtained + {/if} +
+
+
+
+
+ Obtained: + + {formatDate(timecharm.unlockedAt, "dd MMMM yyyy 'at' HH:mm")} + +
+
+
+ {/each} +
+
+