home *** CD-ROM | disk | FTP | other *** search
/ Maximum CD 2012 February / maximum-cd-2012-02.iso / DiscContents / TheWagerSetup1.2.exe / Assets / Scripts / SeaMonster.lua < prev    next >
Encoding:
Text File  |  2011-03-05  |  676 b   |  15 lines

  1. -- SeaMonster Events
  2. Starting = 0;
  3. SeaEvent = 1;
  4. SetEventTitle("A Beast from the Depths!");
  5.  
  6. SetIntFlag(4, 0);
  7.  
  8. ShowStoryText("At first it looks like a strange outcropping of rocks. Only when you pause to investigate it through the telescope do you realise that it is moving and getting closer - and by then it is too late. A huge and hideous monster, all teeth and lashing purple tentacles is moving fast towards your ship, far faster than your vessel could move even in the strongest of winds. Do something!");
  9.  
  10. if (HasUpgrade("{cannons}")) then
  11.   AddChoice("Man the cannons!", "SeaMonster1");
  12. end
  13.  
  14. AddChoice("Give your crew a hasty pep-talk", "SeaMonster2");
  15.