![]() | Chapter 2: The Source Text | ![]() ![]() |
2.11. Including extensions |
We talk about "including" such an extension into a work of IF because the process merges rules and behaviours from the extension with those we have described ourselves. It's not uncommon for contributions by five or six different people to be pooled together this way.
Including an extension is only a matter of writing a single sentence in the source. For instance:
Include Locksmith by Emily Short.
Note that it is compulsory to name both extension and author.
An extension which Inform has noticed in the extensions folder receives only a brief listing in the Inform documentation at first. But once it has been used for the first time, by being included in a successfully translated source text - even if only a tiny one - the new extension is indexed more thoroughly, and its own documentation is added to Inform's, as if extra pages were being added at the back of a ring-binder. Again, follow the "Installed Extensions" link to see this additional documentation.
Previous | Contents | Next |