[1] | 1 | //===== eAthena Script ======================================= |
---|
| 2 | //= Alberta Town |
---|
| 3 | //===== By: ================================================== |
---|
| 4 | //= DZeroX |
---|
| 5 | //===== Current Version: ===================================== |
---|
| 6 | //= 1.4 |
---|
| 7 | //===== Compatible With: ===================================== |
---|
| 8 | //= eAthena 1.0 |
---|
| 9 | //===== Description: ========================================= |
---|
| 10 | //= Town-specific Alberta NPCs |
---|
| 11 | //===== Additional Comments: ================================= |
---|
| 12 | //= 1.0 Converted from Aegis 10.4 [DZeroX] |
---|
| 13 | //= 1.1 Optimized, missing next, REMOVED .GATs! again [Lupus] |
---|
| 14 | //= 1.2 Implemented progression fixes provided by $ephiroth. [L0ne_W0lf] |
---|
| 15 | //= 1.2b More pregression clean up provided by Barron-Monster. [L0ne_W0lf] |
---|
| 16 | //= 1.3 Removed npc "Tourist#al" as it's a quest NPC. [L0ne_W0lf] |
---|
| 17 | //= 1.4 Removed "Fastidious Old Man" duplicate. [L0ne_W0lf] |
---|
| 18 | //============================================================ |
---|
| 19 | |
---|
| 20 | alberta,97,51,0 script Fabian 84,{ |
---|
| 21 | mes "[Fabian]"; |
---|
| 22 | mes "Man... When you travel all around"; |
---|
| 23 | mes "the world, you'll hear of some"; |
---|
| 24 | mes "crazy things."; |
---|
| 25 | next; |
---|
| 26 | mes "[Fabian]"; |
---|
| 27 | mes "Once, I heard that there are Cards"; |
---|
| 28 | mes "which contain the power of"; |
---|
| 29 | mes "monsters. If someone happens to get"; |
---|
| 30 | mes "their hands on a card, they'll be"; |
---|
| 31 | mes "able to use that monster's power."; |
---|
| 32 | next; |
---|
| 33 | mes "[Fabian]"; |
---|
| 34 | mes "I'm guessing it's some sort of fad"; |
---|
| 35 | mes "or scam, where they make you"; |
---|
| 36 | mes "collect all the cards or whatever."; |
---|
| 37 | mes "I mean, how can a card really hold"; |
---|
| 38 | mes "the power of a monster?!"; |
---|
| 39 | next; |
---|
| 40 | mes "[Fabian]"; |
---|
| 41 | mes "Seriously..."; |
---|
| 42 | close; |
---|
| 43 | } |
---|
| 44 | |
---|
| 45 | alberta,53,39,0 script Steiner 100,{ |
---|
| 46 | mes "[Steiner]"; |
---|
| 47 | mes "Oh...!"; |
---|
| 48 | mes "Welcome to Alberta,"; |
---|
| 49 | mes "young adventurer!"; |
---|
| 50 | next; |
---|
| 51 | mes "[Steiner]"; |
---|
| 52 | mes "Pardon me if I seem distracted."; |
---|
| 53 | mes "I'm milling about, trying to"; |
---|
| 54 | mes "make a plan."; |
---|
| 55 | mes" You see, I hear that there is"; |
---|
| 56 | mes "a store in Geffen that sells"; |
---|
| 57 | mes "armour that is resistant to magic."; |
---|
| 58 | next; |
---|
| 59 | mes "[Steiner]"; |
---|
| 60 | mes "If I buy a lot of them in bulk,"; |
---|
| 61 | mes "and then resell them here for a"; |
---|
| 62 | mes "higher price..."; |
---|
| 63 | close; |
---|
| 64 | } |
---|
| 65 | |
---|
| 66 | alberta,20,183,0 script Chad 49,{ |
---|
| 67 | mes "[Chad]"; |
---|
| 68 | mes "People say the legendary weapon"; |
---|
| 69 | mes "Gungnir never misses its target. I"; |
---|
| 70 | mes "wonder if it's possibly true..."; |
---|
| 71 | next; |
---|
| 72 | mes "[Chad]"; |
---|
| 73 | mes "People also say that babies are"; |
---|
| 74 | mes "assembled by the storks before"; |
---|
| 75 | mes "delivery, girls dig guys who act"; |
---|
| 76 | mes "like jerks, and that Santa Claus"; |
---|
| 77 | mes "exists! But only in Lutie."; |
---|
| 78 | next; |
---|
| 79 | mes "[Chad]"; |
---|
| 80 | mes "I wonder..."; |
---|
| 81 | mes "If any of that"; |
---|
| 82 | mes "is possibly"; |
---|
| 83 | mes "true..."; |
---|
| 84 | close; |
---|
| 85 | } |
---|
| 86 | |
---|
| 87 | alberta,189,151,5 script Fisk 100,{ |
---|
| 88 | mes "[Fisk]"; |
---|
| 89 | mes "Ahoy mate,"; |
---|
| 90 | mes "where'd ya"; |
---|
| 91 | mes "wanna go?"; |
---|
| 92 | next; |
---|
| 93 | switch(select("Sunken Ship -> 250 zeny.","Izlude Marina -> 500 zeny.","Never mind.")) { |
---|
| 94 | case 1: |
---|
| 95 | if (Zeny < 250) { |
---|
| 96 | mes "[Fisk]"; |
---|
| 97 | mes "Hey now, don't try to cheat me!"; |
---|
| 98 | mes "I said 250 zeny!"; |
---|
| 99 | close; |
---|
| 100 | } |
---|
| 101 | set Zeny,Zeny - 250; |
---|
| 102 | warp "alb2trea",43,53; |
---|
| 103 | end; |
---|
| 104 | case 2: |
---|
| 105 | if (Zeny < 500) { |
---|
| 106 | mes "[Fisk]"; |
---|
| 107 | mes "Ain't no way yer getting there"; |
---|
| 108 | mes "without the 500 zeny first!"; |
---|
| 109 | close; |
---|
| 110 | } |
---|
| 111 | set Zeny,Zeny - 500; |
---|
| 112 | warp "izlude",176,182; |
---|
| 113 | end; |
---|
| 114 | case 3: |
---|
| 115 | mes "[Fisk]"; |
---|
| 116 | mes "Alright..."; |
---|
| 117 | mes "Landlubber."; |
---|
| 118 | close; |
---|
| 119 | } |
---|
| 120 | } |
---|
| 121 | |
---|
| 122 | alb2trea,39,50,6 script Fisk#a2t 100,{ |
---|
| 123 | mes "[Fisk]"; |
---|
| 124 | mes "So you wanna head back to the"; |
---|
| 125 | mes "mainland in Alberta, eh?"; |
---|
| 126 | next; |
---|
| 127 | if(select("Yes please.","I changed my mind.")==1) |
---|
| 128 | warp "alberta",192,169; |
---|
| 129 | close; |
---|
| 130 | } |
---|
| 131 | |
---|
| 132 | alberta,131,139,2 script Drunken Old Man 54,{ |
---|
| 133 | mes "[Deagle]"; |
---|
| 134 | mes "*^CCCCCCHiccup^000000*"; |
---|
| 135 | mes "Wh-what are you"; |
---|
| 136 | mes "staring at? Get lost!!"; |
---|
| 137 | next; |
---|
| 138 | switch(select("Say nothing.","Leave him alone.")) { |
---|
| 139 | case 1: |
---|
| 140 | mes "[Deagle]"; |
---|
| 141 | mes "Hahahahaha *^CCCCCChiccup^000000*... You've got"; |
---|
| 142 | mes "some nerve. I may look worthless"; |
---|
| 143 | mes "now, but I used to be a sailor on"; |
---|
| 144 | mes "the 'Going Mary.'"; |
---|
| 145 | next; |
---|
| 146 | switch(select("Never heard of it.","Really? No kidding!")) { |
---|
| 147 | case 1: |
---|
| 148 | mes "[Deagle]"; |
---|
| 149 | mes "Never heard of it?! Everybody knows"; |
---|
| 150 | mes "th'notorious pirate ship 'Going"; |
---|
| 151 | mes "Mary!' *^CCCCCCHiccup~^000000*"; |
---|
| 152 | next; |
---|
| 153 | mes "[Deagle]"; |
---|
| 154 | mes "Ah~ The ol'days. If only... if only"; |
---|
| 155 | mes "we hadn't run into that"; |
---|
| 156 | mes "STORM... *^CCCCCChiccup^000000*"; |
---|
| 157 | next; |
---|
| 158 | mes "[Deagle]"; |
---|
| 159 | mes "AH~ Captain. I miss our cap'n more"; |
---|
| 160 | mes "than anything... No foe survived"; |
---|
| 161 | mes "before cap'n's sword."; |
---|
| 162 | close; |
---|
| 163 | case 2: |
---|
| 164 | mes "[Deagle]"; |
---|
| 165 | mes "That's right! NOBODY meshes with"; |
---|
| 166 | mes "the crew of the 'Going Mary!' And"; |
---|
| 167 | mes "nobody can beat our cap'n in a"; |
---|
| 168 | mes "sword fight!"; |
---|
| 169 | next; |
---|
| 170 | mes "[Deagle]"; |
---|
| 171 | mes "CAPTAIN~!!! *^CCCCCCHICCUP~^000000* He would"; |
---|
| 172 | mes "swing his sword like this, then"; |
---|
| 173 | mes "THEN!!"; |
---|
| 174 | next; |
---|
| 175 | mes "[Deagle]"; |
---|
| 176 | mes "The bastard the captain was"; |
---|
| 177 | mes "fighting, and anyone of his friends"; |
---|
| 178 | mes "near him, were surrounded in"; |
---|
| 179 | mes "flame!"; |
---|
| 180 | next; |
---|
| 181 | mes "[Deagle]"; |
---|
| 182 | mes "Man, that sword must have had some"; |
---|
| 183 | mes "sort of mysterious power, or the"; |
---|
| 184 | mes "captain was just that good...!"; |
---|
| 185 | next; |
---|
| 186 | mes "[Deagle]"; |
---|
| 187 | mes "Phew~~ *^CCCCCCSob^000000* *^CCCCCCSob...^000000* God, I miss"; |
---|
| 188 | mes "everyone! Now I'm depressed!"; |
---|
| 189 | mes "Please, go away now."; |
---|
| 190 | close; |
---|
| 191 | } |
---|
| 192 | case 2: |
---|
| 193 | mes "[Deagle]"; |
---|
| 194 | mes "That's right!"; |
---|
| 195 | mes "Go AWAY~"; |
---|
| 196 | close; |
---|
| 197 | } |
---|
| 198 | } |
---|
| 199 | |
---|
| 200 | alberta,58,80,2 script Shakir 99,{ |
---|
| 201 | mes "[Shakir]"; |
---|
| 202 | if (rand(2)) { |
---|
| 203 | mes "We Merchants have our own"; |
---|
| 204 | mes "negotiating skill when we sell"; |
---|
| 205 | mes "goods. This skill can get us more"; |
---|
| 206 | mes "money than when other people sell"; |
---|
| 207 | mes "goods."; |
---|
| 208 | next; |
---|
| 209 | mes "[Shakir]"; |
---|
| 210 | mes "It's more than just yelling 'You'll"; |
---|
| 211 | mes "have to give more money please!'"; |
---|
| 212 | mes "You need to have charisma, and"; |
---|
| 213 | mes "master rhetoric!"; |
---|
| 214 | next; |
---|
| 215 | mes "[Shakir]"; |
---|
| 216 | mes "We can get up to 24% more zeny"; |
---|
| 217 | mes "with this incredible skill. But"; |
---|
| 218 | mes "remember to train hard to acquire"; |
---|
| 219 | mes "it!"; |
---|
| 220 | } else { |
---|
| 221 | mes "We Merchants can"; |
---|
| 222 | mes "open roadside stands"; |
---|
| 223 | mes "to do business."; |
---|
| 224 | next; |
---|
| 225 | mes "[Shakir]"; |
---|
| 226 | mes "With the Discount skill, we can buy"; |
---|
| 227 | mes "goods really cheap from the stores"; |
---|
| 228 | mes "in towns and load them into the"; |
---|
| 229 | mes "cart we rent."; |
---|
| 230 | next; |
---|
| 231 | mes "[Shakir]"; |
---|
| 232 | mes "Then afterwards, we can travel"; |
---|
| 233 | mes "anywhere, and sell our goods to"; |
---|
| 234 | mes "make a profit!"; |
---|
| 235 | next; |
---|
| 236 | mes "[Shakir]"; |
---|
| 237 | mes "This way, business is more"; |
---|
| 238 | mes "convenient and safe. Don't fall"; |
---|
| 239 | mes "asleep, although it's too easy to"; |
---|
| 240 | mes "do that."; |
---|
| 241 | } |
---|
| 242 | close; |
---|
| 243 | } |
---|
| 244 | |
---|
| 245 | alberta,62,156,2 script Sonya 102,{ |
---|
| 246 | mes "[Sonya]"; |
---|
| 247 | switch(rand(3)){ |
---|
| 248 | case 0: |
---|
| 249 | mes "You know those lazy looking bears"; |
---|
| 250 | mes "that live in the forest on the way"; |
---|
| 251 | mes "to Payon?"; |
---|
| 252 | next; |
---|
| 253 | mes "[Sonya]"; |
---|
| 254 | mes "Just for fun, I threw a rock at it"; |
---|
| 255 | mes "and all of a sudden it rushed at me!"; |
---|
| 256 | mes "I was soooooo scared, I started to"; |
---|
| 257 | mes "run away, then BAM!!!"; |
---|
| 258 | next; |
---|
| 259 | mes "[Sonya]"; |
---|
| 260 | mes "It ran into a low tree branch and"; |
---|
| 261 | mes "knocked itself out! I swear, I'll"; |
---|
| 262 | mes "never provoke an animal for fun"; |
---|
| 263 | mes "again!"; |
---|
| 264 | close; |
---|
| 265 | case 1: |
---|
| 266 | mes "Hey, you know, this one time I was"; |
---|
| 267 | mes "walking through the forest and I"; |
---|
| 268 | mes "saw this little green stem moving"; |
---|
| 269 | mes "around."; |
---|
| 270 | next; |
---|
| 271 | mes "[Sonya]"; |
---|
| 272 | mes "I went to see what it was and when"; |
---|
| 273 | mes "I went to touch it, the stem"; |
---|
| 274 | mes "actually slapped my hand!"; |
---|
| 275 | next; |
---|
| 276 | mes "[Sonya]"; |
---|
| 277 | mes "It startled me, so I jumped back a"; |
---|
| 278 | mes "bit and then I realised it wasn't a"; |
---|
| 279 | mes "stem, but a very small animal."; |
---|
| 280 | next; |
---|
| 281 | mes "[Sonya]"; |
---|
| 282 | mes "I was lucky I didn't upset it. Even"; |
---|
| 283 | mes "the smallest animal can be"; |
---|
| 284 | mes "dangerous if angered."; |
---|
| 285 | close; |
---|
| 286 | case 2: |
---|
| 287 | mes "I once saw a pack of wolves take on"; |
---|
| 288 | mes "one of those huge, lazy bears!"; |
---|
| 289 | next; |
---|
| 290 | mes "[Sonya]"; |
---|
| 291 | mes "Wolves are much more cooperative"; |
---|
| 292 | mes "than they may seem. If one of them"; |
---|
| 293 | mes "is attacked, then any nearby wolves"; |
---|
| 294 | mes "will run to help."; |
---|
| 295 | next; |
---|
| 296 | mes "[Sonya]"; |
---|
| 297 | mes "I'd think twice if you ever want to"; |
---|
| 298 | mes "fight one when others of its kind"; |
---|
| 299 | mes "are around. Be careful: don't get"; |
---|
| 300 | mes "ganged up on!"; |
---|
| 301 | close; |
---|
| 302 | } |
---|
| 303 | } |
---|
| 304 | |
---|
| 305 | alberta,93,174,2 script Grandmother Alma 103,{ |
---|
| 306 | mes "[Grandmother Alma]"; |
---|
| 307 | mes "Some time ago,"; |
---|
| 308 | mes "a derelict ship"; |
---|
| 309 | mes "drifted into"; |
---|
| 310 | mes "Alberta harbour."; |
---|
| 311 | next; |
---|
| 312 | mes "[Grandmother Alma]"; |
---|
| 313 | mes "Hoping to save any survivors, some"; |
---|
| 314 | mes "of the townspeople ventured into"; |
---|
| 315 | mes "the ship. However, they all ran out"; |
---|
| 316 | mes "terrified, saying that corpses were"; |
---|
| 317 | mes "walking around inside the ship."; |
---|
| 318 | next; |
---|
| 319 | mes "[Grandmother Alma]"; |
---|
| 320 | mes "The ship was also packed with"; |
---|
| 321 | mes "dangerous marine organisms, and"; |
---|
| 322 | mes "they couldn't get inside, even if"; |
---|
| 323 | mes "they wanted to."; |
---|
| 324 | next; |
---|
| 325 | mes "[Grandmother Alma]"; |
---|
| 326 | mes "We couldn't do anything about that"; |
---|
| 327 | mes "ominous looking ship, and just left"; |
---|
| 328 | mes "it as it was. Nowadays, exploration"; |
---|
| 329 | mes "teams try to enter that ship and"; |
---|
| 330 | mes "wipe out its monsters."; |
---|
| 331 | next; |
---|
| 332 | mes "[Grandmother Alma]"; |
---|
| 333 | mes "So it might be a good experience"; |
---|
| 334 | mes "for a young person like yourself to"; |
---|
| 335 | mes "be a recruit. But, it's still not"; |
---|
| 336 | mes "worth risking your life if you're"; |
---|
| 337 | mes "not strong enough."; |
---|
| 338 | close; |
---|
| 339 | } |
---|
| 340 | |
---|
| 341 | alberta,195,151,2 script Paul 86,{ |
---|
| 342 | mes "[Paul]"; |
---|
| 343 | mes "Good day~"; |
---|
| 344 | mes "Would you like"; |
---|
| 345 | mes "to join the"; |
---|
| 346 | mes "exploration team"; |
---|
| 347 | mes "of the Sunken Ship?"; |
---|
| 348 | next; |
---|
| 349 | mes "[Paul]"; |
---|
| 350 | mes "Oh! Before you join, I must warn"; |
---|
| 351 | mes "you. If you're not that strong, you"; |
---|
| 352 | mes "may not want to go."; |
---|
| 353 | next; |
---|
| 354 | mes "[Paul]"; |
---|
| 355 | mes "So, want"; |
---|
| 356 | mes "to sign up?"; |
---|
| 357 | mes "The admission"; |
---|
| 358 | mes "fee is only"; |
---|
| 359 | mes "200 Zeny."; |
---|
| 360 | next; |
---|
| 361 | switch(select("Sign me up!","Uh, no thanks.")) { |
---|
| 362 | case 1: |
---|
| 363 | if (Zeny < 200) { |
---|
| 364 | mes "[Paul]"; |
---|
| 365 | mes "It seems you don't have the money,"; |
---|
| 366 | mes "my friend. But please come back"; |
---|
| 367 | mes "when you're able to pay."; |
---|
| 368 | close; |
---|
| 369 | } else { |
---|
| 370 | set Zeny,Zeny - 200; |
---|
| 371 | warp "alb2trea",62,69; |
---|
| 372 | close; |
---|
| 373 | } |
---|
| 374 | case 2: |
---|
| 375 | mes "[Paul]"; |
---|
| 376 | mes "Alright, well..."; |
---|
| 377 | mes "I'll be around"; |
---|
| 378 | mes "if you change"; |
---|
| 379 | mes "your mind."; |
---|
| 380 | close; |
---|
| 381 | } |
---|
| 382 | } |
---|
| 383 | |
---|
| 384 | alberta,190,173,4 script Phelix 85,{ |
---|
| 385 | set .@weight,MaxWeight-Weight; |
---|
| 386 | mes "[Phelix]"; |
---|
| 387 | if ((.@weight) < 10000) { |
---|
| 388 | mes "Wait a moment!!"; |
---|
| 389 | mes "You have brought too many things!"; |
---|
| 390 | mes "You cannot accept any more items!"; |
---|
| 391 | mes "Please reduce the amount of items,"; |
---|
| 392 | mes "then come see me again."; |
---|
| 393 | close; |
---|
| 394 | } |
---|
| 395 | if (@event_zelopy == 0) { |
---|
| 396 | mes "The hell are you doing here?"; |
---|
| 397 | mes "There is nothing you can get for"; |
---|
| 398 | mes "free on this ship, if you want"; |
---|
| 399 | mes "somethin', work for it!!"; |
---|
| 400 | next; |
---|
| 401 | mes "[Phelix]"; |
---|
| 402 | mes "Hmm, so why don't you bring me"; |
---|
| 403 | mes "10 jellopies and I will give 1"; |
---|
| 404 | mes "potion. How's that sound?"; |
---|
| 405 | mes "Or if that's too hard for your"; |
---|
| 406 | mes "pansy ass, 3 jellopies for 1"; |
---|
| 407 | mes "Carrot."; |
---|
| 408 | next; |
---|
| 409 | mes "[Phelix]"; |
---|
| 410 | mes "If you're interested in my offer,"; |
---|
| 411 | mes "get me the stuff I mentioned."; |
---|
| 412 | set @event_zelopy,1; |
---|
| 413 | close; |
---|
| 414 | } else { |
---|
| 415 | mes "Hmm... you want to exchange"; |
---|
| 416 | mes "jellopies for Red Potions or some"; |
---|
| 417 | mes "Carrots eh? Well... which one?"; |
---|
| 418 | next; |
---|
| 419 | switch(select("Red Potions please.","Carrots please.")) { |
---|
| 420 | case 1: |
---|
| 421 | mes "[Phelix]"; |
---|
| 422 | mes "Alright..."; |
---|
| 423 | mes "Let's see"; |
---|
| 424 | mes "what'cha got..."; |
---|
| 425 | next; |
---|
| 426 | mes "[Phelix]"; |
---|
| 427 | if (countitem(909) < 10) { |
---|
| 428 | mes "Hey! Weren't you listening? I said"; |
---|
| 429 | mes "10 jellopies for 1 Red Potion.. are"; |
---|
| 430 | mes "ya deaf?"; |
---|
| 431 | close; |
---|
| 432 | } else { |
---|
| 433 | set .@max,countitem(909)/10; |
---|
| 434 | mes "Hmm, not bad..."; |
---|
| 435 | mes "How many potions"; |
---|
| 436 | mes "do you want to get?"; |
---|
| 437 | next; |
---|
| 438 | switch(select("As many as I can, please.","I want this many.","Never mind, I like my jellopy.")) { |
---|
| 439 | case 1: |
---|
| 440 | delitem 909,.@max*10; |
---|
| 441 | getitem 501,.@max; |
---|
| 442 | mes "[Phelix]"; |
---|
| 443 | mes "There you go! As I promised. Don't"; |
---|
| 444 | mes "go suckin' them all down at once."; |
---|
| 445 | close; |
---|
| 446 | case 2: |
---|
| 447 | mes "[Phelix]"; |
---|
| 448 | mes "I'm not giving you more than 100"; |
---|
| 449 | mes "at a time so don't bother, OK? If"; |
---|
| 450 | mes "you don't want any, just say '0'."; |
---|
| 451 | mes "Right now, the most you can get is"; |
---|
| 452 | mes ""+.@max+" but remember, 100 at most,"; |
---|
| 453 | mes "you want to break my back?"; |
---|
| 454 | input .@amount; |
---|
| 455 | next; |
---|
| 456 | mes "[Phelix]"; |
---|
| 457 | if (.@amount <= 0) { |
---|
| 458 | mes "Much obliged, come again anytime."; |
---|
| 459 | close; |
---|
| 460 | } |
---|
| 461 | if (.@amount > 100) { |
---|
| 462 | mes "Hey, what'd I say? 100 at a time at"; |
---|
| 463 | mes "most, you're trying to kill me"; |
---|
| 464 | mes "aren't you!"; |
---|
| 465 | close; |
---|
| 466 | } |
---|
| 467 | if (countitem(909) < .@amount*10) { |
---|
| 468 | mes "Hmmm, it looks like you don't have"; |
---|
| 469 | mes "enough. Go get more jellopies if"; |
---|
| 470 | mes "you want anything else from me."; |
---|
| 471 | close; |
---|
| 472 | } |
---|
| 473 | delitem 909,.@amount*10; |
---|
| 474 | getitem 501,.@amount; |
---|
| 475 | mes "[Phelix]"; |
---|
| 476 | mes "There you go! As I promised. Don't"; |
---|
| 477 | mes "go suckin' them all down at once."; |
---|
| 478 | close; |
---|
| 479 | case 3: |
---|
| 480 | mes "[Phelix]"; |
---|
| 481 | mes "No problem,"; |
---|
| 482 | mes "see you next time."; |
---|
| 483 | close; |
---|
| 484 | } |
---|
| 485 | } |
---|
| 486 | case 2: |
---|
| 487 | mes "[Phelix]"; |
---|
| 488 | mes "Alright, let's see what ya got..."; |
---|
| 489 | next; |
---|
| 490 | mes "[Phelix]"; |
---|
| 491 | if (countitem(909) < 3) { |
---|
| 492 | mes "Hmm, look pansy ass, I said 3"; |
---|
| 493 | mes "jellopies for 1 Carrot.. got it?"; |
---|
| 494 | close; |
---|
| 495 | } else { |
---|
| 496 | set .@max,countitem(909)/3; |
---|
| 497 | mes "Not too bad pansy..."; |
---|
| 498 | mes "How many do you want?"; |
---|
| 499 | next; |
---|
| 500 | switch(select("As many as I can get, please","I want this many.","Never mind, I like my jellopy.")) { |
---|
| 501 | case 1: |
---|
| 502 | delitem 909,.@max*3; |
---|
| 503 | getitem 515,.@max; |
---|
| 504 | mes "[Phelix]"; |
---|
| 505 | mes "There you go~! As I promised. Try"; |
---|
| 506 | mes "not to stuff yer face."; |
---|
| 507 | close; |
---|
| 508 | case 2: |
---|
| 509 | mes "[Phelix]"; |
---|
| 510 | mes "Right I'm not giving you more than"; |
---|
| 511 | mes "100 at a time so don't bother,"; |
---|
| 512 | mes "okay? If you don't want any, just"; |
---|
| 513 | mes "say '0'."; |
---|
| 514 | input .@amount; |
---|
| 515 | next; |
---|
| 516 | mes "[Phelix]"; |
---|
| 517 | if (.@amount == 0) { |
---|
| 518 | mes "Alright then, see you next time."; |
---|
| 519 | close; |
---|
| 520 | } |
---|
| 521 | if (.@amount > 100) { |
---|
| 522 | mes "Hey pansy ass, I said 100 at most,"; |
---|
| 523 | mes "no more than that! I'm not going to"; |
---|
| 524 | mes "break my back for the likes of you!"; |
---|
| 525 | close; |
---|
| 526 | } |
---|
| 527 | if (countitem(909) < .@amount*10) { |
---|
| 528 | mes "Seems you don't have enough. Go get"; |
---|
| 529 | mes "some more if you want anything"; |
---|
| 530 | mes "else."; |
---|
| 531 | close; |
---|
| 532 | } |
---|
| 533 | delitem 909,.@amount*3; |
---|
| 534 | getitem 515,.@amount; |
---|
| 535 | mes "[Phelix]"; |
---|
| 536 | mes "There you go~! As I promised. Try"; |
---|
| 537 | mes "not to stuff yer face."; |
---|
| 538 | close; |
---|
| 539 | case 3: |
---|
| 540 | mes "[Phelix]"; |
---|
| 541 | mes "Catch'ya later."; |
---|
| 542 | close; |
---|
| 543 | } |
---|
| 544 | } |
---|
| 545 | } |
---|
| 546 | } |
---|
| 547 | } |
---|
| 548 | |
---|
| 549 | alberta,43,49,5 script Poor-looking Merchant 89,{ |
---|
| 550 | mes "[Machen]"; |
---|
| 551 | mes "Why...?"; |
---|
| 552 | mes "How did my"; |
---|
| 553 | mes "family's wealth"; |
---|
| 554 | mes "and prestige just"; |
---|
| 555 | mes "go down the drain?"; |
---|
| 556 | next; |
---|
| 557 | mes "[Machen]"; |
---|
| 558 | mes "Ever since the"; |
---|
| 559 | mes "Alcheshs came to Alberta,"; |
---|
| 560 | mes "they quickly took our place"; |
---|
| 561 | mes "as the biggest business owners"; |
---|
| 562 | mes "here. It's our biggest shame..."; |
---|
| 563 | close; |
---|
| 564 | } |
---|