I’m trying to work it so that the player brushes his teeth.
[code]Brushing teeth is an action applying to one visible thing.
Understand “brush [something]” as brushing.
Teeth is a part of player.
A squiggle of toothpaste is inside tube of toothpaste. The squiggle of toothpaste is undescribed.
But I get the message:
Problem. You wrote ‘Understand “brush [something]” as brushing’ : but ‘understand … as …’ should be followed by a meaning, which might be an action (e.g., ‘understand “take [something]” as taking’), a thing (‘understand “stove” as the oven’) or more generally a value (‘understand “huitante” as 80’), or a named token for use in further grammar (‘understand “near [something]” as “[location phrase]”’). Also, the meaning needs to be precise, so ‘understand “x” as a number’ is not allowed - it does not say which number.
And I’m pretty sure the parser does understand brushing teeth, because I’ve got a couple of “check” rules it works with.