J'en ai parlé sur un autre fil, je suis en train de rédiger une CYOA. Pour débuter, et histoire d'avoir un truc "interactif" facilement, j'ai choisi de travailler avec l'extension Adventure Book par Edward Griffiths, en Inform 7.
http://inform7.com/extensions/Edward%20 ... index.html
J'ai donc commencé avec un exemple de la doc :
- Code: Tout sélectionner
"The Hello World Story" by Edward Griffiths
Include Adventure Book by Edward Griffiths
The First Page is a page.
"You are at the beach. What would you like to do?"
A choice called TheFirstPageA is for The First Page. "Go for a walk." It triggers Go Walking.
A choice called TheFirstPageB is for The First Page. "Build a sand castle." It triggers Building a Sandcastle.
A choice called TheFirstPageC is for The First Page. "Go for a swim." It triggers Go Swimming.
Avec I7 6L38. Problème, ça ne compile pas...

In Chapter Three -- How an Adventure Book Works, Section 6 -- Reading the Book in the extension Adventure Book by Edward Griffiths:
Problem. You wrote 'change option entry to the possibility' : but this is a phrase which I don't recognise, possibly because it is one you meant to define but never got round to, or because the wording is wrong (see the Phrasebook section of the Index to check). Alternatively, it may be that the text immediately previous to this was a definition whose ending, normally a full stop, is missing?
J'ai donc retiré la ligne en question du code de l'extension :
- Code: Tout sélectionner
To rebuild the list of choices:
repeat through the Table of Options:
blank out the whole row;
repeat with possibility running through choices offered by the current page:
if the possibility is valid and the possibility is not a use:
choose a blank row in the Table of Options;
[change option entry to the possibility; retiré par Yoruk]
To decide if (possibility - a choice) is valid:
repeat with x running through flags required by possibility:
if x is off, decide no;
repeat with x running through flags which cancel possibility:
if x is on, decide no;
decide yes;
Et là ça compile. Mais le menu devant proposer les choix au joueur n'apparait pas...

Je penche pour un souci de rétro-compatibnilité... Mais n'étant pas un expert en I7, je ne sais pas trop quoi faire. Contacter l'auteur moi même ? Tenter de corriger l'erreur ? Trouver une autre extension ?
Merci d'avance...