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