Device capitalization

In my game the beginning of the sentence isn’t capitalized in the story output for a device description being on or off. Is there a simple way to fix this?

Code:

The library is a room.

Tape Deck is a wearable device. The description of Tape Deck is "A device that plays cassette tapes.". Printed name of Tape Deck is "cassette tape player". Understand "cassette tape player" and "tape player" and "player" and "tape deck" and "cassette player" and "portable cassette tape player" and "music tapes" and "music tape" as Tape Deck. 

The player is wearing the Tape Deck.

The story:

>x tape deck
A device that plays cassette tapes.

cassette tape player is currently switched off.

You specify the printed name of the tape deck as "cassette tape player", all lower case. This is the name that Inform will use when talking about the tape deck (verbatim, no changes made). You also created the tape player object without an article (by writing Tape Player is ...), so Inform assumes that the player should be proper-named (like a person’s name) and doesn’t add any articles in the output.

If you change the definition to: The tape deck is a wearable device. then the tape deck is created with an article that adapts as needed:

>x tape deck
A device that plays cassette tapes.

The cassette tape player is currently switched off.

>turn it on
You switch the cassette tape player on.

2 Likes

A little lesson about objects too; thank you!