Confirm wait when at full HP/MP/status


Although the central place for design discussion is ##crawl-dev on freenode, some may find it helpful to discuss requests and suggestions here first.

Spider Stomper

Posts: 201

Joined: Thursday, 16th July 2015, 21:47

Post Thursday, 8th June 2017, 00:02

Confirm wait when at full HP/MP/status

You hit "5" to wait out a lot of things in the game. The problem is, you have to do it SO much, to get back HP, MP, wait for status effects ... and yet, it's a really long waste of moves, food etc. if you happen to hit it when you're at full for everything. This aggravates me and I don't even try for tournament speed freak trophies. Yeah, I know that going through and checking for HP, MP, and *any* expirable bad status whatsoever before nagging the user with a Wait with full health and magic (Y/N)? would be a pain to code, but ... it'd be appreciated...

For this message the author Chicken has received thanks: 12
all before, duvessa, johlstei, nago, runewalsh, Sprucery, ThreeInvisibleDucks, Turukano, VeryAngryFelid, yesno and 2 more users

Slime Squisher

Posts: 406

Joined: Thursday, 16th June 2011, 18:36

Post Friday, 9th June 2017, 17:03

Re: Confirm wait when at full HP/MP/status

If it's intentional, '55' would be less of a pain than '5Y'.
Won with: KeAE^Sif, NaWz^Sif, NaTm^Chei, SpEn^Nmlx, GrEE^Qaz, HOFE^Veh, MiBe^Trog, DrFE^Hep, FoFi^Zin, CeHu^Oka, DjFE^Ash, DrIE^Ru, FeSu^Jiy, GnCA^Usk.
In Progress:
Long-term goal: complete the pantheon.

For this message the author mattlistener has received thanks:
duvessa

Blades Runner

Posts: 548

Joined: Monday, 23rd March 2015, 05:29

Post Friday, 9th June 2017, 18:37

Re: Confirm wait when at full HP/MP/status

mattlistener wrote:If it's intentional, '55' would be less of a pain than '5Y'.


I don't do this intentionally often enough to worry about that... Most often I rest while at full HP/MP in only one of two situations: 1) I finished a fight and hit 5 out of reflex, forgetting I took no damage, or 2) I want to wait for a monster to approach and am too lazy to pay attention while '.'ing or to use command for repeat n times. '5y' has interface consistency also since other confirm requests require 'y' or 'Y' (I don't think this one warrants a 'Y').
User avatar

Shoals Surfer

Posts: 301

Joined: Friday, 8th November 2013, 16:19

Location: Tel'aran'rhiod

Post Sunday, 11th June 2017, 09:54

Re: Confirm wait when at full HP/MP/status

I had the same issue with needlessly waiting a bunch of turns because hammering '5' out of reflex. Some time ago I created a custom rest function in my crawlrc to solve this issue:

  Code:
{
function hp_percent() a,b=you.hp() return 100*a/b end
function mp_percent() a,b=you.mp() return 100*a/b end

function custom_rest()
  if hp_percent() == 100 and mp_percent() == 100 then
    if crawl.yesnoquit("Wait 100 turns?", true, 'n') == 1 then
      crawl.process_keys("5")
    end
  else
    crawl.process_keys("5")
  end
end
}

macros += M 5 ===custom_rest

Not saying that this shouldn't be the default behavior of the game. But it is something you can use right now (you would probably want extend the hp/mp condition with some additional status queries).

For this message the author Tedronai has received thanks:
ThreeInvisibleDucks
User avatar

Tartarus Sorceror

Posts: 1698

Joined: Saturday, 18th June 2016, 13:57

Post Sunday, 11th June 2017, 11:36

Re: Confirm wait when at full HP/MP/status

We have 3 different wait buttons (., s, 5). We could have one be "wait until fully rested", one "wait 1 turn", one "wait (this many) turns".
I Feel the Need--the Need for Beer
Spoiler: show
3DSBeTr 15DSFiRu 3DSMoNe 3FoHuGo 3TrArOk 3HOFEVe 3MfGlOk 4GrEEVe 3BaIEChei 3HuMoOka 3MiWnQaz 3VSFiAsh 3DrTmMakh 3DSCKXom 3OgMoOka 3NaFiOka 3FoFiOka 3MuFEVeh 3CeHuOka 3TrMoTSO 3DEFESif 3DSMoOka 3DSFiOka
User avatar

Shoals Surfer

Posts: 301

Joined: Friday, 8th November 2013, 16:19

Location: Tel'aran'rhiod

Post Sunday, 11th June 2017, 12:30

Re: Confirm wait when at full HP/MP/status

You can already configure 5 to rest until fully healed (see rest_wait_both and rest_wait_percent). To wait for a specific number of turns you can just use "0N." (N being the number of turns you want to wait).

As far as I know the only reason both '.' and 's' are kept around is for legacy reasons (from the time where search and wait were separate commands).

Return to Game Design Discussion

Who is online

Users browsing this forum: No registered users and 19 guests

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