I have characters; These characters have hair; Hair has some text called length, like so:
Some hair is a part of every person.[ The printed plural name of hair is "hair".]
Every hair has some text called length. Length is usually "short".
I’m trying to get the hair’s length to show up when the player looks at characters, and not specifically at their hair, but
Say "It has [the length of target's hair]";
or
Say "It has [the length of random hair which is part of the target]";
can’t be parsed by Inform 7.
It has [the length of Sally's hair]";
works, but I’m sure there must be a better method than having to write a nearly-identical line of code for every single character in the game. What am I missing?