summaryrefslogtreecommitdiff
path: root/npc/003-1/magic.txt
diff options
context:
space:
mode:
Diffstat (limited to 'npc/003-1/magic.txt')
-rw-r--r--npc/003-1/magic.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/npc/003-1/magic.txt b/npc/003-1/magic.txt
index 4582bad6d..499d3a509 100644
--- a/npc/003-1/magic.txt
+++ b/npc/003-1/magic.txt
@@ -7,6 +7,10 @@
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;