summaryrefslogtreecommitdiff
path: root/npc/020-7-1/sage.txt
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-05-21 21:34:15 -0300
committerJesusaves <cpntb1@ymail.com>2019-05-21 21:34:15 -0300
commit6e760229a478ba8ee2aa52b9bb5a8d6820cc85a9 (patch)
tree5343c2116eefe2c891cce8cb754dcb0a89ed4a60 /npc/020-7-1/sage.txt
parent1414f033ac5905737adc803a105795351b797569 (diff)
downloadserverdata-6e760229a478ba8ee2aa52b9bb5a8d6820cc85a9.tar.gz
serverdata-6e760229a478ba8ee2aa52b9bb5a8d6820cc85a9.tar.bz2
serverdata-6e760229a478ba8ee2aa52b9bb5a8d6820cc85a9.tar.xz
serverdata-6e760229a478ba8ee2aa52b9bb5a8d6820cc85a9.zip
Finish pagemakers
Diffstat (limited to 'npc/020-7-1/sage.txt')
-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");