gympass.txt 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150
  1. //===== rAthena Script =======================================
  2. //= Gym Pass Cash Item NPC
  3. //===== By: ==================================================
  4. //= Kisuka
  5. //===== Current Version: =====================================
  6. //= 1.3
  7. //===== Compatible With: =====================================
  8. //= rAthena Project
  9. //===== Description: =========================================
  10. //= [Official Conversion]
  11. //= Exchange Gym Passes to learn "Enlarge Weight Limit"
  12. //= iRO NPC situated in Payon beside Kafra Shop.
  13. //===== Additional Comments: =================================
  14. //= 1.0 First version [L0ne_W0lf]
  15. //= 1.1 Fixed the NPC saying you "00" [L0ne_W0lf]
  16. //= 1.2 Replaced effect numerics with constants. [Samuray22]
  17. //= 1.3 Updated script, and fixed potential errors. [L0ne_W0lf]
  18. //============================================================
  19. payon,173,141,4 script Ripped Cabus#GymPass 899,{
  20. mes "[Ripped]";
  21. mes "Hey, there. People aren't";
  22. mes "as physically active as they";
  23. mes "used to be. Even if you fight";
  24. mes "for a living, your body might";
  25. mes "be weak and flabby in some";
  26. mes "areas. Know what I mean?";
  27. next;
  28. mes "[Ripped]";
  29. mes "Hey, train with me, and I can";
  30. mes "guarantee that you'll be able";
  31. mes "to lift and carry more of your";
  32. mes "stuff. Just gimme your";
  33. mes "^FF0000Gym Pass^000000 each time,";
  34. mes "and we'll be good to go.";
  35. next;
  36. mes "[Ripped]";
  37. mes "But don't get too excited:";
  38. mes "no matter how much training";
  39. mes "I take you through, you can";
  40. mes "overdo it. You ever hear of";
  41. mes "anyone that got too buff?";
  42. mes "That's cuz they're dead. See?";
  43. next;
  44. mes "[Ripped]";
  45. mes "I'd say that it'd be safe";
  46. mes "for you to seriously train";
  47. mes "with me and increase your";
  48. mes "item carrying capacity ^FF000010 times^000000.";
  49. mes "So... Are you ready to sweat?";
  50. next;
  51. switch(select("Yes:No:Um, my workouts wore off.")) {
  52. case 1:
  53. if (gympassmemory < 10) {
  54. set .@add_carry,gympassmemory + 1;
  55. set .@remain_carry,10 - .@add_carry;
  56. if (countitem(7776) > 0) {
  57. mes "[Ripped]";
  58. mes "Oh, awesome, I see you";
  59. mes "brought your Gym Pass.";
  60. mes "Alright, just do what I do,";
  61. mes "and try to feel the burn.";
  62. mes "Ready? Let's do this.";
  63. next;
  64. specialeffect2 EF_EARTHSPIKE;
  65. next;
  66. specialeffect2 EF_DEVIL;
  67. next;
  68. specialeffect2 EF_COIN;
  69. next;
  70. specialeffect2 EF_SIGHTRASHER;
  71. next;
  72. mes "[Ripped]";
  73. mes "There, you should be able";
  74. mes "to carry more stuff with you.";
  75. mes "Let's see, we can increase";
  76. mes "your item carrying capacity";
  77. mes "^FF00000" + .@remain_carry + "^000000 more times if we continue";
  78. mes "training together like this.";
  79. delitem 7776,1; //Max_Weight_Up_Scroll
  80. set gympassmemory,.@add_carry;
  81. skill "ALL_INCCARRY",.@add_carry,SKILL_PERM_GRANT;
  82. close;
  83. }
  84. else {
  85. mes "[Ripped]";
  86. mes "Dude, what'd I tell you?";
  87. mes "You gotta bring me your";
  88. mes "^FF0000Gym Pass^000000 if you wanna";
  89. mes "work out, and build up your";
  90. mes "item carrying muscles.";
  91. close;
  92. }
  93. }
  94. else {
  95. mes "[Ripped]";
  96. mes "Dude, I don't think we can";
  97. mes "build up your item carrying";
  98. mes "muscles anymore than that.";
  99. mes "It's too dangerous for your";
  100. mes "body if we even tried! C'mon,";
  101. mes "I told you about the limits.";
  102. close;
  103. }
  104. case 2:
  105. mes "[Ripped]";
  106. mes "Aw, that's too bad.";
  107. mes "Well, come back if you";
  108. mes "change your mind. Tell";
  109. mes "your friends about me:";
  110. mes "if they're flabby, I'll help";
  111. mes "get them in shape.";
  112. close;
  113. case 3:
  114. if (gympassmemory > 0) {
  115. mes "[Ripped]";
  116. mes "What happened?";
  117. mes "You let your item carrying";
  118. mes "muscles just atrophy? Lucky";
  119. mes "for you, there's such a thing";
  120. mes "as muscle memory. It's won't take";
  121. mes "as long to build 'em back up...";
  122. next;
  123. specialeffect2 EF_EARTHSPIKE;
  124. next;
  125. specialeffect2 EF_DEVIL;
  126. next;
  127. specialeffect2 EF_COIN;
  128. next;
  129. specialeffect2 EF_SIGHTRASHER;
  130. next;
  131. mes "[Ripped]";
  132. mes "How about that?";
  133. mes "Your item carrying";
  134. mes "muscles grew back,";
  135. mes "just like that! Try not to";
  136. mes "wimp out again, okay?";
  137. skill "ALL_INCCARRY",gympassmemory,SKILL_PERM_GRANT;
  138. close;
  139. }
  140. else {
  141. mes "[Ripped]";
  142. mes "Uhh...";
  143. mes "We didn't work out";
  144. mes "together before.";
  145. mes "I'm sure about that.";
  146. close;
  147. }
  148. }
  149. }