I’m a newbie trying to give Inform 7 non-player characters attitudes toward subjects of conversation. That is, for each subject of conversation, I want my npcs to have only one of five possible attitudes toward it that will determine how they respond to questioning on the subject, so any character can like, dislike, love, hate or be indifferent to any subject. I understand I can implement the loving relation, but what I want to do is establish that if Lois loves Superman she can’t also hate Superman: one attitude automatically precludes the other. So I’ve been trying to get something like this to work:
Attitude is a variable relating people to various subjects. An attitude can be hostile, suspicious, indifferent, friendly, and adoring. A person’s attitude to any subject is usually indifferent. Lois loves Superman. Clark loves Lois. Lex is indifferent to Clark.
Instead of asking Lois about Superman:
if Lois loves the subject of Superman, say “‘He’s dreamy.’”
I know the above is too imprecise to work, but I also figure I’m trying to reinvent the wheel here anyway and that there is an existing extension that does this. Does anyone know what it’s called?