textworld/generator/inform7/world2inform7.py [476:527]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
        source += textwrap.dedent("""\
        Include Basic Screen Effects by Emily Short.

        Rule for printing the player's obituary:
            if story has ended finally:
                center "*** The End ***";
            else:
                center "*** You lost! ***";
            say paragraph break;
            if maximum score is -32768:
                say "You scored a total of [score] point[s], in [turn count] turn[s].";
            else:
                say "You scored [score] out of a possible [maximum score], in [turn count] turn[s].";
            [wait for any key;
            stop game abruptly;]
            rule succeeds.

        Carry out requesting the score:
            if maximum score is -32768:
                say "You have so far scored [score] point[s], in [turn count] turn[s].";
            else:
                say "You have so far scored [score] out of a possible [maximum score], in [turn count] turn[s].";
            rule succeeds.

        """)

        # Disable implicitly taking something.
        source += textwrap.dedent("""\
        Rule for implicitly taking something (called target):
            if target is fixed in place:
                say "The [target] is fixed in place.";
            otherwise:
                say "You need to take the [target] first.";
                set pronouns from target;
            stop.

        """)

        # Referring to an object by its whole name shouldn't be ambiguous.
        source += textwrap.dedent("""\
        Does the player mean doing something:
            if the noun is not nothing and the second noun is nothing and the player's command matches the text printed name of the noun:
                it is likely;
            if the noun is nothing and the second noun is not nothing and the player's command matches the text printed name of the second noun:
                it is likely;
            if the noun is not nothing and the second noun is not nothing and the player's command matches the text printed name of the noun and the player's command matches the text printed name of the second noun:
                it is very likely.  [Handle action with two arguments.]

        """)  # noqa: E501

        # Useful for listing room contents with their properties.
        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("""\
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



