summaryrefslogtreecommitdiff
path: root/npc/027-1/wizard.txt
blob: d35b955a6f91c358c3479e9bc8b6651d1f0ec8db (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
34
35
36
37
38
39
// 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;
    // TODO: At some point mid-act2, LoF should show up
    // Maybe mkbot.py causes shakes on everyone and announce LoF sudden appearance
    if ($GAME_STORYLINE < 2 && !is_sponsor()) {
        mesc l("However, the Monster King has been seen with huge armies nearby, so no one may go there with the High Council approval.");
        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;
}