Advertisement
Guest User

Untitled

a guest
Aug 31st, 2020
220
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.14 KB | None | 0 0
  1. //=============Valkyrie Quest==============
  2. //===================== BTS =====================================================
  3. prt_fild05.gat,99,284,4 script Break The Seal 811,{
  4. if(bry_bry >= 1) goto L_taposme;
  5. if(hen_hen >= 1) goto L_taposna;
  6. if(hen_hen < 1)
  7. mes "[ Ronnel ]";
  8. mes "I will foretell you about Breaking the Seal Quest";
  9. mes "I am the guardian of the seal, break it and recieve my treasure.";
  10. next;
  11. mes "[ Ronnel ]";
  12. mes "These are what I need";
  13. mes "100 Pieces of Ancient Lips";
  14. mes "25 Pieces of Peridot";
  15. mes "25 Pieces of Biotite";
  16. next;
  17. mes "20 Pieces of Young Twig";
  18. mes "20 Pieces of Mother's Nightmare";
  19. mes "15 Pieces of Matchstick";
  20. mes "200 Pieces of Hand of God";
  21. mes "100 Pieces of Cursed Seal";
  22. next;
  23. mes "So, are you up to my quest dear child?";
  24. menu "Yes!.",-, "No, I'm sorry.",L_later;
  25.  
  26.  
  27. mes "[ Ronnel ]";
  28. mes "Are the items ready? Let me check.";
  29. next;
  30. if(countitem(1054) < 100 || countitem(7289) < 25 || countitem(7297) < 25 || countitem(7018) < 20 ||countitem(7020) < 20 ||countitem(7035) < 15 || countitem(1009) < 200 || countitem(7442) < 100) goto L_later2;
  31. delitem 1054,100;
  32. delitem 7289,25;
  33. delitem 7297,25;
  34. delitem 7018,20;
  35. delitem 7020,20;
  36. delitem 7035,15;
  37. delitem 1009,200;
  38. delitem 7442,100;
  39.  
  40. mes "[ Ronnel ]";
  41. mes "Another brave one succeded.";
  42. set ron_ron,1;
  43. next;
  44.  
  45. switch (select("Your Welcome")) {
  46.  
  47. case 1: // Castle Drops
  48. set .@gamble1,rand(1,500);
  49. if ((.@gamble1 > 200) && (.@gamble1 < 205)) {
  50. set .@gamble2,rand(1,10);
  51. if ((.@gamble2 > 0) && (.@gamble2 < 3)) set .@item,7086; // esg
  52. else if ((.@gamble2 > 2) && (.@gamble2 < 5)) set .@item,7090; // ripple
  53. else if ((.@gamble2 > 4) && (.@gamble2 < 7)) set .@item,7091; // billow
  54. else if ((.@gamble2 > 6) && (.@gamble2 < 9)) set .@item,7077; // silver
  55. else if ((.@gamble2 > 8) && (.@gamble2 < 11)) set .@item,7078; // wov
  56. }
  57. else if ((.@gamble1 > 0) && (.@gamble1 < 201)) set .@item,7086; // esg
  58. else if ((.@gamble1 > 204) && (.@gamble1 < 301)) set .@item,7090; // ripple
  59. else if ((.@gamble1 > 300) && (.@gamble1 < 401)) set .@item,7091; // billow
  60. else if ((.@gamble1 > 401) && (.@gamble1 < 481)) set .@item,7077; // silver
  61. else if ((.@gamble1 > 480) && (.@gamble1 < 501)) set .@item,7078; // wov
  62. break;
  63. }
  64.  
  65. getitem .@item,1;
  66. mes "[ Ronnel ]";
  67. mes "Ah, you have out done your self!";
  68. mes "Thank you for your aid.";
  69. mes "Now start your journey to find my Nephews who hold the Valkyries";
  70. announce "Wow! The Seal has been annihilated by "+strcharinfo(0)+" He has just broken the seal and will start the quest of Valkyrie!","0x33FF66";
  71. close2;
  72. end;
  73. L_taposna:
  74. mes "[ Ronnel ]";
  75. mes "Go out and search the Fields of Payon the Fields of Geffen and the Towns of Lighthalzen and Comodo for the Valkyrie Equipments";
  76. close;
  77. L_taposme:
  78. mes "[ Ronnel ]";
  79. mes "You've already surpassed this quest and there is no point in doing it again.";
  80. close;
  81. L_later:
  82. mes "[ Ronnel ]";
  83. mes "Well too bad";
  84. mes "Child, I don't like to call you a coward, but you are.";
  85. close;
  86. L_later2:
  87. mes "[ Ronnel ]";
  88. mes "*piff*";
  89. mes "You lack some items.";
  90. mes "I do not accept cowardice, come back to me when you're brave enough.";
  91. close;
  92.  
  93. }
  94.  
  95.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement