| Chapter 17: Activities |

| 17.29. Printing the banner text

1. When it happens. The banner is the bibliographic masthead text, which typically looks something like this:

> Relations
> An Interactive Fiction by Emily Short
> Release 1 / Serial number 050630 / Inform 7 build 2U98 (I6/v6.30 lib 6/10N) SD

The banner is printed at the start of play, and when the player types "version" at the command line, and when say "[banner text]" occurs.

2. The default behaviour. Prints the text above, giving the title, the genre, the author, the release number, the date of compilation (that's the serial number: YYMMDD), and version numbers of the Inform components used to put the game together.

3. Examples. (a) Adding a line to the banner:

> After printing the banner text, say "DRM authentication code: 13S-451-2034u75y65u%%a1248."

(b) Simplifying the banner:

> Rule for printing the banner text: say "Welcome." instead.

(c) Delaying the banner for later:

> "Bikini Atoll" by Edward Teller

> The Hut and the Tropical Beach are rooms.

> The conch shell is in the Hut. After taking the shell for the first time: say "As you gather the oddly-warm conch shell into your arms, you experience a sudden flash of deja-vu...[banner text]"; move the player to the Tropical Beach.

> Rule for printing the banner text when the player is not carrying the shell: do nothing.

(By tradition, and as a courtesy to all the people who have worked on Inform, authors ensure that the banner is printed some time near the beginning of each game played. So please only defer it, rather than suppress it altogether.)

Previous | Contents | Next