Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

New Adventure Book extension for Inform 7

4 views
Skip to first unread message

cpf...@execpc.com

unread,
Jan 28, 2010, 9:04:28 AM1/28/10
to
I've been a fan of Jon Ingold's Adventure Book ever since I stumbled
upon the Lo Tech Comp. It's incredibly easy to write for, the games
you can create with it are very intuitive to the user, and it allows
for some useful special effects -- a player inventory, choices that
adapt to the current state of the game, and so on.

Unfortunately, I've had problems with the compiler, and I can't run
the system natively on my Mac, so with Jon Ingold's permission, I've
adapted the system into a programming extension for Inform 7.

It's a system for quickly and easily writing interactive fiction with
a Choose Your Own Adventure style interface. It provides flags that
can be used to determine what options are available to the player, and
inventory items that can be used in place of a listed choice. Some
familiarity with Inform 7 is assumed, but it contains documentation
and examples that should make it easy for beginners to start writing
interactive fiction right away.

Example code:

YourHouse is a page.
"Your house is a rather modest little shack near the edge of town. It
keeps the wind and the rain out on sunny days."
A choice called yha is for YourHouse. "Venture forth". It triggers
Road.
A choice called yhb is for YourHouse. "Consider the loaf of bread on
the table". It triggers Considerbread. It is cancelled by BREADGONE.

Road is a page.
"A dusty road winds its way through the countryside. Which way would
you like to follow it?"
A choice called roada is for Road. "Back to your house". It triggers
YourHouse.
A choice called roadb is for Road. "Into town". It triggers Town.
A choice called roadc is for Road. "Into the forbidden forest". It
triggers Forest1.

Forest1 is a page.
"You are in a maze of twisty little trees, all alike."
A choice called Forest1a is for Forest1. "Go North". It triggers Road.
A choice called Forest1b is for Forest1. "Go South". It triggers
Forest2.
A choice called Forest1c is for Forest1. "Search through the grass for
no reason". It triggers FindNothing.

The extension can be downloaded from the Inform 7 library:
http://inform7.com/extensions/Edward%20Griffiths/Adventure%20Book/index.html

Hopefully people will find this useful. :)

Rowan Lipkovits

unread,
Jan 28, 2010, 1:01:19 PM1/28/10
to
On Jan 28, 6:04 am, cpf...@execpc.com wrote:
> I've been a fan of Jon Ingold's Adventure Book ever since I stumbled
> upon the Lo Tech Comp.  
> Unfortunately, I've had problems with the compiler, and I can't run
> the system natively on my Mac, so with Jon Ingold's permission, I've
> adapted the system into a programming extension for Inform 7.
>
> Hopefully people will find this useful.  :)

Right on! Between this and Twine it's a good time to be a
hyperfiction enthusiast. (And, who knows, perhaps someday someone
will devise a source converter to make the two formats mutually
intelligible 8)

0 new messages