diff options
author | Jesusaves <cpntb1@ymail.com> | 2019-05-21 20:24:48 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2019-05-21 20:24:48 -0300 |
commit | 14bc964d2b1d0aff5b4c7377dd6eb8043fcc848d (patch) | |
tree | a541209929cec1b0f74c3bf954a09019b5c174d2 /npc/024-1 | |
parent | 01e0bdac9d0c15aaa8b6f7617da73aefcb272fff (diff) | |
download | serverdata-14bc964d2b1d0aff5b4c7377dd6eb8043fcc848d.tar.gz serverdata-14bc964d2b1d0aff5b4c7377dd6eb8043fcc848d.tar.bz2 serverdata-14bc964d2b1d0aff5b4c7377dd6eb8043fcc848d.tar.xz serverdata-14bc964d2b1d0aff5b4c7377dd6eb8043fcc848d.zip |
Track some states of Main Quest.
Diffstat (limited to 'npc/024-1')
-rw-r--r-- | npc/024-1/guard.txt | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/npc/024-1/guard.txt b/npc/024-1/guard.txt index c668d7ca6..71ac1dc92 100644 --- a/npc/024-1/guard.txt +++ b/npc/024-1/guard.txt @@ -5,6 +5,10 @@ // Controls access to Frostia. 024-1,93,73,0 script Frostia Guard NPC_ELF,{ + // Main Quest Have Precedence + if (getq(General_Narrator) == 11) + goto L_MainQuest; + if (BaseLevel < 40) goto L_Unallowed; if (Class == Elven) @@ -37,6 +41,14 @@ L_Unallowed: close; +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; + mes ""; + mesc l("@@ You need to wait further releases to continue this quest!", b(l("WARNING:"))), 1; + close; + OnInit: .@npcId = getnpcid(.name$); setunitdata(.@npcId, UDT_HEADTOP, WarlordHelmet); |