Skip to content

Commit

Permalink
increase modularity, fix logic, add two commands
Browse files Browse the repository at this point in the history
Signed-off-by: Erymanthus[#5074] | (u/)RayDeeUx <[email protected]>
  • Loading branch information
RayDeeUx committed Jan 11, 2024
1 parent fc30c32 commit 57009d5
Show file tree
Hide file tree
Showing 3 changed files with 211 additions and 110 deletions.
2 changes: 1 addition & 1 deletion src/main/java/at/hannibal2/skyhanni/SkyHanniMod.kt
Original file line number Diff line number Diff line change
Expand Up @@ -565,7 +565,7 @@ class SkyHanniMod {
loadModule(JoinCrystalHollows())
loadModule(CrystalHollowsNamesInCore())
loadModule(GardenVisitorColorNames)
loadModule(OpenContestInElitebotDev())
loadModule(OpenContestInElitebotDev)
loadModule(TeleportPadCompactName())
loadModule(AnitaMedalProfit())
loadModule(AnitaExtraFarmingFortune())
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ import at.hannibal2.skyhanni.features.garden.GardenCropTimeCommand
import at.hannibal2.skyhanni.features.garden.GardenCropsInCommand
import at.hannibal2.skyhanni.features.garden.GardenNextJacobContest
import at.hannibal2.skyhanni.features.garden.composter.ComposterOverlay
import at.hannibal2.skyhanni.features.garden.contest.OpenContestInElitebotDev
import at.hannibal2.skyhanni.features.garden.farming.ArmorDropTracker
import at.hannibal2.skyhanni.features.garden.farming.CropMoneyDisplay
import at.hannibal2.skyhanni.features.garden.farming.CropSpeedMeter
Expand Down Expand Up @@ -228,6 +229,14 @@ object Commands {
"shresetseacreaturetracker",
"Resets the Sea Creature Tracker"
) { SeaCreatureTracker.resetCommand(it) }
registerCommand(
"shopencontest",
"Opens a past farming contest on elitebot.dev with the date in literal form (Example: Late Summer 18, Year 100)"
) { OpenContestInElitebotDev.openFromCommandString(it) }
registerCommand(
"shelitebotdevcontest",
"Opens a past farming contest on elitebot.dev with the date in numerical form (Example: 6m 18d 100y)"
) { OpenContestInElitebotDev.openFromCommandNumbers(it) }
}

private fun usersBugFix() {
Expand Down
Loading

0 comments on commit 57009d5

Please sign in to comment.