Je souhaite qu'un objet ne soit présent dans une pièce que par exemple entre 5h PM et 5h10 PM
Disons qu'il s'agit d'une pomme dans la cuisine.
Comment gérer cela ?
Merci
j'ai défini la gestion de l'heure comme suit :
- Code: Tout sélectionner
When play begins: now the time of day is 2:30 AM.
To say the player's capitalised surroundings:
let the masthead be "[the player's surroundings]" in upper case;
say the masthead.
When play begins:
now the left hand status line is "[the player's capitalised surroundings]" ;
now the right hand status line is "[time of day]/[turn count]".
Every turn :
increase the time of day by 5 minutes.
The Cuisine is a room.
A pomme is a thing. [ JE N'AI VOLONTAIREMENT PAS DÉCLARÉ OU SE TROUVAIT LA POMME]
The description of the pomme is "une pomme rouge".