I6 -- announcing Triform 1.0

Several years ago I began working on an alternative Inform 6 library to add features I wanted. Perhaps nobody here remembers, but back in 2005 and 2006 I uploaded a couple of buggy beta versions to the IF Archive and got some positive feedback. Well, after all that time and many life changes, I’ve finally uploaded a version 1.0 with a few, minor known bugs. Anybody still using Inform 6 may be interested in it, since it adds a number of features (although converting standard code to Triform code may be time-consuming).

The major new features are:

  • Objects can be both containers and supporters, with no add_to_scope trickery, and may also have items behind and beneath them. The player can refer to objects by their locations, such as THE WALLET ON THE TABLE or THE MONEY IN THE WALLET ON THE TABLE.

  • NPCs can be easily coded to take any action in the game world that the player can, and will trigger the same world rules in action routines. In general, the library is no longer PC-centric.

  • New middle and react_middle action routines, for interfering in an action after it has been determined to be possible but before it is carried out.

  • New final and react_final action routines, for after an action has been carried out and its action message printed.

  • Easy methods for altering standard game text, such as changing “in the shark tank” to “trapped in Blofeld’s shark tank” or changing “providing light” to “glowing eerily”.

  • All implicit actions will be carried out, so that if the player types TAKE THE MONEY the library will first open the box the wallet is in, then take the wallet, then open the wallet.

  • It is much easier to set up negatively-scored tasks, rooms, and objects, and tasks that can be partially scored.

  • Many new verbs and actions.

  • Many library messages have been altered to fit into more contexts, with inspiration from Aaron Reed’s Neutral Library Messages extension for I7.

  • Optional systems for adjectives, questions such as WHO IS ROBERT, correcting spelling errors in the player’s input, complex clothing, complex lock-and-key relationships, games in the past tense, weight, and gradual light changes.

1 Like

That’s a great specification list. Don’t know when I’ll have time to take a look at it, but thanks for the hard work!

Correct me if I’m wrong, but I think the link is: http://www.ifarchive.org/if-archive/infocom/compilers/inform6/library/contributions/Triform.zip

Thanks for releasing Triform!

It seems very elegant and I would gladly use it. One problem though is that I want to use the swedish version, and I don’t know how to convert the translation to suit your library. Will this be a difficult task?

I don’t think it should be any more difficult than translating the standard library, but there will be much more text to translate. PM me and we can work on it.

Also, to Jim and ikram, thanks for the kind words.

Testing the recently-uploaded triform 1.2b; dunno if Egon still follow this forum, but there’s an embarassing bug in the NODARKNESS feature… it’s easy to fix, I have already spotted where to patch the library, but I prefer not to expose said embarassing bug, because, well, it’s an embarassing one, in the “oversight” category.

Minor point, this debate ought to be moved to Inform 6 category, or I’m wrong for some reason ?

Best regards from Italy,
dott. Piergiorgio.

1 Like