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

  1. -- GhostShip Events
  2. Starting = 0;
  3. SeaEvent = 1;
  4. SetEventTitle("Ghost Pirates!");
  5.  
  6. SetIntFlag(3, 0);
  7.  
  8. ShowStoryText("Suddenly on the horizon, and approaching at demonic speed is a ship, but it is not long before you realise it isn't just any ship. The faint glow, the way that you can see right through the hull into the waters beyond; this can mean only one thing: ghosts! Your crew beg you to retreat but it is obvious that no wind can help you outpace this vessel of the damned. The only chance is to fight.");
  9.  
  10. if (HasUpgrade("{cannons}")) then
  11.   AddChoice("Man the cannons!", "GhostShip1");
  12. end
  13.  
  14. AddChoice("Prepare for battle!", "GhostShip2");
  15.  
  16.