summaryrefslogblamecommitdiff
path: root/npc/018-2-1/dustman.txt
blob: 6c6a587b31242070d759962ae1f979e8cd581056 (plain) (tree)
1
2
3
4
5
6
7
8
9
10







                                                      

                             
         













                                                                                                










                                                                                                                                
      
           



                                                                  





                                                                                                                           

                             


                                                                                          










                                                                                                                                                           






                                                                





                
// TMW2/LoF scripts.
// Authors:
//    TMW-LoF Team
//    Jesusalva
// Description:
//    Void NPC

018-2-1,22,29,0	script	Colonel DUSTMAN	NPC_CRUSADER,{
    .@cod=getq(LoFQuest_COD);
    .@hh=getq(LoFQuest_HH);
    mesn;
    mesq l("Hello adventurer. Are you interested in the Heroes Hold, or in the Call Of Dusty?");
    next;
    select
        l("Heroes Hold"),
        l("Call Of Dusty"),
        l("Neither, sorry");
    if (@menu == 3)
        close;
    else if (@menu == 2)
        goto L_COD;

    mes "";
    mesn;
    mesq l("Well, my men went down and still haven't returned.");
    next;
    mesn;
    mesq l("I'm worried with them. Anyway, you need a special scroll to get to the Heroes Cave...");
    next;
    mesn;
    mesq l("Otherwise, well, I'm not sure what will happen. You'll probably be either thrown at the wolves or something. Duh.");
    next;
    mesn;
    mesq l("Take care, adventurer!");
    close;

L_COD:
    mes "";
    if (.@cod < 1) {
        mesn;
        mesq l("Hey, do you know the ##BCall Of Dusty##b event?");
        next;
        if (#RARE_POINTS || countitem(TimeFlask)) {
            mesn;
            mesq l("Also, you seem like you are from around LoF. Why don't you take a free @@?", getitemlink(BottledDust));
            next;
            getitem BottledDust, 1;
        }
        setq LoFQuest_COD, 1;
    }
    mesn;
    mesq l("Just @@ ago, thiefs stole Pihro & Pyndragon weapons.", FuzzyTime(1542570030));
    next;
    if (.@cod < 2) {
        mesn;
        mesq l("Pyndragon said he'll do a @@ to however reduces them to dust. Interested?", getitemlink(Dustynator)); // BottledDust, Dustynator
        mesc l("Note: Dustynator is a high level weapon. You might not have enough level to use it yet.");
        next;
    } else {
        mesn;
        mesq l("Well, you already got the Dustynator, but you might want to collect more @@. They keep coming back, after all.", getitemlink(BottledDust));
        mesc l("Note: Killing enemies there with the Dustynator grants more dusty in a bottle.");
        next;
    }
    if (askyesno() == ASK_YES) {
        mes "";
        mesn;
        mesq l("Too bad, because that wasn't implemented yet!");
    }
    close;

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