[Main page] [Overview]     /concepts /articles

NAME
articles

DESCRIPTION
Articles for objects are handled by the description/message
system, and you shouldn't set them directly in the short
descriptions of your objects because of several problems.

Instead there's a property called "unique_name". This property
has either the value ARTICLE_A, ARTICLE_NEVER, ARTICLE_NAME

The value ARTICLE_A represents objects which normally have the article
"a" or "an".

Examples: "a fox", "a bottle"

LPC code: set_article(ARTICLE_A);


Value ARTICLE_NEVER is for special objects which always have a
"the" in front of them (especially names for "famous" objects)

Examples: "The Ring of Eternal Life" (ok,ok...stupid
example)
"The Sword of Honour"

LPC code: set_article(ARTICLE_NEVER);


Value ARTICLE_NAME is normally only used for names of persons.
These objects NEVER have a "the"/"a"/"an" in their name, even if
a DS message tries to "force" a "the".

Examples: "Warpi", "Cadellin", <insert_your_name_here>

LPC code: set_article(ARTICLE_NAME);

SEE ALSO
concepts/messages