Wainwright Acts
Suppose we wanted to write rules for a character who will interact with doors in other locations even when the player is not present. This poses a little challenge: doors are actually single objects, and -- with the same shuffling of stage properties that applies to backdrops -- they are moved as needed to represent the door object in whatever room contains the player.
That means that it isn't safe to rely on a phrase like
because, even if Bernard's location is connected by doors to other places, the actual representation of that door may not be "in" Bernard's location, from the model's point of view, at this exact moment.
This does not, of course, mean that we can't ask this question; just that we have to be a little cleverer about how we phrase it. Every door has properties that correspond to the two locations
linked:
We can make this information easier to check with a conditional relation, like so:
And this allows us to write rules that have characters interacting with doors even in the player's absence:
Test me with "z / z / z / w / z / e / close door / z".
The waiting room door stands open.
>(Testing.)
>[1] z
Time passes.
Through the waiting room door, you overhear Sir Humphrey discussing ways to avoid attending your birthday party.
>[2] z
Time passes.
Through the waiting room door, you overhear Sir Humphrey discussing ways to avoid attending your birthday party.
>[3] z
Time passes.
Through the waiting room door, you overhear Sir Humphrey discussing his hopes for your imminent resignation.
>[4] w
Gents' Loo
The waiting room door stands open.
You can also see Sir Humphrey here.
>[5] z
Time passes.
>[6] e
Waiting Room
The waiting room door stands open.
Through the waiting room door, you overhear Sir Humphrey discussing his hopes for your imminent resignation.
>[7] close door
You close the waiting room door.
>[8] z
Time passes.