From 6e760229a478ba8ee2aa52b9bb5a8d6820cc85a9 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Tue, 21 May 2019 21:34:15 -0300 Subject: Finish pagemakers --- npc/020-7-1/sage.txt | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) (limited to 'npc') 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"); -- cgit v1.2.3-70-g09d2