Tads 3 stop door from opening if player types enter when door is closed

How can i stop Implicit Action for object like a door?

2 Likes

You can use the nonObvious macro in the verify() method of the verb hander of the door. For example to prevent implicitly unlocking a locked door, you can use:

dobjFor(Unlock) {
    verify() {
        if (isLocked()) {
            nonObvious;
        }
    }
}

See: TADS 3 Action Results

4 Likes