children_week.txt 3.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  1. //===== rAthena Script =======================================
  2. //= Children Week Event
  3. //===== By: ==================================================
  4. //= Samuray22
  5. //===== Current Version: =====================================
  6. //= 1.1
  7. //===== Compatible With: =====================================
  8. //= rAthena SVN
  9. //===== Description: =========================================
  10. //= [Aegis Conversion]
  11. //= Indian Ro: Children Week Event
  12. //===== Additional Comments: =================================
  13. //= 1.1 First Beta. [Samuray22]
  14. //============================================================
  15. prontera,146,91,5 script Pandit chacha#child07 61,{
  16. if(BaseLevel > 50) {
  17. mes "[Pandit chacha]";
  18. mes "Hahaha.";
  19. mes "It is special day, comes only one time in a year.";
  20. mes "If you see little adventurers around you send to me~";
  21. mes "I will give the special gift.";
  22. close;
  23. } else if(BaseLevel < 20) {
  24. mes "[Pandit chacha]";
  25. mes "Hahaha.";
  26. mes "You are a baby adventurer not little adventurer.";
  27. mes "When you more grow up, come back again. hahaha.";
  28. close;
  29. } else if(oversea_event9 < 1) {
  30. mes "[Pandit chacha]";
  31. mes "Hahaha.";
  32. mes "Welcome, little adventurers!";
  33. mes "Today is special day, isn't it~?";
  34. mes "I would like to give the small gift to little adventurer...";
  35. mes "What about you? Do you want to take it?";
  36. next;
  37. if(select("No. I will take it later.","Sure, i want.") == 1) {
  38. mes "[Pandit chacha]";
  39. mes "That's too bad.... hum...";
  40. mes "I gathered some stuffs from far a way world to make it....";
  41. mes "Whenever come back again if you want it...";
  42. close;
  43. }
  44. set oversea_event9,1;
  45. getitem 11705,10; //Children's Potion
  46. mes "[Pandit chacha]";
  47. mes "Look. This is a child Potion.";
  48. mes "The weight is just 1 but recover much HP.";
  49. mes "If you want to get more, bring the 1 Wedding Bouquet and 1 Witherless Rose.";
  50. close;
  51. } else if(oversea_event9 == 1) {
  52. if(countitem(745) > 0 && countitem(748) > 0) {
  53. mes "[Pandit chacha]";
  54. mes "Ahha!!";
  55. mes "You have remembered my beautiful composition.";
  56. mes "You did good work.";
  57. mes "Could you give me 1 Wedding Bouquet and 1 Witherless Rose? ";
  58. next;
  59. if(select("Not yet.","Sure, take it.") == 1) {
  60. mes "[Pandit chacha]";
  61. mes "If you are not prepared yet, call me when you ready.";
  62. close;
  63. }
  64. mes "[Pandit chacha]";
  65. mes "Hahaha.";
  66. mes "Oh~ you get it.";
  67. mes "Here, I will exchange to the 50 child potion.";
  68. mes "Once you get this 50 child potion, I won't give any more.";
  69. close2;
  70. delitem 745,1; //Wedding Bouquet
  71. delitem 748,1; //Witherless Rose
  72. set oversea_event9,2;
  73. getitem 11705,50; //Children's Potion
  74. end;
  75. }
  76. mes "[Pandit chacha]";
  77. mes "Little adventurers, you should bring the 1 Wedding Bouquet and 1 Witherless Rose.";
  78. mes "If you bring these stuffs I will exchange them for child Potion. ";
  79. close;
  80. }
  81. mes "[Pandit chacha]";
  82. mes "Hahaha.";
  83. mes "Are you enjoying children week~? ";
  84. close;
  85. }