CleverRaven / Cataclysm-DDA

Cataclysm - Dark Days Ahead. A turn-based survival game set in a post-apocalyptic world.
http://cataclysmdda.org
Other
10.61k stars 4.17k forks source link

Auto-drink zone lacking clean water leads to constant "Drink this? Looks unclean. Y/n?" which makes it hard to interrupt the crafting process #48421

Closed mkrutov closed 3 years ago

mkrutov commented 3 years ago

Describe the bug

Setting up auto-drink zone and only having non-clean water in it leads to stream of "This looks unclean. Drink it? Y/N". It is very difficult to interrupt crafting process during this stream of questions, because as soon as N is answered, crafting is continued and question is immediatelly asked again.

Steps To Reproduce

  1. Set up auto drink zone.
  2. Only have non-clean water in it.
  3. Start a long crafting process.
  4. Get thirsty.

Expected behavior

Instead of Y/N in this question, there should be an option to "No, and interrupt crafting" or "No, and don't ask again". This makes it easier to interrupt crafting and take care of the lack of clean drinkables problem.

Screenshots

Not applicable.

Versions and configuration

Additional context

N/A

OliveChukar commented 3 years ago

Tested on 0.E-10383-gad91f6a [64-bit] with Dark Days Ahead [dda] only no mods. When following the instructions the game did repeatedly ask me if I was sure I wanted to drink dirty water. I was able to stop the craft by pressing N on the dirty water question then pressing the skip turn key as quickly as I could. It did take multiple attempts to stop the craft in this way.

actual-nh commented 3 years ago

Is there a way to add an extra "quit crafting" option that wouldn't cause problems with string freeze? (@BrettDong?) Without that, some variety of rate limiter on the questions (assuming the same answer as for the prior one) seems to be the way to go for 0.F.