Inform 7 Home Page / Documentation
§8.7. Moving things
We have now seen how to change the properties of rooms and things, and also any freestanding values which may have a bearing on the model world. We are not allowed to change the kind of anything during play. Our remaining freedom is to move things around. It would make no sense to move rooms around, because rooms are the fixed reference points in our geography, but anything else is mobile. This even includes things which are supposedly "fixed in place", for unlike the player, we have god-like powers. (There are minor restrictions: backdrops are trickier to move, since they are present in several rooms at once - see the next section. And doors, at the junction between two rooms, cannot be moved.)
Here is how to move something:
move (object) to (object)
This phrase moves the first-named object to the second. Example:
The first object named has to be a thing; the destination must be a room, as here, a container, a supporter, or a person. When something is moved, all its parts and contents (and all their contents, and so on) move with it. If the thing being moved is a person, then the destination is required to be a room or an enterable container. (In particular, a person cannot be carried by another person.)
Two options can be used if the object being moved is the player.
omits the description which would otherwise be produced. A compromise is to use:
which gives a full description if the player has never been here before, but only a brief one if it is a familiar scene. These options have no effect for any other objects being moved.
If the destination is a person, like so:
move the genie's turban to Aladdin;
then it will be carried rather than worn. We could arrange for it to be worn instead by writing
now the genie's turban is worn by Aladdin;
"Now..." is a much more flexible phrase than "move": more on this shortly.
Meteoric I and II
The game below begins at half past eleven, and one turn later, it's meteor time:
Or for something a little slower-moving and with no after-image:
Phobos is a backdrop. Instead of doing something to Phobos, say "Phobos orbits a mere 6000km above you, which is practically touching range for astronomy. On the other hand, astronomy isn't all that practical."
Though we should not really use Earthly time-keeping, since the Martian day is about half an hour longer than ours.