home *** CD-ROM | disk | FTP | other *** search
/ Classic Fond 52 / ClassicFond52.iso / GAMES / DROIDW.RAR / DWCD.GOB / mission_cog_03_sparks.cog < prev    next >
Text File  |  1998-11-04  |  1KB  |  68 lines

  1. # Droids COG Script
  2. #
  3. # 03_sander.cog
  4. #
  5. # Cog designed to generate sand for the counterweight
  6. #
  7. #
  8. # Desc:
  9. #     02/03/98 [DGS]    Created
  10. #    02/12/98 [JP]  Modified to be used for the Moisture Farm level.
  11. # ========================================================================================
  12.  
  13. symbols
  14. message        startup
  15. message        pulse
  16. message          user4
  17. message        timer
  18.  
  19. thing        spout1
  20. thing         spout2
  21. thing        spout3
  22.  
  23. thing        spout4
  24.  
  25.  
  26.  
  27. template    large_part
  28. template    fine_part
  29.       
  30. sound     watertop
  31. sound     waterbottom
  32.  
  33. end
  34.  
  35. code
  36.  
  37. user4:        //Fill top
  38.      setpulse(0.1);
  39.      settimer(1);
  40.      return;
  41.  
  42.     
  43. pulse:
  44.      creatething(large_part, spout1);
  45.     creatething(fine_part, spout1);
  46.     creatething(large_part, spout2);
  47.     creatething(fine_part, spout2);
  48.      creatething(large_part, spout3);
  49.     creatething(fine_part, spout3);
  50.      creatething(large_part, spout4);
  51.      creatething(fine_part, spout4);
  52.     return;
  53.      
  54. timer:
  55.      setpulse(0);
  56.      print("nomoreair");
  57.      destroything(spout1);
  58.      destroything(spout2);
  59.      destroything(spout3);
  60.      destroything(spout4);
  61.      return;
  62.      
  63. end
  64.  
  65.  
  66.  
  67.  
  68.