From 48b3014f07e12f42c39120eaf8a5d5b59985805c Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Wed, 26 Feb 2020 02:46:30 -0300 Subject: Sketches and Drafts --- npc/003-1/magic.txt | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'npc/003-1') diff --git a/npc/003-1/magic.txt b/npc/003-1/magic.txt index 499d3a509..61b97c9c8 100644 --- a/npc/003-1/magic.txt +++ b/npc/003-1/magic.txt @@ -7,10 +7,15 @@ 003-1,34,33,0 script #MagicSchoolGate1 NPC_HIDDEN,0,0,{ end; OnTouch: + // Event Restrictions 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; } + // TODO: Main Quest Instance + if (LUA_ASKED_TO_SAVE_PROFESSOR) { + dispbottom "Runtime error."; + } /* if (countitem(JesusalvaGrimorium) <= 0 || MAGIC_LVL < 2) { slide 36, 39; @@ -19,6 +24,5 @@ OnTouch: } */ warp "003-0", 48, 51; - //dispbottom col(l("CONDEMNED: This building has been condemned. The roof may fall. Be careful!"), 1); end; } -- cgit v1.2.3-60-g2f50