Interactive Fiction _9 – Extensions


An excellent tool for making your stories much better are extensions.

Built in Extensions

To use a built in extension simply type “Include” and then the name of the extension and author at the start of the code.
For example:

Include Locksmith by Emily Short.
This extension give the game implicit handling of doors and containers so that lock manipulation is automatic if the player has the necessary keys.

Another popular built-in extension is:

Rideable Vehicles by Graham Nelson
This extension enables the player to ride motorcycles, and elephants, and …
Sample code for an animal:

Include Rideable Vehicles by Graham Nelson.

The horse is a rideable animal in the Meadow. The description is “The horse snorts a bit but seems friendly enough. Perhaps it would allow you to ride?
The horse can be fed or unfed.

Sample code for a vehicle:

Include Rideable Vehicles by Graham Nelson.

The motorcycle is a rideable vehicle in the Driveway.
The description is “Hmm, nice Harley.” Understand “harley” and “bike” as the motorcycle.

Carry out going somewhere by motorcycle:
     say “You rev the engine and ride the bike to . . .”.

After mounting the motorcycle:
     say “You settle comfortably on the seat and fire it up.”

Instead of dismounting:
     say “Instead of shutting the motor down, you decide you’d like to keep riding.”


Installing Extensions  **  Some extensions need to be “installed”

To do this:

  • Download (right click and “save link as”) an extension file.  It will end with .i7x so don’t open it, just save the file.
  • Then start Inform 7 and go to File>Install Extension… and follow the on screen prompts.

{FYI: The result of this “installation” will be to go wherever your Inform projects are save and create a folder named after the author in the “extensions” folder. And then just copy the *.i7x file to that location.}


Player Experience Upgrade by Aaron Reed
Significantly improve player experience by improving the parser, correcting misspelled words, understanding more synonyms, providing more helpful library messages, and addressing common misconceptions.


Armed by David Ratliff  –
This adds a few kinds: weapon (kind of thing), projectile (kind of weapon), blade (kind of weapon), fire arm (kind of projectile), bow (kind of projectile), knife (kind of blade) and sword (kind of blade). An author can create most any weapon they want using fire arm, bow, knife or sword, and they should behave properly.  It also keeps track of characters health and can assign different health damage for different weapons.

Check out these two GREAT examples:

Shooting Gallery –

Troll Battle –

Plurality by Emily Short –
Provides a number of helping say phrases to deal with inflections for singular and plural nouns; provides some control over pronoun usage.

 Feel free to add any extensions or suggestions to the discussion comments below.

Leave A Reply

Your email address will not be published. Required fields are marked *