valhallen.txt 6.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198
  1. //===== eAthena Script =======================================
  2. //= Valhallen items Quests NPC
  3. //===== By: ==================================================
  4. //= Avaji
  5. //===== Current Version: =====================================
  6. //= 1.0
  7. //===== Compatible With: =====================================
  8. //= eAthena 7.15 +
  9. //===== Description: =========================================
  10. //= All-in-one: Mjollnir,Sleipnir,Brisingammen,Gleipnir,Megingjard
  11. //===== Additional Comments: =================================
  12. //= Custom quest, ingredients based on official RO FAQ
  13. //============================================================
  14. prontera.gat,147,171,5 script Lenneth 811,{
  15. mes "[Lenneth]";
  16. mes "I come from Valhalla to aid you.";
  17. mes "I can transmute for you many of the Valhallen items.";
  18. mes "Although they require many rare elements to make.";
  19. next;
  20. mes "[Lenneth]";
  21. mes "What would you like?";
  22. next;
  23. menu "Mjollnir",-,"Sleipnir",L_SLE,"Brisingammen",L_BRI,"Gleipnir",L_GLE,"Megingjard",L_MEG;
  24. mes "[Lenneth]";
  25. mes "^3355FFMjollnir^000000 is the mighty Hammer of Thor.";
  26. mes "The items I need to transmute 2 ^3355FFSpanners^000000 into ^3355FFMjollnir^000000 are as follows:";
  27. mes "20 ^3355FFOridecon^000000 5 ^3355FFElunium^000000 and 40 ^3355FFGold^000000";
  28. mes "I also need the following essences:";
  29. mes "2 ^3355FFThor's Guntlet^000000";
  30. mes "4 ^3355FFIron Maiden^000000";
  31. mes "5 ^3355FFWrath of Valkyrie^000000";
  32. mes "5 ^3355FFBreath of Soul^000000";
  33. mes "5 ^3355FFOmen of tempest^000000";
  34. next;
  35. mes "[Lenneth]";
  36. mes "Do you desire ^3355FFMjollnir^000000?";
  37. next;
  38. menu "Yes",-,"No",L_OUT;
  39. if(countitem(984) < 20 || countitem(985) < 5 || countitem(969) < 40 || countitem(1531) < 2 || countitem(7089) < 5
  40. || countitem(7074) < 2 || countitem(7075) < 4 || countitem(7078) < 5 || countitem(7087) < 5) goto L_NOTENOUGH;
  41. delitem 984,20;
  42. delitem 985,5;
  43. delitem 969,40;
  44. delitem 1531,2;
  45. delitem 7074,2;
  46. delitem 7075,4;
  47. delitem 7078,5;
  48. delitem 7087,5;
  49. delitem 7089,5;
  50. getitem 1530,1;
  51. mes "[Lenneth]";
  52. mes "Here is your ^3355FFMjollnir^000000, may it serve you well.";
  53. close;
  54. L_SLE:
  55. mes "[Lenneth]";
  56. mes "^3355FFSleipnir^000000 are boots made after Odin's War Horse.";
  57. mes "To be able to transmute 2 ^3355FFBoots^000000 into ^3355FFSleipnir^000000 I will need:";
  58. mes "1 ^3355FFOridecon^000000 10 ^3355FFElunium^000000 and 20 ^3355FFGold^000000";
  59. mes "I also need the following essences:";
  60. mes "3 ^3355FFWheel of the Unknown^000000";
  61. mes "5 ^3355FFFeather of Angel^000000";
  62. mes "3 ^3355FFSprirt of Fish^000000";
  63. mes "3 ^3355FFEmblem of the Sun God^000000";
  64. next;
  65. mes "[Lenneth]";
  66. mes "Do you desire ^3355FFSleipnir^000000?";
  67. next;
  68. menu "Yes",-,"No",L_OUT;
  69. if(countitem(969) < 20 || countitem(985) < 10 || countitem(984) < 1 || countitem(2406) < 2 || countitem(7076) < 3
  70. || countitem(7079) < 5 || countitem(7083) < 3 || countitem(7086) < 3) goto L_NOTENOUGH;
  71. delitem 969,20;
  72. delitem 985,10;
  73. delitem 984,1;
  74. delitem 2406,2;
  75. delitem 7076,3;
  76. delitem 7079,5;
  77. delitem 7083,3;
  78. delitem 7086,3;
  79. getitem 2410,1;
  80. mes "[Lenneth]";
  81. mes "Here is your ^3355FFSleipnir^000000, may they help you.";
  82. close;
  83. L_BRI:
  84. mes "[Lenneth]";
  85. mes "^3355FFBrisingammen^000000 is the magical Necklace of Freyja, goddess of Beauty.";
  86. mes "The items I need to transmute a ^3355FFNecklace^000000 into ^3355FFBrisingammen^000000 are as follows:";
  87. mes "2 ^3355FFSapphire^000000 3 ^3355FFPearl^000000 10 ^3355FFOpal^000000";
  88. mes "5 ^3355FFRuby^000000 and 20 ^3355FFGold^000000";
  89. mes "I also need the following essences:";
  90. mes "4 ^3355FFFreya's Jewel^000000";
  91. mes "4 ^3355FFSilver Ornament^000000";
  92. mes "3 ^3355FFSnow Crystal^000000";
  93. mes "3 ^3355FFQuiet Wave^000000";
  94. mes "3 ^3355FFDrifting Air^000000";
  95. next;
  96. mes "[Lenneth]";
  97. mes "Do you desire ^3355FFBrisingammen^000000?";
  98. next;
  99. menu "Yes",-,"No",L_OUT;
  100. if(countitem(969) < 20 || countitem(723) < 5 || countitem(727) < 10 || countitem(722) < 3 || countitem(726) < 2
  101. || countitem(7090) < 3 || countitem(7088) < 3 || countitem(7077) < 4 || countitem(7073) < 4 || countitem(2603) < 1
  102. || countitem(7092) < 3) goto L_NOTENOUGH;
  103. delitem 726,2;
  104. delitem 722,3;
  105. delitem 727,10;
  106. delitem 723,5;
  107. delitem 969,20;
  108. delitem 2603,1;
  109. delitem 7073,4;
  110. delitem 7077,4;
  111. delitem 7088,3;
  112. delitem 7090,3;
  113. delitem 7092,3;
  114. getitem 2630,1;
  115. mes "[Lenneth]";
  116. mes "Here is ^3355FFBrisingammen^000000, may it serve you well.";
  117. close;
  118. L_GLE:
  119. mes "[Lenneth]";
  120. mes "The ^3355FFGleipnir^000000 is a light yet strong rope required to make ^3355FFMegingjard^000000";
  121. mes "I will need the following essences to transmute ^3355FFGleipnir^000000:";
  122. mes "4 ^3355FFTread of Cat^000000";
  123. mes "5 ^3355FFWoman's Moustache^000000";
  124. mes "4 ^3355FFStone Fragment^000000";
  125. mes "3 ^3355FFSaliva of Bird^000000";
  126. mes "3 ^3355FFSinew of Bear^000000";
  127. next;
  128. mes "[Lenneth]";
  129. mes "Do you desire ^3355FFGleipnir^000000?";
  130. next;
  131. menu "Yes",-,"No",L_OUT;
  132. if(countitem(7085) < 3 || countitem(7084) < 3 || countitem(7082) < 4 || countitem(7081) < 5 || countitem(7080) < 4) goto L_NOTENOUGH;
  133. delitem 7080,4;
  134. delitem 7081,5;
  135. delitem 7082,4;
  136. delitem 7084,3;
  137. delitem 7085,3;
  138. getitem 7058,1;
  139. mes "[Lenneth]";
  140. mes "Here is your ^3355FFGleipnir^000000.";
  141. close;
  142. L_MEG:
  143. mes "[Lenneth]";
  144. mes "The ^3355FFMegingjard^000000 is the powerful Belt of Thor.";
  145. mes "To transmute a ^3355FFBelt^000000 into ^3355FFMegingjard^000000 I will need the following:";
  146. mes "10 ^3355FFGold^000000 10 ^3355FFSapphire^000000";
  147. mes "5 ^3355FFOridecon^000000 and 1 ^3355FFGleipnir^000000";
  148. next;
  149. mes "[Lenneth]";
  150. mes "Do you desire ^3355FFMegingjard^000000?";
  151. next;
  152. menu "Yes",-,"No",L_OUT;
  153. if(countitem(2627) < 1 || countitem(984) < 5 || countitem(726) < 10 || countitem(969) < 10 || countitem(7058) < 1) goto L_NOTENOUGH;
  154. delitem 7058,1;
  155. delitem 969,10;
  156. delitem 726,10;
  157. delitem 984,5;
  158. delitem 2627,1;
  159. getitem 2629,1;
  160. mes "[Lenneth]";
  161. mes "Here is ^3355FFMegingjard^000000, may it serve you well.";
  162. close;
  163. L_NOTENOUGH:
  164. mes "[Lenneth]";
  165. mes "You are lacking a few items, please return when you have them.";
  166. close;
  167. L_OUT:
  168. next;
  169. mes "[Lenneth]";
  170. mes "Please return when you change your mind.";
  171. close;
  172. }