may_hats.txt 5.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180
  1. //===== rAthena Script =======================================
  2. //= Quests: Bird Nest, Lion Mask, Skeleton Manteau,
  3. //= Fashion Hip Sack & Sales Banner
  4. //===== By: ==================================================
  5. //= Lupus
  6. //===== Current Version: =====================================
  7. //= 1.01
  8. //===== Compatible With: =====================================
  9. //= rAthena Project
  10. //===== Description: =========================================
  11. //= Custom quest for some RO mobile game bonus items
  12. //===== Additional Comments: =================================
  13. //= 1 May, 2006
  14. //= 1.01 translated the rest of dialogues
  15. //============================================================
  16. gonryun,187,140,4 script Yakima 850,{
  17. mes "[Yakima]";
  18. mes callfunc("F_Hi");
  19. mes "I can make some items for you.";
  20. mes "They are quite rare novadays...";
  21. specialeffect EF_HITBODY;
  22. next;
  23. menu "Bird Nest",-,"Lion Mask",M_2,"Skeleton Manteau",M_3,"Fashion Hip Sack",M_4,"Sales Banner",M_5,"Leave",M_EXIT;
  24. mes "[Yakima]";
  25. mes "Oh.. it's an excellent item for any beast hunter.";
  26. emotion e_rock;
  27. next;
  28. mes "[Yakima]";
  29. mes "For the hat I'll need:";
  30. mes "1 Sombrero,";
  31. mes "920 Feathers of Birds and";
  32. mes "310 Bills of Birds.";
  33. next;
  34. mes "[Yakima]";
  35. mes "Do you have all the items?";
  36. next;
  37. menu "Yeah.",-,"Nay.",M_EXIT;
  38. if(countitem(5067) < 1 || countitem(916) < 920 || countitem(925) < 310) GOTO L_NOITEM;//Items: Sombrero, Feather_of_Birds, Bill_of_Birds,
  39. delitem 5067,1;//Items: Sombrero,
  40. delitem 916,920;//Items: Feather_of_Birds,
  41. delitem 925,310;//Items: Bill_of_Birds,
  42. getitem 5129,1;//Items: Bird_Nest,
  43. mes "[Yakima]";
  44. mes "Thank you very very much!";
  45. mes callfunc("F_Bye");
  46. close;
  47. M_2:
  48. mes "[Yakima]";
  49. mes "Bingo! Many people are afraid of lions... to the muteness...";
  50. emotion e_slur;
  51. next;
  52. mes "[Yakima]";
  53. mes "For the hat I'll need:";
  54. mes "1 Tiger Mask,";
  55. mes "10 Tiger's Footskins,";
  56. mes "30 Tiger Skins and";
  57. mes "300 Tiger Panties.";
  58. next;
  59. mes "[Yakima]";
  60. mes "Do you have all the items?";
  61. next;
  62. menu "Yeah.",-,"Nay.",M_EXIT;
  63. if(countitem(5098) < 1 || countitem(1030) < 10 || countitem(1029) < 30 || countitem(7267) < 300) GOTO L_NOITEM;//Items: Tiger_Mask, Tiger_Skin, Tiger's_Footskin, Tiger_Panty,
  64. delitem 5098,1;//Items: Tiger_Mask,
  65. delitem 1030,10;//Items: Tiger's_Footskin,
  66. delitem 1029,30;//Items: Tiger_Skin,
  67. delitem 7267,300;//Items: Tiger_Panty,
  68. getitem 5130,1;//Items: Lion_Mask,
  69. mes "[Yakima]";
  70. mes "Thank you very very much!";
  71. mes callfunc("F_Bye");
  72. close;
  73. M_3:
  74. mes "[Yakima]";
  75. mes "I wish I sold this filthy manteau faster...";
  76. mes "Guess it isn't so plain as it looks... Hmm.";
  77. emotion e_wah;
  78. next;
  79. mes "[Yakima]";
  80. mes "I'm giving it almost for free:";
  81. mes "10 Old Manteaus,";
  82. mes "3 Skull Rings,";
  83. mes "2 Manteau[1] and";
  84. mes "1 Ragamuffin Manteau.";
  85. next;
  86. mes "[Yakima]";
  87. mes "Do you have all the items?";
  88. next;
  89. menu "Yeah.",-,"Nay.",M_EXIT;
  90. if(countitem(2508) < 1 || countitem(2506) < 2 || countitem(2609) < 3 || countitem(7207) < 10) GOTO L_NOITEM;//Items: Ragamuffin_Manteau, Manteau_, Skull_Ring, Old_Manteau,
  91. delitem 2508,1;//Items: Ragamuffin_Manteau,
  92. delitem 2506,2;//Items: Manteau_,
  93. delitem 2609,3;//Items: Skull_Ring,
  94. delitem 7207,10;//Items: Old_Manteau,
  95. getitem 2511,1;//Items: Skeleton_Manteau,
  96. mes "[Yakima]";
  97. mes "Thank you very very much!";
  98. mes callfunc("F_Bye");
  99. close;
  100. M_4:
  101. mes "[Yakima]";
  102. mes "It's a fresh style! Ancessory and a bag all in one! You'd get +2 STR... It's different from that sabby nest!";
  103. mes "It fits to Merchant classonly.";
  104. emotion e_heh;
  105. next;
  106. mes "[Yakima]";
  107. mes "Now my stock is full of those bags... So I'll make it from 3 flower things and a rough piece of clothes:";
  108. mes "3 Romantic Flowers,";
  109. mes "3 Fancy Flowers,";
  110. mes "2 Flower Rings and";
  111. mes "3 Pirate Bandanas.";
  112. next;
  113. mes "[Yakima]";
  114. mes "Do you have all the items?";
  115. next;
  116. menu "Yeah.",-,"Nay.",M_EXIT;
  117. if(countitem(2269) < 3 || countitem(2207) < 3 || countitem(2612) < 2 || countitem(2287)<3 ) GOTO L_NOITEM;//Items: Romantic_Flower, Fancy_Flower, Flower_Ring,
  118. delitem 2269,3;//Items: Romantic_Flower,
  119. delitem 2207,3;//Items: Fancy_Flower,
  120. delitem 2612,2;//Items: Flower_Ring,
  121. delitem 2287,3;//Items: Pirate_Bandana
  122. getitem 2641,1;//Items: Fashion_Hip_Sack,
  123. mes "[Yakima]";
  124. mes "Thank you very very much!";
  125. mes callfunc("F_Bye");
  126. close;
  127. M_5:
  128. mes "[Yakima]";
  129. mes "Well, well, well... this sign fits any class from a certain level!";
  130. mes "Your foes'd be dazzled!";
  131. emotion e_no1;
  132. next;
  133. mes "[Yakima]";
  134. mes "Well... we construct it from some common items:";
  135. mes "1 Scarlet Dyestuffs,";
  136. mes "1 Orange Dyestuffs,";
  137. mes "2 Stop Posts,";
  138. mes "3 Clown Noses,";
  139. mes "180 Fig Leaves and";
  140. mes "20 Solid Peaches.";
  141. next;
  142. mes "[Yakima]";
  143. mes "Do you have all the items?";
  144. next;
  145. menu "Yeah.",-,"Nay.",M_EXIT;
  146. if(countitem(975) < 1 || countitem(980) < 1 || countitem(2272) < 2 || countitem(2262) < 3 || countitem(7298) < 180 || countitem(7164) < 20) GOTO L_NOITEM;//Items: Scarlet_Dyestuff, Orange_Dyestuff, Stop_Post, Clown_Nose, Fig_Leaf, Solid_Peach,
  147. delitem 975,1;//Items: Scarlet_Dyestuff,
  148. delitem 980,1;//Items: Orange_Dyestuff,
  149. delitem 2272,2;//Items: Stop_Post,
  150. delitem 2262,3;//Items: Clown_Nose,
  151. delitem 7298,180;//Items: Fig_Leaf,
  152. delitem 7164,20;//Items: Solid_Peach,
  153. getitem 5100,1;//Items: Sales_Banner,
  154. mes "[Yakima]";
  155. mes "Thank you very very much!";
  156. mes callfunc("F_Bye");
  157. close;
  158. L_NOITEM:
  159. mes "[Yakima]";
  160. mes "You are lack of items. Please, get all the items.";
  161. emotion e_sry;
  162. close;
  163. M_EXIT:
  164. mes "[Yakima]";
  165. mes callfunc("F_Bye");
  166. close;
  167. }