MemorialDay_2008.txt 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432
  1. //===== rAthena Script =======================================
  2. //= In Memory of Heroes (iRO Memorial Day 2008)
  3. //===== By: ==================================================
  4. //= Kisuka
  5. //===== Current Version: =====================================
  6. //= 1.2
  7. //===== Compatible With: =====================================
  8. //= rAthena SVN
  9. //===== Description: =========================================
  10. //
  11. //===== Additional Comments: =================================
  12. //= 1.0 First version. [Kisuka]
  13. //= 1.1 Many Many Fixes. [Kisuka]
  14. //= 1.2 Some changes. [Kisuka]
  15. //============================================================
  16. // ================== Lauds ======================
  17. // ===============================================
  18. prontera,182,214,4 script Lauds#Memorial 58,{
  19. if(Memorial08 < 1) {
  20. mes "[Mad Sago Lauds]";
  21. mes "Hey, yo!";
  22. mes "What are you doing there!?";
  23. next;
  24. mes "[Mad Sago Lauds]";
  25. mes "Do you know what day it is!?";
  26. mes "It's a very important date!";
  27. mes "A very important date to remember!";
  28. next;
  29. mes "[Mad Sago Lauds]";
  30. mes "What is this!?";
  31. emotion 0;
  32. next;
  33. mes "[Mad Sago Lauds]";
  34. mes "Where is your towel!?";
  35. next;
  36. mes "[" + strcharinfo(0) + "]";
  37. mes "My what?";
  38. next;
  39. mes "[Mad Sago Lauds]";
  40. mes "How are you supposed to go on your trip without your towel!?";
  41. next;
  42. mes "[Mad Sago Lauds]";
  43. mes "If you think this is just another holiday, I'm not going to waste my breath.";
  44. mes "But if you like to pay a tribute to great soldiers, I will help you ready yourself.";
  45. next;
  46. if (select("I guess so...:Are you crazy or something?") == 2) {
  47. mes "[Mad Sago Lauds]";
  48. mes "Fine, be unprepared!";
  49. next;
  50. mes "[Mad Sago Lauds]";
  51. mes "";
  52. mes "^FF0000YOU WILL RUE THE DAY!^000000";
  53. close;
  54. }
  55. mes "[Mad Sago Lauds]";
  56. mes "Great!";
  57. mes "Then listen to me carefully.";
  58. next;
  59. mes "[Mad Sago Lauds]";
  60. mes "Now before you can pay tribute to the fallen soldiers you must be properly equipped.";
  61. mes "Without your towel you will be lost!";
  62. mes "If you bring me the materials, I can make you a towel.";
  63. next;
  64. mes "[Mad Sago Lauds]";
  65. mes "Listen closely.";
  66. mes "Bring me ^FF000030 Fabric and 20 Fluffs^000000.";
  67. set Memorial08,1;
  68. close;
  69. }
  70. else if(Memorial08 == 1) {
  71. if (countitem(1059) < 30 || countitem(914) < 20) {
  72. mes "[Mad Sago Lauds]";
  73. mes "What are these? They aren't enough?!";
  74. mes "*Sigh* Do I really have to tell you again?!";
  75. mes "Bring me ^FF000030 Fabric and 20 Fluffs^000000.";
  76. close;
  77. }else{
  78. mes "***Mad Sago Lauds appears to be muttering to himself***";
  79. next;
  80. mes "[Mad Sago Lauds]";
  81. mes "So, did you bring the towel materials?";
  82. next;
  83. mes "[Mad Sago Lauds]";
  84. mes "Excellent; you've brought them all.";
  85. mes "Then I shall make you a Towel of Memory as I promised.";
  86. mes "Give me a moment.";
  87. next;
  88. mes "[Mad Sago Lauds]";
  89. mes "There you go!";
  90. delitem 1059,30;
  91. delitem 914,20;
  92. getitem 6025,1;
  93. getnameditem 6025," + strcharinfo(0) + ";
  94. set Memorial08,2;
  95. close;
  96. }
  97. }
  98. else if(Memorial08 == 2) {
  99. mes "[Mad Sago Lauds]";
  100. mes "Ah, you have fluffy new towel now I even put your name on it";
  101. next;
  102. mes "[Mad Sago Lauds]";
  103. mes "Say, how do you like to go on a journey to pay a tribute to Memorial Day?";
  104. next;
  105. if (select("Sure.:No, I'm Busy.") == 2) {
  106. mes "[Mad Sago Lauds]";
  107. mes "Don't come crying to me if someone decides to build a highway through your home!";
  108. close;
  109. }
  110. mes "[Mad Sago Lauds]";
  111. mes "Good. By the way, do you even know what the towel is for?";
  112. next;
  113. mes "[Mad Sago Lauds]";
  114. mes "It seems you're just carrying it without understanding its meaning.";
  115. mes "What a shame! You should go speak to ^FF0000Grast in Prontera^000000.";
  116. set Memorial08,3;
  117. close;
  118. }
  119. else if(Memorial08 == 3) {
  120. mes "[Mad Sago Lauds]";
  121. mes "What are you still doing here?";
  122. mes "I told you to go speak to Grast in Prontera!";
  123. close;
  124. }
  125. else if(Memorial08 == 4 || Memorial08 == 5 || Memorial08 == 6) {
  126. mes "[Mad Sago Lauds]";
  127. mes "Go help Grast, and then come back.";
  128. close;
  129. }
  130. else if(Memorial08 == 7) {
  131. mes "[Mad Sago Lauds]";
  132. mes "Oh, you've brought them all.";
  133. mes "Hahaha!";
  134. mes "HAHAHAHAHAHA!!!! cough cough";
  135. next;
  136. mes "[Mad Sago Lauds]";
  137. mes "Please give them to me. Thank you for your hard work, by the way.";
  138. mes "Say, have you learned anything from the journey?";
  139. mes "Now is to go visit the plaque at 12 o'clock direction in Prontera.";
  140. next;
  141. mes "[Mad Sago Lauds]";
  142. mes "What do you mean you were just there?";
  143. next;
  144. mes "[Mad Sago Lauds]";
  145. mes "What? Why are you giving me your garbage!";
  146. mes "Those items are not useful to me at all.";
  147. mes "You should be going to the plaque!";
  148. set Memorial08,8;
  149. close;
  150. }
  151. else if(Memorial08 == 8) {
  152. mes "[Mad Sago Lauds]";
  153. mes "Stop trying to give me your garbage!";
  154. mes "Go to the plaque at 12 o'clock direction in Prontera for your journey!";
  155. close;
  156. }
  157. else if(Memorial08 >= 9) {
  158. set .@RandomMsg, rand(1,5);
  159. if(.@RandomMsg == 1) {
  160. mes "[Mad Sago Lauds]";
  161. mes "Don't panic!";
  162. emotion 0;
  163. close;
  164. }
  165. else if(.@RandomMsg == 2) {
  166. mes "[Mad Sago Lauds]";
  167. mes "Life... is like a grapefruit.";
  168. mes "It's orange and squishy, and has a few pips in it, and some folks have half a one for breakfast.";
  169. close;
  170. }
  171. else if(.@RandomMsg == 3) {
  172. mes "[Mad Sago Lauds]";
  173. mes "There was a point to this story, but it has temporarily escaped the chronicler's mind.";
  174. close;
  175. }
  176. else if(.@RandomMsg == 4) {
  177. mes "[Mad Sago Lauds]";
  178. mes "42!";
  179. close;
  180. }
  181. else if(.@RandomMsg == 5) {
  182. mes "[Mad Sago Lauds]";
  183. mes "It is a mistake to think you can solve any major problems just with potatoes.";
  184. close;
  185. }
  186. }
  187. }
  188. // ============== Memorial Plaque ================
  189. // ===============================================
  190. prontera,153,286,4 script Memorial Plaque#Memorial 857,{
  191. if(Memorial08 < 8) {
  192. mes "[" + strcharinfo(0) + "]";
  193. mes "- It's a dusty old plaque.-";
  194. close;
  195. }
  196. else if(Memorial08 == 8) {
  197. mes "[" + strcharinfo(0) + "]";
  198. mes "- It's a dusty old plaque.-";
  199. mes "'This must be what Lauds was talking about.'";
  200. mes "'Let's dust it off with the towel.'";
  201. next;
  202. set Memorial08,9;
  203. getexp 93750,43750;
  204. goto L_CleanPlaque;
  205. }
  206. else if(Memorial08 >= 9) {
  207. goto L_CleanPlaque;
  208. }
  209. L_CleanPlaque:
  210. mes "- You see a message from the cleaned plaque.-";
  211. next;
  212. mes "-Although no sculptured marble should rise to their memory,-";
  213. mes "-nor engraved stone bear record of their deeds,-";
  214. mes "-yet will their remembrance be as lasting as the land they honored.-";
  215. mes "-Daniel Webster-";
  216. if(Memorial08 == 9) {
  217. getexp 93750,43750;
  218. }
  219. next;
  220. mes "-There's another message.-";
  221. next;
  222. mes "-I may not have gone where I intended to go,-";
  223. mes "-but I think I have ended up where I needed to be.-";
  224. mes "- Douglas Adams.-";
  225. if(Memorial08 == 9) {
  226. getexp 93750,43750;
  227. }
  228. next;
  229. mes "-This is the last message.-";
  230. next;
  231. mes "-True heroism is remarkably sober, very undramatic.-";
  232. mes "-It is not the urge to surpass all others at whatever cost,-";
  233. mes "- but the urge to serve others at whatever cost. -";
  234. mes "- Arthur Ashe -";
  235. if(Memorial08 == 9) {
  236. getexp 93750,43750;
  237. set Memorial08,10;
  238. }
  239. close;
  240. }
  241. // ==================== Grast ====================
  242. // ===============================================
  243. prontera,150,270,4 script Grast#Memorial 900,{
  244. if(Memorial08 < 3) {
  245. mes "[Grast]";
  246. mes "Memorial Day is a sad and yet glorious day.";
  247. mes "I wonder how many people remember them...";
  248. close;
  249. }
  250. else if(Memorial08 == 3) {
  251. mes "[Grast]";
  252. mes "Oh, isn't that a Towel of Memory?";
  253. mes "I'm so glad to meet someone who understands the meaning of Memorial Day.";
  254. next;
  255. mes "[Grast]";
  256. mes "It is very important to know what we're celebrating today, don't you think?";
  257. next;
  258. mes "[Grast]";
  259. mes "If you like to go on a journey to pay a tribute to Memorial Day, you should bring me some materials I ask.";
  260. next;
  261. mes "[Grast]";
  262. mes "Please bring me ^FF0000one of each Red Potion, Green Potion, Awakening Potion, and Butterfly Wing^000000.";
  263. mes "I'll be waiting for your return.";
  264. set Memorial08,4;
  265. close;
  266. }
  267. else if(Memorial08 == 4) {
  268. if (countitem(501) < 1 || countitem(506) < 1 || countitem(656) < 1 || countitem(602) < 1) {
  269. mes "[Grast]";
  270. mes "Oops, you haven't brought all materials.";
  271. mes "Please make sure you need to bring me";
  272. mes "^FF0000one of each Red Potion, Green Potion, Awakening Potion, and Butteryfly Wing^000000.";
  273. next;
  274. mes "[Grast]";
  275. mes "You'll have to bring me more materials afterwards.";
  276. mes "If you feel too burdened to gather them all,";
  277. mes "I can provide you all the materials.";
  278. next;
  279. if (select("I'll gather the rest.:Give me the materials.") == 2) {
  280. goto L_GiveUp;
  281. }
  282. goto L_Continue;
  283. }else{
  284. mes "[Grast]";
  285. mes "Oh, you've brought the materials I asked.";
  286. next;
  287. mes "[Grast]";
  288. mes "Hmm, you will need some more things still...";
  289. next;
  290. mes "[Grast]";
  291. mes "Please bring me ^FF0000one of each Trap, Yggdrasil Leaf, Blue Gemstone, Crystal Mirror, Meat, and Carrot.^000000";
  292. mes "I'll be waiting for your return.";
  293. set Memorial08,5;
  294. close;
  295. }
  296. }
  297. else if(Memorial08 == 5) {
  298. if (countitem(1065) < 1 || countitem(610) < 1 || countitem(717) < 1 || countitem(747) < 1 || countitem(517) < 1 || countitem(515) < 1) {
  299. mes "[Grast]";
  300. mes "Oops, you haven't brought all materials.";
  301. mes "Please make sure you'll have to bring me";
  302. mes "^FF0000one of each Trap, Yggdrasil Leaf, Blue Gemstone, Crystal Mirror, Meat, and Carrot^000000.";
  303. next;
  304. mes "[Grast]";
  305. mes "You'll have to bring me more materials afterwards.";
  306. mes "If you feel too burdened to gather them all, I can provide you all the materials.";
  307. next;
  308. if (select("I'll gather the rest.:Give me the materials.") == 2) {
  309. goto L_GiveUp;
  310. }
  311. goto L_Continue;
  312. }else{
  313. mes "[Grast]";
  314. mes "Oh, you've brought everything I asked.";
  315. mes "Hmm, I think you need just a little bit more.";
  316. next;
  317. mes "[Grast]";
  318. mes "Please bring me ^FF0000one of each Pet Incubator, Firecracker, Poring Doll, and Bouquet^000000.";
  319. set Memorial08,6;
  320. close;
  321. }
  322. }
  323. else if(Memorial08 == 6) {
  324. if (countitem(643) < 1 || countitem(12018) < 1 || countitem(741) < 1 || countitem(745) < 1) {
  325. mes "[Grast]";
  326. mes "Oops, you haven't brought all materials.";
  327. mes "Please make sure you need to bring me";
  328. mes "^FF0000one of each Pet Incubator, Firecracker, Poring Doll and Bouquet";
  329. next;
  330. mes "[Grast]";
  331. mes "They are the last batch of materials.";
  332. mes "If you feel too burdened to gather them all, I can provide you all the materials.";
  333. next;
  334. mes "[Grast]";
  335. mes "If I provide you all materials, however, I won't have to thank you for your service.";
  336. mes "It's your call, " + strcharinfo(0) + ".";
  337. next;
  338. if (select("I'll gather the rest.:Give me the materials.") == 2) {
  339. goto L_GiveUp;
  340. }
  341. goto L_Continue;
  342. }else{
  343. mes "[Grast]";
  344. mes "Have you brought the materials I asked?";
  345. mes "Ah, thank you for your hard work you've brought all of them.";
  346. next;
  347. mes "[Grast]";
  348. mes "I hope you'll learn a valuable lesson while gathering these materials.";
  349. mes "I like to give you a small gift for your service.";
  350. next;
  351. mes "[Grast]";
  352. mes "You see, I have two different gifts in my each hand.";
  353. mes "A best thing would be giving you both of them, but...";
  354. mes "How do you like to test your luck, " + strcharinfo(0) + "?";
  355. next;
  356. mes "[Grast]";
  357. mes "Okay, which hand would you like to pick?";
  358. next;
  359. if (select("Left hand.:Right hand.") == 2) {
  360. mes "[Grast]";
  361. mes "You've selected my right hand.";
  362. mes "Here's the gift for you.";
  363. mes "Now, please bring all these materials to Lauds.";
  364. set Memorial08, 7;
  365. getitem 617,1;
  366. close;
  367. }
  368. mes "[Grast]";
  369. mes "You've selected my left hand.";
  370. mes "Here's the gift for you.";
  371. mes "Now, please bring all these materials to Lauds.";
  372. set Memorial08, 7;
  373. getitem 12109,1;
  374. close;
  375. }
  376. }
  377. else if(Memorial08 == 7) {
  378. mes "[Grast]";
  379. mes "Have you met Lauds?";
  380. mes "I hope you'll remember your freedom and happiness are built on thousands of lives sacrificed in war.";
  381. close;
  382. }
  383. else if(Memorial08 >= 8) {
  384. mes "[Grast]";
  385. mes "A towel is about the most massively useful thing an adventurer can have.";
  386. close;
  387. }
  388. L_GiveUp:
  389. mes "[Grast]";
  390. mes "Oh, I see. I guess you're quite busy nowadays, huh?";
  391. mes "No problem; I'll give you all the supplies...";
  392. next;
  393. mes "[Grast]";
  394. mes "There you go.";
  395. mes "I crushed all the items together into a more compact form for you.";
  396. mes "You can thank me later for that extra service.";
  397. mes "Please bring them to Lauds.";
  398. set Memorial08,7;
  399. getitem 7126,1;
  400. next;
  401. mes "[Grast]";
  402. mes "By the way, he had an unfortunate accident, and has kind of lost his mind.";
  403. mes "Please don't be alarmed even if he starts babbling.";
  404. close;
  405. L_Continue:
  406. mes "[Grast]";
  407. mes "That's a good idea.";
  408. mes "Then I'll be waiting for your return.";
  409. close;
  410. }