summaryrefslogtreecommitdiff
path: root/npc/027-1/wizard.txt
blob: 355154420d271008bdc92354b118a019d38120a7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
// TMW2 Script
// Author:
//  Jesusalva
// Description:
//  Wizard at Magic Academy Entrance

027-1,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;
}