summaryrefslogblamecommitdiff
path: root/npc/017-1/inspector.txt
blob: ffae2d420565b69db97a21aa7bbf66e2c7008c1c (plain) (tree)







































                                                                                                                                              
// TMW2/LOF Script.
// Author:
//    Jesusalva
// Description:
//  Part of Katze quest
// See also
//  npc/config/inspector.txt

017-1,77,104,0	script	Anselmo	NPC_ANSELMO_BR,{
    .@q = getq(LoFQuest_Inspector);
    mesn;
    mesq l("Hello. My name is Anselmo and I'm investigating a recent string of robberies.");
    if (BaseLevel < 50) close;
    if (!is_staff()) close; // FIXME
    next;
    mesn;
    mesq l("Well... Not robberies per se... Just cheese vanishing and being replaced by %s, which is super weird.", getitemlink(GoldenApple));
    next;
    mesn;
    mesq l("You look capable, will you help me solve these robberies? Of course, not for free.");
    next;
    if (askyesno() == ASK_NO) {
        closeclientdialog;
        close;
    }
    mesn;
    mesq l("Excellent. I'd like you to ask around about the recent string of robberies.");
    next;
    mesn;
    mesq l("But remember, they're stealing %s, not shinies, so try to limit your search a bit.", getitemlink(Cheese));
    setq LoFQuest_Inspector, 1, 0;
    close;

// function script inspector() -> Invokes strnpcinfo() internally

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