-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
45 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Submodule NotEnoughUpdates-REPO
updated
11 files
+0 −27 | constants/enchants.json | |
+0 −7 | constants/islands.json | |
+1 −1 | constants/parents.json | |
+0 −1 | constants/sacks.json | |
+0 −19 | items/CARNIVAL_COWBOY_NPC.json | |
+0 −19 | items/CARNIVAL_FISHERMAN_NPC.json | |
+0 −19 | items/CARNIVAL_LEADER_NPC.json | |
+0 −19 | items/CARNIVAL_PIRATEMAN_NPC.json | |
+0 −19 | items/CHANTELLE_NPC.json | |
+0 −70 | items/DOUG_NPC.json | |
+0 −19 | items/SKYBLOCK_CARNIVAL_POINT.json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
<script lang="ts"> | ||
import AdditionStat from "$lib/components/AdditionStat.svelte"; | ||
import Chip from "$lib/components/Chip.svelte"; | ||
import Items from "$lib/layouts/stats/Items.svelte"; | ||
import type { Stats as StatsType } from "$types/stats"; | ||
import { getContext } from "svelte"; | ||
const profile = getContext<StatsType>("profile"); | ||
const minions = profile.minions; | ||
console.log(minions); | ||
</script> | ||
|
||
<Items title="Minions"> | ||
<div slot="text"> | ||
<AdditionStat text="Unique Minions" data="{minions.maxedTiers} / {minions.totalTiers}" subData="({((100 * minions.maxedTiers) / minions.totalTiers).toFixed(0)}%)" /> | ||
<AdditionStat text="Minion Slots" data={minions.minionsSlots.current} subData="({minions.minionsSlots.next} to next slot)" /> | ||
<AdditionStat text="Bonus Minion Slots" data="{minions.minionsSlots.bonusSlots} / 5" /> | ||
<AdditionStat text="Maxed Minions" data="{minions.maxedMinions} / {minions.totalMinions}" /> | ||
</div> | ||
{#each Object.entries(minions.minions) as [category, data]} | ||
<span>{category}</span> | ||
{#each data.minions as minion} | ||
<Chip image={{ src: minion.texture }}> | ||
<div class="flex flex-col"> | ||
{minion.name} | ||
|
||
<div class="relative text-2xl font-black"> | ||
<span class="absolute animate-bounce bg-gradient-to-tr from-red-500 to-yellow-500 bg-clip-text text-transparent"> | ||
TRADE AT <a href="https://minionah.com">minionah.com</a> | ||
</span> | ||
<span class="absolute animate-ping bg-gradient-to-tr from-red-500 to-yellow-500 bg-clip-text text-transparent"> | ||
TRADE AT <a href="https://minionah.com">minionah.com</a> | ||
</span> | ||
</div> | ||
</div> | ||
</Chip> | ||
{/each} | ||
{/each} | ||
</Items> |