I’d like to ask a NPC about myself. I thought this would make sense, but it’s not accepted by Inform 7:
Instead of asking Snow-white about "[player]", say "blabla".
It would work if I change the player to be someone else, for example:
[code]Bob is a man. Bob is in Kitchen.
Living-room is north from Kitchen.
Snow-White is a woman in living-room.
When play begins:
now the player is bob.
Instead of asking Snow-white about “[bob]”, say “blabla.”.[/code]
Why is [player] not allowed in the first example? Maybe there is another noun for the player, but I couldn’t find it in the manuel. It least, even if there is one, it would be logical to use the name “player” in this case.
The second example could be used, but the problem is it’s putting a “former self” in the room. And I don’t know either how to remove it. (I can’t say “move the former self to another-room”).
EDIT: I’ve just found the solution: I also tried with “self”, but without luck, we must use “yourself” to manipulate the player this way.
Maybe it would make sense to create a bug report for this, because it’s quite confusing?
It’s possible to say “move yourself to living-room” or “move the player to living-room”, but not to use [player] in a rule.