salut,
pour le premier point, c’est facile, c’est juste parce que les jeux sont systématiquement en mode « non verbose ». Donc soit le joueur tape « verbose » pendant le jeu (et l’annule avec « brief »), soit en tant qu’auteur tu ajoutes :
Use full-length room descriptions.
et là cela fonctionne.
Pour la seconde question, je n’ai pas de réponse simple.
Pour supprimer la liste des objets dans une pièce il suffit d’écrire :
Rule for listing contents:
do nothing.
Par contre cela écrit toujours : you can see… / vous pouvez voir.
Pour cela il faut remplacer par cette longue fonction en dessous :
mais ça fonctionne pour un jeu anglais, dans un jeu français cela entre en conflit avec ma propre définition.
Donc tu devras modifier ma définition « French » pour retirer les « vous pouvez voir ». Ou alors on va demander sur la liste de discussion inform comment faire, je vais essayer ce soir, peut être on peut faire plus simple.
Section 1 - Descriptions locale (in place of Section SR2/13 - Locale descriptions - Unindexed in Standard Rules by Graham Nelson)
Table of Locale Priorities
notable-object (an object) locale description priority (a number)
with blank rows for each thing.
To describe locale for (O - object):
carry out the printing the locale description activity with O.
To set the/-- locale priority of (O - an object) to (N - a number):
if O is a thing:
if N <= 0, now O is mentioned;
if there is a notable-object of O in the Table of Locale Priorities:
choose row with a notable-object of O in the Table of Locale Priorities;
if N <= 0, blank out the whole row;
otherwise change the locale description priority entry to N;
otherwise:
if N is greater than 0:
choose a blank row in the Table of Locale Priorities;
change the notable-object entry to O;
change the locale description priority entry to N;
Printing the locale description of something (documented at act_pld) is an activity.
The locale paragraph count is a number that varies.
Before printing the locale description (this is the initialise locale description rule):
now the locale paragraph count is 0;
repeat with item running through things:
now the item is not mentioned;
repeat through the Table of Locale Priorities:
blank out the whole row.
Before printing the locale description (this is the find notable locale objects rule):
let the domain be the parameter-object;
carry out the choosing notable locale objects activity with the domain;
continue the activity.
For printing the locale description (this is the interesting locale paragraphs rule):
let the domain be the parameter-object;
sort the Table of Locale Priorities in locale description priority order;
repeat through the Table of Locale Priorities:
[say « [notable-object entry]… »;]
carry out the printing a locale paragraph about activity with the notable-object entry;
continue the activity.
For printing the locale description (this is the you-can-also-see rule):
let the domain be the parameter-object;
let the mentionable count be 0;
repeat with item running through things:
now the item is not marked for listing;
repeat through the Table of Locale Priorities:
[say « [notable-object entry] - [locale description priority entry]. »;]
if the locale description priority entry is greater than 0,
now the notable-object entry is marked for listing;
increase the mentionable count by 1;
if the mentionable count is greater than 0:
repeat with item running through things:
if the item is mentioned:
now the item is not marked for listing;
begin the listing nondescript items activity;
if the number of marked for listing things is 0:
abandon the listing nondescript items activity;
otherwise:
if handling the listing nondescript items activity:
if the domain is a room:
if the domain is the location, say " ";
otherwise say " ";
otherwise if the domain is a supporter:
say " ";
otherwise:
say « »;
say " ";
let the common holder be nothing;
let contents form of list be true;
repeat with list item running through marked for listing things:
if the holder of the list item is not the common holder:
if the common holder is nothing,
now the common holder is the holder of the list item;
otherwise now contents form of list is false;
if the list item is mentioned, now the list item is not marked for listing;
filter list recursion to unmentioned things;
if contents form of list is true and the common holder is not nothing,
list the contents of the common holder, as a sentence, including contents,
giving brief inventory information, tersely, not listing
concealed items, listing marked items only;
otherwise say « »;
if the domain is the location, say « »;
say « »;
unfilter list recursion;
end the listing nondescript items activity;
continue the activity.
Choosing notable locale objects of something (documented at act_cnlo) is an activity.
For choosing notable locale objects (this is the standard notable locale objects rule):
let the domain be the parameter-object;
let the held item be the first thing held by the domain;
while the held item is a thing:
set the locale priority of the held item to 5;
now the held item is the next thing held after the held item;
continue the activity.
Printing a locale paragraph about something (documented at act_plp) is an activity.
For printing a locale paragraph about a thing (called the item)
(this is the don’t mention player’s supporter in room descriptions rule):
if the item encloses the player, set the locale priority of the item to 0;
continue the activity.
For printing a locale paragraph about a thing (called the item)
(this is the don’t mention scenery in room descriptions rule):
if the item is scenery, set the locale priority of the item to 0;
continue the activity.
For printing a locale paragraph about a thing (called the item)
(this is the don’t mention undescribed items in room descriptions rule):
if the item is undescribed, set the locale priority of the item to 0;
continue the activity.
For printing a locale paragraph about a thing (called the item)
(this is the set pronouns from items in room descriptions rule):
if the item is not mentioned, set pronouns from the item;
continue the activity.
For printing a locale paragraph about a thing (called the item)
(this is the offer items to writing a paragraph about rule):
if the item is not mentioned:
if a paragraph break is pending, say « »;
carry out the writing a paragraph about activity with the item;
if a paragraph break is pending:
increase the locale paragraph count by 1;
now the item is mentioned;
say « »;
continue the activity.
For printing a locale paragraph about a thing (called the item)
(this is the use initial appearance in room descriptions rule):
if the item is not mentioned:
if the item provides the property initial appearance and the
item is not handled:
increase the locale paragraph count by 1;
say « »;
say « »;
if a locale-supportable thing is on the item:
repeat with possibility running through things on the item:
now the possibility is marked for listing;
if the possibility is mentioned:
now the possibility is not marked for listing;
say « »;
list the contents of the item, as a sentence, including contents,
giving brief inventory information, tersely, not listing
concealed items, prefacing with is/are, listing marked items only;
say « »;
now the item is mentioned;
continue the activity.
Definition: a thing (called the item) is locale-supportable if the item is not
scenery and the item is not mentioned.
For printing a locale paragraph about a thing (called the item)
(this is the describe what’s on scenery supporters in room descriptions rule):
if the item is not undescribed and the item is scenery and
the item does not enclose the player:
set pronouns from the item;
if a locale-supportable thing is on the item:
repeat with possibility running through things on the item:
now the possibility is marked for listing;
if the possibility is mentioned:
now the possibility is not marked for listing;
increase the locale paragraph count by 1;
say « »;
list the contents of the item, as a sentence, including contents,
giving brief inventory information, tersely, not listing
concealed items, prefacing with is/are, listing marked items only;
say « »;
continue the activity.