diff options
author | Linnea Gräf <nea@nea.moe> | 2024-12-07 01:13:26 +0100 |
---|---|---|
committer | Linnea Gräf <nea@nea.moe> | 2024-12-07 01:13:26 +0100 |
commit | e3ace3c1b781b8d07f8eca60ba90df35da6c9d21 (patch) | |
tree | 345ac1ba887d313fc98bfa116af8a647247fc218 /src | |
parent | d708dca108dcbfe3d67dfe90c27de9cdb41184a6 (diff) | |
download | LocalTransactionLedger-e3ace3c1b781b8d07f8eca60ba90df35da6c9d21.tar.gz LocalTransactionLedger-e3ace3c1b781b8d07f8eca60ba90df35da6c9d21.tar.bz2 LocalTransactionLedger-e3ace3c1b781b8d07f8eca60ba90df35da6c9d21.zip |
Add todos
Diffstat (limited to 'src')
-rw-r--r-- | src/main/kotlin/moe/nea/ledger/Ledger.kt | 3 | ||||
-rw-r--r-- | src/main/kotlin/moe/nea/ledger/modules/NpcDetection.kt | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/src/main/kotlin/moe/nea/ledger/Ledger.kt b/src/main/kotlin/moe/nea/ledger/Ledger.kt index f85a6b0..cfbab1c 100644 --- a/src/main/kotlin/moe/nea/ledger/Ledger.kt +++ b/src/main/kotlin/moe/nea/ledger/Ledger.kt @@ -62,7 +62,8 @@ class Ledger { // You sold Cactus x1 for 3 Coins! // You bought back Potato x3 for 9 Coins! - TODO: TRADING, FORGE, COOKIE_EATEN + TODO: TRADING, FORGE, VISITORS / COPPER, CORPSES ÖFFNEN, HIGH / LOW GAMBLES, MINION ITEMS (maybe inferno refuel) + TODO: DUNGEON / KUUDRA LOOT, PET LEVELING COSTS AT KAT / FANN, SLAYER / MOB DROPS, SLAYER START COST */ companion object { val dataFolder = File("money-ledger").apply { mkdirs() } diff --git a/src/main/kotlin/moe/nea/ledger/modules/NpcDetection.kt b/src/main/kotlin/moe/nea/ledger/modules/NpcDetection.kt index 341dd12..f129113 100644 --- a/src/main/kotlin/moe/nea/ledger/modules/NpcDetection.kt +++ b/src/main/kotlin/moe/nea/ledger/modules/NpcDetection.kt @@ -21,6 +21,8 @@ class NpcDetection @Inject constructor(val ledger: LedgerLogger, val ids: ItemId val npcSellPattern = Pattern.compile("You sold (?<what>.*) (x(?<count>$SHORT_NUMBER_PATTERN) )?for (?<coins>$SHORT_NUMBER_PATTERN) Coins!") + // TODO: IMPROVE BUYING FROM NPC TO INCLUDE ITEMS OTHER THAN COINS (KUUDRA KEYS ARE CHEAP) + @SubscribeEvent fun onNpcBuy(event: ChatReceived) { npcBuyPattern.useMatcher(event.message) { |