Hey all,
I’m having a bit of trouble with Erik Eve’s conversation extensions.
Basically, to make a NPC recognize a topic, I have to make that topic a person. If I make it a subject or a thing, familiar or not, the NPC won’t recognize it, even though the game acknowledges that the quizzing is successful. Quizzing about a subject or a thing, rather than a person, will redirect to the default.
Incidentally, if I write an instead rule for a subject or a thing, that will successfully intercept it.
Liberty is a familiar man.
Equality is a subject.
Fraternity is a familiar thing.
Table of Guard's Answers
subject response rule response table suggest
Liberty Liberty rule -- --
Equality Equality rule -- --
Fraternity Fraternity rule -- --
This is the Liberty rule:
say "Asking about Liberty successful.";
This is the Equality rule:
say "Asking about Equality successful.";
This is the Fraternity rule:
say "Asking about Fraternity successful.";
Gets this response:
[i]> ask guard about liberty
[quizzing the security guard about Liberty]
Asking about Liberty successful.
[quizzing the security guard about Liberty - succeeded]
ask guard about equality
[quizzing the security guard about Equality]
He just ignores you.
[quizzing the security guard about Equality - succeeded]
ask guard about fraternity
[quizzing the security guard about Fraternity]
He just ignores you.
[quizzing the security guard about Fraternity - succeeded]
ask guard about justice
[asking the security guard about “justice”]
He just ignores you.
[asking the security guard about “justice” - failed]
[/i]
I have mucked around a bit with some other code (from the Sweeney Todd example in the recipe book) that I could possibly see causing a namespace issue with “subject”, but I’m pretty sure I went through that carefully (renamed those to Tsub).
Even so, I don’t really understand why asking about people works, but asking about things doesn’t.
Any ideas?
Jason