quests_aldebaran.txt 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111
  1. //===== rAthena Script =======================================
  2. //= Quest NPCs related to Aldebaran
  3. //===== By: ==================================================
  4. //= rAthena Dev Team
  5. //===== Current Version: =====================================
  6. //= 1.3
  7. //===== Compatible With: =====================================
  8. //= rAthena Project; 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. // 'Doctor Band', 'Feather Bonnet', 'Opera Masque', 'Sakkat Hat' Quest
  18. //============================================================
  19. aldeba_in,152,166,4 script Trader#01 86,{
  20. mes "[Trader]";
  21. mes "Who is this mysterious man?";
  22. mes "I, the enigmatic and debonair 'Trader?'";
  23. next;
  24. mes "[Trader]";
  25. mes "Traveling about the Rune-Midgard Continent, with all of his wonderful hats? Nobody knows...";
  26. next;
  27. mes "[Trader]";
  28. 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...";
  29. next;
  30. mes " (1) ^3355FFDoctor Band^000000:";
  31. mes "1 Red Bandana + 50 Irons + 1 Cracked Diamond + 3500 Zeny";
  32. mes " (2)^3355FFFeather Bonnet^000000:";
  33. mes "1 Romantic Gent + 300 Feather of Birds + 500 Zeny";
  34. mes " (3) ^3355FFPhantom of Opera^000000:";
  35. mes "20 Iron + 1 Singing Plant + 5000 Zeny ";
  36. mes " (4) ^3355FFSakkat^000000:";
  37. mes "120 Trunks + 10000 Zeny ";
  38. next;
  39. switch(select(" Doctor Band : Feather Bonnet : Phantom of Opera : Sakkat ")) {
  40. case 1:
  41. if ((countitem(2275) > 0) && (countitem(998) > 49) && (countitem(733) > 0) && (Zeny > 3499)) {
  42. delitem 2275,1; //Red_Bandana
  43. delitem 998,50; //Iron
  44. delitem 733,1; //Crystal_Jewel___
  45. set Zeny, Zeny-3500;
  46. mes "[Trader]";
  47. 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.";
  48. next;
  49. mes "[Trader]";
  50. mes "Oh whatever. Just don't get caught.";
  51. getitem 2273,1; //Doctor_Cap
  52. close;
  53. }
  54. else {
  55. mes "[Trader]";
  56. mes "You guy~";
  57. mes "Check the requirements again.";
  58. mes "You don't look like an idiot though. So c'mon man, get real.";
  59. close;
  60. }
  61. case 2:
  62. if ((countitem(2247) > 0) && (countitem(916) > 299) && (Zeny > 499)) {
  63. delitem 2247,1; //Oldman's_Romance
  64. delitem 916,300; //Feather_Of_Birds
  65. set Zeny, Zeny-500;
  66. mes "[Trader]";
  67. 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!";
  68. getitem 5018,1; //Feather_Bonnet
  69. close;
  70. }
  71. else {
  72. mes "[Trader]";
  73. mes "You guy~";
  74. mes "Go check my requirements again. You don't look like an idiot though. C'mon man, get real.";
  75. close;
  76. }
  77. case 3:
  78. if ((countitem(998) > 19) && (countitem(707) > 0) && (Zeny > 4999)){ //Iron Singing_Plant
  79. delitem 998,20; //Iron
  80. delitem 707,1; //Singing_Plant
  81. set Zeny, Zeny-5000;
  82. mes "[Trader]";
  83. 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!";
  84. getitem 2281,1; //Phantom_Of_Opera
  85. close;
  86. }
  87. else {
  88. mes "[Trader]";
  89. mes "Buffoon. Go check the requirements again. ^3355FFPhantom of Opera^000000 isn't easy to come by. So c'mon man, get real.";
  90. close;
  91. }
  92. case 4:
  93. if ((countitem(1019) > 119) && (Zeny > 9999)){ //Wooden_Block
  94. delitem 1019,120; //Wooden_Block
  95. set Zeny, Zeny-10000;
  96. mes "[Trader]";
  97. mes "If you have a chance to visit the Uplander Village, Payon, please go and meet the Sakkat Craftsman.";
  98. next;
  99. mes "[Trader]";
  100. 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!";
  101. getitem 2280,1; //Sahkkat
  102. close;
  103. }
  104. else {
  105. mes "[Trader]";
  106. mes "MORON~ Check my requirements again. C'mon man, you don't look like an idiot, so get real~";
  107. close;
  108. }
  109. }
  110. }