home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / tads2os2.zip / TRIVIAL.T < prev   
Text File  |  1992-11-13  |  543b  |  26 lines

  1. /*
  2.  *   NOTE - this file is simply intended to act as a listing of all of
  3.  *   the objects you're required to define in every TADS game.  This is
  4.  *   not a working game; you should not attempt to play it.  
  5.  */
  6.  
  7. init: function
  8. {
  9.     local l;
  10.     
  11.     l := ['one' 'two' 'three'];
  12.     say( l[2] );
  13. }
  14. pardon: function
  15. {
  16. }
  17. numObj: object;
  18. strObj: object;
  19. againVerb: object verb = 'again' 'g';
  20. takeVerb: object verb = 'take' 'get';
  21. Me: object;
  22. quitVerb: object
  23.     verb = 'quit'
  24.     action( actor ) = { quit(); abort; }
  25. ;
  26.