quests_aldebaran.txt 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113
  1. //===== eAthena Script =======================================
  2. //= Quest NPCs related to Aldebaran
  3. //===== By: ==================================================
  4. //= eAthena Dev Team
  5. //===== Current Version: =====================================
  6. //= 1.3
  7. //===== Compatible With: =====================================
  8. //= eAthena 7.15 +
  9. //===== Description: =========================================
  10. //= 'Doctor Band', 'Feather Bonnet', 'Opera Masque', 'Sakkat Hat' Quests.
  11. //===== Additional Comments: =================================
  12. //= Fully working
  13. //= 1.1 Fixed Doctor Band items [Lupus]
  14. //= 1.2 Removed Duplicates [Silent]
  15. //= 1.3 Updated headgear NPC. [L0ne_W0lf]
  16. //============================================================
  17. //=======================================================================================================//
  18. // 'Doctor Band', 'Feather Bonnet', 'Opera Masque', 'Sakkat Hat' Quest
  19. //=======================================================================================================//
  20. aldeba_in,152,166,4 script Trader#01 86,{
  21. mes "[Trader]";
  22. mes "Who is this mysterious man?";
  23. mes "I, the enigmatic and debonair 'Trader?'";
  24. next;
  25. mes "[Trader]";
  26. mes "Traveling about the Rune-Midgard Continent, with all of his wonderful hats? Nobody knows...";
  27. next;
  28. mes "[Trader]";
  29. mes "For what purpose do I collect and trade these hats from all around the world? Choose a hat, get closer to unraveling the mystery...";
  30. next;
  31. mes " (1) ^3355FFDoctor Band^000000:";
  32. mes "1 Red Bandana + 50 Irons + 1 Cracked Diamond + 3500 Zeny";
  33. mes " (2)^3355FFFeather Bonnet^000000:";
  34. mes "1 Romantic Gent + 300 Feather of Birds + 500 Zeny";
  35. mes " (3) ^3355FFPhantom of Opera^000000:";
  36. mes "20 Iron + 1 Singing Plant + 5000 Zeny ";
  37. mes " (4) ^3355FFSakkat^000000:";
  38. mes "120 Trunks + 10000 Zeny ";
  39. next;
  40. switch(select(" Doctor Band : Feather Bonnet : Phantom of Opera : Sakkat ")) {
  41. case 1:
  42. if ((countitem(2275) > 0) && (countitem(998) > 49) && (countitem(733) > 0) && (Zeny > 3499)) {
  43. delitem 2275,1; //Red_Bandana
  44. delitem 998,50; //Iron
  45. delitem 733,1; //Crystal_Jewel___
  46. set Zeny,Zeny-3500;
  47. mes "[Trader]";
  48. mes "Hm! You don't have a medical license, do you? It's alright, I've heard about a rogue, unlicensed physician who performed medical miracles! But... That might have been a comic book.";
  49. next;
  50. mes "[Trader]";
  51. mes "Oh whatever. Just don't get caught.";
  52. getitem 2273,1; // Doctor_Cap
  53. close;
  54. }
  55. else {
  56. mes "[Trader]";
  57. mes "You guy~";
  58. mes "Check the requirements again.";
  59. mes "You don't look like an idiot though. So c'mon man, get real.";
  60. close;
  61. }
  62. case 2:
  63. if ((countitem(2247) > 0) && (countitem(916) > 299) && (Zeny > 499)) {
  64. delitem 2247,1; //Oldman's_Romance
  65. delitem 916,300; //Feather_Of_Birds
  66. set Zeny,Zeny-500;
  67. mes "[Trader]";
  68. mes "Ooh~! You have good fashion sense. I know you've had a hard time collecting this stuff, but this hat is worth it. Take it. All you need now is a fur coat and a cane!";
  69. getitem 5018,1; // Feather_Bonnet
  70. close;
  71. }
  72. else {
  73. mes "[Trader]";
  74. mes "You guy~";
  75. mes "Go check my requirements again. You don't look like an idiot though. C'mon man, get real.";
  76. close;
  77. }
  78. case 3:
  79. if ((countitem(998) > 19) && (countitem(707) > 0) && (Zeny > 4999)){ //Iron Singing_Plant
  80. delitem 998,20; //Iron
  81. delitem 707,1; //Singing_Plant
  82. set Zeny,Zeny-5000;
  83. mes "[Trader]";
  84. mes "This one? It's a little bit scary, though it has some sort of romantic quality. What do you think? You like it? Alright, take it, it's yours!";
  85. getitem 2281,1; // Phantom_Of_Opera
  86. close;
  87. }
  88. else {
  89. mes "[Trader]";
  90. mes "Buffoon. Go check the requirements again. ^3355FFPhantom of Opera^000000 isn't easy to come by. So c'mon man, get real.";
  91. close;
  92. }
  93. case 4:
  94. if ((countitem(1019) > 119) && (Zeny > 9999)){ //Wooden_Block
  95. delitem 1019,120; //Wooden_Block
  96. set Zeny,Zeny-10000;
  97. mes "[Trader]";
  98. mes "If you have a chance to visit the Uplander Village, Payon, please go and meet the Sakkat Craftsman.";
  99. next;
  100. mes "[Trader]";
  101. mes "He's never sold Sakkat to Traders other than me, since only I can recognize its quality. Due to its rarity, Sakkat has become a very unique and exceptional product. Okay! Take it, it's yours!";
  102. getitem 2280,1; // Sahkkat
  103. close;
  104. }
  105. else {
  106. mes "[Trader]";
  107. mes "MORON~ Check my requirements again. C'mon man, you don't look like an idiot, so get real~";
  108. close;
  109. }
  110. }
  111. }