item_merge.txt 2.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  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. //= 1.2 Updated and moved to Cash Mall [Lemongrass]
  17. //============================================================
  18. //prontera,146,95,3 script Mergician#pron 1_M_WIZARD,{
  19. itemmall,35,75,3 script Mergician#mall 1_M_WIZARD,{
  20. if (checkweight(1301,1) == 0) {
  21. mes "- Wait a second !! -";
  22. mes "- You are carrying too many items -";
  23. mes "- or too much weight to proceed. -";
  24. mes "- Come back after -";
  25. mes "- arranging your inventory. -";
  26. close;
  27. }
  28. mes "[Mergician]";
  29. mes "Do you believe in the miracle of Merge god?? If so, repeat my spell loudly as I pronounce it!!!";
  30. mes "Merge Merge, Merrrrge!!!";
  31. next;
  32. switch(select("Merrrrge!!!!:What is the miracle of Merge?:Abandon...")) {
  33. case 2:
  34. mes "[Mergician]";
  35. mes "There is an order which rules the world and keeps the world to go well.";
  36. next;
  37. mes "[Mergician]";
  38. mes "But there has been a bad factor which totally jeopardised this rule!!";
  39. next;
  40. mes "[Mergician]";
  41. mes "Those things which are separated even if they are composed by the same material!!";
  42. next;
  43. mes "[Mergician]";
  44. mes "Have you never experienced this bad incident??";
  45. mes "The fact that I had ^3131FFthe same potion, but appearing more than twice in your inventory!!^000000 So unpleasant!!!";
  46. next;
  47. mes "[Mergician]";
  48. mes "Believe in Mergism. That is the truth.";
  49. mes "Then I can help you be happy and content.";
  50. close;
  51. case 1:
  52. mes "[Mergician]";
  53. mes "This is the total holy ritual to pray to the Great God, Merge! and I am borrowing the power for a while!!";
  54. next;
  55. mes "[Mergician]";
  56. mes "And if you eagerly want to be blessed by Merge, be humble and shout out loud! Merge Merge, Merrrrge!!!";
  57. next;
  58. switch(select("Merrrrge!:Don't follow what he says.")) {
  59. case 1:
  60. mergeitem;
  61. mes "[Mergician]";
  62. mes "Merge just heard your wish and let it be realised!";
  63. mes "Open your inventory to check the miracle!";
  64. close;
  65. case 2:
  66. mes "[Mergician]";
  67. mes "You jerk!!! You just broke the whole rhythm! Why can't you get my flow and follow me?! Idiot!";
  68. close;
  69. }
  70. case 3:
  71. close;
  72. }
  73. }