quests_lutie.txt 9.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358
  1. //===== eAthena Script =======================================
  2. //= Quest NPCs related to Lutie
  3. //===== By: ==================================================
  4. //= TonyMan & Samuray22
  5. //===== Current Version: =====================================
  6. //= 1.3b
  7. //===== Compatible With: =====================================
  8. //= eAthena 1.0
  9. //===== Description: =========================================
  10. //= Blush, Cake Hat, Candle, Chef Hat, Raccoon Hat, Rainbow Eggshell,
  11. //= Spore Hat, Wonder Nutshell Quests
  12. //===== Additional Comments: =================================
  13. //= 1.1 Optimized [Lupus]
  14. //= 1.2 Fixed Chef Hat items [Lupus]
  15. //= 1.3 Update NPC to the Official One. [Samuray22]
  16. //= 1.3a Changed item names to item IDs. [Samuray22]
  17. //= 1.3b Removed a scrap " left in a delitem. [L0ne_W0lf]
  18. //============================================================
  19. xmas,117,295,3 script Vending Machine Man 704,{
  20. mes "[Titicupe]";
  21. mes "Ha ha ha ha ha ha";
  22. mes "..You arrived";
  23. mes "I'm a manager";
  24. mes "of toy factory!!";
  25. mes "I've opened my eyes";
  26. mes "on new business!";
  27. next;
  28. switch(select( "Talk to him about the vending machine", "Items in the vending machine", "Stop talking")) {
  29. case 1:
  30. mes "[Titicupe]";
  31. mes "Can you see a little snowman";
  32. mes "left side of me. can you?";
  33. mes "If you look at his mouth cautiously";
  34. mes "you can find out";
  35. mes "that it was builted to";
  36. mes "huge size as it can";
  37. next;
  38. mes "[Titicupe]";
  39. mes "swallow any thing.";
  40. mes ".. feel bad hah?";
  41. mes "Try to put your";
  42. mes "hand,legs,and even your head inside.";
  43. mes "Everything goes in.";
  44. mes "Hohoho . However";
  45. next;
  46. mes "[Titicupe]";
  47. mes "this is a";
  48. mes "vending machine";
  49. mes "which is you can get";
  50. mes "fashionable decorating item.";
  51. mes "You have to provide";
  52. mes "some items when you want to get.";
  53. next;
  54. mes "[Titicupe]";
  55. mes "Pour out to snowman's mouth!!";
  56. mes "If you do that";
  57. mes "You can get";
  58. mes "fancy items wHat";
  59. mes "you dreamed for";
  60. mes "Ha ha ha ha ha~~~";
  61. next;
  62. goto L_end2;
  63. case 2:
  64. mes "[Titicupe]";
  65. mes "Ho ho ho ho~";
  66. mes "Do you have";
  67. mes "any question?";
  68. mes "then ask me";
  69. mes "I'm genius.ha ha~";
  70. next;
  71. switch( select( "Raccoon Hat", "Spore Hat", "Wonder Nutshell", "Rainbow Egg Shell", "Blush", "Chef Hat", "Candle", "Cake Hat", "Stop talking")) {
  72. case 1:
  73. mes "[Titicupe]";
  74. mes "Raccoon Hat ?";
  75. mes "Kitty Band 1";
  76. mes "Dragon Scale 20";
  77. mes "Tough Scalelike stem 200";
  78. mes "Sea-Otter Fur 300";
  79. goto L_end;
  80. case 2:
  81. mes "[Titicupe]";
  82. mes "Spore Hat ?";
  83. mes "Poison Spore 850";
  84. mes "Burnt Tree 300";
  85. mes "Long Tongue 1";
  86. goto L_end;
  87. case 3:
  88. mes "[Titicupe]";
  89. mes "Wonder Nutshell ?";
  90. mes "Fruit Shell 1";
  91. mes "Wing of Dragonfly 500";
  92. goto L_end;
  93. case 4:
  94. mes "[Titicupe]";
  95. mes "Rainbow Egg Shell ?";
  96. mes "Egg Shell 1";
  97. mes "Cobaltblue Dyestuffs 1";
  98. mes "Claw Of Desert Wolf 50";
  99. goto L_end;
  100. case 5:
  101. mes "[Titicupe]";
  102. mes "Blush ?!";
  103. mes "You !";
  104. mes "You know something ha ha ?!";
  105. mes "he he . anyway";
  106. mes "- Alice's Apron 100 -";
  107. goto L_end;
  108. case 6:
  109. mes "[Titicupe]";
  110. mes "Chef Hat ?";
  111. mes "Piece Of Cake 120";
  112. mes "White Dyestuffs 1";
  113. mes "Feather 330";
  114. mes "Dragon Scale 450";
  115. goto L_end;
  116. case 7:
  117. mes "[Titicupe]";
  118. mes "Candle ?";
  119. mes "Bomb Wick 1";
  120. mes "Matchstick 50";
  121. mes "Royal Jelly 100";
  122. goto L_end;
  123. case 8:
  124. mes "[Titicupe]";
  125. mes "Cake Hat ?";
  126. mes "Candy 10";
  127. mes "Candy Cane 5";
  128. mes "Well Baked Cookie 15";
  129. mes "Piece Of Cake 20";
  130. mes "steel 10";
  131. goto L_end;
  132. case 9:
  133. mes "[Titicupe]";
  134. mes "Ask me any time";
  135. mes " Actually you know?";
  136. mes "'Genius' knows everything ";
  137. mes "My brain is number one";
  138. mes "in the whole universe!";
  139. mes "Just So Goooooood!";
  140. goto L_end;
  141. }
  142. case 3:
  143. goto L_end2;
  144. }
  145. L_end:
  146. next;
  147. mes "[Titicupe]";
  148. mes "So happy!!";
  149. mes "I'm a genius";
  150. mes "Ho ho ho";
  151. mes "Ho ho ho ho";
  152. close;
  153. L_end2:
  154. mes "[Titicupe]";
  155. mes "I'm a genius!!";
  156. mes "The world will suprise!";
  157. mes "for my magnificient creation";
  158. mes "of these beautiful";
  159. mes "and so cool items";
  160. mes "Ke-ke-ke";
  161. next;
  162. mes "- Toy factory manager -";
  163. mes "- Titicupe is jumping -";
  164. mes "- around and pointing -";
  165. mes "- the vending machine -";
  166. mes "- snowman with very -";
  167. mes "- uproarious attitude-";
  168. mes "- and he looks very very happy -";
  169. close;
  170. }
  171. xmas,115,297,3 script Vending Machine 111,{
  172. mes "[Audi]";
  173. mes "- Exciting item vending machine. -";
  174. mes "- Thanks to find Audi. -";
  175. mes "- Select a item that you want -";
  176. mes "- and -";
  177. mes "- Put required item to -";
  178. mes "- my mouth. -";
  179. next;
  180. switch( select( "^FF3355- notice (must read) -^000000", "Raccoon Hat", "Spore Hat", "Wonder Nutshell", "Rainbow Egg Shell", "Blush", "Hat Of Cooker", "Candle", "Cake Hat", "Cancel")) {
  181. case 1:
  182. mes "[Audi]";
  183. mes "Hi~ !";
  184. mes "I need to tell you";
  185. mes "one important thing";
  186. mes "This vending mashine is";
  187. mes "not equipted to differentiate";
  188. mes "special items and ordinary item";
  189. next;
  190. mes "[Audi]";
  191. mes "So If you use item that";
  192. mes "^FF3355already applied valuable";
  193. mes "Monster card in it^000000 or";
  194. next;
  195. mes "[Audi]";
  196. mes "^FF3355high level of";
  197. mes "forged items^000000 will";
  198. mes "^3355FFtreated as normal";
  199. mes "item^000000 so. When you";
  200. mes "try to exchange + generate item";
  201. mes "Please put away valiable items";
  202. next;
  203. mes "[Audi]";
  204. mes "to Kafre warehouse";
  205. mes "or seperate from";
  206. mes "your body.";
  207. mes "This is very important.";
  208. mes "Because if when you use";
  209. mes "this vending machine and";
  210. next;
  211. mes "[Audi]";
  212. mes "your valiable items";
  213. mes "have used by vending machine.";
  214. mes "There will be no";
  215. mes "refund and recover";
  216. mes "to that item.";
  217. next;
  218. mes "[Audi]";
  219. mes "Have a good time";
  220. mes "Thank you";
  221. close;
  222. case 2:
  223. if (countitem(2213) > 0 && countitem(1036) > 19 && countitem(7012) > 199 && countitem(7065) > 299) {
  224. callfunc "Vending Machine","good";
  225. next;
  226. delitem 2213, 1; //Kitty Band
  227. delitem 1036, 20; //Dragon Scale
  228. delitem 7012, 200; //Tough Scalelike Stem
  229. delitem 7065, 300; //Sea-Otter Fur
  230. getitem 5033, 1; //Raccoon Hat
  231. callfunc "Vending Machine","finish";
  232. }
  233. callfunc "Vending Machine","bad";
  234. case 3:
  235. if (countitem(7033) > 849 && countitem(7068) > 299 && countitem(1015) > 0) {
  236. callfunc "Vending Machine","good";
  237. next;
  238. delitem 7033, 850; //Poison Spore
  239. delitem 7068, 300; //Burnt Tree
  240. delitem 1015, 1; //Tongue
  241. getitem 5029, 1; //Spore Hat
  242. callfunc "Vending Machine","finish";
  243. }
  244. callfunc "Vending Machine","bad";
  245. case 4:
  246. if (countitem(5037) > 0 && countitem(7064) > 499) {
  247. callfunc "Vending Machine","good";
  248. next;
  249. delitem 5037, 1; //Nutshell
  250. delitem 7064, 500; //Wing of Dragonfly
  251. getitem 5050, 1; //Wonder Nutshell
  252. callfunc "Vending Machine","finish";
  253. }
  254. callfunc "Vending Machine","bad";
  255. case 5:
  256. if (countitem(5015) > 0 && countitem(978) > 0 && countitem(7030) > 49) {
  257. callfunc "Vending Machine","good";
  258. next;
  259. delitem 5015, 1; //Egg Shell
  260. delitem 978, 1; //Cobaltblue Dyestuff
  261. delitem 7030, 50; //Claw of Desert Wolf
  262. getitem 5039, 1; //Rainbow Eggshell
  263. callfunc "Vending Machine","finish";
  264. }
  265. callfunc "Vending Machine","bad";
  266. case 6:
  267. if (countitem(7047) > 99) {
  268. callfunc "Vending Machine","good";
  269. next;
  270. delitem 7047, 100; //Alice's Apron
  271. getitem 5040, 1; //Blush
  272. callfunc "Vending Machine","finish";
  273. }
  274. callfunc "Vending Machine","bad";
  275. case 7:
  276. if (countitem(539) > 119 && countitem(982) > 0 && countitem(949) > 329 && countitem(1036) > 449) {
  277. callfunc "Vending Machine","good";
  278. next;
  279. delitem 539, 120; //Piece of Cake
  280. delitem 982, 1; //White Dyestuff
  281. delitem 949, 330; //Feather
  282. delitem 1036, 450; //Dragon Scale
  283. getitem 5026, 1; //Chef Hat
  284. callfunc "Vending Machine","finish";
  285. }
  286. callfunc "Vending Machine","bad";
  287. case 8:
  288. if (countitem(2279) > 0 && countitem(7035) > 49 && countitem(526) > 99) {
  289. callfunc "Vending Machine","good";
  290. next;
  291. delitem 2279, 1; //Bomb Wick
  292. delitem 7035, 50; //Matchstick
  293. delitem 526, 100; //Royal Jelly
  294. getitem 5028, 1; //Candle
  295. callfunc "Vending Machine","finish";
  296. }
  297. callfunc "Vending Machine","bad";
  298. case 9:
  299. if (countitem(529) > 9 && countitem(530) > 4 && countitem(538) > 14 && countitem(539) > 19 && countitem(999) > 9) {
  300. callfunc "Vending Machine","good";
  301. next;
  302. delitem 529, 10; //Candy
  303. delitem 530, 5; //Candy Cane
  304. delitem 538, 15; //Well-baked Cookie
  305. delitem 539, 20; //Piece of Cake
  306. delitem 999, 10; //Steel
  307. getitem 5024, 1; //Cake Hat
  308. callfunc "Vending Machine","finish";
  309. }
  310. callfunc "Vending Machine","bad";
  311. case 10:
  312. mes "[Audi]";
  313. mes "- Thank you so much -";
  314. mes "- for use me -";
  315. mes "- . . . . . -";
  316. mes "- But you didn't use";
  317. mes "- anything. hummmmm-";
  318. mes "- Well see you again ! -";
  319. close;
  320. }
  321. }
  322. function script Vending Machine {
  323. if(getarg(0) == "good") {
  324. mes "- You put items -";
  325. mes "- that is required to -";
  326. mes "- generate new item, -";
  327. mes "- inside of me. hehe -";
  328. return;
  329. } else if(getarg(0) == "bad") {
  330. mes "[Audi]";
  331. mes "- Piiiiii !! -";
  332. mes "- Ups ! Ups ! -";
  333. mes "- lack of items -";
  334. mes "- Ups ! Ups ! -";
  335. mes "Don't think I'm fool.";
  336. close;
  337. }
  338. mes "[Audi]";
  339. mes "- broook boom -";
  340. mes "- boooom!! -";
  341. mes "- weck weck !! -";
  342. mes "- boom!! -";
  343. mes "- ugh ! -";
  344. if(countitem(5040) > 0) {
  345. mes "- Wow . Blush !! -";
  346. mes "- You are so cool -";
  347. mes "- you know real fashion ! -";
  348. mes "- ah so cute Blush -";
  349. mes "- Wanna touch .. -";
  350. }
  351. mes "- Thanks for use! -";
  352. close;
  353. }