mage_solution.txt 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. //===== rAthena Script =======================================
  2. //= Mage Solutions
  3. //===== By: ==================================================
  4. //= kobra_k88; L0ne_W0lf
  5. //===== Current Version: =====================================
  6. //= 1.0
  7. //===== Compatible With: =====================================
  8. //= rAthena Project
  9. //===== Description: =========================================
  10. //= [Official Conversion]
  11. //= Traders for Morocc Solution and Payon Solution, used in
  12. //= the Sage skill quests and the Pre-Renewal Mage job quest.
  13. //===== Additional Comments: =================================
  14. //= 1.0 Split from Pre-Renewal Mage job quest. [Zopokx]
  15. //============================================================
  16. pay_arche,122,100,0 script Dollshoi 88,{
  17. mes "[Mage Guildsman]";
  18. mes "You want a Solution? Hmm, give me 50 Zeny and at least 1 Empty Test Tube.";
  19. next;
  20. if (select("Alright, Deal.:Nah, forget it.") == 1) {
  21. mes "[Mage Guildsman]";
  22. if (Zeny < 50) {
  23. mes "Hey! You don't have enough money to cover my 50 Zeny charge.";
  24. close;
  25. }
  26. if (countitem(1092) == 0) {
  27. mes "You can't carry solutions without a bottle! Bring me an Empty Test Tube.";
  28. close;
  29. }
  30. delitem 1092,1; //Empty_Cylinder
  31. set Zeny, Zeny-50;
  32. getitem 1089,1; //Payon_Potion
  33. }
  34. close;
  35. }
  36. moc_ruins,91,150,0 script Ponka-Hontas 93,{
  37. mes "[Mage Guildsman]";
  38. mes "Would you like a Solution? Then please give me 50 Zeny and at least 1 Empty Test Tube.";
  39. next;
  40. if (select("Alright, Deal.:Nah, forget it.") == 1) {
  41. mes "[Mage Guildsman]";
  42. if (Zeny < 50) {
  43. mes "I'm sorry, but you don't have enough money to cover the 50 Zeny fee.";
  44. close;
  45. }
  46. if (countitem(1092) == 0) {
  47. mes "You can't carry liquids without using a bottle. Bring an Empty Test Tube the next time you see me.";
  48. close;
  49. }
  50. delitem 1092,1; //Empty_Cylinder
  51. set Zeny, Zeny-50;
  52. getitem 1088,1; //Morocc_Potion
  53. }
  54. close;
  55. }