summaryrefslogtreecommitdiff
path: root/world/map/npc/048-2/sageNikolai.txt
diff options
context:
space:
mode:
Diffstat (limited to 'world/map/npc/048-2/sageNikolai.txt')
-rw-r--r--world/map/npc/048-2/sageNikolai.txt4
1 files changed, 3 insertions, 1 deletions
diff --git a/world/map/npc/048-2/sageNikolai.txt b/world/map/npc/048-2/sageNikolai.txt
index 620e66f0..6374b973 100644
--- a/world/map/npc/048-2/sageNikolai.txt
+++ b/world/map/npc/048-2/sageNikolai.txt
@@ -82,7 +82,7 @@ L_NoBookpages:
set @choices_nr, @choices_nr + 1;
L_NoStartMaterials:
- if ((@material == 0) || (@material == 255))
+ if ((@material == 0) || (@material == 15))
goto L_NoMaterials;
set @choice_idx[@choices_nr], @C_materials;
set @choice$[@choices_nr], "I brought some material to repair the books.";
@@ -278,11 +278,13 @@ L_Close:
// set @investigate, ((QUEST_BlueSage & $@Q_BlueSageInvestigate_MASK) >> $@Q_BlueSageInvestigate_SHIFT);
// set @bookpages, ((QUEST_BlueSage & $@Q_BlueSageBookPages_MASK) >> $@Q_BlueSageBookPages_SHIFT);
// set @slimes, ((QUEST_BlueSage & $@Q_BlueSageSlimes_MASK) >> $@Q_BlueSageSlimes_SHIFT);
+// set @material, ((QUEST_BlueSage & $@Q_BlueSageMaterial_MASK) >> $@Q_BlueSageMaterial_SHIFT);
//
// mes "QUEST_BlueSage: " + QUEST_BlueSage;
// mes "investigate: " + @investigate;
// mes "slimes: " + @slimes;
// mes "bookpages: " + @bookpages;
+// mes "material: " + @material;
// menu
// "reset quest",-,
// "close",L_Close;