wander_pet_food.txt 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. //===== rAthena Script =======================================
  2. //= Spirit Liquor trader.
  3. //===== By: ==================================================
  4. //= rAthena Dev Team
  5. //===== Current Version: =====================================
  6. //= 1.0
  7. //===== Compatible With: =====================================
  8. //= rAthena Project
  9. //===== Description: =========================================
  10. //= [Official Conversion]
  11. //= Trade Broken Liquor Jars and alcohol for wanderer
  12. //= pet food, 'Spirit Liquor'
  13. //===== Additional Comments: =================================
  14. //= 1.0 First version
  15. //============================================================
  16. prontera,218,218,3 script Pet Enthusiast 96,{
  17. mes "[Pet Enthusiast Jenny]";
  18. mes "Oh, Hi there!";
  19. mes "Are you a lover of animals like I am?";
  20. next;
  21. mes "[Pet Enthusiast Jenny]";
  22. mes "I know that it's really hard to keep your cute pets happy.";
  23. mes "All it takes is the right kind of food.";
  24. next;
  25. mes "[Pet Enthusiast Jenny]";
  26. mes "I know that sometimes it is really hard to get the right food for your pet.";
  27. next;
  28. mes "[Pet Enthusiast Jenny]";
  29. mes "Do you have any food that you are looking for?";
  30. next;
  31. switch(select("Yes:No")) {
  32. case 1:
  33. if ((countitem(7158) > 19) && (countitem(970) > 0)) {
  34. mes "[Pet Enthusiast Jenny]";
  35. mes "Oh, you have ^ff000020 Broken Liquor Jar^000000s and ^ff00001 Alcohol^000000!";
  36. mes "Do you want to exchange them for";
  37. mes "^ff000020 Spirit Liquor^000000 for your Wanderer pet?";
  38. next;
  39. switch(select("Yes, please!:No thank you.")) {
  40. case 1:
  41. mes "[Pet Enthusiast Jenny]";
  42. mes "Ok here you go then.";
  43. mes "I hope it keeps your";
  44. mes "cute pet happy.";
  45. delitem 7158,20; //Broken_Wine_Vessel
  46. delitem 970,1; //Alchol
  47. getitem 7824,20; //Spirit_Liquor
  48. close;
  49. case 2:
  50. mes "[Pet Enthusiast Jenny]";
  51. mes "Hehe, well just let me know if you change your mind.";
  52. close;
  53. }
  54. }
  55. else {
  56. mes "[Pet Enthusiast Jenny]";
  57. mes "Actually, right now I can help you get Spirit Liquor for Wanderer pets.";
  58. next;
  59. mes "[Pet Enthusiast Jenny]";
  60. mes "All you have to do is bring me ^FF0000 20 Broken Liquor Jars^000000 and ^FF0000 1 Alcohol^000000.";
  61. mes "I can give you ^FF0000 20 Spirit Liquor^000000 for that.";
  62. next;
  63. mes "You can get the Broken Liquor Jars from Tengu monsters in Amatsu dungeon.";
  64. close;
  65. }
  66. case 2:
  67. close;
  68. }
  69. }
  70. prontera,220,218,3 script Berry Toe 955,{
  71. specialeffect EF_CHANGEDARK;
  72. end;
  73. }