howto

Learning Inform 7: Part 2

[I recommend checking out Part 1 of this series first. While I do not use the same room and objects in this part, I do build on the concepts I presented in that video.]

I think I have solved the issue of being able to read the text in lower video resolutions by making the text bigger in the editor itself. That way, even when the video screen is smaller, the text is always larger than normal. Although, even with that written, I still encourage watching it in fullscreen and at the highest quality setting.

Source:

"Lesson 2" by Dan Cox

The Lobby is a room. "Various displays are positioned in equal space from a centered exhibit."

The East Wing is a room. "Paintings from 1750 to 1830 decorate the walls." The East Wing is east of the Lobby.

The George Washington display is in the Lobby. The description of the George Washington display is "Facts about the 1st President of the United States:[line break]1) Established an inaugural address.[line break]2) By refusing to run for a third term, helped set the standard of a two-term maximum."

The John Adams display is in the Lobby. The description of the John Adams display is "Facts about the 2nd President of the United States:[line break]1) Was the first president to occupy the White House.[line break]2) Despite much opposition to it, refused to declare war on France in 1800."

Some Money is in the Lobby. The description of the Money is "Looks like about $100 total."

The Candy Bar is in the Lobby. The description of the Candy Bar is "A delicious looking chocolate bar."

Instead of taking the Money, say "It might belong to someone here. You wouldn't want to be accused of stealing it".

Before taking the Candy Bar:
	say "No one will miss this, probably.";
	continue the action.

Before going to the East Wing:
	if the player carries the Candy Bar:
		move the player to the Lobby, without printing a room description;
		say "You walked through the doorway but are now in the same room, again.";
		stop the action.