Part 3 - Les scènes
Enfermé is a scene. Enfermé begins when the player is carrying the cimeterre for the first turn.
Enfermé ends when the time since Enfermé began is 10 minutes.
When Enfermé begins:
say "Au moment où vous prenez l[']épée, la porte donnant vers l[']extérieur se referme !";
Now the stone door is closed;
Now the stone door is locked;
move Div to oasis.
Every turn during Enfermé:
if the stone door is closed, say "L[']air commence à manquer...".
When Enfermé ends:
if the stone door is locked
begin;
say "Vous ne pouvez plus respirer. Cette crypte sera votre tombeau.";
end the game in death;
end if.
Bataille is a scene. Bataille begins when the player is carrying cimeterre and the location is oasis.
The div has a number called attaque. The attaque of div is 1.
Bataille ends when the div is dead.
When bataille begins:
say "Le div fonce vers vous !".
Every turn during Bataille:
if the attaque of div is less than 4
begin;
say "[one of]Vous feriez bien de trouver un moyen de vaincre ce monstre ![or]Il fait tournoyer son poing au-dessus de sa tête.[or]Il pousse un grognement hideux.[stopping]";
increase the attaque of div by 1;
otherwise;
say "Il finit par vous attraper et vous dévorer !";
end the game in death;
end if;
if the attaque of div is less than 0, now the div is dead..
When bataille ends:
say "Le monstre s[']écroule lourdement, sans vie.";
say "Votre cheval arrive enfin, mais après la bataille !";
move cheval to oasis.