idul_fitri.txt 2.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. //===== rAthena Script =======================================
  2. //= Feast Day Of Ramadan Idul Fitri Event
  3. //===== By: ==================================================
  4. //= $ephiroth
  5. //===== Current Version: =====================================
  6. //= 1.1
  7. //===== Compatible With: =====================================
  8. //= rAthena Project
  9. //===== Description: =========================================
  10. //= Info : Official idRO
  11. //= 2006/10/16: 1.0 Release and fully working. [$ephiroth]
  12. //= 1.1 Replaced effect numerics with constants. [Samuray22]
  13. //============================================================
  14. prontera,146,92,3 script Cellerb 58,{
  15. mes "[Staff Idul Fitri]";
  16. if((gettime(DT_MONTH)==OCTOBER && (gettime(DT_DAYOFMONTH)==24 || gettime(DT_DAYOFMONTH)==25))==0) {
  17. mes "Congratulation! Celebrate Feast Day Of Ramadan Idul Fitri 1427 H.";
  18. specialeffect EF_SANDMAN;
  19. close;
  20. }
  21. mes "Haii......^FF8800"+strcharinfo(0)+"^000000!!";
  22. mes "First day of Idul Fitri has arrived.";
  23. mes "Congratulation celebrate him.";
  24. mes "There is event special today.";
  25. next;
  26. mes "[Staff Idul Fitri]";
  27. mes "Event today.....^009500Idul Fitri Quest!^000000";
  28. next;
  29. mes "[Staff Idul Fitri]";
  30. mes "If you interest to follow this event, I will cook it to you.";
  31. next;
  32. switch(select("Allright. I like that!!","Next time.... Thanks.")){
  33. case 1:
  34. mes "[Staff Idul Fitri]";
  35. mes "I have something that might interest you.";
  36. mes "I need all of the following items:";
  37. mes "^D5A500Ketupat Sayur Ingredient :^000000";
  38. mes "^00B6FF~5 Ketupat, 5 Carrot~,^000000";
  39. mes "^CC6633~5 Sweet Potato, 10 Meat~,^000000";
  40. mes "^000088~2 Green Herb, 5 Stem~.^000000";
  41. next;
  42. mes "[Staff Idul Fitri]";
  43. if ( (countitem(552)<5 || countitem(515)<5 ||countitem(516)<5 || countitem(517)<10 || countitem(511)<2 || countitem(905)<5) ) {
  44. mes "You don't have enough items.";
  45. mes "Come back when you have them all.";
  46. close;
  47. }
  48. delitem 552,5;
  49. delitem 515,5;
  50. delitem 516,2;
  51. delitem 517,10;
  52. delitem 511,2;
  53. delitem 905,5;
  54. mes "I see you already have all the items you need.";
  55. mes "Just a moment, please!!";
  56. next;
  57. mes "^009500-Plupping snapping bubbling~^000000";
  58. mes "^009500-Clinking clingking~^000000";
  59. mes "^009500-Clang clang~^000000";
  60. getitem 583,1;
  61. next;
  62. mes "[Staff Idul Fitri]";
  63. mes "We appreciate your participation in this special event.";
  64. emotion e_thx;
  65. close;
  66. case 2:
  67. mes "[Staff Idul Fitri]";
  68. mes "Oh well, maybe you will participate in tommorow's quest.";
  69. emotion e_hmm;
  70. close;
  71. }
  72. }