viewing paste quests_brasilis.txt | Athena

Posted on the
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495
//===== eAthena Script =======================================
//= Brasilis Quests Script
//===== By: ==================================================
//= Chilly
//===== Current Version: =====================================
//= 1.0
//===== Compatible With: =====================================
//= Any Athena Version
//===== Description: =========================================
//= Official quests for Brasilis
//===== Additional Comments: =================================
//= 1.0 First Release
//============================================================
 
brasilis,187,244,4  script  Mariana#01::bradunquest 72,{
    if (bradungeon < 1) {
        mes "[Mariana]";
        mes "Ghost! We saw a ghost!";
        next;
        mes "[Fernandez]";
        mes "We snuck past the guard while he was getting his favorite food, ^0000FFCoconuts^000000. Then when we got inside we heard a lady whispering something in the bathroom.";
        next;
        mes "[Daniel]";
        mes "So I got closer and opened the stall door, but nobody was in there! It had to be a ghost!";
        next;
        mes "[Fabio]";
        mes "The voice said ^FF0000'Mother, the door won't open!'^000000";
        next;
        mes "[Mariana]";
        mes "Then it said ^FF0000'Mother, the water keeps rising!'^000000";
        next;
        mes "[Fernandez]";
        mes "I heard it say ^FF0000'Mother, the drought is here!'^000000";
        next;
        mes "[Daniel]";
        mes "No, it said ^FF0000'Mother, where did all my friends go?'^000000";
        next;
        mes "[Fabio]";
        mes "Last it said ^FF0000'Mother, where are you mother?'^000000";
        next;
        set bradungeon,1;
        setquest 2208;
        mes "[Mariana]";
        mes "You better stay out of there, if the legend of the Bathroom Blonde is true she could kill you while you're doing your business!";
        close;
    }
    else {
        mes "[Fernandez]";
        mes "That guard loves ^0000FFCoconuts^000000, but don't go sneaking past him. If the legend of the Bathroom Blonde is true she could kill you while you're doing your business!";
        close;
    }
}
 
brasilis,185,246,6  duplicate(bradunquest)  Fernandez#02    62
brasilis,180,249,6  duplicate(bradunquest)  Daniel#03   706
brasilis,181,250,6  duplicate(bradunquest)  Fabio#04    706
 
bra_in01,7,181,4    script  Musium Guard    477,{
    mes "[Musium Guard]";
    mes "Hello, are you enjoying the musium today?";
    close;
}
 
bra_in01,12,185,4   script  #bathroom   45,2,2,{
    end;
 
OnTouch:
    if ((bradungeon >= 1) && (countitem(11515) >= 1)) {
        mes "[Musium Guard]";
        mes "Is that what I think it is?";
        next;
        mes "[Musium Guard]";
        mes "I'll let you in here if you give me that ^0000FFCoconut^000000.";
        next;
        switch(select("OK.:No way.")) {
        case 1:
            delitem 11515,1;
            mes "[Musium Guard]";
            mes "Thanks! Now hurry in before someone notices.";
            close2;
            warp "bra_in01",138,177;
            end;
        case 2:
            mes "[Musium Guard]";
            mes "Jerk.";
            close;
        }
    }
    else {
        mes "[Musium Guard]";
        mes "I'm sorry, this is a restricted area.";
        close;
    }
}
 
bra_in01,149,184,4  script  Door    844,{
    if (bradungeon == 1) {
        mes "Do you have something to tell me?~";
        next;
        input .@line$;
        if (.@line$ == "Mother, the door won't open!") {
            mes "You must turn it, dear~";
            next;
            switch(select("Pick the lock","Push the door","Turn the key","Kick the Door")) {
            case 1:
                mes "-No response-";
                close;
            case 2:
                mes "-No response-";
                close;
            case 3:
                mes "Seven more times~";
                next;
                input .@input;
                if (.@input == 7) {
                    set bradungeon,2;
                    specialeffect2 EF_VENOMDUST;
                    mes "Good child!~";
                    close;
                }
                else {
                    mes "-No response-";
                    close;
                }
            case 4:
                mes "-No response-";
                close;
            }
        }
        else {
            mes "-No response-";
            close;
        }
    }
    else {
        mes "-No response-";
        close;
    }
}
 
bra_in01,144,187,4  script  Toilet  844,{
    if (bradungeon == 2) {
        mes "Do you have something to tell me?~";
        next;
        input .@line$;
        if (.@line$ == "Mother, the water keeps rising!") {
            mes "You must flush it, dear~";
            next;
            switch(select("Flush the toilet","Clog the toilet","Put something in the toilet","Pee in the toilet")) {
            case 1:
                mes "Three more times~";
                next;
                input .@input;
                if (.@input == 3) {
                    set bradungeon,3;
                    specialeffect2 EF_VENOMDUST;
                    mes "Good child!~";
                    close;
                }
                else {
                    mes "-No response-";
                    close;
                }
            case 2:
                mes "-No response-";
                close;
            case 3:
                mes "-No response-";
                close;
            case 4:
                mes "-No response-";
                close;
            }
        }
        else {
            mes "-No response-";
            close;
        }
    }
    else if (bradungeon >= 6) {
        mes "Would you like to flush the toilet?";
        next;
        switch(select("Yes.","No thanks.")) {
        case 1:
            mes "-You hop in and get flushed down the drain-";
            close2;
            warp "bra_in01",206,101;
            end;
        case 2:
            close;
        }
    }
    else {
        mes "-No response-";
        close;
    }
}
 
bra_in01,134,189,4  script  Faucet  844,{
    if (bradungeon == 3) {
        mes "Do you have something to tell me?~";
        next;
        input .@line$;
        if (.@line$ == "Mother, the drought is here!") {
            mes "You must open it, dear~";
            next;
            switch(select("Stare at the faucet","Open the faucet","Close the faucet","Break the faucet")) {
            case 1:
                mes "-No response-";
                close;
            case 2:
                mes "One more time~";
                next;
                input .@input;
                if (.@input == 1) {
                    set bradungeon,4;
                    specialeffect2 EF_VENOMDUST;
                    mes "Good child!~";
                    close;
                }
                else {
                    mes "-No response-";
                    close;
                }
            case 3:
                mes "-No response-";
                close;
            case 4:
                mes "-No response-";
                close;
            }
        }
        else {
            mes "-No response-";
            close;
        }
    }
    else {
        mes "-No response-";
        close;
    }
}
 
bra_in01,138,184,4  script  Carpet  844,{
    if (bradungeon == 4) {
        mes "Do you have something to tell me?~";
        next;
        input .@line$;
        if (.@line$ == "Mother, where did all my friends go?") {
            mes "You must turn it, dear~";
            next;
            switch(select("Burn the carpet","Roll up the carpet","Turn the carpet","Walk on the carpet")) {
            case 1:
                mes "-No response-";
                close;
            case 2:
                mes "-No response-";
                close;
            case 3:
                mes "Seven more times~";
                next;
                input .@input;
                if (.@input == 7) {
                    set bradungeon,5;
                    specialeffect2 EF_VENOMDUST;
                    mes "Good child!~";
                    close;
                }
                else {
                    mes "-No response-";
                    close;
                }
            case 4:
                mes "-No response-";
                close;
            }
        }
        else {
            mes "-No response-";
            close;
        }
    }
    else {
        mes "-No response-";
        close;
    }
}
 
bra_in01,151,180,4  script  Mirror#01   844,{
    if (bradungeon == 5) {
        mes "Do you have something to tell me?~";
        next;
        input .@line$;
        if (.@line$ == "Mother, where are you mother?") {
            donpcevent "Bathroom Blonde#01::OnEnable";
            mes "I'm right here~";
            next;
            switch(select("Stay and listen","Run away")) {
            case 1:
                mes "My child, do you like to gamble?~";
                next;
                set .@warp1,rand(1,6);
                set .@warp2,rand(1,6);
                if (.@warp1 == 1) {
                    emotion e_dice,1;
                }
                if (.@warp1 == 2) {
                    emotion e_dice2,1;
                }
                if (.@warp1 == 3) {
                    emotion e_dice3,1;
                }
                if (.@warp1 == 4) {
                    emotion e_dice4,1;
                }
                if (.@warp1 == 5) {
                    emotion e_dice5,1;
                }
                if (.@warp1 == 6) {
                    emotion e_dice6,1;
                }
                if (.@warp2 == 1) {
                    donpcevent "Bathroom Blonde#01::OnEmote";
                }
                if (.@warp2 == 2) {
                    donpcevent "Bathroom Blonde#01::OnEmote2";
                }
                if (.@warp2 == 3) {
                    donpcevent "Bathroom Blonde#01::OnEmote3";
                }
                if (.@warp2 == 4) {
                    donpcevent "Bathroom Blonde#01::OnEmote4";
                }
                if (.@warp2 == 5) {
                    donpcevent "Bathroom Blonde#01::OnEmote5";
                }
                if (.@warp2 == 6) {
                    donpcevent "Bathroom Blonde#01::OnEmote6";
                }
                if (.@warp1 > .@warp2) {
                    set bradungeon,6;
                    mes "-You rolled a ^FF0000"+.@warp1+"^000000-";
                    mes "-The ghost rolled a ^FF0000"+.@warp2+"^000000-";
                    next;
                    mes "A lucky child you are~";
                    close2;
                    donpcevent "Bathroom Blonde#01::OnInit";
                    warp "bra_in01",206,101;
                    end;
                }
                else if (.@warp1 < .@warp2) {
                    set bradungeon,1;
                    mes "-You rolled a ^FF0000"+.@warp1+"^000000-";
                    mes "-The ghost rolled a ^FF0000"+.@warp2+"^000000-";
                    next;
                    mes "How unlucky my child is~";
                    close2;
                    donpcevent "Bathroom Blonde#01::OnInit";
                    warp "bra_in01",12,182;
                    end;
                }
                else {
                    donpcevent "Bathroom Blonde#01::OnInit";
                    mes "A tie... Let us try again~";
                    close;
                }
            case 2:
                donpcevent "Bathroom Blonde#01::OnInit";
                mes "-She disappears-";
                close;
            }
        }
        else {
            mes "-No response-";
            close;
        }
    }
    else {
        mes "-No response-";
        close;
    }
}
 
bra_fild01,323,136,4    script  Sewer   844,{
    if (bradungeon >= 6) {
        mes "There is a pipe with a small hole in it, would you like to jump in?";
        next;
        switch(select("Yes.","No thanks.")) {
        case 1:
            mes "-You dive in and get sucked into the small hole-";
            close2;
            warp "bra_in01",206,185;
            end;
        case 2:
            close;
        }
    }
    else {
        mes "There is a pipe with a small hole in it.";
        close;
    }
}
 
bra_in01,206,188,4  script  Pipe#01 844,{
    if (bradungeon == 6) {
        donpcevent "Bathroom Blonde#02::OnEnable";
        getexp 90000,0;
        set bradungeon,7;
        completequest 2208;
        mes "[Bathroom Blonde]";
        mes "Good job my child, you have found my hiding spot~";
        next;
        mes "[Bathroom Blonde]";
        mes "But this is as far as I can take you~";
        next;
        mes "[Bathroom Blonde]";
        mes "Always remember the last thing your mother tells you~";
        next;
        mes "[Bathroom Blonde]";
        mes "Beware of the Boitata~";
        next;
        donpcevent "Bathroom Blonde#02::OnInit";
        mes "-The ghost disappears into the pipe-";
        next;
    }
    mes "Open the gate?";
    next;
    switch(select("Yes.","No thanks.")) {
    case 1:
        warp "bra_dun01",88,46;
        end;
    case 2:
        close;
    }
}
 
bra_dun01,88,43,4   script  Pipe#02 844,{
    mes "Enter the pipe?";
    next;
    switch(select("Yes.","No thanks.")) {
    case 1:
        warp "bra_in01",206,185;
        end;
    case 2:
        close;
    }
}
 
bra_in01,151,182,2  script  Bathroom Blonde#01  1867,{
    end;
OnInit:
    hideonnpc "Bathroom Blonde#01";
    end;
    
OnEnable:
    hideoffnpc "Bathroom Blonde#01";
    specialeffect EF_BEGINSPELL;
    end;
 
OnEmote:
    emotion 58;
    end;
 
OnEmote2:
    emotion 59;
    end;
 
OnEmote3:
    emotion 60;
    end;
 
OnEmote4:
    emotion 61;
    end;
 
OnEmote5:
    emotion 62;
    end;
 
OnEmote6:
    emotion 63;
    end;
}
 
bra_in01,206,191,4  script  Bathroom Blonde#02  1867,{
    end;
OnInit:
    hideonnpc "Bathroom Blonde#02";
    end;
    
OnEnable:
    hideoffnpc "Bathroom Blonde#02";
    specialeffect EF_BEGINSPELL;
    end;
}
Viewed 813 times, submitted by Guest.