2016-07-15 4 views
1

플레이어가 특정 사람들에게 특정 종류의 것을 제공 할 수 있기를 바랍니다. 기본값은 사람들이 항목을 수락하지 않는다는 것입니다. 그러나 이것을 무시할 수 있어야합니다.특정 사람들에게 특정 종류의 것을주는 것 (사람과 종류의 관계)

나는 관계를 사용하여이 작업을 수행하려고합니다.

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을 수용해야하는 관계의 종류/인스턴스를 설정.

You give the baguette to Billy 

방법 : 다음주는

Billy likes the baguette. 

성공 말하는 경우에, 그러나

Billy disdainfully refuses the baguette 

:

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. 

그러나 바게트를 복용하고 빌리에게주고는 결과 내가 빌리에게 줄 수있어? ept 전체 food의 항목이 있으십니까?

답변

2

어떻게 관계를 사용하지 않고 하나 또는 둘 모두를 알아 냈습니다.

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.