valentinesday.txt 4.3 KB

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