summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-06-07 01:50:11 -0300
committerJesusaves <cpntb1@ymail.com>2019-06-07 01:50:11 -0300
commitad329ee64bdb273569b74409050c84f9e153eff3 (patch)
tree6427b79c417fc363ec6fe6b19466eca300c53851
parentf57774e853979e9e1591bdf6378a12133f48d2e3 (diff)
downloadserverdata-ad329ee64bdb273569b74409050c84f9e153eff3.tar.gz
serverdata-ad329ee64bdb273569b74409050c84f9e153eff3.tar.bz2
serverdata-ad329ee64bdb273569b74409050c84f9e153eff3.tar.xz
serverdata-ad329ee64bdb273569b74409050c84f9e153eff3.zip
Okay, this is the part from Main Storyline I planned for 9.2 Workbench
Craftmaster still needs dialog, requisites, etc >.>
-rw-r--r--npc/024-16/king.txt45
1 files changed, 41 insertions, 4 deletions
diff --git a/npc/024-16/king.txt b/npc/024-16/king.txt
index 7b5f908a1..d6d2c466e 100644
--- a/npc/024-16/king.txt
+++ b/npc/024-16/king.txt
@@ -5,6 +5,16 @@
// Ruler of Frostia (maybe we should instance this map so the king can walk)
024-16,30,23,0 script King Gelid NPC_ELF,{
+ .@q=getq(General_Narrator);
+ if (.@q < 12) {
+ nude();
+ atcommand("@dropall"); // Evil
+ Exception("FATAL ERROR, PLAYER "+strcharinfo(0)+" NOT ALLOWED TO BE WITHIN FROSTIA'S CASTLE - REASON: SAULC IS A NOOB");
+ end;
+ }
+ if (.@q >= 13)
+ goto L_MainQuest;
+
mesn l("King Gelid Frozenheart");
mesq l("Hello.");
next;
@@ -20,15 +30,42 @@
mesn l("King Gelid Frozenheart");
mesq l("As about if I have any idea why they said they were from here? ...Actually, I do.");
next;
+ mesn l("King Gelid Frozenheart");
+ mesq l("That aside, I see you've helped Hurnscald Mayor, Nivalis Mayor, Halinarzo Librarian and even the Alliance Representative in Tulimshar!");
+ next;
+ mesn l("King Gelid Frozenheart");
+ mesq lg("I'm quite interested in you, mah' girl!", "I'm quite interested in you, mah' boy!");
+ next;
+ mesn l("King Gelid Frozenheart");
+ mesq l("So, only citzens, elves and dwarves are normally welcome here and I'm NOT going to make you an exception.");
+ next;
+ mesn l("King Gelid Frozenheart");
+ mesq l("In the ")+b(l("southwest part of the town"))+l(" is the Inn, and you can rent an apartment there for 30 days.");
+ next;
+ mesn l("King Gelid Frozenheart");
+ mesq l("If you rent an apartment, you'll become a \"citzen\" and be allowed here. Besides, you can buy stuff in your apartment to, for example, craft stuff.");
+ next;
+ mesn l("King Gelid Frozenheart");
+ mesq l("Did I said the best craftsman and craftswoman in the world are here? @@, the legendary bow, was proudly crafted by the first king of Frostia!", getitemlink(Tyranny));
+ next;
+ mesn l("King Gelid Frozenheart");
+ mesq l("He is not alive anymore, so only a single bow of those exist in the whole world... That is why we call it a ")+b(l("legendary weapon"));
+ next;
+ // Finish the quest
+ setq General_Narrator, 13;
+ REAL_ESTATE_CREDITS+=5000;
+
+L_MainQuest:
+ mesn l("King Gelid Frozenheart");
+ mesq l("Anyway, I'll give you @@ Real Estate Credits in advance. Go book yourself a room in the Inn. And then come back to me so we may discuss details.");
+ next;
+
mesc b(l(".:: Main Quest 4-2 ::.")), 3;
msObjective(BaseLevel >= 40, l("* @@/@@ Base Level", BaseLevel, 40));
msObjective(true, l("* Deliver Nikolai's Letter to Frostia Mayor"));
- mesc l("* Do whatever King Gelid tells you to"), 9;
+ msObjective(ESTATE_RENTTIME >= gettimetick(2), l("* Rent a room in Frostia's Inn"));
mes "";
mesc l("@@ You need to wait further releases to continue this quest!", b(l("WARNING:"))), 1;
- next;
- mesn l("Nikolai, the Blue Sage");
- mesq l("Remember the masked man said he was from Frostia? Or masked woman, we don't know. You should inform their Mayor at once. Also, I don't know what Sage will be their next target. Deliver this letter to Frostia's King. He will know what to do and what you should do.");
close;
OnInit: