我希望玩家能够将某些东西提供给某些人,其中默认是人们不接受这些物品,但应该可以覆盖它。
我正在尝试使用关系来做到这一点。
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
物品?
我想
出了怎么做,不是使用关系,而是使用非此即彼的属性。
A person can be interested-in-food.
通过给予检查:
Check giving (this is the polite refusal of unwanted objects rule):
Unless noun is food and the second noun is interested-in-food:
say "[The second noun] disdainfully refuses [the noun]." instead.
并赋予人设置属性:
Billy is interested-in-food.
Billy likes food.
这句话创造了一种比利喜欢的叫做"食物"的东西。让比利像所有食物一样的一种方法是使用all
这个词,如下所示:
All food is liked by Billy.
或
When play begins, now Billy likes all food.
这些让比利单独喜欢每一种食物。