textworld/generator/inform7/world2inform7.py [420:476]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
            source += textwrap.dedent("""\
            [Ref: http://dhayton.haverford.edu/wp-content/uploads/Inform-manuals/Rex434.html#e434]
            The initial appearance of a door is usually "Nearby [an item described] leads [if the other side of the item described is visited][direction of the item described from the location] to [the other side][otherwise][direction of the item described from the location][end if]. It is [if open]open[else if closed]closed[otherwise]closed[end if]."

            Direction-relevance relates a door (called X) to a direction (called Y) when the direction of X from the location is Y. The verb to be directionally-relevant to means the direction-relevance relation.

            Understand "[something related by direction-relevance] door" as a door.

            Rule for printing a parser error when the player's command includes "[non-door direction] door":
                say "There is no door in that direction." instead.

            Definition: a direction (called direction D) is non-door:
                let the target be the room-or-door direction D from the location;
                if the target is a door:
                    no;
                yes;

            """)  # noqa: E501

            source += textwrap.dedent("""\
            Definition: a direction (called thataway) is viable if the room thataway from the location is a room and the room-or-door thataway from the location is a room.

            After looking:
                if list of viable directions is not empty:
                    say "You can also go [list of viable directions] from here.".

            """)  # noqa: E501

        # Replace default banner with a greeting message and the quest description.
        source += textwrap.dedent("""\
        Rule for printing the banner text:
            say "[fixed letter spacing]";
            say "                    ________  ________  __    __  ________        [line break]";
            say "                   |        \|        \|  \  |  \|        \       [line break]";
            say "                    \$$$$$$$$| $$$$$$$$| $$  | $$ \$$$$$$$$       [line break]";
            say "                      | $$   | $$__     \$$\/  $$   | $$          [line break]";
            say "                      | $$   | $$  \     >$$  $$    | $$          [line break]";
            say "                      | $$   | $$$$$    /  $$$$\    | $$          [line break]";
            say "                      | $$   | $$_____ |  $$ \$$\   | $$          [line break]";
            say "                      | $$   | $$     \| $$  | $$   | $$          [line break]";
            say "                       \$$    \$$$$$$$$ \$$   \$$    \$$          [line break]";
            say "              __       __   ______   _______   __        _______  [line break]";
            say "             |  \  _  |  \ /      \ |       \ |  \      |       \ [line break]";
            say "             | $$ / \ | $$|  $$$$$$\| $$$$$$$\| $$      | $$$$$$$\[line break]";
            say "             | $$/  $\| $$| $$  | $$| $$__| $$| $$      | $$  | $$[line break]";
            say "             | $$  $$$\ $$| $$  | $$| $$    $$| $$      | $$  | $$[line break]";
            say "             | $$ $$\$$\$$| $$  | $$| $$$$$$$\| $$      | $$  | $$[line break]";
            say "             | $$$$  \$$$$| $$__/ $$| $$  | $$| $$_____ | $$__/ $$[line break]";
            say "             | $$$    \$$$ \$$    $$| $$  | $$| $$     \| $$    $$[line break]";
            say "              \$$      \$$  \$$$$$$  \$$   \$$ \$$$$$$$$ \$$$$$$$ [line break]";
            say "[variable letter spacing][line break]";
            say "[objective][line break]".

        """)  # noqa: W605

        # Simply display *** The End *** when game ends.
        source += textwrap.dedent("""\
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



textworld/generator/inform7/world2inform7.py [824:866]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
        source += textwrap.dedent("""\
        The extra description command option is a truth state that varies.
        The extra description command option is usually false.

        Turning on the extra description command option is an action applying to nothing.
        Carry out turning on the extra description command option:
            Decrease turn count by 1;  [Internal framework commands shouldn't count as a turn.]
            Now the extra description command option is true.

        Understand "tw-extra-infos description" as turning on the extra description command option.

        """)

        # Special command to issue "inventory" command at every step.
        source += textwrap.dedent("""\
        The extra inventory command option is a truth state that varies.
        The extra inventory command option is usually false.

        Turning on the extra inventory command option is an action applying to nothing.
        Carry out turning on the extra inventory command option:
            Decrease turn count by 1;  [Internal framework commands shouldn't count as a turn.]
            Now the extra inventory command option is true.

        Understand "tw-extra-infos inventory" as turning on the extra inventory command option.

        """)

        # Special command to issue "score" command at every step.
        source += textwrap.dedent("""\
        The extra score command option is a truth state that varies.
        The extra score command option is usually false.

        Turning on the extra score command option is an action applying to nothing.
        Carry out turning on the extra score command option:
            Decrease turn count by 1;  [Internal framework commands shouldn't count as a turn.]
            Now the extra score command option is true.

        Understand "tw-extra-infos score" as turning on the extra score command option.

        """)

        # Special command to get number of "moves" at every step.
        source += textwrap.dedent("""\
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



