Ignored Rules

version 2 by Ron Newcomb

  • Home page
  • Beginning
  • Previous



  • Example: ** Straightforward Test - Also showcases a repeat statement for rulebooks

        "Ignore and Reinstate"
        
        Include Ignored Rules by Ron Newcomb.
        
        Right here is a room.
            
        When play begins:
            say "The Carry out looking rulebook now contains:[line break]";
            repeat with R running through the carry out looking rules:
                say "[R].";
            ;
            ignore the room description heading rule from the carry out looking rulebook;
            ;
            say "[line break]The Carry out looking rulebook now contains:[line break]";
            repeat with R running through the carry out looking rules:
                say "[R].";
            ;
            reinstate the room description body text rule in the carry out looking rules;
            ;
            say "[line break]The Carry out looking rulebook now contains:[line break]";
            repeat with R running through the carry out looking rules:
                say "[R].";
            ;
            reinstate the room description heading rule in the check looking rules;
            ;
            say "[line break]The Carry out looking rulebook now contains:[line break]";
            repeat with R running through the carry out looking rules:
                say "[R].";
            ;
            reinstate the room description heading rule in the carry out looking rules;
            ;
            say "[line break]The Carry out looking rulebook now contains:[line break]";
            repeat with R running through the carry out looking rules:
                say "[R].";
            ;
            reinstate the room description heading rule in the check looking rules;
            ;
            say "[line break]The Carry out looking rulebook now contains:[line break]";
            repeat with R running through the carry out looking rules:
                say "[R].";
            ;
            ignore the room description heading rule from the carry out looking rulebook;
            ignore the check new arrival rule from the carry out looking rulebook;
            ;
            say "[line break]The Carry out looking rulebook now contains:[line break]";
            repeat with R running through the carry out looking rules:
                say "[R].";
            ;
            reinstate the check new arrival rule from the carry out looking rulebook;
            ;
            say "[line break]The Carry out looking rulebook now contains:[line break]";
            repeat with R running through the carry out looking rules:
                say "[R].";