summaryrefslogtreecommitdiff
path: root/npc/024-1/guard.txt
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-06-07 01:36:06 -0300
committerJesusaves <cpntb1@ymail.com>2019-06-07 01:36:06 -0300
commitf57774e853979e9e1591bdf6378a12133f48d2e3 (patch)
treea326f87267f5972e554e7be1da3fe06cc2cf7b9e /npc/024-1/guard.txt
parent9d581b9d93b65c6cb7bdcb59c63cf1ab0c818b50 (diff)
downloadserverdata-f57774e853979e9e1591bdf6378a12133f48d2e3.tar.gz
serverdata-f57774e853979e9e1591bdf6378a12133f48d2e3.tar.bz2
serverdata-f57774e853979e9e1591bdf6378a12133f48d2e3.tar.xz
serverdata-f57774e853979e9e1591bdf6378a12133f48d2e3.zip
You can now visit King Gelid and be locked within this Throne Room
Diffstat (limited to 'npc/024-1/guard.txt')
-rw-r--r--npc/024-1/guard.txt17
1 files changed, 16 insertions, 1 deletions
diff --git a/npc/024-1/guard.txt b/npc/024-1/guard.txt
index 0117e56e4..f98c1c18c 100644
--- a/npc/024-1/guard.txt
+++ b/npc/024-1/guard.txt
@@ -54,6 +54,8 @@ L_MainQuest:
mesc b(l(".:: Main Quest 4-1 ::.")), 3;
msObjective(BaseLevel >= 40, l("* @@/@@ Base Level", BaseLevel, 40));
mesc l("* Deliver Nikolai's Letter to Frostia Mayor"), 9;
+ if (BaseLevel < 40)
+ close;
next;
mesn strcharinfo(0);
select
@@ -83,7 +85,10 @@ L_MainQuest2:
mesn;
mesq l("Behave yourself, or you'll be executed in the town square mercilessly. You have been warned.");
next;
- close;
+ closeclientdialog;
+ // Maybe an instance instead?
+ warp "024-16", 30, 52;
+ end;
OnInit:
.@npcId = getnpcid(.name$);
@@ -99,3 +104,13 @@ OnInit:
end;
}
+// This small script controls if you can visit King Gelid II or not
+024-1,97,20,0 script #FrostiaCastle NPC_HIDDEN,1,0,{
+end;
+OnTouch:
+ if (getq(General_Narrator) >= 12)
+ warp "024-16", 30, 52;
+ end;
+}
+
+