Custom Library Messages

version 28/100614 by David Fisher

  • Home page
  • Beginning
  • Previous



  • Example: * Out of World - Printing "out of world" messages in italic.

        "Out of World" by Ibid

        Include Custom Library Messages by David Fisher

        Space is a room.
        The meteor is in space.

        This is the start-italic rule:
            if there is a message id of library-message-id
                in the Table of out of world message ids,
                    say "[line break][italic type]".

        This is the end-italic rule:
            if there is a message id of library-message-id
                in the Table of out of world message ids,
                    say "[roman type]".
        
        When play begins:
            change the before library messages rule to the start-italic rule;
            change the after library messages rule to the end-italic rule.

        Table of out of world message ids
      Message id  
      LibMsg <undo succeeded>  
      LibMsg <undo failed>  
      LibMsg <undo not provided>  
      LibMsg <cannot undo nothing>  
      LibMsg <cannot undo twice in a row>  
      LibMsg <oops failed>  
      LibMsg <oops too many arguments>  
      LibMsg <cannot do again>  
      LibMsg <again usage>  
      LibMsg <command not understood>  
      LibMsg <command partly understood>  
      LibMsg <command badly ended>  
      LibMsg <command incomplete>  
      LibMsg <command cut short>  
      LibMsg <number not understood>  
      LibMsg <cannot begin at comma>  
      LibMsg <extra words before comma>  
      LibMsg <unknown object>  
      LibMsg <unknown verb>  
      LibMsg <verb cannot have multiple objects>  
      LibMsg <too many multiple objects>  
      LibMsg <not that many available>  
      LibMsg <no objects available>  
      LibMsg <zero multiple objects>  
      LibMsg <first N objects>  
      LibMsg <excepted object not included anyway>  
      LibMsg <Restart failed>  
      LibMsg <Restore failed>  
      LibMsg <Restore succeeded>  
      LibMsg <Save failed>  
      LibMsg <Save succeeded>  
      LibMsg <Verify succeeded>  
      LibMsg <Verify failed>  
      LibMsg <transcript already on>  
      LibMsg <transcript already off>  
      LibMsg <start of transcript>  
      LibMsg <end of transcript>  
      LibMsg <transcript failed>  
      LibMsg <end transcript failed>  

        Test me with "x meteor / blah blah / jump / oops".