2021-06-12 15:08:47 +03:00
|
|
|
[LexiconElement::] Lexicon Element.
|
|
|
|
|
|
|
|
To write the Lexicon element (Lx) in the index.
|
|
|
|
|
|
|
|
@ =
|
2021-07-04 01:11:42 +03:00
|
|
|
void LexiconElement::render(OUTPUT_STREAM, localisation_dictionary *LD) {
|
2021-07-09 00:56:01 +03:00
|
|
|
IndexUtilities::anchor(OUT, I"LEXICON");
|
2021-06-12 15:08:47 +03:00
|
|
|
HTML_OPEN("p");
|
|
|
|
HTML_OPEN_WITH("span", "class=\"smaller\"");
|
|
|
|
WRITE("For instance, the description 'an unlocked door' is made "
|
|
|
|
"up from the adjective 'unlocked' and the noun 'door', both of which "
|
|
|
|
"can be found below. Property adjectives, like 'open', can be used "
|
|
|
|
"when creating things - 'In the Ballroom is an open container' is "
|
|
|
|
"allowed because 'open' is a property - but those with complicated "
|
|
|
|
"definitions, like 'empty', can only be tested during play, e.g. "
|
|
|
|
"with rules like 'Instead of taking an empty container, ...'.");
|
|
|
|
HTML_CLOSE("span");
|
|
|
|
HTML_CLOSE("p");
|
2021-07-16 01:49:25 +03:00
|
|
|
IndexLexicon::listing(OUT, InterpretIndex::get_lexicon(), FALSE);
|
2021-06-12 15:08:47 +03:00
|
|
|
}
|