summaryrefslogtreecommitdiff
path: root/npc/001-2/wizards.txt
blob: 754f1bf47831dc2a55db3afafda8e3e717169ea2 (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
-	script	Magic Council	NPC32767,{
    explode .@n, strnpcinfo(0), "#";
    if   (.@n[1] == 9) mes "The arch wizard seems to be busy.";
    elif (.@n[1])      mes "The wizard seems to ignore you.";
    else               mes "Strangely, you feel nothing – as if its membrane is closed to you.";
    next;
    mes "Perhaps you should come back later.";
    close;

OnInit:
    if (puppet("001-2", 104, 19, "Desert Mana Seed#_M", 166) < 1) mapexit;
    if (puppet("001-2", 99,  22, "Wizard#1",            355) < 1) mapexit;
    if (puppet("001-2", 92,  24, "Wizard#2",            356) < 1) mapexit;
    if (puppet("001-2", 92,  30, "Wizard#3",            357) < 1) mapexit;
    if (puppet("001-2", 99,  32, "Wizard#4",            358) < 1) mapexit;
    if (puppet("001-2", 110, 22, "Wizard#5",            359) < 1) mapexit;
    if (puppet("001-2", 117, 24, "Wizard#6",            360) < 1) mapexit;
    if (puppet("001-2", 117, 30, "Wizard#7",            361) < 1) mapexit;
    if (puppet("001-2", 110, 32, "Wizard#8",            362) < 1) mapexit;
    if (puppet("001-2", 104, 27, "Arch-Wizard#9",       354) < 1) mapexit;
    end;
}