2006_dogs_year.txt 3.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798
  1. //===== eAthena Script =======================================
  2. //= Eastern New Year 2006 The Year Of The Fire Dog
  3. //===== By: ==================================================
  4. //= Lupus (1.0)
  5. //===== Current Version: =====================================
  6. //= 1.1
  7. //===== Compatible With: =====================================
  8. //= eAthena Version; 5xxx+ (with 'disguise' command)
  9. //===== Description: =========================================
  10. //= Custom event: For 28-29 January
  11. //===== Additional Comments: =================================
  12. //= 1.0 Tested, fully working.[Lupus]
  13. //= Add some national info in English if you can.
  14. //= (Mine was in Russian, and it's damn hard to translate 8)
  15. //= 1.1 Commented out monster spawn as it is a custom mob and [L0ne_W0lf]
  16. // not in the mob database.
  17. //============================================================
  18. prontera,149,167,6 script Maria 81,{
  19. mes "[Maria]";
  20. //month
  21. if((gettime(6)==1 && (gettime(5)==28 || gettime(5)==29))==0) {
  22. mes "Happy New Year Of The Fire Dog! Woof!";
  23. close;
  24. }
  25. mes "Happy New Year of The Fire Dog!";
  26. if(rand(2))mes "By the way, 'Dogs' fit the most to the ones, born in years of Horse, Tiger and Rabbit.";
  27. next;
  28. menu "Tell me about Japanese traditions",-,
  29. "Tell me about Chinese New Year",M_NGCH,
  30. "Tell me about Korean New Year",M_NGCO,
  31. "I need a doggy costume!",M_PRIZE,
  32. "Happy New Year to you.",LEnd;
  33. mes "[Maria]";
  34. mes "Japan...";
  35. mes "Put here some notes in English about their HNY.";
  36. next;
  37. mes "[Maria]";
  38. mes "Put here some notes in English about their HNY.";
  39. close;
  40. M_NGCH:
  41. mes "[Maria]";
  42. mes "China...";
  43. mes "Put here some notes in English about their HNY.";
  44. next;
  45. mes "[Maria]";
  46. mes "Put here some notes in English about their HNY.";
  47. close;
  48. M_NGCO:
  49. mes "[Maria]";
  50. mes "Korea...";
  51. mes "Put here some notes in English about their HNY.";
  52. next;
  53. mes "[Maria]";
  54. mes "Put here some notes in English about their HNY.";
  55. close;
  56. M_PRIZE:
  57. mes "[Maria]";
  58. if(countitem(12132)>9) {
  59. mes "You should use all of your old costumes first!";
  60. close;
  61. }
  62. mes "Some buddhistic books tell us legends about humans to dogs reincarnation... Buy ^FF0000this magic doggie costume^000000 for just ^0000FF999 Zeny^000000!";
  63. mes "And prove old legends yourself!";
  64. next;
  65. menu "I'll buy one.",-,"No, thank you.",LEnd;
  66. mes "[Maria]";
  67. if(Zeny<999) goto NoZ;
  68. set Zeny,Zeny-999;
  69. getitem 12132,1;
  70. mes "Here you go. Its form will show true power of your spirit.";
  71. emotion 15;
  72. close;
  73. NoZ:
  74. mes "Oh dear, you lack of zeny. I have 7 puppies to feed, you know...";
  75. emotion 17;
  76. close;
  77. LEnd:
  78. mes "[Maria]";
  79. mes "Happy New Year of the Fire Me!!! Woof-woof!";
  80. emotion rand(19,20);
  81. close;
  82. OnInit:
  83. //Magic Doggie Costum
  84. setitemscript 12132,"{ misceffect 215; if(BaseLevel>97){disguise 1022;end;}if(BaseLevel>90){disguise 1296;end;}if(BaseLevel>80){disguise 1106;end;}if(BaseLevel>50){disguise 1013;end;}if(BaseLevel>40){disguise 1135;end;}disguise 1107;}";
  85. end;
  86. }
  87. // Requires custom monster.
  88. //prontera,0,0,0,0 monster Fire Dog 1987,50,3600000,1800000,0