summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFedja Beader <fedja@protonmail.ch>2024-08-14 21:37:55 +0200
committerFedja Beader <fedja@protonmail.ch>2024-08-14 21:37:55 +0200
commit2202dff310c9f830c97c20c3d78fb26ac6c45ea0 (patch)
treee4af63bb4aeb66e4eecda2c555ccbc50c135b22d
parent825421ffdea6f46539e40a3792f5a8fb8ed2957b (diff)
downloadserverdata-king_gelid_sentences.tar.gz
serverdata-king_gelid_sentences.tar.bz2
serverdata-king_gelid_sentences.tar.xz
serverdata-king_gelid_sentences.zip
Gelid spaghetti untangling attempt 2king_gelid_sentences
-rw-r--r--npc/024-16/king.txt15
1 files changed, 8 insertions, 7 deletions
diff --git a/npc/024-16/king.txt b/npc/024-16/king.txt
index 679ca003b..2211c5bc5 100644
--- a/npc/024-16/king.txt
+++ b/npc/024-16/king.txt
@@ -76,22 +76,23 @@
setq General_Narrator, 13;
REAL_ESTATE_CREDITS += 5000;
-L_MainQuest:
mesn l("King Gelid Frozenheart");
+ mesq l("I gave you %s Real Estate Credits. Go book yourself a room in the Inn. And then come back to me so we may discuss details.",
+ fnum(5000));
next;
+ // Fall-through
+L_MainQuest:
+ mesn l("King Gelid Frozenheart");
mesc b(l(".:: Main Quest 6-1 ::.")), 3;
msObjective(BaseLevel >= 40, l("* @@/@@ Base Level", BaseLevel, 40));
msObjective(true, l("* Deliver Nikolai's Letter to Frostia Mayor"));
msObjective(ESTATE_RENTTIME >= gettimetick(2), l("* Rent a room in Frostia's Inn"));
- if (ESTATE_RENTTIME >= gettimetick(2))
- goto L_Continue;
- mesq l("I gave you %s Real Estate Credits. Go book yourself a room in the Inn. And then come back to me so we may discuss details.",
- fnum(5000));
- close;
-L_Continue:
+ if (ESTATE_RENTTIME < gettimetick(2))
+ close;
next;
+
mesn l("King Gelid Frozenheart");
mesq l("Great, I see you've already made yourself comfortable!");
next;