Delicate Watch Saver
Adds a safety confirmation to any interaction that costs health (Blood Shrines or Void Cradles). If the health cost would drop you below the 25% threshold and break your watches, the interaction is blocked, and you are prompted to click again to confirm within a short window.
Features
- Smart Calculation: Simulates the damage by looking at your current Barrier, Shields, and Health to determine if the watches will actually break.
- Double-Tap Confirmation: If your watches are at risk, you must interact with the object a second time within a configurable window (default 3 seconds) to proceed.
- Multiplayer Friendly: Warning messages are local. Only the player who is about to break their watches will see the warning in their chat.
- Safety Buffer: Includes a configurable "Safety Buffer" to account for natural health regeneration or rounding errors, ensuring your watches stay safe.
Configuration
In configs you can change:
- Confirm Window: Time in seconds for the second click.
- Custom Warning Text: Change the message shown in chat.
- Safety Buffer: Extra health protection (default 1 HP).
- Enable Debug Logs: See the math behind the protection in the console.
Known Limitations
- Warped Echo: The damage splitting effect of Warped Echo is not calculated due to its unpredictable nature with timing. The mod will calculate damage as if Warped Echo is not present to stay on the safer side.
Technical Note
This mod's code was generated by an AI (Large Language Model) and refined to make it work better, but in first place without AI it would be never done.
Contact & Support
If you encounter any issues or have suggestions, feel free to reach out on Discord: goondrik