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

  1. -- GhostShip Events
  2. Starting = 0;
  3. SeaEvent = 1;
  4.  
  5. ShowStoryText("Just as you are about to announce your surrender, you notice the strange locket that the pirate captain wears around his neck. Shaped like a dubloon cut in half, you realise that you hold the matching piece. Willing to try anything at this point, you pull the other half out of your pocket and hastily join the two together. With a flash of light, the pirate sinks to his knees, letting out an unearthly groan as his bones start to crumble. You may have been mistaken, but as the last of him and his crew crumble to dust, you seem to detect a hint of satisfaction in his expression. It is almost as if some long-forgotten injustice has, with this act, been resolved.");
  6.  
  7. iValue = GetIntFlag(3);
  8. iValue = iValue + 2;
  9. SetIntFlag(3, iValue);
  10.  
  11. RemoveInventory("{14}");
  12.  
  13. AddChoice("Victory!", "GhostShip9");
  14.  
  15.