MemorialDay_2008.txt 13 KB

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