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

  1. -- GhostShip Events
  2. Starting = 0;
  3. SeaEvent = 1;
  4.  
  5. iValue = GetIntFlag(3);
  6.  
  7. if (iValue >= 6) then
  8.  
  9.   ShowStoryText("Sifting through the remains of the undead crew, you find a sizeable bounty: the captain's extravagant looking pirate hat, his valuable and infamous bone-sword, and ten thousand pieces for your collection. You hold a feast in celebration of your commanding victory.");
  10.   
  11.   AddCheevo('[1]');
  12.   
  13.   AddInventory("{12}");
  14.   AddInventory("{13}");
  15.   
  16.   PlayerCash = PlayerCash + 10000;  
  17.  
  18. end
  19.  
  20. if (iValue >= 3 and iValue <= 5) then
  21.  
  22.   ShowStoryText("Sifting through the remains of the undead crew, you find a reasonable bounty: the captain's extravagant looking pirate hat and his valuable and infamous bone-sword for your collection. You hold a pirate tea party in celebration of your victory.");
  23.   
  24.   AddInventory("{12}");
  25.   AddInventory("{13}");
  26.  
  27. end
  28.  
  29. if (iValue >= 0 and iValue <= 4) then
  30.   
  31.   ShowStoryText("Sifting through the remains of the undead crew, you find a small bounty: the captain's valuable and infamous bone-sword for your collection. You hold an upbeat team meeting in celebration of your narrow victory.");
  32.   
  33.   AddInventory("{13}");
  34.  
  35. end
  36.  
  37.  
  38.