Petit Gnome

An interactive fiction by Otto Grimwald (2006) - the Inform 7 source text

Home page

Contents

Complete text
"Petit Gnome" by Otto Grimwald.


The story genre is "Comédie".
The story creation year is 2006.
The story headline is "Une aventure dans le jardin".
The story description is "Un soir d'hiver, dans un coin perdu du monde.
<br>Il s'agit d'une petite histoire très simple, ayant pour but de présenter et développer la fiction interactive en français avec Inform 7. Si vous voulez développer des points de cette histoire, merci de m'en faire part sur le forum du site http://ifiction.free.fr ".

[Release along with the source text, cover art, solution, a website, the introductory booklet.]

Release along with the source text, cover art, a website, a file of "version z5" called "PetitGnome.z5", a file of "version glulx" called "PetitGnome.blb", a file of "solution" called "solution2.txt", a file of "solution (autre version)" called "solution.txt", a file of "petitgnomecopie.tgz (pour tests)" called "petitgnomecopie.tgz", the introductory booklet.

Include French by Eric Forgeot.

Figure of gnome is the file "gnome.png".
Figure of titre is the file "titre.png".

Use full-length room descriptions.



Understand "recommencer" as restarting the game.

Understand "effrayer [someone]" as attacking.
[Understand "faire peur [someone]" as attacking. [ne fonctionne pas : bug ?] ]
[Understand "faire peur à [someone]" as attacking.
Understand "faire peur au [someone]" as attacking.]

Understand "aide" as a mistake ("Taper 'test tout' pour voir le déroulement complet de l'histoire.").

[nord means north.
est means east.
ouest means west.
sud means south.
bas means down.
haut means up.]

[Instead of going nowhere:
let place be location;
let count of exits be 0;
repeat with way running through directions
begin;
let place be the room way from the location;
if place is a room, increase count of exits by 1;
end repeat;
if the count of exits is 0, say "Vous ne pouvez sortir d'ici." instead;
if the count of exits is 1, say "La sortie est";
otherwise say "Les directions possibles sont";
say exit list with a total of count of exits.

To say exit list with a total of (sum - a number):
let place be location;
let index be sum;
repeat with way running through directions
begin;
let place be the room way from the location;
if place is a room
begin;
say " [way]";
decrease index by 1;
if index is 1
begin;
if sum is 2, say " et";
otherwise say ", et";
otherwise;
if index is 0, say ".";
otherwise say ",";
end if;
end if;
end repeat.]

[way back]

The former location is a room that varies.

First carry out going rule:
change the former location to the location.

The carrying capacity of the player is always 4.

Hotte is a player's holdall. The player is wearing hotte. Hotte is female. The printed name of hotte is "la hotte".