blob: 499d3a5097e69bc2051e20c1b4f6bc6e8783c604 (
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
|
// TMW2 scripts.
// Authors:
// Jesusalva
// Description:
// Controlled Warp to Magic School (+whatever magic stuff we need to add later)
003-1,34,33,0 script #MagicSchoolGate1 NPC_HIDDEN,0,0,{
end;
OnTouch:
if (countitem(Event1HSword)+countitem(Event2HSword)+countitem(EventBow)+countitem(EventWand)+countitem(RentCart)) {
mesc l("You cannot enter here while you have event weapons or a cart."), 1;
close;
}
/*
if (countitem(JesusalvaGrimorium) <= 0 || MAGIC_LVL < 2) {
slide 36, 39;
percentheal -5, -10;
dispbottom l("Powerful magic repels you away from this magic place!");
}
*/
warp "003-0", 48, 51;
//dispbottom col(l("CONDEMNED: This building has been condemned. The roof may fall. Be careful!"), 1);
end;
}
|