summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-07-20 05:14:45 -0300
committerJesusaves <cpntb1@ymail.com>2019-07-20 05:14:45 -0300
commita4a9a141d88169f591762b1b4b8f593360c52189 (patch)
treefc90d8b2517fae14ccf7a9c2a718365d538df9a2 /npc
parent6208b601a081455c80b26cb2b81f364b996e26e8 (diff)
downloadserverdata-a4a9a141d88169f591762b1b4b8f593360c52189.tar.gz
serverdata-a4a9a141d88169f591762b1b4b8f593360c52189.tar.bz2
serverdata-a4a9a141d88169f591762b1b4b8f593360c52189.tar.xz
serverdata-a4a9a141d88169f591762b1b4b8f593360c52189.zip
countitem(RecipeBook) → CRAFTQUEST checks.
This is more reliable, and allows JSaves Grimorium to take over Recipe Book.
Diffstat (limited to 'npc')
-rw-r--r--npc/003-8/intensebeard.txt2
-rw-r--r--npc/items/books.txt2
2 files changed, 2 insertions, 2 deletions
diff --git a/npc/003-8/intensebeard.txt b/npc/003-8/intensebeard.txt
index 0ee951b68..cf095e238 100644
--- a/npc/003-8/intensebeard.txt
+++ b/npc/003-8/intensebeard.txt
@@ -12,7 +12,7 @@
goto L_SemQuest;
if (!getskilllv(TMW2_CRAFT))
goto L_Learn;
- if (!countitem(RecipeBook))
+ if (!countitem(RecipeBook) && !countitem(JesusalvaGrimorium))
goto L_SemLivro;
mesn;
diff --git a/npc/items/books.txt b/npc/items/books.txt
index 176af98e1..bafb5be07 100644
--- a/npc/items/books.txt
+++ b/npc/items/books.txt
@@ -182,7 +182,7 @@ OnInit:
rif2(3, MAGIC_LVL, l("Ch 3 — Subclass")),
rif2(4, true, l("Open Fishing Book")),
rif2(5, true, l("Open Petcaring Book")),
- rif2(6, getq(NivalisQuest_BlueSageSlimes) >= 2, l("Open Recipe Book")),
+ rif2(6, CRAFTQUEST, l("Open Recipe Book")),
rif2(7, true, l("Read Rules")),
l("Close");