Is is possible to deal with synonymous command phrases in the same match statement in Adventuron?
I mean, for instance: I want ‘open bottle’ and ‘unscrew cap’ to have the same result. Ideally, I’d do something like:
: match “unscrew cap”||"open bottle {
: if (is_carried “bottle”) {
: print "You open the bottle by unscrewing the cap
}
}
…rather than having separate match statements for the two command phrases and then duplicating the rest of the code in each. But I can’t figure out a way to do that.