Delicate Watch Saver
Adds a safety confirmation to any interaction that costs health (such as Blood Shrines or Void Cradles). If the health cost would drop you below the 25% threshold and break your Delicate Watches, the interaction is temporarily blocked, and you are prompted to interact again to confirm within a short window.
Features
- Smart Calculation: Simulates the incoming damage by checking your current Barrier, Shields, and Health to determine if your Delicate 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.
- Safer Spaces & Deus Ex Machina Integration: By default, no warning is shown if your Safer Spaces is ready, or if you are actively parrying with the Deus Ex Machina equipment.
- In-Game Configuration: Support for Risk of Options, allowing you to tweak settings directly in the game options menu.
- Anti-Steal Protection: Confirmation timers are tied strictly to the player who triggered them, so a low-health teammate cannot accidentally trigger a shrine you just soft-locked.
- Configurable Networking:
- Local Mode (Default): Fully client-side. Works on any server. Warning messages are private and visible only to you.
- Global Mode: Host-side. Protects everyone in the lobby, even players without the mod. Warning messages are broadcast to the global chat with player names.
Configuration
The following settings can be tweaked in-game using Risk of Options, or manually in the BepInEx configuration file:
- Global Mode: Toggle between Global (Server) and Local (Client) modes.
- Confirm Window: Time in seconds allowed for the second confirmation click.
- Custom Warning Text: Custom chat warning message. Supports
{0} for the timer and {1} for the player's name (in Global Mode).
- Safety Buffer: Additional protection to prevent watches from breaking due to natural health regeneration or rounding errors (0 = strict calculation, 1 = default/safe, 3-5 = extra cautious).
- Trust Safer Spaces: Disables warnings if Safer Spaces is currently ready to absorb the hit.
- Trust Parry: Disables warnings if you are actively parrying (e.g. using Deus Ex Machina equipment).
- Enable Debug Logs: Prints calculations to the console for troubleshooting.
Known Limitations
- Warped Echo: The damage-splitting effect of Warped Echo is not calculated due to its highly unpredictable nature (players can easily heal between damage ticks, trigger other items, etc.). Calculations are processed as if Warped Echo is not present to stay on the safer side.
- Tougher Times: The mod cannot predict whether damage will be blocked by Tougher Times, so confirmation may still be required even at very high block chances.
Technical Note
This mod's code was created with the assistance of an AI (LLM) and subsequently refined. I don't know how to code, and this idea originally started out as a joke, but here we go.
If a client with the mod joins a server running in Global Mode, the server sends an invisible handshake. The client automatically disables their local checks, preventing the "double confirmation" issue (that was in previous version) and deferring entirely to the server's protection. If the host toggles Global Mode on/off mid-game, a real-time handshake update is sent, and clients instantly adapt their protection modes accordingly.
Planned / Future Updates
- Power Elixir / Unstable Transmitter: Currently, warnings are still shown if you have Delicate Watches together with a Power Elixir or Unstable Transmitter. While these items would save your watches, they consume themselves in the process, so whether to block the interaction in these scenarios is still under consideration.
Contact & Support
If you encounter any issues or have suggestions, feel free to reach out on Discord: goondrik