Section 3 - Access and Preference of Objects
Definition: a thing is available:
if it is in a container which is carried by the player, no;
if it is not worn by the player and it is not a person and it is not carried by the player, yes;
no.
Definition: the fedora is available if it is not carried by someone.
To decide whether (item - a thing) interests (character - a person):
if the item is a person, no;
if the character has the item:
if the item is stinky and the odor sensitivity of the creature is inverse, yes;
if the item is delicious, yes;
no;
if the character is acquisitive, yes;
if [the character is hungry and] the item is delicious, yes; [For diagnostic simplicity during the first episode, we will not require the character to be hungry.]
if the character is cold and the item is wearable, yes;
if the character is hostile and the item is papery, yes;
if the character is hungry, no;
if the odor sensitivity of the character is weak, no;
if the item is stinky, yes;
no.
Desire relates a person (called X) to a thing (called Y) when Y interests X. The verb to want (he wants, they want, it is wanted) implies the desire relation.