mrsmile.txt 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111
  1. //===== rAthena Script =======================================
  2. //= Mr. Smile Quest
  3. //===== By: ==================================================
  4. //= kobra_k88, Akaru
  5. //===== Current Version: =====================================
  6. //= 1.4a
  7. //===== Compatible With: =====================================
  8. //= rAthena Project
  9. //===== Description: =========================================
  10. //= [Official Conversion]
  11. //= Trade Clover, Fluff and Jellopy for a Mr. Smile mask.
  12. //===== Additional Comments: =================================
  13. //= 1.4 Rescripted to Aegis 10.3 standards. [L0ne_W0lf]
  14. //= 1.4a Fixed a little Typo error in duplicates. (bugreport:749) [Samuray22]
  15. //============================================================
  16. - script Smile Assistance::SmileHelper 92,{
  17. mes "[Smile Girl]";
  18. mes "Hi ~ Hi ~";
  19. mes "This is Smile Assistance.";
  20. mes "How may I help you ?";
  21. next;
  22. switch(select("^3355FFMr. Smile^000000 ?:Construct ^3355FFMr. Smile^000000 :Quit")) {
  23. case 1:
  24. mes "[Smile Girl]";
  25. mes "National Event held by the command of ^5577FFHis majesty Tristram the 3rd^000000,";
  26. mes "that intends to encourage the nation of the Rune-Midgarts Kingdom";
  27. mes " to play in more enjoyable atmosphere!";
  28. mes "I am ^3355FF' Smile Assistance '^000000,";
  29. mes ".. who leads the national event under the name of ";
  30. mes "^3355FFSmile throughout the Rune-Midgarts Kingdom~^000000";
  31. next;
  32. mes "[Smile Girl]";
  33. mes "With simple and easy-to-get items,";
  34. mes "I can provide you";
  35. mes "^3355FF' Mr. Smile '^000000.";
  36. mes "The requirements are followings.";
  37. next;
  38. mes "[Smile Girl]";
  39. mes "^3355FF10 Jellopy^000000";
  40. mes "^3355FF10 Fluff^000000";
  41. mes "^3355FF10 Clover^000000";
  42. next;
  43. mes "[Smile Girl]";
  44. mes "With this event";
  45. mes "Everybody will be happy and smile,";
  46. mes "getting together with other people,";
  47. mes "And will try to make Ragnarok the most enjoyable game in the world.";
  48. close;
  49. case 2:
  50. if (countitem(909) > 9 && countitem(914) > 9 && countitem(705) > 9) {
  51. mes "[Smile Girl]";
  52. mes "Congratulations !";
  53. mes "Now please take this Mr.Smile.";
  54. next;
  55. delitem 909,10; //Jellopy
  56. delitem 914,10; //Fluff
  57. delitem 705,10; //Clover
  58. getitem 2278,1; //Mr_Smile
  59. mes "[Smile Girl]";
  60. mes "His majesty,Tristram the 3rd";
  61. mes "has promised to try his best to make Ragnarok better and more enjoyable.";
  62. next;
  63. mes "The fact mentioned above";
  64. mes "was announced by";
  65. mes "the Public Information Bureau of the Rune-Midgarts Kingom.";
  66. close;
  67. }
  68. else {
  69. mes "[Smile Girl]";
  70. mes "Oh - unfortunately";
  71. mes "You have not brought";
  72. mes "enough items for Mr. Smile.";
  73. mes "^3355FF10 Jellopy^000000";
  74. mes "^3355FF10 Fluff^000000";
  75. mes "^3355FF10 Clover^000000";
  76. mes "Please check the requirements above.";
  77. close;
  78. }
  79. case 3:
  80. mes "[Smile Girl]";
  81. mes "Thank you for visiting us.";
  82. mes "We ..";
  83. mes "The Rune-Midgarts Kingdom";
  84. mes "always try to make Ragnarok";
  85. mes "better and more enjoyable game.";
  86. next;
  87. mes "[Smile Girl]";
  88. mes "We sincerely ask you";
  89. mes "to cooperate.";
  90. mes "The fact mentioned above";
  91. mes "was announced by the Public Information Bureau of the Rune-Midgarts Kingom.";
  92. close;
  93. }
  94. }
  95. // Additional Smile Assistance staff
  96. alberta,113,53,4 duplicate(SmileHelper) Smile Assistance#alb 92
  97. aldebaran,136,135,4 duplicate(SmileHelper) Smile Assistance#alde 92
  98. geffen,119,107,4 duplicate(SmileHelper) Smile Assistance#gef 92
  99. moc_ruins,59,154,3 duplicate(SmileHelper) Smile Assistance#moc 92
  100. payon,186,104,5 duplicate(SmileHelper) Smile Assistance#pay 92
  101. prontera,157,187,4 duplicate(SmileHelper) Smile Assistance#prt 92
  102. //============================================================
  103. // Old changelog
  104. //============================================================
  105. //= Fully working. 1.1 Optimized
  106. //= 1.2 updated Payon coords [Lupus]
  107. //= 1.3 fixed exploit [Lupus]
  108. //============================================================