Heyyyy, so part of me has no clue how to do this, but also I’m still waiting on ADHD meds to arrive, so my sincerest apologies if I might have missed something, but I am holding onto thought processes for dear life right now, lol.
If I have two completely different verbs that might have some grammar overlap, is there a way to have one try to evaluate before another?
For instance: >SNEAK NORTH
and >SNEAK OFF
These would be two different verbs. I’d like to be able to check for the player attempting to turn off sneak before the parser tries to evaluate “off” as a direction.
If you implement sneaking as a posture of sort, (cfr. the debate on levitating) you should need only sneak [on|off], I think (but this require big modifies, because leaving rooms &c. imply changing into default (standing) posture… I can’t figure what can be easiest to imp, verb or posture of sort, sorry.
It’s not a posture; it’s a specific tutorial-only shorthand action that combines multiple verbs together, to make the mechanics easier to learn.
If a player wants to turn off sneaking during the tutorial, I’d like to give them the option to, because then they can practice what they’ve learned and take off the training wheels, so to speak.
Specifically, SNEAK NORTH implicitly causes LISTEN, PEEK NORTH, GO NORTH, and CLOSE (X) DOOR, if the connection was a door, because closing doors manually is quieter than letting the doors close automatically.
The player has an option to simply GO NORTH, of course, but the clickable hyperlink commands on the exit lister will use sneak instead, if it’s on.
Also, turning sneak off would be good for players who are trying to get used to not having it available, so any habitual uses of it would be met with “you’ve turned sneak off. As a reminder, these are the steps for maximizing stealth and safety: …”
Whereas attempting to use sneak in difficulty modes that don’t allow it at all just say “This mode does not allow sneak. Remember: the Predator can hear you, and will notice your traces! Good luck!”
Also also, for what it’s worth: I’ve already completely implemented sneaking as a verb. I’m just trying to figure out how to specifically add another verb to toggling it on/off, without causing the parser to get confused, that’s all.