summaryrefslogblamecommitdiff
path: root/npc/008-3-5/nunia.txt
blob: cd12a0853d88dc57e281a750fc79cd559549fa38 (plain) (tree)
















































































                                                                                                                                                                
// Evol scripts.
// Author:
//    Micksha
// Description:
//    Nunia, Henry's friend and Woodland's master thief.
// THIS IS A PLACEHOLDER!

008-3-5,35,65,0	script	Nunia	NPC_NUNIA,{
    function nuniaIntruder;
    function nuniaHenry;
    function nuniaBegin;

    // What do we have here?
    .@q=getq(ThiefQuests_Artis);
    switch (.@q) {
        case 7:
            nuniaHenry();
            break;
        case 8:
        case 9:
            nuniaBegin();
            // TODO: Script control; Transfer quest variable authority
            break;
        default:
            nuniaIntruder();
            break;
    }
    close;

///////////////////////////////////////////////////////////////////////////////
function nuniaIntruder {
    speech
        l("Who dares to enter this cave? Who are you?"),
        l("At least, you look peaceful."),
        l("Let's do like this: You leave me alone, and I don't mess with you. Deal?");
    select
        l("Deal."),
        l("No deal, I'm going to report you to authorities!");
    mes "";
    // Some meta option/dialog to improve the immersion
    if (@menu == 2) {
        mesn;
        mesq l("There's only one problem, you know...");
        next;
        mesn;
        mesq l("The dead can't speak.");
        percentheal -100, -100;
    }
    return;
}

function nuniaHenry {
    mesn;
    mesq l("Your smell... Did Henry sent you here? How cute of him!");
    next;
    mesn;
    mesq l("I've raised too much suspicion, so my friends told me to lay low for a while.");
    next;
    mesn;
    mesq l("The Brotherhood is watching our movements, they already suspect who is a member and who isn't, but they don't know for sure.");
    next;
    mesn;
    mesq l("Therefore, we had to cut off our connection with Artis. Don't want Brotherhood to find the secrets of our structure.");
    setq1 ThiefQuests_Artis, 8;
    return;
}

function nuniaBegin {
    speech
        l("Who dares to enter this cave? Who are you?"),
        l("At least, you look peaceful. And I see by your fingers that you can deal with lockpicks."),
        l("I am going to teach you all what a thief needs to know, later"),
        l("Call for Micksha and Jesusalva to implement all this, please."),
        l("And Tanveer, our president in Tulimshar, should be able to give you even more training. If you manage to find our headquarters, of course, hahaha!");
    return;
}

OnInit:
    .distance = 4;
    end;
}