summaryrefslogtreecommitdiff
path: root/npc
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
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')
-rw-r--r--npc/024-1/guard.txt17
-rw-r--r--npc/024-16/guards.txt12
2 files changed, 28 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;
+}
+
+
diff --git a/npc/024-16/guards.txt b/npc/024-16/guards.txt
index e07294c7b..80405dd83 100644
--- a/npc/024-16/guards.txt
+++ b/npc/024-16/guards.txt
@@ -16,3 +16,15 @@ OnInit:
024-16,25,33,0 duplicate(Royal Guard#02416A) Royal Guard#02416B NPC_BRGUARD_SWORD
024-16,35,33,0 duplicate(Royal Guard#02416A) Royal Guard#02416C NPC_BRGUARD_BOW
+
+// Before King Gelid give you his OK, you cannot leave throne room
+024-16,30,53,0 script #FrostiaKingAudience NPC_HIDDEN,1,0,{
+end;
+OnTouch:
+ if (getq(General_Narrator) <= 12) {
+ slide 30, 52;
+ dispbottom l("Ops, I should not leave this room without talking to the king first.");
+ }
+ end;
+}
+