Undocumented, but try:
- Code:
interrupt_armour_on -= hp_loss
interrupt_armour_off -= hp_loss
interrupt_drop_item -= hp_loss
interrupt_memorise -= hp_loss
interrupt_butcher -= hp_loss
interrupt_bottle_blood -= hp_loss
interrupt_vampire_feed -= hp_loss
interrupt_multidrop -= hp_loss
interrupt_macro -= hp_loss
interrupt_travel -= hp_loss
(there are also interrupt_run and interrupt_rest; but for those, the documented runrest_safe_poison along with a runrest_ignore_message is likely sufficient)
I think you need lua to make it care about the amount of the HP loss, total HP, and amount of poisoning. See dat/clua/runrest.lua for an example of this (that's how runrest_safe_poison is implemented).
If someone came up with some Lua that is easier to customise (comparable to runrest_safe_poison), has reasonable defaults, and is compatible with other settings, it could probably become a default. One possibility would be a "safe_poison" that generalises runrest_safe_poison by applying to other interrupt types.
Edit: I do notice that c_interrupt_activity only (in dat/des/userbase.lua) allows only one hook function per activity type. It would be nice to allow multiple hooks per activity type, so that users can customise further without having to override the default hooks or do tricks like saving and calling the old function. But I suppose that's orthogonal to the problem of providing better defaults.