item_merge.txt 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. //===== rAthena Script =======================================
  2. //= Mergician
  3. //===== By: ==================================================
  4. //= Euphy
  5. //===== Current Version: =====================================
  6. //= 1.1
  7. //===== Compatible With: =====================================
  8. //= rAthena Project
  9. //===== Description: =========================================
  10. //= [Official Conversion]
  11. //= Merges items taking up multiple slots in a player's
  12. //= inventory.
  13. //===== Additional Comments: =================================
  14. //= 1.0 First version, currently useless/disabled.
  15. //= 1.1 Implemented the 'mergeitem' script command. [Cydh]
  16. //============================================================
  17. prontera,146,95,3 script Mergician#pron 64,{
  18. if (checkweight(1301,1) == 0) {
  19. mes "- Wait a second !! -";
  20. mes "- You are carrying too many items -";
  21. mes "- or too much weight to proceed. -";
  22. mes "- Come back after -";
  23. mes "- arranging your inventory. -";
  24. close;
  25. }
  26. mes "[Mergician]";
  27. mes "Do you believe in the miracle of Merge god?? If so, repeat my spell loudly as I pronunce it!!!";
  28. mes "Merge Merge, Merrrrge!!!";
  29. next;
  30. switch(select("What is the miracle of Merge?:Merrrrge!!!!:Abandon...")) {
  31. case 1:
  32. mes "[Mergician]";
  33. mes "There is an order which rules the world and keeps the world to go well.";
  34. next;
  35. mes "[Mergician]";
  36. mes "But there has been a bad factor which totally jeopardised this rule!!";
  37. next;
  38. mes "[Mergician]";
  39. mes "Those things which are separated even if they are composed by the same material!!";
  40. next;
  41. mes "[Mergician]";
  42. mes "Have you never experienced this bad incident??";
  43. mes "The fact that I had ^3131FFthe same potion, but appearing more than twice in your inventory!!^000000 So unpleasant!!!";
  44. next;
  45. mes "[Mergician]";
  46. mes "Believe in Mergism. That is the truth.";
  47. mes "Then I can help you be happy and content.";
  48. close;
  49. case 2:
  50. mes "[Mergician]";
  51. mes "This is the total holy ritual to pray to the Great God, Merge! and I am borrowing the power for a while!!";
  52. next;
  53. mes "[Mergician]";
  54. mes "And if you eagerly want to be blessed by Merge, be humble and shout out loud! Merge Merge, Merrrrge!!!";
  55. next;
  56. switch(select("Merrrrge!:Don't follow what he says.")) {
  57. case 1:
  58. mergeitem;
  59. mes "[Mergician]";
  60. mes "Merge just heard your wish and let it be realised!";
  61. mes "Open your inventory to check the miracle!";
  62. close;
  63. case 2:
  64. mes "[Mergician]";
  65. mes "You jerk!!! You just broke the whole rhythm! Why can't you get my flow and follow me?! Idiot!";
  66. close;
  67. }
  68. case 3:
  69. close;
  70. }
  71. }