mrsmile.txt 4.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  1. //===== eAthena Script =======================================
  2. //= Mr. Smile Quest
  3. //===== By: ==================================================
  4. //= kobra_k88, Akaru
  5. //===== Current Version: =====================================
  6. //= 1.3
  7. //===== Compatible With: =====================================
  8. //= eAthena 7.15 +
  9. //===== Description: =========================================
  10. //=
  11. //===== Additional Comments: =================================
  12. //= Fully working. 1.1 Optimized
  13. //= 1.2 updated Payon coords [Lupus]
  14. //= 1.3 fixed exploit [Lupus]
  15. //============================================================
  16. // Alberta ------------------------------------------------------------------------------------------
  17. alberta.gat,113,53,3 script Smile Assistance::SmileAT 92,{
  18. mes "[Smile Assistant]";
  19. mes "Hi, I'm a Smile Assistance. How may I help you?";
  20. next;
  21. menu "^0099FFMr. Smile^000000?",M_0, "Construct a ^0099FFMr. Smile^000000",M_1, "Quit",M_End;
  22. M_0:
  23. mes "[Smile Assistant]";
  24. mes "Oh, the Mr. Smile Event is a nationwide event that is being sponsered by ^0099FFHis Majesty Tristram the 3rd^000000.";
  25. mes "The goal of the event is to get the citizens of Rune Midgard to put on happy looking Mr. Smile masks.";
  26. next;
  27. mes "[Smile Assistance]";
  28. mes "By having this event, His Majesty wishes to encourage the people of Rune Midgard to have more fun and enjoy themselves!";
  29. mes "As you may have guessed, the Mr. Smile mask is simply a smiley face.";
  30. next;
  31. mes "[Smile Assistance]";
  32. mes "Although it may be simple, no one can argue the power of a smile! And if everybody in the kingdom were to wear one....";
  33. mes "just imagine how much joy and cheer the world would see!";
  34. next;
  35. mes "[Smile Assistant]";
  36. mes "As a Smile Assistant, it is my job to make a Mr. Smile mask for all of those who want one.";
  37. mes "All I need to make the mask are some little items, namely:";
  38. mes "^5555FF10 Jellopy^000000";
  39. mes "^5555FF10 Fluff^000000";
  40. mes "^5555FF10 Clover^000000";
  41. next;
  42. mes "[Smile Girl]";
  43. mes "The world could use more smiles so get those items and come back soon. I'll be waiting right here.";
  44. close;
  45. M_1:
  46. mes "[Smile Assistant]";
  47. if(countitem(705) < 10 || countitem(909) < 10 || countitem(914) < 10) goto sL_NoItems;
  48. delitem 705,10;
  49. delitem 909,10;
  50. delitem 914,10;
  51. mes "Oh, great! You've brought back all of the items needed. Wait just a sec while I get your Mr. Smile ready.....";
  52. next;
  53. mes "~!shook!~!shook!~!clack!~!clack!~!tok!~!tok!~";
  54. next;
  55. mes "[Smile Assistant]";
  56. mes "Here ya go, your very own Mr. Smile!";
  57. getitem 2278,1;
  58. next;
  59. mes "[Smile Assistant]";
  60. mes "The Mr. Smile Event is just one of the many ways His Majesty Tristam the 3rd is trying to make life more enjoyable here in Rune Midgard.";
  61. next;
  62. mes "[Smile Assistant]";
  63. mes "Hopefully you will be reminded of that fact everytime you put on your Mr. Smile.";
  64. close;
  65. sL_NoItems:
  66. mes "Oh... Unfortunately you don't have enough items for a Mr. Smile. What you need are:";
  67. mes "^5555FF10 Jellopy^000000,";
  68. mes "^5555FF10 Fluff^000000,";
  69. mes "^5555FF10 Clover^000000,";
  70. mes "I'll be waiting here so hurry back.";
  71. close;
  72. M_End:
  73. close;
  74. }
  75. // Aldebaran --------------------------------------------------------------------------------
  76. aldebaran.gat,136,135,4 duplicate(SmileAT) Smile Assistance#2 92
  77. // Geffen -----------------------------------------------------------------------------------
  78. geffen.gat,119,107,4 duplicate(SmileAT) Smile Assistance#3 92
  79. // Izlude -----------------------------------------------------------------------------------
  80. izlude.gat,129,118,4 duplicate(SmileAT) Smile Assistance#4 92
  81. // Morroc -----------------------------------------------------------------------------------
  82. morocc.gat,158,97,4 duplicate(SmileAT) Smile Assistance#5 92
  83. // Payon ------------------------------------------------------------------------------------
  84. payon.gat,168,225,4 duplicate(SmileAT) Smile Assistance#6 92
  85. // Prontera ---------------------------------------------------------------------------------
  86. prontera.gat,157,187,4 duplicate(SmileAT) Smile Assistance#7 92