Let's say that I have a bunch of verbs that usually mean the same thing (e.g. get, take, steal etc.), but in some circumstances, you want one and only one of those to mean something different. For example, "take" normally means the same thing as "get", but "take inventory" means "inventory", "take note" means write something down, "take bath" means have a wash, "take aim" means aim, "take leak" means pee and so on.
Using an example from The Inform Designers' Manual, I tried the following and it didn't work:
: match "drop charges" {In this case, "drop charges" works, but so does "put charges", "place charges", "leave charges" and whatever other synonyms I have defined for "drop".
: if (verb_is "drop") {
: print "Charges dropped.";
: done;
}
}
So, is it possible to do this?