Page 1 of 1

Request for foolproof warnings

PostPosted: Saturday, 2nd April 2016, 11:51
by Yermak
We already have a foolproof warning that pops up when you're trying to attack unarmed without UC skill: "Really attack barehanded? ". 4thArraOfDagon thinks there are more situations that deserve such a warning: "Really attack while standing in calcifying dust?", "Really attack while standing in shallow water?", "Really attack a -foo- under injury mirror?"

Re: Request for foolproof warnings

PostPosted: Saturday, 2nd April 2016, 13:42
by crate
These definitely should not be defaults, since attacking while in shallow water is actually reasonably often something you want to do, and personally I just attack the injury mirror dudes while they have injury mirror up on most of my characters.

The UC one is ok because unarmed at 0 skill is the worst weapon in the game, and the game is smart enough about how it issues the warning that it never really comes up in situations where you are doing something useful.

Re: Request for foolproof warnings

PostPosted: Saturday, 2nd April 2016, 15:05
by Lacuenta
I think too many of these warnings would become terribly annoying.
Imho there are too many already.

Re: Request for foolproof warnings

PostPosted: Saturday, 2nd April 2016, 15:08
by dynast
Thats kind of unrelated but i feel like posting it here anyways, whats up with "no creatures in sight" when trying to cast offensive spells? If im trying to cast the spell it is beause i dont give a shit, i wanna cast the freaking spell, or maybe there is something around the corner, or something invisible, or i just want to cast the damn spell!
If you accidentaly cast the wrong spell it should be easy to reverse it, since most of them are targetable and i remember ozo's refrigeration not checking for valid targets and it was no big deal, because if there is no targets you can just rest up after it.
Also, i dont see the problem with the player paying the price for having bad fingers, that happens a lot in melee combat.
Now, the best part, cbl, one of the most harmful spells to the player does not check for valid targets on the screen. WTF

Re: Request for foolproof warnings

PostPosted: Saturday, 2nd April 2016, 16:25
by Sar
I agree with crate and dynast.

Re: Request for foolproof warnings

PostPosted: Saturday, 2nd April 2016, 22:58
by crate
dynast wrote:Thats kind of unrelated but i feel like posting it here anyways, whats up with "no creatures in sight" when trying to cast offensive spells? If im trying to cast the spell it is beause i dont give a shit, i wanna cast the freaking spell, or maybe there is something around the corner, or something invisible, or i just want to cast the damn spell!

this is why I macro z to Z

Re: Request for foolproof warnings

PostPosted: Saturday, 2nd April 2016, 23:20
by Jeremiah
The one I'd like is "really go berserk while wielding (something that is not a melee weapon)?"

Re: Request for foolproof warnings

PostPosted: Saturday, 2nd April 2016, 23:26
by Sar
Doesn't it ask that already, though?

Re: Request for foolproof warnings

PostPosted: Saturday, 2nd April 2016, 23:40
by Jeremiah
Maybe it does now - not sure, as it's been a long time since I went berserk when forgetting to switch back from a blowgun. It's the kind of thing you tend to remember after the first time it hapens...

Re: Request for foolproof warnings

PostPosted: Sunday, 3rd April 2016, 08:27
by Yermak
My proposal was too hasty. I agree, two out of these three warnings shouldn't be defaults since it's
crate wrote:actually reasonably often something you want to do

But how about the calcifying dust? Attacking while standing in it is pretty much never something you'd like to do (unless being a Gr or in statue form).

Re: Request for foolproof warnings

PostPosted: Sunday, 3rd April 2016, 09:51
by crate
There are reasons to attack while in calcifying dust but that one isn't necessarily a bad idea, since a lot of players do seem to not notice.

Re: Request for foolproof warnings

PostPosted: Monday, 4th April 2016, 21:35
by prozacelf
I for one periodically find myself accidentally standing in calcifying dust via hitting something twice and getting worked over by the magic of lag.

Re: Request for foolproof warnings

PostPosted: Monday, 4th April 2016, 23:48
by lethediver
Would be nice to be able to call a custom prompt in lua (one that requires y/n keypress)

Re: Request for foolproof warnings

PostPosted: Tuesday, 5th April 2016, 02:02
by genericpseudonym
prozacelf wrote:I for one periodically find myself accidentally standing in calcifying dust via hitting something twice and getting worked over by the magic of lag.

A -MORE- prompt when "A blast of calcifying dust hits you!" solves this problem pretty well for me.

Re: Request for foolproof warnings

PostPosted: Tuesday, 5th April 2016, 03:00
by reaver
lethediver wrote:Would be nice to be able to call a custom prompt in lua (one that requires y/n keypress)
This is 100% possible. The petrifying dust one is completely possible with current crawl lua hooks. I don't remember the names off the top of my head, but there's one function which lets you determine if you're in a cloud and another which lets you call a y/n prompt.

Re: Request for foolproof warnings

PostPosted: Tuesday, 5th April 2016, 04:22
by zxc23
I don't see the issue if it's an rc file option. People who don't want it can turn it off (or it defaults to off) and people who want it can use it.

Re: Request for foolproof warnings

PostPosted: Tuesday, 5th April 2016, 04:27
by lethediver
reaver wrote:
lethediver wrote:Would be nice to be able to call a custom prompt in lua (one that requires y/n keypress)
This is 100% possible. The petrifying dust one is completely possible with current crawl lua hooks. I don't remember the names off the top of my head, but there's one function which lets you determine if you're in a cloud and another which lets you call a y/n prompt.


God dammit dude. I specifically made that post thinking:

"It will be a win win. Either my arrogant assumption will never be proved wrong, OR someone will have to tell me the syntax and name for the lua command allows a Y/N prompt. Either I'm right or I learn something."

And you find the one response that achieves neither of those goals. I hope you're happy with yourself.

Re: Request for foolproof warnings

PostPosted: Tuesday, 5th April 2016, 15:24
by Piginabag
"really start the game as a mummy?"
"really attack wielding the +4 quarterstaff of chaos? Bad Things could happen"
"Are you SURE you want to proceed without adjusting your skill training?"
"really run from the killer bee instead of closing the door?"
"really acquire weapon? you know that never works"
"really hit tab again adjacent to this hill giant? this can't go well"
"I tried to warn you"

There is a fine line between between helpful prompts and turning the prompt system into a helicopter parent. For a brief period of time the game warned you every time you fell into shallow water for whatever reason, and it was furiously irritating to hit enter every single time.

Re: Request for foolproof warnings

PostPosted: Tuesday, 5th April 2016, 17:10
by WingedEspeon
I would find that third prompt useful for D:1.

Re: Request for foolproof warnings

PostPosted: Tuesday, 5th April 2016, 17:10
by Doesnt
i would second the notion that not giving any prompts at all for the highly lethal caclifying dust is bizarre given that the game warns you for every other cloud there is, but apparently that makes me bad at the game

Re: Request for foolproof warnings

PostPosted: Tuesday, 5th April 2016, 18:55
by Wahaha
WingedEspeon wrote:I would find that third prompt useful for D:1.

I didn't write this. Paste in config file.
  Code:
{
local need_skills_opened = true
function ready()
  if you.turns() == 0 and need_skills_opened then
    need_skills_opened = false
    crawl.sendkeys("m")
  end
end
}

Re: Request for foolproof warnings

PostPosted: Tuesday, 5th April 2016, 19:13
by ydeve
If I play online (CZO) how do I get to this file?

Re: Request for foolproof warnings

PostPosted: Tuesday, 5th April 2016, 19:20
by Piginabag
Image

Or if you play .17, the appropriate .17 RC file.