being not new to IF but very fresh on Inform as such I do have a few issues.
I started out on Inform 6 a few weeks ago and being a programmer it is very doable for me. however, lacking the awesome Windows front-end (using text-editors and compiling seperately etc) it is extremely time-consuming.
Starting with Inform 7 is easy. But after that it gets very hard. For one; the documentation just doesn’t do it for me. It is a very good read, I admit, but I miss a comprehensive overview of the in-built stuff in Inform.
Having taken the approach to use natural language is great. This will lure people without a programming background (ie.creative writers) into making IF.
Nonetheless understanding natural language Inform 7 is quite picky about syntax.
What I am looking for and am not able to find are lists with the built-in rulebooks, phrases, object conditions, adjectives and verbs etc. etc. with some sort of description on how they should be syntaxed and in what order they should be used.
The documentation itself says about the rulebooks: “When we open the casing and look inside the machinery of Inform, what we see are rules and rulebooks. We seldom need to know how this machinery works,”
Well I beg to differ because I compare rulebooks to libs in programming and every lib (so probably rulebooks) have syntax, starting conditions, resources needed etc.
I am sure it’s hidden in the built-in documentation somewhere but I couldn’t find it. (admitting I haven’t ploughed through the complete docs yet)
And I’m also very aware that Inform 7 encourages and has much features to make your own rules and things but I am sure that the tons of stuff already in there makes me very capable of getting it to do what I want.
I don’t want to clog up the forum but here is a little example from my Inform 6 code:
[code]Class Appliance
with before [;
Take,Pull,Push,PushDir: [this is a problem for me. multiple conditions within a rule]
“It doesn’t budge.”;
],
has scenery;
Room bedroom “bedroom”
with name ‘window’,
description
“Your scarcely furnished bedroom is lit by the bleuish streetlights seeping through the half-shut window blinds. ^Left is some more light coming through the staircase down to the hall. ^The bathroom on your right is dark so you prefer to look that way.”,
before [;
Go: [same here multiple conditions within a rule]
if (player in bed) <>;
if (player notin bed && noun == w_obj || noun == left_obj) <>;
],
e_to bathroom;
appliance bed “bed” bedroom
with name ‘bed’ ‘covers’ ‘sheets’, [simple but extremely efficient help to playability]
description
“This is one of your true friends. Your own warm and comfortable bed.”,
after [; [here the text overrides the standard report text automatically in Inform 6. is quite some work in Inform 7, understand]
exit:
“The bed creaks a little as you step out of it on the right, ‘your’ side.”;
enter:
“You slide under the covers and wrap your legs in them. Carefully not to wake up Terry.”;
],
has enterable container open transparent;[/code]
(note: I put some remarks in the code at the places where it hurts in Inform 7)
For a programmer like me this is no rocketscience but in Inform 7 I only managed to get only half of this done.
Now if I had some lists describing what Inform 7 really needs then I could puzzle it together.
(on the other hand; in that piece of code is most of what is unclear for now. so if someone could give me a few tips that also would be helpful )
If you read my post so far I am already grateful.
Meanwhile I am typing away on a storyline.
Anton