Re: Inform: name of rooms
06 Dec 1995 18:50:27 GMT
Joe Mason <joe.mason@tabb.com> wrote:
> In Inform, if you give a room the "name" property, trying to refer to
> that name will give you "You do not need to refer to that object to
> compplete this game." I can see how that's useful for a place to put
> the names that generate that message, but what if you want to be
> actually *have* a name for your room?
Use another object:
Object Courtyard "courtyard"
with ...
Nearby DummyCourtyard "courtyard"
has scenery
with name "court" "yard" "courtyard" "quad";
before [;
Examine: <<Look>>;
default: "You can't do that.";
];
--
Gareth Rees