How do I prevent hunger from interrupting auto-explore?


Problems running or configuring the software, commands & options, compiling, different platforms, using the interface, documentation, etc.

User avatar

Temple Termagant

Posts: 10

Joined: Monday, 11th June 2018, 17:56

Post Friday, 29th March 2019, 23:26

How do I prevent hunger from interrupting auto-explore?

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.

Slime Squisher

Posts: 341

Joined: Thursday, 11th April 2013, 21:07

Post Saturday, 30th March 2019, 10:27

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

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.]

For this message the author Implojin has received thanks: 2
floraline, stormdragon
User avatar

Temple Termagant

Posts: 10

Joined: Monday, 11th June 2018, 17:56

Post Tuesday, 2nd April 2019, 19:04

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

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

Return to Technical Support

Who is online

Users browsing this forum: No registered users and 1 guest

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.