The rarely-used articles property defines an array of strings.
(The property is provided for non-English languages where irregular nouns may have
unusual vowel-contraction rules with articles.)
The DM4 gives an example appropriate for a French game, with three strings in the array: Note that each string includes its individual trailing space, if appropriate.
This is important, because a definite article like l'
must be followed immediately by the object's name, without any intervening space.
However, in fact a space does appear. The PrefaceByArticle() routine includes these print statements: The " " items should be removed from those statements.
About Patches
Issue L61124 [previous patch]
Spurious space with 'articles' property
Submitted by: Fredrik Ramsberg
Appeared in: Library 6/11 or before
Fixed in: -
Problem
Object "haricot"
with name 'haricot' 'legume',
articles "Le " "le " "un ",
... ;
Solution
if (capitalise)
print (CapitRule) artval, " ";
else
print (string) artval, " ";
Last updated 17 April 2013.
This site is no longer supported; information may be out of date.
Maintained as a historical archive by the Interactive Fiction Technology Foundation.
Copyright 1993-2018 IFTF, CC-BY-SA unless otherwise noted.
This page was originally managed by Roger Firth.