valentinesday.txt 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128
  1. //===== rAthena Script =======================================
  2. //= Valentine Event Script
  3. //===== By: ==================================================
  4. //= Muad_Dib (Prometheus Project)
  5. //===== Current Version: =====================================
  6. //= 1.1
  7. //===== Compatible With: =====================================
  8. //= rAthena SVN
  9. //===== Description: =========================================
  10. //
  11. //===== Additional Comments: =================================
  12. //= 07/06/05 : Added 1st Version. [Muad_Dib]
  13. //= 08/28/05 : Ver. 1.01 Added a missing close; [Muad_Dib]
  14. //= Converted to rAthena format by Dr.Evil
  15. //= 1.1 Cleaning. [Euphy]
  16. //============================================================
  17. // Stephen - Valentine Event Chocolate seller ------------------
  18. alberta,26,243,4 script Stephen 58,{
  19. mes "[Stephen]";
  20. mes "Guess what I've got?";
  21. mes "A tasty treat not easily found in Rune-Midgard....";
  22. next;
  23. mes "[Stephen]";
  24. mes "Chocolate!";
  25. mes "That's right, don't you love chocolate.... I do.";
  26. mes "And you are in luck, because I'm selling them for only 5,000 zeny a piece!";
  27. next;
  28. if(select("I want some chocolate!:No thanks.")==2) {
  29. mes "[Stephen]";
  30. mes "You don't want any chocolate?";
  31. mes "I'm telling you! You'll regret it!";
  32. mes "You better get some now... you won't come across Chocolate like this ever again!";
  33. mes "Think it over and visit me again sometime.";
  34. close; }
  35. mes "[Stephen]";
  36. mes "Hah!";
  37. mes "I knew it!";
  38. mes "But I can't sell you more then 5 at once... but, if you really need more....";
  39. mes "you can come back again.";
  40. mes "So how many do you want?";
  41. next;
  42. input .@i;
  43. if (.@i <= 0) close;
  44. mes "[Stephen]";
  45. if (.@i > 5) {
  46. mes "I'm sorry, but I can't give you that many.";
  47. close; }
  48. if (Zeny < .@i*5000) {
  49. mes "I'm sorry, but it seems you can't afford to buy these off me.";
  50. close; }
  51. set Zeny, Zeny - .@i*5000;
  52. getitem 558,.@i;
  53. mes "There you go!";
  54. mes "You can give that to someone as a gift, or enjoy it yourself!";
  55. mes "Mmm... sweet chocolate...";
  56. mes "Visit me anytime...!";
  57. close;
  58. }
  59. // Jainie -- Gives information about Valentine Event ------------------------
  60. alberta,29,243,4 script Jainie 53,{
  61. mes "[Jainie]";
  62. mes "You know what? The chocolate that my boyfriend sells are from me!";
  63. mes "I made them by myself.";
  64. next;
  65. mes "[Jainie]";
  66. mes "You know ... In cetain countries, there's a tradition of presenting chocolates to a person that you love...";
  67. mes "They call it, ^3355FFValentine's Day^000000.";
  68. next;
  69. mes "[Jainie]";
  70. mes "So I gave him my delicious chocolate...";
  71. mes "And then he made me cook a lot more...";
  72. mes "And now he is selling them to everyone.";
  73. mes "I guess he really enjoyed it.";
  74. mes "But, I do feel good when people buy something I have made.";
  75. next;
  76. mes "[Jainie]";
  77. mes "It would be great if you bought some too...";
  78. mes "I will be making chocolates for a while so...";
  79. close;
  80. }
  81. // Carl Orleans -- Valentine Event Chocolate maker ------------------
  82. prt_castle,54,34,4 script Carl Orleans 47,{
  83. mes "[Carl Orleans]";
  84. mes "Yes?";
  85. next;
  86. if(select("I want some hand made chocolate...:I'm lost, sorry to bother you.")==2) {
  87. mes "[Carl Orleans]";
  88. mes "Oh... well, if you want me to make some of my special Hand Made Chocolate....";
  89. mes "You will need to give me at least ^0000FF 3 Chocolates^000000.";
  90. next;
  91. mes "[Carl Orleans]";
  92. mes "That's right, only ^0000FF 3 Chocolates^000000";
  93. mes "Bring them to me and you'll get what you came for.";
  94. next;
  95. mes "[Carl Orleans]";
  96. mes "See You.";
  97. close; }
  98. mes "[Carl Orleans]";
  99. mes "Well, I just might be able to fulfill your needs...";
  100. next;
  101. mes "[Carl Orleans]";
  102. if (countitem(558) < 3) {
  103. mes "I'm sorry, you don't have enough Chocolate Bars to do this.";
  104. close; }
  105. delitem 558,3;
  106. mes "You got 3 pieces of pure chocolate, I see.";
  107. mes "Give them to me...";
  108. next;
  109. mes "[Carl Orleans]";
  110. mes "Ok, now I will only create my special hand made chocolates if you promise to use it wisely.";
  111. next;
  112. mes "[Carl Orleans]";
  113. mes "....Hmmmmmm.....";
  114. mes "Well...";
  115. next;
  116. mes "[Carl Orleans]";
  117. getitem 559,1;
  118. mes "Here.";
  119. mes "I hope you give it to someone special, because its a special chocolate.";
  120. mes "As you know... only I can create this.";
  121. next;
  122. mes "[Carl Orleans]";
  123. mes "Enjoy.";
  124. close;
  125. }