// Council of Ruling Wizards Room
-|script|Magic Council|32767
{
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", 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;
set .IS_MAGIC, 1, getnpcid("Desert Mana Seed");
set .IS_MAGIC, 1, getnpcid("Wizard#1");
set .IS_MAGIC, 1, getnpcid("Wizard#2");
set .IS_MAGIC, 1, getnpcid("Wizard#3");
set .IS_MAGIC, 1, getnpcid("Wizard#4");
set .IS_MAGIC, 1, getnpcid("Wizard#5");
set .IS_MAGIC, 1, getnpcid("Wizard#6");
set .IS_MAGIC, 1, getnpcid("Wizard#7");
set .IS_MAGIC, 1, getnpcid("Wizard#8");
set .IS_MAGIC, 1, getnpcid("Arch-Wizard#9");
end;
}