diff options
Diffstat (limited to 'npc')
-rw-r--r-- | npc/024-1/guard.txt | 17 | ||||
-rw-r--r-- | npc/024-16/guards.txt | 12 |
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; +} + |