From 0ca988c907c7e8e26029f59cc098e6be5e008ee5 Mon Sep 17 00:00:00 2001 From: Linnea Gräf Date: Sat, 7 Dec 2024 22:30:51 +0100 Subject: feat: Add dungeon chest loot detection --- src/main/kotlin/moe/nea/ledger/LedgerLogger.kt | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/main/kotlin/moe/nea/ledger/LedgerLogger.kt') diff --git a/src/main/kotlin/moe/nea/ledger/LedgerLogger.kt b/src/main/kotlin/moe/nea/ledger/LedgerLogger.kt index 76b8741..e8c15ea 100644 --- a/src/main/kotlin/moe/nea/ledger/LedgerLogger.kt +++ b/src/main/kotlin/moe/nea/ledger/LedgerLogger.kt @@ -157,6 +157,10 @@ enum class TransactionType { value class ItemId( val string: String ) { + fun singleItem(): Pair { + return Pair(this, 1.0) + } + companion object { val COINS = ItemId("SKYBLOCK_COIN") val BITS = ItemId("SKYBLOCK_BIT") -- cgit