summaryrefslogtreecommitdiff
path: root/npc/020-7-1
diff options
context:
space:
mode:
Diffstat (limited to 'npc/020-7-1')
-rw-r--r--npc/020-7-1/sage.txt20
1 files changed, 20 insertions, 0 deletions
diff --git a/npc/020-7-1/sage.txt b/npc/020-7-1/sage.txt
index e8c8de3dc..3a4f73ebe 100644
--- a/npc/020-7-1/sage.txt
+++ b/npc/020-7-1/sage.txt
@@ -42,6 +42,26 @@
.@cindy=($@CINDY_STATE < gettimetick(2));
.@q=getq(NivalisQuest_BlueSage);
+ .@qt=getq(NivalisQuest_BlueSagePagemaker);
+
+ // If you helped the four page makers, you receive a reward
+ if (.@qt == 0) {
+ .@qt2=getq2(NivalisQuest_BlueSagePagemaker);
+ if (.@qt2 == BS_PMALL) {
+ inventoryplace TitaniumIngot, 1;
+ mesn;
+ mesq l("I've heard you helped my staff to recreate some books. For that, I am grateful.");
+ next;
+ mesn;
+ mesq l("Please accept this @@ as a gratitude for your time.", getitemlink(TitaniumIngot));
+ getitem TitaniumIngot, 1;
+ getexp 3535, 215; // The remaining 20% EXP to reach 100% =D
+ setq1 NivalisQuest_BlueSagePagemaker, 1;
+ next;
+ }
+
+ }
+
mesn l("Nikolai, the Blue Sage");
if (is_night())
.@t$=l("Good evening");