diff options
author | Linnea Gräf <nea@nea.moe> | 2024-01-19 00:25:02 +0100 |
---|---|---|
committer | Linnea Gräf <nea@nea.moe> | 2024-01-19 00:25:02 +0100 |
commit | dcb769967dce8c4e98f035c23f5167553750a94a (patch) | |
tree | 5f584ada4028199c3054c508da9944a685533f04 /src/main/kotlin/moe/nea/firmament/features/diana/DianaWaypoints.kt | |
parent | 7255bb655768c0b9a9e6a04e4e69eb264047ef1b (diff) | |
download | Firmament-dcb769967dce8c4e98f035c23f5167553750a94a.tar.gz Firmament-dcb769967dce8c4e98f035c23f5167553750a94a.tar.bz2 Firmament-dcb769967dce8c4e98f035c23f5167553750a94a.zip |
Add warp to diana guess keybind
Diffstat (limited to 'src/main/kotlin/moe/nea/firmament/features/diana/DianaWaypoints.kt')
-rw-r--r-- | src/main/kotlin/moe/nea/firmament/features/diana/DianaWaypoints.kt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/main/kotlin/moe/nea/firmament/features/diana/DianaWaypoints.kt b/src/main/kotlin/moe/nea/firmament/features/diana/DianaWaypoints.kt index 9f72967..9102497 100644 --- a/src/main/kotlin/moe/nea/firmament/features/diana/DianaWaypoints.kt +++ b/src/main/kotlin/moe/nea/firmament/features/diana/DianaWaypoints.kt @@ -11,6 +11,7 @@ import moe.nea.firmament.events.ParticleSpawnEvent import moe.nea.firmament.events.ProcessChatEvent import moe.nea.firmament.events.SoundReceiveEvent import moe.nea.firmament.events.UseBlockEvent +import moe.nea.firmament.events.WorldKeyboardEvent import moe.nea.firmament.events.WorldReadyEvent import moe.nea.firmament.events.WorldRenderLastEvent import moe.nea.firmament.features.FirmamentFeature @@ -22,6 +23,7 @@ object DianaWaypoints : FirmamentFeature { object TConfig : ManagedConfig(identifier) { val ancestralSpadeSolver by toggle("ancestral-spade") { true } + val ancestralSpadeTeleport by keyBindingWithDefaultUnbound("ancestral-teleport") val nearbyWaypoints by toggle("nearby-waypoints") { true } } @@ -38,6 +40,7 @@ object DianaWaypoints : FirmamentFeature { ProcessChatEvent.subscribe(NearbyBurrowsSolver::onChatEvent) + WorldKeyboardEvent.subscribe(AncestralSpadeSolver::onKeyBind) ParticleSpawnEvent.subscribe(AncestralSpadeSolver::onParticleSpawn) SoundReceiveEvent.subscribe(AncestralSpadeSolver::onPlaySound) WorldRenderLastEvent.subscribe(AncestralSpadeSolver::onWorldRender) |