Tales of Maj'Eyal

Tales of Maj'Eyal

151 ratings
Improved Auto-explore and Rest
2
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
165.864 KB
May 10, 2015 @ 12:28pm
Nov 7, 2020 @ 12:05pm
33 Change Notes ( view )

Subscribe to download
Improved Auto-explore and Rest

Description
Quality of Life improvements for resting and auto-exploring.

v3.5.1 *** FOR ToME v1.7.2 ***
This is a fork (with permission) of Marson's auto-explore and rest tweaks. It includes as well C.Lowe/CaptainTrip's improvements as well. It does not include, but recommends also using Johnny0's Faster RRE add-on for even better rest and auto-explore experience. This add-on contains numerous Quality of Life improvements designed to make resting and auto-exploring easier to use, brings the add-on overall up to being compatible with 1.7.x, and generally seeks to remove it being more optimal to do timed rests or manual recovery (particularly to help higher difficulty level and players without Faster RRE). Cleaned up feature list in this take, to make it easier to see what it does.

It is recommended to turn off Marson's Rest and Auto-Explore as well as C.Lowe's Rest Tweaks if using. This addon is meant to include all of them.

This mod provides several options to control it. These may be found by opening the Game Menu->Game Options->Gameplay menu. Feel free to customize to preference with the defaults meant to be free of questionable behavior.

Latest Update Notes:
• Double checked compatibility with 1.7.2 and added to mod notes how to get to the menu.
• Added an exclusion for track as it plays poorly with auto-use track.

Existing Features:
• removed First Sighting and Reset on Rest. Someone can patch them in if they'd like it back, but I'm not really keeping them alive.
• Fixed actor bugs causing Elemental Surge to never reset. Thanks Reca♥den.
• Fixed bug with Paradox Spacetime Tuning from 1.5.5. This may rebreak posessors with paradox, hard to kinda test.
• Mostly verified working on 1.6.0
• Compatibility with restart sustains. Thanks zizzo.
• When resting, it will check for infusions and runes that could be used to accelerate HP, Mana, or Equilibrium (via Ancestral Life or Meditation) recovery. If the acceleration appears significant, it will use them, rotating from first available infusion or rune outward. In experiment, I found this often reduced rest turn time by 50-80 percent, improving the more drained the resource was. Particularly helpful for Mana, as it avoids trade-off advantages of short term resting (for increased mana regen) + rune use by just handling that more optimal play for you automatically without breaking rest.
• Support for steam implants, with usual checkboxes. This may not always be faster based on steam sustains that may disable after the initial round of rest and steam implants having very long cooldowns (30+ turns) and steam's resource max being pretty small. It tries to be conservative on that, so will most likely help for cases where your functional steam regen rate is < 2.00 and never activate for things much above it. I found I was often getting 5-20 steam per turn, which makes the implant support useless.
• Supports for medical healing salve injectors. Cooldown measurements are a bit odd here, since they can range from 5-20 depending on injector. Went with 10 as a happy medium for how many turns of natural regen is considered to be equal to the cooldown cost of using it.
• Adding support to auto-stealth if available and not stealthed.
• Option for ignoring small damage when moving and resting, basically if it is <5%, it will ignore it by default, prevent small DoTs from preventing rest.
• Options added to control whether or not to use inscriptions to accelerate recovery of things.
• Fixes a ToME bug that can cause autoexplore or running to move only a single square and hang if used immediately after killing an enemy.
• Lore discovery will only stop autoexplore if it triggers a popup.
• Autoexplore will ignore Exploratory/Infinite Farportal return portals until the entire level has been explored.
• Ignores special terrain features such as Font of Healing after they are first discovered.
• Ignores open chests and alt Maze floor cracks.
• Rest and AE ask for confirmation if you have an escort in your party.
• Ignore already activated pedestals.
• Checks for and waits on any rechargeable items.
• Checks for and reloads any ammo in offhand quiver.
• Waits for cooldowns of talents set to auto-use.
• Waits for depleted air to replenish.
• Combines all checks into a single instance of rest, rather than having cooldowns etc. require a second resting phase.

Determines how auto-explore and running respond to telepathy, including mouse moves. Regardless of the setting, hostiles seen via telepathy will not halt resting or the Rod of Recall, nor trigger automated talents. Unique or powerful monsters (rank > 3) will always trigger a halt to running when they are spotted via telepathy for any mode except 'Original'.

Available modes:
• 'Always Viligant' always stops running when a hostile creature is seen via telepathy.
• 'Original' is standard ToME auto-explore behavior, which ignores telepathy when running or auto-exploring.

• Compatible with ToME v1.6.0

Notes:
Folks who have helped with bugfixes over the years:
Reca♥den
St_ranger_er
zizzo

• Telepathy will not prevent auto-exploring the way normal sight will. If a halt is triggered by telepathy, hitting auto-explore again will move you at least one more square in the direction of the auto-explore path. If in 'Always Viligant' mode and a hostile is within telepathic sight (but not normal sight), you will auto-explore in 1 square per keypress increments.
132 Comments
ZirzoR Mar 12, 2023 @ 8:14am 
I've used this since Cults came out, zero issues. (Love the mod btw)

Hopefully you can update it when the expansion comes out. :ErannorthRebornYorik::gearthumbsup:
bearhiderug Mar 1, 2023 @ 9:41am 
I use this all time
anyone else still useing with out issue?
dracos12  [author] Jul 30, 2022 @ 11:42am 
I'll admit I haven't been properly maintaining this in some time :( Think I left the code over on the forum if someone wants to pick up. May someday get to the couple of written down bugs but no promises.
FailPail Jul 20, 2022 @ 8:34pm 
For some reason it appears this addon may be causing artifact images in lore popups to be missing. any clue on a fix?
weirdfish Oct 6, 2021 @ 2:33pm 
Ah, it looks like newly installed addons don't apply to existing saves. I hadn't realised that was the case. Thanks for the mod!
weirdfish Oct 6, 2021 @ 2:27pm 
Rest doesn't seem to be waiting for my auto use talents, and I'm not seeing any options in the Gameplay menu
Hyggend Jun 30, 2021 @ 1:15pm 
Hello, can you make an exception for meditation?
Kiru Jan 19, 2021 @ 3:51am 
There's a weird bug with steam regen. It seems like rest doesn't care about Steam not being at maximum as long as you have saw wheels activated. Might clash with some other steam draining things as well.
dracos12  [author] Nov 7, 2020 @ 12:06pm 
Update made. Naramyth: Exception added for track WHEN it is in autocast. Lemme know how it goes.
dracos12  [author] Nov 7, 2020 @ 8:36am 
Okay, 1.7 is out, so taking a look at these and making sure it works. Making a list of recent requests to check too.