aboutsummaryrefslogtreecommitdiff
path: root/src/main/kotlin/util/skyblock
diff options
context:
space:
mode:
authorLinnea Gräf <nea@nea.moe>2025-01-17 19:26:21 +0100
committerLinnea Gräf <nea@nea.moe>2025-01-17 19:26:21 +0100
commitf0056183f0761fb50a03cf22775b69a8591857b4 (patch)
tree4c8e1b0825ba3f0ecb4120d4d88a322f40d53a3a /src/main/kotlin/util/skyblock
parent5e54ffd424064894fa77cf80ae455bea8838fb39 (diff)
downloadFirmament-f0056183f0761fb50a03cf22775b69a8591857b4.tar.gz
Firmament-f0056183f0761fb50a03cf22775b69a8591857b4.tar.bz2
Firmament-f0056183f0761fb50a03cf22775b69a8591857b4.zip
feat: Show star stat boosts in REI menus
Diffstat (limited to 'src/main/kotlin/util/skyblock')
-rw-r--r--src/main/kotlin/util/skyblock/ItemType.kt2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main/kotlin/util/skyblock/ItemType.kt b/src/main/kotlin/util/skyblock/ItemType.kt
index 6c7096c..7a776b5 100644
--- a/src/main/kotlin/util/skyblock/ItemType.kt
+++ b/src/main/kotlin/util/skyblock/ItemType.kt
@@ -67,6 +67,8 @@ value class ItemType private constructor(val name: String) {
val dungeonVariant get() = ofName("DUNGEON $name")
+ val isDungeon get() = name.startsWith("DUNGEON ")
+
override fun toString(): String {
return name
}