summaryrefslogblamecommitdiff
path: root/npc/027-1/wizard.txt
blob: dae56a4d6de41857caec2f92d2dd6c23ff1a4d4a (plain) (tree)
































                                                                                                        
// TMW2 Script
// Author:
//  Jesusalva
// Description:
//  Wizard at Magic Academy Entrance

027-0,44,91,0	script	Purple Wizard	NPC_PURPLE_WIZARD_F,{
    mesn;
    mesq l("Hello. I was assigned to guard the ranged training grounds of the mystic forest.");
    next;
    mesn;
    mesq l("It is a dangerous area, so we only allow students enrolled at the academy to participate.");
    if (!ACADEMIC_RANK && !is_sponsor())
        close;
    next;
    mesn;
    mesq l("Do you want to go there? The Red Wizard may be able to offer you training.");
    next;
    select
        l("Not yet."),
        l("Yes please.");
    mes "";
    closeclientdialog;
    if (@menu == 2)
        warp "017-0", 249, 228;
    close;

OnInit:
    .distance = 3;
    .sex = G_FEMALE;
    end;
}