Block resting if you've recently been attacked
Moderator: Moderator
Block resting if you've recently been attacked
My resting got stopped - which it often does, with talent cooldowns - so I hit 'r' again. It had actually been an orc grand master assassin attacking me. I died to it before I even realized it was there. This could've been prevented if 'r' only attempted to rest if conditions permit a >1 turn rest, and as there's already a 'wait one turn' key, no functionality would be lost.
Re: Block resting if you've recently been attacked
Yeah, you definetely should NOT be allowed to 'rest' one turn with enemies in sight/around. Had this happen to me at least once 
ToME online profile: http://te4.org/users/zonk
Addons (most likely obsolete): Wights, Trolls, Starting prodigy, Alternate save/resistance system
Addons (most likely obsolete): Wights, Trolls, Starting prodigy, Alternate save/resistance system
Re: Block resting if you've recently been attacked
There's a logical breakdown here, though. The game doesn't really know whether or not it will rest for one turn until it gets interrupted after processing that turn.
Perhaps threatening interruptions to resting should, as an option, require a non-standard keypress to clear and allow other actions. I think that's a common feature in many roguelikes.
Perhaps threatening interruptions to resting should, as an option, require a non-standard keypress to clear and allow other actions. I think that's a common feature in many roguelikes.
Sorry about all the parentheses (sometimes I like to clarify things).
Re: Block resting if you've recently been attacked
Nah, it would be easy enough to call "restCheck" before any resting takes place. Alternatively, one could check for visible enemies as is done for auto-explore.bricks wrote:There's a logical breakdown here, though. The game doesn't really know whether or not it will rest for one turn until it gets interrupted after processing that turn.
Re: Block resting if you've recently been attacked
fixed
[tome] joylove: You can't just release an expansion like one would release a Kraken XD
--
[tome] phantomfrettchen: your ability not to tease anyone is simply stunning
--
[tome] phantomfrettchen: your ability not to tease anyone is simply stunning
Re: Block resting if you've recently been attacked
Fixed HOW?
Not being able to rest at all with enemies in sight would be bad for me as i have no numpad (without the FN key, anyway), which makes passing a turn really awkward now that you cannot simply walk into a wall any more.
Not being able to rest at all with enemies in sight would be bad for me as i have no numpad (without the FN key, anyway), which makes passing a turn really awkward now that you cannot simply walk into a wall any more.
Re: Block resting if you've recently been attacked
Why do you need a numpad ? You can bind the spend a turn key to any key you wish
[tome] joylove: You can't just release an expansion like one would release a Kraken XD
--
[tome] phantomfrettchen: your ability not to tease anyone is simply stunning
--
[tome] phantomfrettchen: your ability not to tease anyone is simply stunning
Re: Block resting if you've recently been attacked
I'd recommend shift+r, forces you to use an extra key so you don't press it on accident.