Inform 7 goes to 6E59; new extension builds

As the followers of I7 have likely noticed, Inform 7 has a new release, 6E59. This still leaves us with a good bit to do — the Linux IDE may be a few days in following, as Philip Chimento is having some issues with his laptop, and extension replacements and updates on things that were not enclosed in the IDE may also take a day or two to follow.

Here is a change log for my own extensions, which will be up when the extensions maintainer has a chance to upload them:

  • Approaches, version 3. Cleans up some spacing bugs introduced by changes between builds, and corrects an error or two in the examples.
  • Assorted Text Generation, version 3. Adds some functionality, refactors other bits.
  • Computers, version 3. Examples updated to be compatible with the new build, and new features added to allow for power cords and batteries if the extension is compiled alongside Power Sources (new, see below).
  • Dishes, version 1. A little extension providing some fluid container classes for use with Measured Liquid. It defines several standard sizes of container, as well as a corked bottle with a properly-behaving cork.
  • Measured Liquid, version 1. Measured Liquid provides a concept of volume, together with the ability to fill containers, pour measured amounts of liquid, and drink from containers. It handles mixtures as well, if desired. It is compatible with, but does not require, the Metric Units extension by Graham Nelson.
  • Modern Conveniences, version 3. Version 3 adds compatibility with Measured Liquid; if Measured Liquid is included, Modern Conveniences will model flowing water from taps.
  • Power Sources, version 1. Power Sources provides an implementation of plugs and batteries (including rechargeables), and is designed to be used alongside Computers or as a base for other device implementations. Modeling includes devices that drain batteries at different rates. Power Sources requires Plugs and Sockets by Sean Turner.
  • Tailored Room Description, version 10. Upgrades for compatibility.

Of these, Measured Liquid is probably the biggest new item: it takes the Recipe Book examples of liquid and extends them a bit, with features for lightweight mixing. It dovetails with the Metric Unit extensions if we want to use metric; failing that, it defaults to imperial units; and finally, it also allows the author to supply his own units instead. Examples cover poisoning, a little mild chemistry, and the use of NPC bartenders. It is easy to define flavors for potable liquids, which are printed when tasting or drinking.

Measured Liquid also works with Modern Conveniences so that, if both extensions are included, sink taps will provide a flow of running water that can be used to fill cups. Dishes adds some containers, including a bottle with a cork, to the mix.

When these are combined, the following:

Include Dishes by Emily Short. Include Modern Conveniences by Emily Short.

Apartment Kitchen is a kitchen.

When play begins:
let destiny be a random cabinet;
move a random glass to destiny.

There is a glass.

Test me with “open cabinet / take glass / turn on tap / fill glass / drink water / i / empty water into sink / put empty glass on counter / look”.

produces this transcript:

>[1] open cabinet
You open the cabinet, revealing a glass.

>[2] take glass
Taken.

>[3] turn on tap
You turn on the sink tap.

>[4] fill glass
You fill the glass up from the flowing water.

>[5] drink water
(the glass of water)
You take a sip of water. Refreshing!

>[6] i
You are carrying:
a glass of water

>[7] empty water into sink
(the glass of water into the sink)
You dump out the glass into the sink.

>[8] put empty glass on counter
You put the empty glass on the counter.

>[9] look
Apartment Kitchen
On the counter is an empty glass.

Power Sources is also new: it works with Plugs and Sockets, and creates batteries that can be drained and recharged, as well as wall sockets into which things can be plugged. It dovetails with Computers, so if both are included, laptops will become devices that both use and recharge batteries, while desktop computers will depend on being plugged in and will shut down if unplugged.

In general, I’ve been inclined to leave this kind of thing to the recipe book — these extensions elaborate and systematize what has been available all along — but we’ve received a few requests for more simulationist libraries.

I’d like the effort along these lines to be proportional to the actual desire for same, though: so if there are more things like this that you want to see, perhaps mention them over at the new uservoice forum. (I make no guarantees.)

5 thoughts on “Inform 7 goes to 6E59; new extension builds”

  1. Any chance of an MD5 checksum being made available with each release of Inform7? I’d sure feel better about downloading an application if I knew it was the same bundle you and Mr. Nelson were using. An MD5 checksum would help.

    1. I don’t quite understand where you’re going with this, I’m afraid — are you worried about file corruption for some reason? The downloads aren’t being mirrored/torrented, so presumably there’s no need to check them for authenticity: the files on our website are the authentic files.

      If I’m missing something (which is entirely possible), then feel free to elaborate over in the Suggestions forum (http://inform7.uservoice.com/forums/57320-general).

  2. Emily, I’m using your computers and modern conveniences to create an office setting. But I don’t think a stove would be present in the typical breakroom, but there would likely be a microwave.

    Would you mind if I modified the MC extension, or would you prefer to do it?

    1. You probably don’t need to modify the extension per se — you can use the kinds involved without actually using the kitchen type of room. Unless you’re asking if I’d like to write a microwave kind, in which case, no, I’m a bit busy just now. :) If you want to submit an alternate version of MC or your own Microwave extension or whatever, feel free.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s