examples

1922

Hey folks. You probably saw my presentation today in class for my text-based adventure (if you can call it an adventure) 1922. I've attached the Inform file below so you can see how I did things.

Two things asked specifically about in class:

1. Smoking. In Inform, the smoking was written exactly as illustrated below:

Quote:
Cigarettes are carried.

Smoking is an action applying to one carried thing. Understand "smoke [something preferably held]" as smoking.

Report smoking:
say "You smoke a cigarette and relax."

2. Ending the game:

Quote:
[ENDING ROOM] is west of [PREVIOUS ROOM].

After going to [ENDING ROOM]:
say "A somber, mustached, Marcel Proust walks along the shore, throwing shells into the ocean and coughing every now and then. He seems sickly. You have this feeling that he will not live much longer.

You two sit down in the sand and reminisce about things past.";
end the game saying "You will live forever, Modernist".

Keywords: Inform | help | examples
Syndicate content