diff options
author | nea <nea@nea.moe> | 2023-08-24 18:18:13 +0200 |
---|---|---|
committer | nea <nea@nea.moe> | 2023-08-24 18:18:13 +0200 |
commit | b1962ce66cb3591a186011dff7f29dc615f07e0c (patch) | |
tree | 289eee20dfe296309995578e8475039de5b68493 /src/main/kotlin/moe/nea/firmament/apis | |
parent | b0cb9a70cd9a3f02b86e0386ab6bb70974bba35a (diff) | |
download | Firmament-b1962ce66cb3591a186011dff7f29dc615f07e0c.tar.gz Firmament-b1962ce66cb3591a186011dff7f29dc615f07e0c.tar.bz2 Firmament-b1962ce66cb3591a186011dff7f29dc615f07e0c.zip |
Fix rift collections
Diffstat (limited to 'src/main/kotlin/moe/nea/firmament/apis')
-rw-r--r-- | src/main/kotlin/moe/nea/firmament/apis/Profiles.kt | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/src/main/kotlin/moe/nea/firmament/apis/Profiles.kt b/src/main/kotlin/moe/nea/firmament/apis/Profiles.kt index 083aa19..06fe31f 100644 --- a/src/main/kotlin/moe/nea/firmament/apis/Profiles.kt +++ b/src/main/kotlin/moe/nea/firmament/apis/Profiles.kt @@ -10,7 +10,7 @@ package moe.nea.firmament.apis import io.github.moulberry.repo.constants.Leveling import io.github.moulberry.repo.data.Rarity -import java.util.UUID +import java.util.* import kotlinx.datetime.Instant import kotlinx.serialization.SerialName import kotlinx.serialization.Serializable @@ -90,6 +90,15 @@ enum class Skill(val accessor: KProperty1<Member, Double>, val color: DyeColor, } } +enum class CollectionCategory(val skill: Skill?, val color: DyeColor, val icon: SkyblockId) { + FARMING(Skill.FARMING, DyeColor.YELLOW, SkyblockId("ROOKIE_HOE")), + FORAGING(Skill.FORAGING, DyeColor.BROWN, SkyblockId("TREECAPITATOR_AXE")), + MINING(Skill.MINING, DyeColor.LIGHT_GRAY, SkyblockId("DIAMOND_PICKAXE")), + FISHING(Skill.FISHING, DyeColor.BLUE, SkyblockId("FARMER_ROD")), + COMBAT(Skill.COMBAT, DyeColor.RED, SkyblockId("UNDEAD_SWORD")), + RIFT(null, DyeColor.PURPLE, SkyblockId("SKYBLOCK_MOTE")), +} + @Serializable @JvmInline value class CollectionType(val string: String) { |