summaryrefslogtreecommitdiff
path: root/npc/014-3
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2018-06-19 01:18:24 -0300
committerJesusaves <cpntb1@ymail.com>2018-06-19 01:18:24 -0300
commitcc190fcba8d954d5782a65f7312b2f5dd2f43f10 (patch)
treedc9fb4fbb4772f78f8f87b1ab97ac2f27c11dbe8 /npc/014-3
parent644aaca859564f7769378c13a668be43e648aa8b (diff)
downloadserverdata-cc190fcba8d954d5782a65f7312b2f5dd2f43f10.tar.gz
serverdata-cc190fcba8d954d5782a65f7312b2f5dd2f43f10.tar.bz2
serverdata-cc190fcba8d954d5782a65f7312b2f5dd2f43f10.tar.xz
serverdata-cc190fcba8d954d5782a65f7312b2f5dd2f43f10.zip
Okay, only the items (Potion + Grimorie) missing, and Nard's part.
Diffstat (limited to 'npc/014-3')
-rw-r--r--npc/014-3/fountain.txt65
1 files changed, 65 insertions, 0 deletions
diff --git a/npc/014-3/fountain.txt b/npc/014-3/fountain.txt
index 65d7416bb..bfe9b6507 100644
--- a/npc/014-3/fountain.txt
+++ b/npc/014-3/fountain.txt
@@ -6,6 +6,8 @@
// Hurnscald doesn't have a well
014-3,151,117,0 script Fountain#Hurns NPC_NO_SPRITE,{
+ if (ST_TIER == 5 && gettimetick(2) < QUEST_ELEVARTEMPO) goto L_Tier2;
+
mes col("There is fresh water here. I could use it to fill a bottle.", 9);
mes col("But I probably should not do it. It might be poisoned!", 9);
close;
@@ -43,6 +45,69 @@ L_NotEnoughMoney:
mes l("You don't have enough gold! You need @@ gp.", .@Cost);
close;
+
+L_Tier2:
+ mesn;
+ mes col("WHAT ARE YOU GOING TO DO?", 9);
+ next;
+ select
+ l("Do nothing"), // 1
+ l("Drink the potion"), // 2
+ l("Pour the potion"), // 3
+ l("Wash yourself with the potion"), // 4
+ l("Burn the potion"), // 5
+ l("Drink the potion, and say magic words"), // 6
+ l("Say magic words"), // 7
+ l("Do a weird dance"), // 8
+ l("Blame Saulc"); // 9
+
+ mes "";
+ if (@menu == 1)
+ close;
+
+ if (@menu == 3)
+ goto L_Tier2Ok;
+
+ if (@menu <= 6)
+ goto L_Failed;
+
+ if (@menu == 9)
+ mes col("Whatever you're blaming Saulc about, this one time, he is innocent.", 9);
+ mes col("Nothing happens.", 9);
+ close;
+
+L_Failed:
+ mesn strcharinfo(0);
+ mesq l("Ah no... That's not what I had to do... I wasted the potion...");
+ QUEST_ELEVARTEMPO=gettimetick(2);
+ close;
+
+L_Tier2Ok:
+ mes col("You pour the whole potion on the fountain.", 9);
+ next;
+ mes col("You hear birds singing! That is what you had to do!", 9);
+ next;
+ mes col("Your body starts to glow. You're not sure why, the fountain did that!", 9);
+ next;
+ mesn;
+ mes l("I am the Magic Fountain of Hurnscald. You are qualified.");
+ next;
+ mesn;
+ mes l("Your next step is to get the book of the Second Sage Of Fate.");
+ next;
+ mesn;
+ mes l("I predict you're closer to find the Secret Of Mana, and therefore, be part on saving our world.");
+ next;
+ mesn;
+ mes l("I will empower you with raw mana, and your time will start running out again.");
+ next;
+ // 4~6 minutes to finish in average. Each level grants 4~6 extra seconds.
+ QUEST_ELEVARTEMPO=gettimetick(2)+rand((BaseLevel*4),(BaseLevel*6));
+ ST_TIER=6;
+ mesn;
+ mesq l("Run like the wind, @@! For you shall have only @@ to finish the ritual!", strcharinfo(0), FuzzyTime(QUEST_ELEVARTEMPO,2,2));
+ close;
+
OnInit:
.COST_PER_BOTTLE = 0;
.sex = G_MALE;