Page 1 of 1

How do I prevent hunger from interrupting auto-explore?

PostPosted: Friday, 29th March 2019, 23:26
by floraline
How do I stop the "You are feeling hungry" message from interrupting auto-explore and travel? I have this set in my options, but it doesn't seem to be working:
  Code:
runrest_ignore_message += You .* hungry

I have tried different regex patterns with no luck. My full rcfile is here: https://crawl.kelbi.org/crawl/rcfiles/c ... oraline.rc

I did notice this warning in the documentation:
  Code:
        NOTE: runrest_ignore_message has no effect on explore_stop.

but I don't see any reason to believe that explore_stop stops on hunger anyway.

Re: How do I prevent hunger from interrupting auto-explore?

PostPosted: Saturday, 30th March 2019, 10:27
by Implojin
interrupt_travel -= hungry

This should do it.

Limitations: This will not interrupt your current explore/travel for hunger reasons until your character actually faints, and you will not be able to fire further autoexplores while starving/fainting.

You might also need to play with the auto_butcher/auto_eat_chunks settings, my experience with recent versions of Stone Soup is limited and I'm not sure how those interact with travel interrupts.

[Use of CMD_EXPLORE is always prevented while starving, regardless of your interrupt settings: do_explore_cmd() just prints to mpr and escapes. However, you can still use CMD_INTERLEVEL_TRAVEL while starving, which feels like unintended behavior.]

Re: How do I prevent hunger from interrupting auto-explore?

PostPosted: Tuesday, 2nd April 2019, 19:04
by floraline
Thank you very much! This was exactly what I needed. I'm using these options together now:

  Code:
runrest_stop_message += You .* starving
interrupt_travel -= hungry