Closed Kaesken closed 2 years ago
I can think of at least two ways we can fix this.
I prefer the latter, it's much simpler... @rpherbig opinions? If you're ok with 1, I can add that, but I think 2 would be simpler, and achieve the same thing for what appears to be a reasonably edge use case, since nobody has commented on this in a long time...
Two more ideas:
lich
itself has a predicate sleeping?
that, to my knowledge, we've never used before. You might test that to make sure it behaves the way we expect, then we can check for it in maybe SafetyProcess
(similar to this: https://github.com/rpherbig/dr-scripts/blob/master/combat-trainer.lic#L993)SafetyProcess
to detect "You abruptly stop in your tracks and fall over into a deep sleep."since nobody has commented on this in a long time...
Good point. Could you ask around in Lnet/slack/discord and see if anyone hunts in that zone? Maybe people that do have figured out a workaround we could learn from. And if no one is hunting there, the easy fix (your idea number 2) seems reasonable.
Having a chat about this now, and it appears this isn't actually that simple. It's true the game messaging for attempting an action whilst asleep says
You can't do that while you are asleep.
[Use WAKE to wake yourself up.]
But it is currently being explained to me that you can't just wake up from this. It's a poison arrow effect, and you will only be able to use 'wake' after the poison wears off. I'm inclined to make a note in base-hunting that this can happen, to warn folks more than anything "Shoots sleep arrows, beware, and add wake:10 to your yaml, you might live through the posion duration asleep..." I could also add a match for the regex to prevent the 15 second hang , ... @rpherbig What do you think?
I'm inclined to make a note in base-hunting that this can happen, to warn folks more than anything "Shoots sleep arrows, beware, and add wake:10 to your yaml, you might live through the posion duration asleep..." I could also add a match for the regex to prevent the 15 second hang
Given that we don't have people clamoring for this, and the age of this Issue, I think your approach is best.
In case someone would like it, the WAKE isn't in the script.