I’ve read through the documentation and I believe this should work:
The starting point is a room.
A flang is a kind of object.
Quarblence relates a person to a flang.
The verb to quarble (it quarbles, they quarble) implies the quarblence relation.
The bork is a flang.
Sir Nonsense is a person in the starting point.
Sir Nonsense quarbles the bork.
Instead of touching Sir Nonsense:
let X be the flang to which Sir Nonsense relates by the quarblence relation;
say "'My flang, old bean: [X]'.".
The player is in the starting point.
But when I try:
touch sir nonsense
I get:
[** Programming error: object#45 (object number 45) has no property p56_quarblence to read **]
“My flang, old bean: nothing”.
Can anyone tell me how to retrieve the related object? What have I done wrong? I’m assuming there’s something wrong with this syntax:
let X be the flang to which Sir Nonsense relates by the quarblence relation;
You’re running into a known bug (inform7.com/mantis/view.php?id=1113): the phrase “the X to which Y relates by the R relation” gets its arguments wrong.
Thanks, Zarf. Damn, I seem to be running into a few of these lately. It’s not so much of a bother, as I think I can just use a property for my 1:1 relationship, e.g. A person has a flang called the quarbler. And then let X be the quarbler of Sir Nonsense. If I do end up needing a relationship, I will use your great suggestion, Felix.
I also have a many-to-many relationship that I list out and I’ve read that the bug affects those relationships similarly, but I understand if I make them all the same kind (a super-kind or kind-interface), I should be alright with that. I’ll give it a go and report back if I have any trouble. Thanks again, helpful people!