Grammar:Definite Articles
All assets have a definite article. The default value for the base asset class
is "the". Though you're unlikely to use any other definite article in
English, the setting can be changed for individual assets or classes by
setting asset.definite_article = "foo".
Additionally, all assets have a definite_name property which will
always return the asset's name preceded by its definite article:
the name.
Finally, all assets have an article_name property which may
return a proper name, or the name preceded by the definite article, or the
name preceded by the indefinite article, depending on related settings.
MyGame.createAsset({
class: "Thing",
name: "rainbow gem",
description: `Zhe rainbow gem pulses softly through all the colors of the spectrum. `,
place: { in: "Treasure Room" },
definite_article: "zhe", // custom definite article
});
> examine gem
Zhe rainbow gem pulses softly through all the colors of the spectrum.
> take gem
You take zhe rainbow gem.