summaryrefslogblamecommitdiff
path: root/npc/020-7-1/janitors.txt
blob: b94147df9e30e969aea5a695bad704bd9ab7b3f9 (plain) (tree)
1
2
3
4
5
6
7
8







                                     




                                     
                                                       




                                                                
                   

                





           
































 
                                                       







                                                                                                                                                             
                                        

                                          
                                                     

































                                                                                                                                                                                                                                                                

                                                              




                         

       
                   

                  





           
































 
                                                       







                                                                                                                                                                                   
                                        

                                          
                                                     

































                                                                                                                                                                                                                                                                                                                                

                                                              








                                                                                                                                                                                                       

       
                   

                





        



































 
                                                               







                                                                                                                                                                                                                                  
                                        

                                          
                                                     

























                                                                                                                                                                                                                               

                                                              








                                                                                                                                                            

       
                   

                




        




























 
                                                       







                                                                            
                                        

                                          
                                                     






























                                                                                                                                                                                                                                                                                                              

                                                              








                                                                                                                                                    

       
                   

                  


        
// TMW2 scripts.
// Authors:
//    Jesusalva
//    TMW Org.
// Description:
//    In charge to clear the mess
//    helperCleaning* + helperJanitor

// Quest: NivalisQuest_BlueSageSlimes
//  1: Acception state
//  2: Killed Slimes Control
//  3: Killed Nests Control

020-7-1,50,63,6	script	Pyry	NPC_BLUESAGEWORKER_MB,{
    npctalk3 l("I warn about dangers and controls the fights.");
    goodbye;
    end;

OnInit:
    .bsId=BS_NPC06;
    .sex=G_MALE;
    .distance=5;
    npcsit;
    end;
}




































020-7-1,53,39,0	script	Nea	NPC_BLUESAGEWORKER_FA,{
    function askQuestion;
    mesn;
    mesq l("Oh, hello. If I were you I wouldn't go deeper into the library. There are still some of those monsters left. Slipping between the bookshelves.");
    askQuestion();
    close;

function askQuestion {
    do {
        .@q=getq(NivalisQuest_BlueSage);
        .@q2=getq2(NivalisQuest_BlueSage);
        .@q3=getq3(NivalisQuest_BlueSage);
        .@qs=BSQuestion(getq(NivalisQuest_BlueSage));
        .@qt=getq2(NivalisQuest_BlueSageSlimes);
        next;
        if (.@qt >= 255) {
            mesn;
            mesq l("I feel much safer now that you defeated the slimes. Thanks so much! Do you need anything else?");
        } else if (.@qt) {
            mesn;
            mesq l("\"Oh, I'm so glad you're taking care of those scary slimes. You're so brave! How many of them are still left, do you think? Will it be safe to go there soon?");
        } else {
            mesn;
            mesc l("She shudders.");
            mesq l("And they can explode! Nothing in the world could make me go in there. I'll just do my work right here, clean the floor and tidy up the books, and I'm keeping my eyes open in case they get over here."); // Cleaning the floor, aham. ¬.¬
            next;
            mesn;
            mesq l("Do you need anything else?");
        }
        mes "";
        select
            rif(.@qt < 255, ""),
            rif(.@qs & BS_QVISITOR, l("Do you know anything about the strange visitor?")),
            rif(.@qs & BS_QHELPER, l("What's your opinion of Peetu and his work?")),
            any(l("I need to leave."), l("See you."), l("Bye."));
        mes "";
        switch (@menu) {
            case 2:
                mesn;
                mesq l("With a mask? Mh, I think I know who are you talking about. I vaguely remember that there was someone with a mask... but I can't recall any details, I wasn't really paying attention.");
                break;
            case 3:
                mesn;
                mesq l("Petu? Yeah, he's the kind of person who always wants to do things perfectly. That makes it a bit difficult to work with him, since his expectations for others are as high as for himself.");
                next;
                mesn;
                mesq l("I really wonder how that accident could've happened. I'd have never expected him to mess something up like that.");
                if (!(.@q3 & .bsId))
                    setq3 NivalisQuest_BlueSage, .@q3 | .bsId;
                break;
        }
    } while (@menu != 4);
    close;
}

OnInit:
    .bsId=BS_NPC05;
    .sex=G_FEMALE;
    .distance=5;
    npcsit;
    end;
}




































020-7-1,79,70,0	script	Arvo	NPC_BLUESAGEWORKER_MA,{
    function askQuestion;
    mesn;
    mesq l("Oh, this is so much work... I can't believe they let this happen! You would think they'd be careful when playing around with such powerful forces. Hah! Big mistake!");
    askQuestion();
    close;

function askQuestion {
    do {
        .@q=getq(NivalisQuest_BlueSage);
        .@q2=getq2(NivalisQuest_BlueSage);
        .@q3=getq3(NivalisQuest_BlueSage);
        .@qs=BSQuestion(getq(NivalisQuest_BlueSage));
        .@qt=getq2(NivalisQuest_BlueSageSlimes);
        next;
        if (.@qt >= 255) {
            mesn;
            mesq l("Good work with the slimes. This will make our task much easier.");
            next;
            mesn;
            mesc l("*sigh*");
            mesq l("It appears we were focusing too much on research and this lead to neglect of other duties of a Sage's household. This is dangerous in times of changes. I'm worried about the future.");
        } else if (.@qt) {
            mesn;
            mesc l("*sighs*");
            mesq l("We really appreciate your help with the slimes.");
        } else {
            mesn;
            mesq l("It's dangerous in the library right now, be careful. Do you need anything else?");
        }
        mes "";
        select
            rif(.@qt < 255, ""),
            rif(.@qs & BS_QVISITOR, l("Do you know anything about the strange visitor?")),
            rif(.@qs & BS_QHELPER, l("What's your opinion of Peetu and his work?")),
            any(l("I need to leave."), l("See you."), l("Bye."));
        mes "";
        switch (@menu) {
            case 2:
                mesn;
                mesq l("Yes, I remember that one! I welcomed him in the libary and showed him around. But I didn't have the impression he was really listening to what I was saying, though that's hard to tell with the mask.");
                next;
                mesn;
                mesq l("But when I left him to look at the books on his own, he sneaked over to the workshop area. Visitors are allowed to have a look there, but only if they don't interfere with any research and experiments. But it seems he was being rather disturbing, since they sent them back to the library part.");
                next;
                mesn;
                mesq l("I tried to keep an eye on him after that, but when I got distracted by some newly arriving visitor he went over to the workshop again! Usually I enjoy my job, because I like talking to people, but this guy... was a pain, really.");
                if (!(.@q2 & .bsId))
                    setq2 NivalisQuest_BlueSage, .@q2 | .bsId;
                break;
            case 3:
                mesn;
                mesq l("Peetu? That's one of the high rank helpers. As far as I know, he's capable of magic and takes part in some important researches. But I don't really know about those things.");
                break;
        }
    } while (@menu != 4);
    close;
}

OnInit:
    .bsId=BS_NPC04;
    .sex=G_MALE;
    .distance=5;
    end;
}








































020-7-1,62,83,0	script	Kristian	NPC_BLUESAGEWORKER_MA,{
    function askQuestion;
    mesn;
    mesq l("Welcome. Please don't go deeper into the library, there are still some slimes left. But in spite of that we have made quite a bit of progress. You should have seen the mess just after most of the slimes escaped!");
    askQuestion();
    close;

function askQuestion {
    do {
        .@q=getq(NivalisQuest_BlueSage);
        .@q2=getq2(NivalisQuest_BlueSage);
        .@q3=getq3(NivalisQuest_BlueSage);
        .@qs=BSQuestion(getq(NivalisQuest_BlueSage));
        .@qt=getq2(NivalisQuest_BlueSageSlimes);
        next;
        if (.@qt >= 255) {
            mesn;
            mesq l("I'm so glad that you took care of the remaining slimes. Thanks! Do you need anything else?");
        } else if (.@qt) {
            mesn;
            mesq l("Wow, it's really generous of you to fight those slimes for us. Do you need anything else?");
        } else {
            mesn;
            mesq l("Do you need anything else?");
        }
        mes "";
        select
            rif(.@qt < 255, ""),
            rif(.@qs & BS_QVISITOR, l("Do you know anything about the strange visitor?")),
            rif(.@qs & BS_QHELPER, l("What's your opinion of Peetu and his work?")),
            any(l("I need to leave."), l("See you."), l("Bye."));
        mes "";
        switch (@menu) {
            case 2:
                mesn;
                mesq l("Oh, there was such a visitor, yes. Strange guy, and didn't really know how to behave. He sneaked into the workshop area all the time, I think he was rather curious about the things going on there.");
                next;
                mesn;
                mesq l("But still, he can't just walk in there, fiddle with the experiments and disturb the helpers doing their work.");
                if (!(.@q2 & .bsId))
                    setq2 NivalisQuest_BlueSage, .@q2 | .bsId;
                break;
            case 3:
                mesn;
                mesq l("Peetu? I think he's a good guy. Very focused on his work, I think. I don't have that much to do with him, so I can't really tell.");
                break;
        }
    } while (@menu != 4);
    close;
}

OnInit:
    .bsId=BS_NPC05;
    .sex=G_MALE;
    .distance=5;
    end;
}
































020-7-1,40,78,0	script	Mirjami	NPC_BLUESAGEWORKER_FA,{
    function askQuestion;
    mesn;
    mesq l("Where is it? Everything's upside down. These terrible slimes.");
    askQuestion();
    close;

function askQuestion {
    do {
        .@q=getq(NivalisQuest_BlueSage);
        .@q2=getq2(NivalisQuest_BlueSage);
        .@q3=getq3(NivalisQuest_BlueSage);
        .@qs=BSQuestion(getq(NivalisQuest_BlueSage));
        .@qt=getq2(NivalisQuest_BlueSageSlimes);
        next;
        if (.@qt >= 255) {
            mesn;
            mesq l("I heard you fought the slimes that were still roaming between the bookshelves. Thank you!");
            next;
            mesn;
            mesq l("I was a bit worried that they might ruin our efforts by messing everything up again after we just cleaned.");
        } else {
            mesn;
            mesq l("I'm just searching for some cleaning supplies. They must be somewhere around here, but everything went upside down when the slimes escaped.");
        }
        mes "";
        select
            rif(.@qt == 255, "Did you found the supplies yet?"),
            rif(.@qs & BS_QVISITOR, l("Do you know anything about the strange visitor?")),
            rif(.@qs & BS_QHELPER, l("What's your opinion of Peetu and his work?")),
            any(l("I need to leave."), l("See you."), l("Bye."));
        mes "";
        switch (@menu) {
            case 1:
                mesn;
                mesq l("Not yet, blame Jesusalva, your reward was with them");
                //setq2 NivalisQuest_BlueSageSlimes, 256; // TODO
                break;
            case 2:
                mesn;
                mesq l("Ohh, I think I know who you mean. That was a strange guy. He always came over here in the workshop, said he's very interested in the research. I suppose that's ok, but he didn't keep his hands to himself, and touched some experiments and I caught him near some storage racks.");
                next;
                mesn;
                mesq l("Visitors should keep away from those!");
                if (!(.@q2 & .bsId))
                    setq2 NivalisQuest_BlueSage, .@q2 | .bsId;
                break;
            case 3:
                mesn;
                mesq l("Oh, eh, why are you asking me? I've only been here a short while and don't really know all of the people well enough yet.");
                break;
        }
    } while (@menu != 4);
    close;
}

OnInit:
    .bsId=BS_NPC06;
    .sex=G_FEMALE;
    .distance=5;
    end;
}