Counterfeit Monkey — 37 of 292

Emily Short

Release 5

Section 2 - Additional Parsing Lines for USE

[Wherever possible, we want USE THING to fall through to a plausible default behavior, which we do with a bunch of additional grammar lines:]

Understand "use [an edible thing]" as eating.

Understand "use [a wearable thing]" as wearing.

Understand "use [a closed openable container]" as opening. Understand "use [an open openable container]" as closing.

Understand "use [something preferably held] on [a locked lockable thing]" as unlocking it with (with nouns reversed). Understand "use [something preferably held] on [an unlocked lockable thing]" as locking it with (with nouns reversed).

Understand "use [a locked lockable thing]" as unlocking keylessly.

Understand "use [an unlocked lockable thing]" as locking keylessly.

Understand "use [a switched off device]" as switching on.

Understand "use [something]" as using. Using is an action applying to one thing. Carry out using: say "You will have to be more specific about your intentions."

Understand "use [paste] on/with [something]" as putting it on.

Understand "use [gel] on/with [something]" as putting it on.

Understand "use [tub] on/with [something]" as putting it on.

Understand "use [pistol] on [something ungunlike]" as shooting it with (with nouns reversed).

Understand "use [pistol] on [something]" as shooting it with (with nouns reversed).

Understand "use [a door]" as opening. Understand "use [an open door]" as entering.

Understand "use [something] on/with [something]" as using it on. Using it on is an action applying to two things. Carry out using it on: say "I'm not sure what you mean; maybe you could pick a more specific verb." instead.