sunglasses.txt 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108
  1. //===== rAthena Script =======================================
  2. //= Slotted Sunglasses Quest
  3. //===== By: ==================================================
  4. //= amichan
  5. //===== Current Version: =====================================
  6. //= 1.8
  7. //===== Compatible With: =====================================
  8. //= rAthena Project
  9. //===== Description: =========================================
  10. //= Quest to get Slotted Sunglasses.
  11. //= Will reset after quest completion.
  12. //===== Additional Comments: =================================
  13. //= 1.0 by Aegis 1.1 by aichan 1.2 by x[tsk] 1.3 by Darkchild
  14. //= 1.5 Fixed Exploit [Lupus]
  15. //= 1.6 Fixed Exploit [KarLaeda]
  16. //= 1.7 Relocated 'Maseph' to moc_fild07. [Kisuka]
  17. //= 1.8 Cleaning. [Euphy]
  18. //============================================================
  19. alberta,88,193,5 script Sunglasses Trader 73,{
  20. mes "[Sunglasses Trader]";
  21. if(SG_QUEST1 == 1) {
  22. mes "There is nothing more I can tell you.";
  23. next;
  24. mes "[Sunglasses Trader]";
  25. mes "Go see Maseph. She is somewhere north of Morroc.";
  26. close; }
  27. mes "Hello. What can I do for you?";
  28. next;
  29. if(select("I heard that you can make ^0000FFSlotted Sunglasses^000000.:Nothing, sorry to bother you.")==2) {
  30. mes "[Sunglasses Trader]";
  31. mes "Come back to me than you are ready.";
  32. close; }
  33. mes "[Sunglasses Trader]";
  34. mes "I do not make them, but I can tell you where to find the person who does. For a small fee...";
  35. next;
  36. if(select("How much?:No way, I will find her myself!")==2) {
  37. mes "[Sunglasses Trader]";
  38. mes "Suit yourself, the Maker will not make you ^0000FFSlotted Sunglasses^000000 unless she knows that you are coming.";
  39. mes "Only I can tell her you are coming.";
  40. next;
  41. mes "[Sunglasses Trader]";
  42. mes "Come back to me when you have given up. Hahaha...";
  43. close; }
  44. mes "[Sunglasses Trader]";
  45. mes "In order for me to tell you information on ^0000FFSlotted Sunglasses^000000 you need to get me:";
  46. mes " - ^0000881 Carat Diamond^000000";
  47. mes " - ^00008850 Feathers^000000";
  48. mes " - ^000088100000z^000000";
  49. next;
  50. if(select("Alright, here.:That's too much!")==2) {
  51. mes "[Sunglasses Trader]";
  52. mes "Suit yourself.";
  53. close; }
  54. mes "[Sunglasses Trader]";
  55. if (countitem(730) < 1 || countitem(949) < 50 || Zeny < 100000) {
  56. mes "You're missing something. Come back when you've gathered all the materials.";
  57. close; }
  58. delitem 730,1;
  59. delitem 949,50;
  60. set Zeny, Zeny-100000;
  61. set SG_QUEST1,1;
  62. mes "[Sunglasses Trader]";
  63. mes "Great. Now, listen carefully.";
  64. next;
  65. mes "[Sunglasses Trader]";
  66. mes "Look for someone named Maseph somewhere north of Morroc.";
  67. mes "I will send her a message to let her know that you are coming.";
  68. close;
  69. }
  70. moc_fild07,334,186,5 script Maseph 702,{
  71. mes "[Maseph]";
  72. if(SG_QUEST1 != 1) {
  73. mes "Lovely day, isn't it ?";
  74. close; }
  75. mes "Hello there.";
  76. mes "You came for the ^000088Slotted Sunglasses^000000, right?";
  77. next;
  78. if(select("Yes:No, sorry to bother you.")==2) {
  79. mes "[Maseph]";
  80. mes "Off you go, then.";
  81. close; }
  82. mes "[Maseph]";
  83. mes "To make one, I will need one pair of ^000088Sunglasses^000000 and 400000z.";
  84. next;
  85. if(select("Here you go.:No, thanks.")==2) {
  86. mes "[Maseph]";
  87. mes "As you wish.";
  88. close; }
  89. mes "[Maseph]";
  90. if (countitem(2201) < 1) {
  91. mes "I need one pair of ^000088Sunglasses^000000. Come back to me when you have one.";
  92. close; }
  93. if (Zeny < 400000) {
  94. mes "You do not have enough Zeny. Come back to me when you do.";
  95. close; }
  96. delitem 2201,1;
  97. set Zeny, Zeny-400000;
  98. mes "Thank you. I will get on it right away...";
  99. next;
  100. mes "[Maseph]";
  101. mes "Here you go, my friend.";
  102. mes "Enjoy your ^000088Slotted Sunglasses^000000.";
  103. getitem 2202,1;
  104. set SG_QUEST1,0;
  105. close;
  106. }