I would like to be able to use alternate verbs in a comand. In other words, I want to be able to use such related verbs as get/grab/lift/handle/etc. to get an object. I’ve tried different approaches but get either assembly errors or a response such as ‘lift’ is not required or used. This should apply also to ‘heavy’ objects and the like.
Would appreciate some help with this. Thanks in advance.
The section in the Technical Manual on how to create verbs pretty much assumes you’re creating entirely new actions. The syntax above allows you to add new vocabulary to an existing action (in this case, TakeAction).
There are other ways to do it, which might be useful in special cases. You could create an entirely new GrabAction, and then modify the Thing class so that it would usually map ‘grab’ to ‘take’:
modify Thing
dobjFor(Grab) asDobjFor(Take)
;
Having done this, you could then override the mapping in special cases. For instance, ‘grab princess’ might be mapped to the hugging action instead.