Please disclose if any significant portion of your mod was created using AI tools by adding the 'AI Generated' category. Failing to do so may result in the mod being removed from Thunderstore.
DelicateWatchSaver
Prevents accidental Delicate Watch breakage from health-costing interactions. Configurable.
By CATAHA_CCCP
| Last updated | 38 minutes ago |
| Total downloads | 22 |
| Total rating | 2 |
| Categories | Tweaks AI Generated |
| Dependency string | CATAHA_CCCP-DelicateWatchSaver-1.1.1 |
| Dependants | 0 other packages depend on this package |
This mod requires the following mods to function
bbepis-BepInExPack
Unified BepInEx all-in-one modding pack - plugin framework, detour library
Preferred version: 5.4.2121README
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.
- Safer Spaces: By default, no warning will be shown if Safer Spaces is ready to block the damage. This behavior can be changed in the config.
Configuration
In configs you can change:
- Confirm Window: Time in seconds allowed for the second confirmation click.
- Custom Warning Text: Custom chat warning message.
- Safety Buffer: Additional protection against edge cases caused by regeneration or timing. (0 = strict calculation; 1 = recommended/default; 2-5 = extra cautious).
- Enable Debug Logs: See the math behind the protection in the console.
- Trust Safer Spaces: Disables warnings if Safer Spaces is currently ready to absorb the hit.
Known Limitations
- Warped Echo: The damage splitting effect of Warped Echo is not calculated due to its unpredictable nature with timing (you can easily get healed between ticks of damage, get damage mitigation by Safer Times, etc), so calculations are done if Warped Echo is not present to stay on the safer side.
- Tougher Times: Mod cannot predict will be damaged block by Tougher Times or not, so confirmation may still be required even at very high block chance.
Technical Note
This mod's code was generated by an AI (LLM) and refined to make it work better, but without AI this mod probably would not exist at al. I dont know how to code, and at first this idea come to me as a joke, but there's we go.
To Do
- Interactions with Power Elixer and Unstable Transmitter? Currently, warnings are still shown if you have Delicate Watches together with those items. Mod called Delicate Watch Saver, so idk.
Contact & Support
If you encounter any issues or have suggestions, feel free to reach out on Discord: goondrik