プレーヤーが特定の人に特定の種類のものを与えることができるようにしたいと思います。デフォルトでは、人々はアイテムを受け入れませんが、これをオーバーライドできる必要があります。
私は関係を使ってこれをやろうとしています。
The block giving rule is not listed in the check giving it to rules.
Interest relates one person to various things. The verb to like means the interest relation.
Check giving (this is the polite refusal of unwanted objects rule):
unless the second noun likes the noun:
say "[The second noun] disdainfully refuses [the noun]." instead.
次に、ビリーが受け入れる必要があるリレーションの種類/インスタンスを設定しますfood
。
Food is a kind of thing. A baguette is food. A baguette is here.
Billy is a man. Billy is in Example Location. Billy likes food.
ただし、バゲットを取ってビリーに渡すと、次のようになります。
Billy disdainfully refuses the baguette
しかし、私が言うなら
Billy likes the baguette.
次に、与えることは成功します:
You give the baguette to Billy
food
ビリーにすべてのアイテムを受け入れさせるにはどうすればよいですか?