Scenery Tables

From IFWiki

Revision as of 23:23, 16 August 2020 by Jonathan (talk | contribs) (Adding the square brackets round Scenery Objects)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

The following Inform 7 sample shows how to define room scenery objects using a table:

[Scenery Objects]

The Staging Area is a room. A SceneryItem is a kind of thing. It is scenery. Some
SceneryItems in the Staging Area  are defined by the Table of Scenery Objects.

Table of Scenery Objects
StagingAreaItem		description
life			"Life is a bore."
fun			"Fun is cool."