textworld/generator/inform7/world2inform7.py [564:600]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
        source += textwrap.dedent("""\
        The print standard inventory rule is not listed in any rulebook.
        Carry out taking inventory (this is the new print inventory rule):
            say "You are carrying: ";
            list the contents of the player, as a sentence, giving inventory information, including all contents;
            say ".".

        """)  # noqa: E501

        # Useful for listing off-stage contents with their properties.
        source += textwrap.dedent("""\
        Printing the content of nowhere is an activity.
        Rule for printing the content of nowhere:
            say "Nowhere:[line break]";
            let L be the list of the off-stage things;
            repeat with thing running through L:
                say "  [thing][line break]";

        """)

        # Useful for listing things laying on the floor.
        source += textwrap.dedent("""\
        Printing the things on the floor is an activity.
        Rule for printing the things on the floor:
            let R be the location of the player;
            let L be the list of things in R;
            remove yourself from L;
            remove the list of containers from L;
            remove the list of supporters from L;
            remove the list of doors from L;
            if the number of entries in L is greater than 0:
                say "There is [L with indefinite articles] on the floor.";

        """)

        # Print properties of objects when listing the inventory contents and the room contents.
        source += textwrap.dedent("""\
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



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

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

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

        """)

        # Tracing actions.
        source += textwrap.dedent("""\
            To trace the actions:
                (- trace_actions = 1; -).

            Tracing the actions is an action applying to nothing.
            Carry out tracing the actions:
                Decrease turn count by 1;  [Internal framework commands shouldn't count as a turn.]
                trace the actions;

            Understand "tw-trace-actions" as tracing the actions.

        """)

        # Special command to restrict possible actions.
        source += textwrap.dedent("""\
        The restrict commands option is a truth state that varies.
        The restrict commands option is usually false.

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

        Understand "restrict commands" as turning on the restrict commands option.

        """)

        # If "restrict commands" mode is on, force the player to mention where to
        # take the object from.
        source += textwrap.dedent("""\
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



