old_blacksmith.txt 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
  1. //===== eAthena Script =======================================
  2. //= Angel & Devil Ears Quests
  3. //===== By: ==================================================
  4. //= Halca (1.0)
  5. //= Mass Zero (1.1)
  6. //===== Current Version: =====================================
  7. //= 1.3
  8. //===== Compatible With: =====================================
  9. //= Any eAthena Version.
  10. //===== Description: =========================================
  11. //= Seperate Ears Of Angel & Ears Of Demon quests.
  12. //===== Additional Comments: =================================
  13. //= 1.2 Fixed wrong labels, added missing text, wrong ID! [Lupus]
  14. //= 1.3 Fixed possible exploit [Lupus]
  15. //============================================================
  16. yuno.gat,246,51,4 script Old Blacksmith 813,{
  17. mes "[Old Blacksmith]";
  18. mes "Well then my good man!";
  19. mes "What can I do for you?";
  20. next;
  21. menu "Give me the Ears of Devil!",M_EOD,"Give me the Ears of Angel!",M_EOA,"Nothing, thanks",M_EXIT;
  22. M_EOD:
  23. mes "[Old Blacksmith]";
  24. mes "Well, this item sure makes you look like a evil bastard.";
  25. mes "It makes me crap in my pants when I see these.";
  26. next;
  27. menu "Dont care, make me the Item!",-,"What are the requirements?",M_EODREQ,"Nothing",M_EXIT;
  28. if ((countitem(2255) < 1) || (countitem(2286) < 1) || (Zeny < 20000)) GOTO L_NOITEM_EOD;//Items: Evil Wing, Elven Ears,
  29. mes "[Old Blacksmith]";
  30. mes "Wow, never thought a little fella like you could get tha.t";
  31. mes "Bwahaha, ok.";
  32. delitem 2255,1;//Items: Evil Wing,
  33. delitem 2286,1;//Items: Elven Ears,
  34. set Zeny,Zeny-20000;
  35. next;
  36. getitem 5068,1;//Items: Ears Of Demon,
  37. mes "[Old Blacksmith]";
  38. mes "Well, enjoy your item!";
  39. close;
  40. L_NOITEM_EOD:
  41. mes "[Old Blacksmith]";
  42. mes "Well sorry, but you dont have enough items!";
  43. next;
  44. M_EODREQ:
  45. mes "[Old Blacksmith]";
  46. mes "Well, let's see...";
  47. mes "I need something for the evil, that be an Evil Wing,";
  48. mes "I also need the ears for the base of it, Elven Ears would be OK,";
  49. mes "Last of all, I need 20,000 Zeny for me troubles.";
  50. next;
  51. mes "[Old Blacksmith]";
  52. mes "Hey, I have to make a living!";
  53. close;
  54. M_EOA:
  55. mes "[Old Blacksmith]";
  56. mes "Well, this item sure makes you look like a holy bastard.";
  57. next;
  58. menu "Dont care, make me the Item!",-,"What are the requirements?",M_EOAREQ,"Nothing",M_EXIT;
  59. if ((countitem(2286) < 1) || (countitem(2254) < 1) || (Zeny < 20000)) GOTO L_NOITEM_EOA;//Items: Elven Ears, Angel Wing,
  60. mes "[Old Blacksmith]";
  61. mes "Well well well! Someone who has the spirit!";
  62. mes "Okay, gimme the items.";
  63. delitem 2286,1;//Items: Elven Ears,
  64. delitem 2254,1;//Items: Angel Wing,
  65. set Zeny,Zeny-20000;
  66. next;
  67. mes "[Old Blacksmith]";
  68. mes "Okay, and here you go.";
  69. next;
  70. getitem 5074,1;//Items: Ears of Angel,
  71. mes "[Old Blacksmith]";
  72. mes "Enjoy it!";
  73. close;
  74. L_NOITEM_EOA:
  75. mes "[Old Blacksmith]";
  76. mes "Well sorry, but you dont have enough items!";
  77. next;
  78. M_EOAREQ:
  79. mes "[Old Blacksmith]";
  80. mes "Well, this item is very holy, so I will need:";
  81. mes "1 Angel Wing (Angel Headband),";
  82. mes "1 Elven Ears for the ears,";
  83. mes "and 20,000z for the labour costs!";
  84. close;
  85. M_EXIT:
  86. mes "[Old Blacksmith]";
  87. mes "Fair yee well!";
  88. close;
  89. }